DJI NAZA-M controller (remote controller side) see: https://developer.mbed.org/users/okini3939/notebook/drone/
Dependencies: NECnfc SpiOLED USBHost mbed
Diff: Naza.h
- Revision:
- 0:9f11e7a30865
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/Naza.h Thu May 19 09:03:44 2016 +0000 @@ -0,0 +1,32 @@ + +struct Naza_Gps { + uint32_t datetime; + int32_t longitude; + int32_t latitude; + int32_t altitude; + int32_t horizontal_accuracy; + int32_t vertical_accuracy; + int32_t dummy1; + int32_t north_velocity; + int32_t east_velocity; + int32_t down_velocity; + int16_t position_dop; + int16_t vertical_dop; + int16_t northing_dop; + int16_t easting_dop; + uint8_t satellites; + uint8_t dummy2; + uint8_t fix_type; + uint8_t dummy3; + uint8_t flags; + uint16_t dummy4; + uint8_t mask; + uint16_t sequence; +} __attribute__((packed)); + +struct Naza_Compass { + int16_t x; + int16_t y; + int16_t z; +} __attribute__((packed)); +