Subversion Repositories FlightCtrl

Rev

Rev 903 | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 903 Rev 916
Line 58... Line 58...
58
typedef struct
58
typedef struct
59
{
59
{
60
        uint8_t Sync1;
60
        uint8_t Sync1;
61
        uint8_t Sync2;
61
        uint8_t Sync2;
62
        uint8_t Command;
62
        uint8_t Command;
63
        int16_t IntegralPitch;
63
        int16_t IntegralNick;
64
        int16_t IntegralRoll;
64
        int16_t IntegralRoll;
65
        int16_t AccPitch;
65
        int16_t AccNick;
66
        int16_t AccRoll;
66
        int16_t AccRoll;
67
        int16_t GyroHeading;
67
        int16_t GyroHeading;
68
        int16_t GyroPitch;
68
        int16_t GyroNick;
69
        int16_t GyroRoll;
69
        int16_t GyroRoll;
70
        int16_t GyroYaw;
70
        int16_t GyroYaw;
71
        union
71
        union
72
        {
72
        {
73
                int8_t  sByte[12];
73
                int8_t  sByte[12];
Line 86... Line 86...
86
#define SPI_CMD_GPS_TARGET   102
86
#define SPI_CMD_GPS_TARGET   102
Line 87... Line 87...
87
 
87
 
88
typedef struct
88
typedef struct
89
{
89
{
90
        uint8_t Command;
90
        uint8_t Command;
91
        int16_t GPS_Pitch;
91
        int16_t GPS_Nick;
92
        int16_t GPS_Roll;
92
        int16_t GPS_Roll;
93
        int16_t GPS_Yaw;
93
        int16_t GPS_Yaw;
94
        int16_t CompassHeading;
94
        int16_t CompassHeading;
95
        int16_t Status;
95
        int16_t Status;