Notifications
Clear all
Topic starter
19/06/2017 10:29 pm
We are using your DDS and would like to add a long range camare to the system to follow the drone. Would this be possible?
Yes, all you have to do is to add a HTTP block at the "Tracking" output of the "DroneDetection" block. You then get all needed information over the HTTP output to follow the drone with your camera. Even multiple cameras (each following a other drone) would be possible. A output would look something like attached:
{ "data": { "antennas": [ { "antennaID": 11, "antennaName": "IsoLOG 3D", "bearing": 2.1163792610168457, "lattitude": 50.137229919433594, "longitude": 6.319798946380615, "segments": [ 1.5707963705062866, 0.7853981852531433, 0, -0.7853981852531433, -1.5707963705062866, -2.356194496154785, 3.1415927410125732, 2.356194496154785 ] } ], "trackings": [ { "detections": [ { "altitude": -0.7273238897323608, "altitudeValid": true, "antennaID": 11, "bearing": 1.3648477792739868, "bearingValid": true, "detectStartTime": 1489490924.8492758, "detectStopTime": 1489490939.8092616, "detectionID": 66, "devAltitude": 0.28645744919776917, "devBearing": 0.2681915760040283, "directionalEnergy": [ 0.01661672443151474, 0.011765929870307446, 0.003136053215712309, 0.0017018667422235012, 0.004451759159564972, 0.0034817466512322426, 0.0032507237046957016, 0.011171421967446804 ], "distance": 205.48928833007812, "energy": -48.44072341918945, "maxEnergy": -47.99437713623047, "maxProbability": 0.9518097639083862, "probability": 0.9518097639083862, "rawAltitude": -0.829815685749054, "rawBearing": 1.4633768796920776 } ], "detectorIndex": 1, "detectorName": "DJI Phantom 3+4 RC", "devXPos": 0, "devYPos": 0, "devZPos": 0, "height": 4e-323, "lattitude": 0, "longitude": 0, "positionTime": 0, "positionValid": false, "rawXPos": 0, "rawYPos": 0, "rawZPos": 0, "refHeight": 0, "refLattitude": 50.137229919433594, "refLongitude": 6.319798946380615, "trackID": 65, "xpos": 0, "ypos": 0, "zpos": 0 }, { "detections": [ { "altitude": -0.7301734089851379, "altitudeValid": true, "antennaID": 11, "bearing": -1.5712552070617676, "bearingValid": true, "detectStartTime": 1489490924.8492758, "detectStopTime": 1489490939.8092616, "detectionID": 68, "devAltitude": 0.7658476233482361, "devBearing": 0.8588951826095581, "directionalEnergy": [ 0.008649399504065514, 0.008058996871113777, 0.0018760518869385123, 0.0008288853568956256, 0.002109420718625188, 0.0023286081850528717, 0.001389691373333335, 0.005672856699675322 ], "distance": 278.45281982421875, "energy": -55.17593002319336, "maxEnergy": -54.12638854980469, "maxProbability": 1, "probability": 1, "rawAltitude": -0.8880067467689514, "rawBearing": 1.4903122186660767 } ], "detectorIndex": 3, "detectorName": "Generic 2.4GHz", "devXPos": 0, "devYPos": 0, "devZPos": 0, "height": 4e-323, "lattitude": 0, "longitude": 0, "positionTime": 0, "positionValid": false, "rawXPos": 0, "rawYPos": 0, "rawZPos": 0, "refHeight": 0, "refLattitude": 50.137229919433594, "refLongitude": 6.319798946380615, "trackID": 67, "xpos": 0, "ypos": 0, "zpos": 0 }, { "detections": [ { "altitude": -0.7277950644493103, "altitudeValid": true, "antennaID": 11, "bearing": 1.5459469556808472, "bearingValid": true, "detectStartTime": 1489490934.5892665, "detectStopTime": 1489490939.8092616, "detectionID": 70, "devAltitude": 0.25954288244247437, "devBearing": 0.31607839465141296, "directionalEnergy": [ 0.013327222317457199, 0.009195036254823208, 0.0018484919564798474, 0.0009604432270862162, 0.0010091203730553389, 0.0010708929039537907, 0.0019922631327062845, 0.00982640590518713 ], "distance": 239.3447265625, "energy": -53.73292922973633, "maxEnergy": -53.73292922973633, "maxProbability": 1, "probability": 0.9999997019767761, "rawAltitude": -0.8358337879180908, "rawBearing": 1.5659587383270264 } ], "detectorIndex": 2, "detectorName": "DJI Phantom 3-4 Video", "devXPos": 0, "devYPos": 0, "devZPos": 0, "height": 0, "lattitude": 0, "longitude": 0, "positionTime": 0, "positionValid": false, "rawXPos": 0, "rawYPos": 0, "rawZPos": 0, "refHeight": 0, "refLattitude": 50.137229919433594, "refLongitude": 6.319798946380615, "trackID": 69, "xpos": 0, "ypos": 0, "zpos": 0 } ] }, "endTime": 1489490939.8092616, "startTime": 1489490939.8092616 }
See viewtopic.php?f=44&t=1872&start=0 for more information on the HTTP usage.
Snip
Share: