Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Code Block
languagejson
{
  takeoffCommand: 41 byte boolean,
  qrScanFlag: 41 byte boolean,
  detectFlag: 41 byte boolean, 
  gpsCoordinates: {
    lattitude: 8 byte double,
    longtitude: 8 byte double
  }
}

...

Encoding

Encode the schema as a semicolon separated value with start and end bitsbyte array. Note that the semicolons are just for readability, they're not part of the message.

FOJI

Start bit is a $ followed by FOJI

Code Block
$FOJI;lattitude;longtitude;altitude;yaw;pitch;roll

Total Message Size: 47 41 bytes

FIJO

Start messages with a '$' sign followed by the string “FIJO”

Code Block
languagejson
$FIJO;takeoffCommand;qrScanFlag;detectFlag;lattitude;longitude

Total message size: 38 24 bytes

Implementation - Computer Vision

...