Rev 199 | Rev 225 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 199 | Rev 206 | ||
---|---|---|---|
Line 69... | Line 69... | ||
69 | { |
69 | { |
70 | u16 Distance; // distance to target in dm |
70 | u16 Distance; // distance to target in dm |
71 | s16 Bearing; // course to target in deg |
71 | s16 Bearing; // course to target in deg |
72 | } __attribute__((packed)) GPS_PosDev_t; |
72 | } __attribute__((packed)) GPS_PosDev_t; |
Line 73... | Line 73... | ||
73 | 73 | ||
Line 74... | Line 74... | ||
74 | #define NAVIDATA_VERSION 2 |
74 | #define NAVIDATA_VERSION 3 |
75 | 75 | ||
76 | typedef struct |
76 | typedef struct |
77 | { |
77 | { |
Line 101... | Line 101... | ||
101 | s16 TopSpeed; // velocity in vertical direction in cm/s |
101 | s16 TopSpeed; // velocity in vertical direction in cm/s |
102 | u8 TargetHoldTime; // time in s to stay at the given target, counts down to 0 if target has been reached |
102 | u8 TargetHoldTime; // time in s to stay at the given target, counts down to 0 if target has been reached |
103 | u8 RC_RSSI; // Receiver signal strength (since version 2 added) |
103 | u8 RC_RSSI; // Receiver signal strength (since version 2 added) |
104 | s16 SetpointAltitude; // setpoint for altitude |
104 | s16 SetpointAltitude; // setpoint for altitude |
105 | u8 Gas; // for future use |
105 | u8 Gas; // for future use |
- | 106 | u16 Current; // actual current in 0.1A steps |
|
- | 107 | u16 UsedCapacity; // used capacity in mAh |
|
106 | } __attribute__((packed)) NaviData_t; |
108 | } __attribute__((packed)) NaviData_t; |
Line 107... | Line 109... | ||
107 | 109 | ||
Line 108... | Line 110... | ||
108 | extern NaviData_t NaviData; |
110 | extern NaviData_t NaviData; |