Subversion Repositories FlightCtrl

Rev

Rev 2052 | Rev 2159 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 2052 Rev 2055
Line 3... Line 3...
3
 
3
 
4
#define TXD_BUFFER_LEN  180
4
#define TXD_BUFFER_LEN  180
Line 5... Line 5...
5
#define RXD_BUFFER_LEN  180
5
#define RXD_BUFFER_LEN  180
-
 
6
 
Line 6... Line 7...
6
 
7
#include <inttypes.h>
7
#include <inttypes.h>
8
#include "ubx.h"
Line 8... Line 9...
8
 
9
 
Line 18... Line 19...
18
 
19
 
19
extern uint8_t motorTestActive;
20
extern uint8_t motorTestActive;
Line 20... Line 21...
20
extern uint8_t motorTest[16];
21
extern uint8_t motorTest[16];
21
 
22
 
22
typedef struct {
23
typedef struct {
23
        int16_t anglePitch; // in 0.1 deg
24
  int16_t anglePitch; // in 0.1 deg
24
        int16_t angleRoll;  // in 0.1 deg
25
  int16_t angleRoll;  // in 0.1 deg
25
        int16_t heading;    // in 0.1 deg
26
  int16_t heading;    // in 0.1 deg
Line -... Line 27...
-
 
27
  uint8_t reserved[8];
-
 
28
}__attribute__((packed)) Data3D_t;
-
 
29
 
-
 
30
typedef struct {
-
 
31
  Data3D_t attitude;
-
 
32
  GPS_INFO_t GPSInfo;
-
 
33
  int32_t airpressureHeight;
26
        uint8_t reserved[8];
34
  int16_t batteryVoltage;