Subversion Repositories FlightCtrl

Rev

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

Rev 2034 Rev 2183
Line 61... Line 61...
61
#define SPI_FCCMD_MISC                  12
61
#define SPI_FCCMD_MISC                  12
62
#define SPI_FCCMD_PARAMETER1    13
62
#define SPI_FCCMD_PARAMETER1    13
63
#define SPI_FCCMD_VERSION               14
63
#define SPI_FCCMD_VERSION               14
64
#define SPI_FCCMD_SERVOS                15
64
#define SPI_FCCMD_SERVOS                15
65
#define SPI_FCCMD_ACCU                  16
65
#define SPI_FCCMD_ACCU                  16
-
 
66
#define SPI_FCCMD_PARAMETER2    17
Line 66... Line 67...
66
 
67
 
67
struct str_ToNaviCtrl
68
struct str_ToNaviCtrl
68
{
69
{
69
        unsigned char Sync1, Sync2;
70
        unsigned char Sync1, Sync2;
Line 99... Line 100...
99
struct str_FromNaviCtrl
100
struct str_FromNaviCtrl
100
{
101
{
101
        unsigned char Command;
102
        unsigned char Command;
102
        signed int  GPS_Nick;
103
        signed int  GPS_Nick;
103
        signed int  GPS_Roll;
104
        signed int  GPS_Roll;
104
        signed int  GPS_Gier;
105
        signed int  MagVecX;
105
        signed int  CompassValue;
106
        signed int  CompassValue;
106
//      signed int  MagVecX;
-
 
107
//      signed int  MagVecY;
-
 
108
        signed int AccErrorN;
107
        signed int AccErrorN;
109
        signed int AccErrorR;
108
        signed int AccErrorR;
-
 
109
        signed int  MagVecY;
110
        signed int  MagVecZ;
110
        signed int  MagVecZ;
111
        signed int  Status;
-
 
112
        unsigned int BeepTime;
111
        unsigned int BeepTime;
113
        union
112
        union
114
        {
113
        {
115
                unsigned char Byte[12];
114
                unsigned char Byte[12];
116
                char sByte[12];
115
                char sByte[12];