Rev 737 | Rev 739 | Go to most recent revision | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 737 | Rev 738 | ||
---|---|---|---|
Line 151... | Line 151... | ||
151 | GPS_Pos_t HomePosition; |
151 | GPS_Pos_t HomePosition; |
152 | GPS_PosDev_t HomePositionDeviation; |
152 | GPS_PosDev_t HomePositionDeviation; |
153 | u8 WaypointIndex; // index of current waypoints running from 0 to WaypointNumber-1 |
153 | u8 WaypointIndex; // index of current waypoints running from 0 to WaypointNumber-1 |
154 | u8 WaypointNumber; // number of stored waypoints |
154 | u8 WaypointNumber; // number of stored waypoints |
155 | u8 SatsInUse; // number of satellites used for position solution |
155 | u8 SatsInUse; // number of satellites used for position solution |
156 | s16 Altimeter; // hight according to air pressure |
156 | s16 Altimeter_20cm; // hight according to air pressure |
157 | s16 Variometer; // climb(+) and sink(-) rate |
157 | s16 Variometer; // climb(+) and sink(-) rate |
158 | u16 FlyingTime; // in seconds |
158 | u16 FlyingTime; // in seconds |
159 | u8 UBat; // Battery Voltage in 0.1 Volts |
159 | u8 UBat; // Battery Voltage in 0.1 Volts |
160 | u16 GroundSpeed; // speed over ground in cm/s (2D) |
160 | u16 GroundSpeed; // speed over ground in cm/s (2D) |
161 | s16 Heading; // current flight direction in ° as angle to north |
161 | s16 Heading; // current flight direction in ° as angle to north |
Line 180... | Line 180... | ||
180 | typedef struct // 10 (15 Bytes belegen 27 ASCII-Zeichen) |
180 | typedef struct // 10 (15 Bytes belegen 27 ASCII-Zeichen) |
181 | { |
181 | { |
182 | u8 Index; // version of the data structure |
182 | u8 Index; // version of the data structure |
183 | s32 ActualLongitude; // |
183 | s32 ActualLongitude; // |
184 | s32 ActualLatitude; // |
184 | s32 ActualLatitude; // |
185 | s16 Altimeter; // hight according to air pressure |
185 | s16 Altimeter_20cm; // hight according to air pressure |
186 | u8 GroundSpeed; // speed over ground in 10cm/s (2D) (255 = 91km/h) |
186 | u8 GroundSpeed; // speed over ground in 10cm/s (2D) (255 = 91km/h) |
187 | u8 OSDStatusFlags; |
187 | u8 OSDStatusFlags; |
188 | u8 CamCtrlChar; // Status from a connected CamCtrl unit: 'R' = REC 'c' = Ready '!' = Error ...etc |
188 | u8 CamCtrlChar; // Status from a connected CamCtrl unit: 'R' = REC 'c' = Ready '!' = Error ...etc |
189 | u8 reserve1; |
189 | u8 reserve1; |
190 | } __attribute__((packed)) NaviData_Tiny_t; |
190 | } __attribute__((packed)) NaviData_Tiny_t; |
Line 195... | Line 195... | ||
195 | typedef struct // 11 (24 Bytes belegen 39 ASCII-Zeichen) |
195 | typedef struct // 11 (24 Bytes belegen 39 ASCII-Zeichen) |
196 | { |
196 | { |
197 | u8 Index; // version of the data structure |
197 | u8 Index; // version of the data structure |
198 | s32 ActualLongitude; // |
198 | s32 ActualLongitude; // |
199 | s32 ActualLatitude; // |
199 | s32 ActualLatitude; // |
200 | s16 Altimeter; // hight according to air pressure |
200 | s16 Altimeter_20cm; // hight according to air pressure |
201 | u8 GroundSpeed; // speed over ground in 10cm/s (2D) (255 = 91km/h) |
201 | u8 GroundSpeed; // speed over ground in 10cm/s (2D) (255 = 91km/h) |
202 | u8 OSDStatusFlags; |
202 | u8 OSDStatusFlags; |
203 | u8 OSDStatusFlags2; |
203 | u8 OSDStatusFlags2; |
204 | u8 NCFlags; // Flags from NC |
204 | u8 NCFlags; // Flags from NC |
205 | u8 ReserveFlags; |
205 | u8 ReserveFlags; |
Line 214... | Line 214... | ||
214 | typedef struct // 12 (27 Bytes belegen 43 ASCII-Zeichen) |
214 | typedef struct // 12 (27 Bytes belegen 43 ASCII-Zeichen) |
215 | { |
215 | { |
216 | u8 Index; // version of the data structure |
216 | u8 Index; // version of the data structure |
217 | s32 ActualLongitude; // |
217 | s32 ActualLongitude; // |
218 | s32 ActualLatitude; // |
218 | s32 ActualLatitude; // |
219 | s16 Altimeter; // hight according to air pressure |
219 | s16 Altimeter_20cm; // hight according to air pressure |
220 | u8 GroundSpeed; // speed over ground in 10cm/s (2D) (255 = 91km/h) |
220 | u8 GroundSpeed; // speed over ground in 10cm/s (2D) (255 = 91km/h) |
221 | u8 OSDStatusFlags; |
221 | u8 OSDStatusFlags; |
222 | s32 TargetLongitude; // |
222 | s32 TargetLongitude; // |
223 | s32 TargetLatitude; // |
223 | s32 TargetLatitude; // |
224 | s16 TargetAltitude; // hight according to air pressure |
224 | s16 TargetAltitude; // hight according to air pressure |
Line 230... | Line 230... | ||
230 | typedef struct // 13 (30 Bytes belegen 47 ASCII-Zeichen) |
230 | typedef struct // 13 (30 Bytes belegen 47 ASCII-Zeichen) |
231 | { |
231 | { |
232 | u8 Index; // version of the data structure |
232 | u8 Index; // version of the data structure |
233 | s32 ActualLongitude; // |
233 | s32 ActualLongitude; // |
234 | s32 ActualLatitude; // |
234 | s32 ActualLatitude; // |
235 | s16 Altimeter; // hight according to air pressure |
235 | s16 Altimeter_20cm; // hight according to air pressure |
236 | u8 GroundSpeed; // speed over ground in 10cm/s (2D) (255 = 91km/h) |
236 | u8 GroundSpeed; // speed over ground in 10cm/s (2D) (255 = 91km/h) |
237 | u8 OSDStatusFlags; |
237 | u8 OSDStatusFlags; |
238 | s32 HomeLongitude; // |
238 | s32 HomeLongitude; // |
239 | s32 HomeLatitude; // |
239 | s32 HomeLatitude; // |
240 | s16 HomeAltitude; // hight according to air pressure |
240 | s16 HomeAltitude; // hight according to air pressure |
Line 250... | Line 250... | ||
250 | typedef struct // 18 (21 Bytes belegen 35 ASCII-Zeichen) |
250 | typedef struct // 18 (21 Bytes belegen 35 ASCII-Zeichen) |
251 | { |
251 | { |
252 | u8 Index; // version of the data structure |
252 | u8 Index; // version of the data structure |
253 | s32 ActualLongitude; // |
253 | s32 ActualLongitude; // |
254 | s32 ActualLatitude; // |
254 | s32 ActualLatitude; // |
255 | s16 Altimeter; // hight according to air pressure |
255 | s16 Altimeter_20cm; // hight according to air pressure |
256 | u8 GroundSpeed; // speed over ground in 10cm/s (2D) (255 = 91km/h) |
256 | u8 GroundSpeed; // speed over ground in 10cm/s (2D) (255 = 91km/h) |
257 | u8 OSDStatusFlags; |
257 | u8 OSDStatusFlags; |
258 | s32 Longitude; // |
258 | s32 Longitude; // |
259 | s32 Latitude; // |
259 | s32 Latitude; // |
260 | } __attribute__((packed)) NaviData_Pos_t; |
260 | } __attribute__((packed)) NaviData_Pos_t; |
Line 272... | Line 272... | ||
272 | typedef struct // 15 (18 Bytes belegen 31 ASCII-Zeichen) |
272 | typedef struct // 15 (18 Bytes belegen 31 ASCII-Zeichen) |
273 | { |
273 | { |
274 | u8 Index; // version of the data structure |
274 | u8 Index; // version of the data structure |
275 | s32 ActualLongitude; // |
275 | s32 ActualLongitude; // |
276 | s32 ActualLatitude; // |
276 | s32 ActualLatitude; // |
277 | s16 Altimeter; // hight according to air pressure |
277 | s16 Altimeter_20cm; // hight according to air pressure |
278 | u8 GroundSpeed; // speed over ground in 10cm/s (2D) (255 = 91km/h) |
278 | u8 GroundSpeed; // speed over ground in 10cm/s (2D) (255 = 91km/h) |
279 | u8 OSDStatusFlags; |
279 | u8 OSDStatusFlags; |
280 | u8 WaypointIndex; // index of current waypoints running from 0 to WaypointNumber-1 |
280 | u8 WaypointIndex; // index of current waypoints running from 0 to WaypointNumber-1 |
281 | u8 WaypointNumber; // number of stored waypoints |
281 | u8 WaypointNumber; // number of stored waypoints |
282 | u8 TargetHoldTime; // time in s to stay at the given target, counts down to 0 if target has been reached |
282 | u8 TargetHoldTime; // time in s to stay at the given target, counts down to 0 if target has been reached |
Line 288... | Line 288... | ||
288 | typedef struct // 14 (24 Bytes belegen 39 ASCII-Zeichen) |
288 | typedef struct // 14 (24 Bytes belegen 39 ASCII-Zeichen) |
289 | { |
289 | { |
290 | u8 Index; // version of the data structure |
290 | u8 Index; // version of the data structure |
291 | s32 ActualLongitude; // |
291 | s32 ActualLongitude; // |
292 | s32 ActualLatitude; // |
292 | s32 ActualLatitude; // |
293 | s16 Altimeter; // hight according to air pressure |
293 | s16 Altimeter_20cm; // hight according to air pressure |
294 | u8 GroundSpeed; // speed over ground in 10cm/s (2D) (255 = 91km/h) |
294 | u8 GroundSpeed; // speed over ground in 10cm/s (2D) (255 = 91km/h) |
295 | u8 OSDStatusFlags; |
295 | u8 OSDStatusFlags; |
296 | u16 FlyingTime; // in seconds |
296 | u16 FlyingTime; // in seconds |
297 | u16 DistanceToHome; |
297 | u16 DistanceToHome; |
298 | u8 HeadingToHome; // in 2° (100 = 200°) |
298 | u8 HeadingToHome; // in 2° (100 = 200°) |
Line 307... | Line 307... | ||
307 | typedef struct // 16 (27 Bytes belegen 43 ASCII-Zeichen) |
307 | typedef struct // 16 (27 Bytes belegen 43 ASCII-Zeichen) |
308 | { |
308 | { |
309 | u8 Index; // version of the data structure |
309 | u8 Index; // version of the data structure |
310 | s32 ActualLongitude; // |
310 | s32 ActualLongitude; // |
311 | s32 ActualLatitude; // |
311 | s32 ActualLatitude; // |
312 | s16 Altimeter; // hight according to air pressure |
312 | s16 Altimeter_20cm; // hight according to air pressure |
313 | u8 GroundSpeed; // speed over ground in 10cm/s (2D) (255 = 91km/h) |
313 | u8 GroundSpeed; // speed over ground in 10cm/s (2D) (255 = 91km/h) |
314 | u8 OSDStatusFlags; |
314 | u8 OSDStatusFlags; |
315 | u16 UBat; // Battery Voltage in 0.1 Volts |
315 | u16 UBat; // Battery Voltage in 0.1 Volts |
316 | u16 Current; // actual current in 0.1A steps |
316 | u16 Current; // actual current in 0.1A steps |
317 | u16 UsedCapacity; // used capacity in mAh |
317 | u16 UsedCapacity; // used capacity in mAh |