Skip to content

Instantly share code, notes, and snippets.

@sebastianfrelle
Created March 8, 2017 12:03
Show Gist options
  • Save sebastianfrelle/47d3616a2bfdd60f0cedb6e605f5cf0d to your computer and use it in GitHub Desktop.
Save sebastianfrelle/47d3616a2bfdd60f0cedb6e605f5cf0d to your computer and use it in GitHub Desktop.
{ header: 1432778632,
droneState:
{ flying: 0,
videoEnabled: 0,
visionEnabled: 0,
controlAlgorithm: 0,
altitudeControlAlgorithm: 1,
startButtonState: 0,
controlCommandAck: 0,
cameraReady: 1,
travellingEnabled: 0,
usbReady: 0,
navdataDemo: 1,
navdataBootstrap: 0,
motorProblem: 0,
communicationLost: 0,
softwareFault: 0,
lowBattery: 0,
userEmergencyLanding: 0,
timerElapsed: 0,
MagnometerNeedsCalibration: 0,
anglesOutOfRange: 0,
tooMuchWind: 0,
ultrasonicSensorDeaf: 0,
cutoutDetected: 0,
picVersionNumberOk: 1,
atCodecThreadOn: 1,
navdataThreadOn: 1,
videoThreadOn: 1,
acquisitionThreadOn: 1,
controlWatchdogDelay: 0,
adcWatchdogDelay: 0,
comWatchdogProblem: 0,
emergencyLanding: 0 },
sequenceNumber: 943,
visionFlag: 1,
demo:
{ controlState: 'CTRL_LANDED',
flyState: 'FLYING_OK',
batteryPercentage: 38,
rotation:
{ frontBack: -5.966,
pitch: -5.966,
theta: -5.966,
y: -5.966,
leftRight: -9.955,
roll: -9.955,
phi: -9.955,
x: -9.955,
clockwise: -13.433,
yaw: -13.433,
psi: -13.433,
z: -13.433 },
frontBackDegrees: -5.966,
leftRightDegrees: -9.955,
clockwiseDegrees: -13.433,
altitude: 0,
altitudeMeters: 0,
velocity: { x: -8.629037857055664, y: 5.85465145111084, z: 0 },
xVelocity: -8.629037857055664,
yVelocity: 5.85465145111084,
zVelocity: 0,
frameIndex: 0,
detection: { camera: [Object], tagIndex: 0 },
drone: { camera: [Object] } },
visionDetect:
{ nbDetected: 0,
type: [ 0, 0, 0, 0 ],
xc: [ 0, 0, 0, 0 ],
yc: [ 0, 0, 0, 0 ],
width: [ 0, 0, 0, 0 ],
height: [ 0, 0, 0, 0 ],
dist: [ 0, 0, 0, 0 ],
orientationAngle: [ 0, 0, 0, 0 ],
rotation: [ [Object], [Object], [Object], [Object] ],
translation: [ [Object], [Object], [Object], [Object] ],
cameraSource: [ 0, 0, 0, 0 ] } }
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment