NOTE: the example links are this page are currently not active but still provide examples of output results and informative videos. We hope to have these live again soon.
This document is in support of the SOFWERX CPO 23 OSH-CDB Project. The following is a listing of requests and samples of requests to receive data from sensors used in the SOFWERX and TE20 Projects. These examples show a wide variety of Off-the-Shelf sensors being able to be integrated into a Common Operating Picture (COP) through access to an OpenSensorHub (OSH) Cloud node. The request/response examples below are actual OGC Sensor Web Enabled (SWE) compliant requests for real-time or archived observation data from an active OSH node.
All visualization/mapping views are real-time screen captures of a COP client, built using the OSH Web Client Toolkit. The 3D rendering and geospatial mapping is supported by Cesium.js while the base maps and 3D terrain/buildings are provided by Cesium and Vricon and served through Cesium 3D Tiles technology.
Android – Mobile Device
A sample android mobile device (such as a phone) whose internal sensors are used to report observations such as location, orientation, and video.
Sample Requests
The following are a list of example requests and their respective responses. The IP ADDRESS and PORT will need to be specified and point to the instance of the OpenSensorHub node serving the data.
Video Frame Request
Video Frame Request Template:
Location Request
Response:
[ { "time": "2020-05-29T22:15:51Z", "location": { "lat": 34.739575241692364, "lon": -86.56639209017158, "alt": 180.0 } } ]
Location Request Template:
Orientation Request
Response:
[ { "time": "2020-05-29T22:15:32.810Z", "orient": { "qx": 0.00249796686694026, "qy": -0.6802502870559692, "qz": 0.016376778483390808, "q0": 0.7327926754951477 } } ]
Dahua PTZ Camera
A PTZ camera, which is taskable from OpenSensorHub client web application providing location, orientation, and video.
Sample Requests
The following are a list of example requests and their respective responses. The IP ADDRESS and PORT will need to be specified and point to the instance of the OpenSensorHub node serving the data.
Location Request
Response:
[ { "time": "2020-06-04T19:48:40.511Z", "location": { "lat": 34.728587, "lon": -86.586514, "alt": 203.0 } } ]
Location Request Template:
Video Frame Request
Laser Range Finder
A laser range finder paired with an Android mobile device configured to support LRF. Provides a geolocated target position as reported by LRF and Android device working together.
Sample Requests
The following are a list of example requests and their respective responses. The IP ADDRESS and PORT will need to be specified and point to the instance of the OpenSensorHub node serving the data.
Target Location Request
Response:
[ { "time": "2020-06-26T19:05:00.153Z", "location": { "lat": 34.739733235612555, "lon": -86.56625147660965, "alt": 186.8277155328542 } }
Target Location Request Template:
Laser Range Data Request
Response:
[ { "time": "2020-06-02T18:38:45.280Z", "horizDistance": 104.0, "slopeDistance": 104.0, "azimuth": 152.1, "inclination": -0.8 } ]
Stream Gauges
USGS Stream Gauges, providing data such as water temperature, flow rate (discharge), and gauge height (water level).
Sample Requests
The following are a list of example requests and their respective responses. The IP ADDRESS and PORT will need to be specified and point to the instance of the OpenSensorHub node serving the data.
Gauge Height Request
Response:
[ {"time": "2020-04-12T20:30:00Z", "site": "03274650","gage_height": 3.36} ]
Gauge Height Request Template:
Water Temperature Request
Response:
[ {"time": "2020-04-12T20:30:00Z", "site": "03274650", "water_temp": "NaN"} ]
Discharge Request
Response:
[ {"time": "2020-04-12T20:30:00Z", "site": "03274650", "discharge": 8.28}]
Shield AI NOVA Drone
A small form factor quad-copter UAS used for surveillance and situational awareness. Initial integration provides location and video feed.
Sample archived NOVA drone data in OSH client showing location, path history, and video feed
Sample Requests
The following are a list of example requests and their respective responses. The IP ADDRESS and PORT will need to be specified and point to the instance of the OpenSensorHub node serving the data.
Location Request
Response:
[ { "time": "2020-02-21T21:18:37.192Z", "location": { "lat": 32.7972947, "lon": -116.6673795, "alt": 860.295} }, { "time": "2020-02-21T21:18:37.392Z", "location": { "lat": 32.7972947, "lon": -116.6673796, "alt": 860.31} }, { "time": "2020-02-21T21:18:37.592Z", "location": { "lat": 32.7972948, "lon": -116.6673796, "alt": 860.318} }, { "time": "2020-02-21T21:18:37.795Z", "location": {" lat": 32.7972948, "lon": -116.6673796, "alt": 860.348} } ]
Location Request Template:
Video Frame Request
Sim Weather
A simulated weather station.
Sample Requests
The following are a list of example requests and their respective responses. The IP ADDRESS and PORT will need to be specified and point to the instance of the OpenSensorHub node serving the data.
Wind Speed Request
Response:
[ {"time": "2020-04-15T23:41:55.849Z", "windSpeed": 2.434334177278718}, {"time": "2020-04-15T23:41:56.849Z", "windSpeed": 2.2447554305255526}, {"time": "2020-04-15T23:41:57.849Z", "windSpeed": 2.215518685426123}, {"time": "2020-04-15T23:41:58.849Z", "windSpeed": 2.23328924826713} ]
Wind Speed Request Template:
Wind Direction Request
Response:
[ {"time": "2020-04-15T23:46:05.850Z", "windDirection": 10.203039018392106}, {"time": "2020-04-15T23:46:06.849Z", "windDirection": 9.451267024184572}, {"time": "2020-04-15T23:46:07.849Z", "windDirection": 8.8471251371442}, {"time": "2020-04-15T23:46:08.849Z", "windDirection": 9.35748167589516}, {"time": "2020-04-15T23:46:09.850Z", "windDirection": 8.379632207195392} ]
Location Request
Response:
[ { "time": "2020-04-14T01:26:59.827Z", "location": {"lat": 34.8038, "lon": -86.7228, "alt": 0.0} } ]
Air Temperature Request
Response:
[ {"time": "2020-04-15T23:47:57.849Z", "temperature": 19.614905303751094}, {"time": "2020-04-15T23:47:58.849Z", "temperature": 19.52416641963523}, {"time": "2020-04-15T23:47:59.849Z", "temperature": 19.614042668556117}, {"time": "2020-04-15T23:48:00.849Z", "temperature": 19.716011322397176}, {"time": "2020-04-15T23:48:01.849Z", "temperature": 19.532086371732976}, {"time": "2020-04-15T23:48:02.850Z", "temperature": 19.532618479774772}, {"time": "2020-04-15T23:48:03.849Z", "temperature": 19.3423528845317}, {"time": "2020-04-15T23:48:04.849Z", "temperature": 19.276812618498482} ]
Atmospheric Pressure Request
Response:
[ {"time": "2020-04-15T23:49:04.849Z", "pressure": 1013.8479122827346}, {"time": "2020-04-15T23:49:05.849Z", "pressure": 1013.9376045464688}, {"time": "2020-04-15T23:49:06.850Z", "pressure": 1013.9263985419113}, {"time": "2020-04-15T23:49:07.849Z", "pressure": 1013.880082929091}, {"time": "2020-04-15T23:49:08.849Z", "pressure": 1013.8563730897376}, {"time": "2020-04-15T23:49:09.849Z", "pressure": 1013.8492770088617} ]
Sim GPS
A simulated GPS signal, performing a random walk/drive.
Sample Requests
The following are a list of example requests and their respective responses. The IP ADDRESS and PORT will need to be specified and point to the instance of the OpenSensorHub node serving the data.
Location Request
Response:
[ { "time": "2020-04-15T23:49:55.957Z", "location": {"lat": 34.740288642090505, "lon": -86.6279425546502, "alt": 193.0} }, { "time": "2020-04-15T23:49:56.957Z", "location": {"lat": 34.74019530752989, "lon": -86.62790665674227, "alt": 193.0} }, { "time": "2020-04-15T23:49:57.957Z", "location": {"lat": 34.74010197296927, "lon": -86.62787075883433, "alt": 193.0} } ]
Location Request Template:
Sim Squad
Simulated squad in 3d building space
Sample Requests
The following are a list of example requests and their respective responses. The IP ADDRESS and PORT will need to be specified and point to the instance of the OpenSensorHub node serving the data.
Location Request
[ { "time": "2020-06-22T22:09:02.333Z", "location": { "lat": 27.948890714560783, "lon": -82.44562026701756, "alt": 193.0 } } , { "time": "2020-06-22T22:09:03.333Z", "location": { "lat": 27.948910711067942, "lon": -82.44561989325106, "alt": 193.0 } } ,
Location Request Template:
3DR Solo Drone
Sample Requests
The following are a list of example requests and their respective responses. The IP ADDRESS and PORT will need to be specified and point to the instance of the OpenSensorHub node serving the data.
Platform Orientation Request
[ { "time": "2020-06-13T18:22:35.446Z", "attitude": { "yaw": -168.52827, "pitch": 0.5493665, "roll": 1.7313147 } } , { "time": "2020-06-13T18:22:35.546Z", "attitude": { "yaw": -168.52588, "pitch": 0.5477565, "roll": 1.7277969 } } ,
Platform Orientation Request Template:
Gimbal Orientation Request
[ { "time": "2020-06-13T18:22:35.652Z", "attitude": { "yaw": -0.08999991, "pitch": -3.8505602, "roll": -3.4824598 } } , { "time": "2020-06-13T18:22:35.751Z", "attitude": { "yaw": -0.08999991, "pitch": -3.9225602, "roll": -3.12246 } } ,
Platform Location Request
[ { "time": "2020-06-13T18:22:35.546Z", "loc": { "lat": 34.6919283, "lon": -86.5902075, "alt": 180.73 } } , { "time": "2020-06-13T18:22:35.644Z", "loc": { "lat": 34.6919283, "lon": -86.5902075, "alt": 180.73 } } ,