Rev 256 | Rev 338 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 256 | Rev 294 | ||
---|---|---|---|
Line 74... | Line 74... | ||
74 | { |
74 | { |
75 | u16 Distance; // distance to target in dm |
75 | u16 Distance; // distance to target in dm |
76 | s16 Bearing; // course to target in deg |
76 | s16 Bearing; // course to target in deg |
77 | } __attribute__((packed)) GPS_PosDev_t; |
77 | } __attribute__((packed)) GPS_PosDev_t; |
Line 78... | Line 78... | ||
78 | 78 | ||
Line 79... | Line 79... | ||
79 | #define NAVIDATA_VERSION 4 |
79 | #define NAVIDATA_VERSION 5 |
80 | 80 | ||
81 | typedef struct |
81 | typedef struct |
82 | { |
82 | { |
Line 103... | Line 103... | ||
103 | u8 NCFlags; // Flags from NC |
103 | u8 NCFlags; // Flags from NC |
104 | u8 Errorcode; // 0 --> okay |
104 | u8 Errorcode; // 0 --> okay |
105 | u8 OperatingRadius; // current operation radius around the Home Position in m |
105 | u8 OperatingRadius; // current operation radius around the Home Position in m |
106 | s16 TopSpeed; // velocity in vertical direction in cm/s |
106 | s16 TopSpeed; // velocity in vertical direction in cm/s |
107 | u8 TargetHoldTime; // time in s to stay at the given target, counts down to 0 if target has been reached |
107 | u8 TargetHoldTime; // time in s to stay at the given target, counts down to 0 if target has been reached |
108 | u8 RC_RSSI; // Receiver signal strength (since version 2 added) |
108 | u8 FCStatusFlags2; // StatusFlags2 (since version 5 added) |
109 | s16 SetpointAltitude; // setpoint for altitude |
109 | s16 SetpointAltitude; // setpoint for altitude |
110 | u8 Gas; // for future use |
110 | u8 Gas; // for future use |
111 | u16 Current; // actual current in 0.1A steps |
111 | u16 Current; // actual current in 0.1A steps |
112 | u16 UsedCapacity; // used capacity in mAh |
112 | u16 UsedCapacity; // used capacity in mAh |
113 | } __attribute__((packed)) NaviData_t; |
113 | } __attribute__((packed)) NaviData_t; |