DJI NAZA-M controller (multi copter side) see: https://developer.mbed.org/users/okini3939/notebook/drone/

Dependencies:   FutabaSBUS NECnfc mbed

Embed: (wiki syntax)

« Back to documentation index

Show/hide line numbers Naza.h Source File

Naza.h

00001 
00002 struct Naza_Gps {
00003     uint32_t datetime;
00004     int32_t longitude;
00005     int32_t latitude;
00006     int32_t altitude;
00007     int32_t horizontal_accuracy;
00008     int32_t vertical_accuracy;
00009     int32_t dummy1;
00010     int32_t north_velocity;
00011     int32_t east_velocity;
00012     int32_t down_velocity;
00013     int16_t position_dop;
00014     int16_t vertical_dop;
00015     int16_t northing_dop;
00016     int16_t easting_dop;
00017     uint8_t satellites;
00018     uint8_t dummy2;
00019     uint8_t fix_type;
00020     uint8_t dummy3;
00021     uint8_t flags;
00022     uint16_t dummy4;
00023     uint8_t mask;
00024     uint16_t sequence;
00025 } __attribute__((packed));
00026 
00027 struct Naza_Compass {
00028     int16_t x;
00029     int16_t y;
00030     int16_t z;
00031 } __attribute__((packed));
00032