Rev 27 | Rev 29 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 27 | Rev 28 | ||
---|---|---|---|
Line 98... | Line 98... | ||
98 | { |
98 | { |
99 | //1234567890123456 |
99 | //1234567890123456 |
100 | "Magnet X ", //0 |
100 | "Magnet X ", //0 |
101 | "Magnet Y ", |
101 | "Magnet Y ", |
102 | "Magnet Z ", |
102 | "Magnet Z ", |
103 | "Raw X ", |
103 | "RawMagnet X ", |
104 | "Raw Y ", |
104 | "RawMagnet Y ", |
105 | "Raw Z ", //5 |
105 | "RawMagnet Z ", //5 |
106 | "Attitude Nick ", |
106 | "Attitude Nick ", |
107 | "Attitude Roll ", |
107 | "Attitude Roll ", |
108 | "XOffset ", |
108 | "Magnet X Offset ", |
109 | "XRange ", |
109 | "Magnet X Range ", |
110 | "YOffset ", //10 |
110 | "Magnet Y Offset ", //10 |
111 | "YRange ", |
111 | "Magnet Y Range ", |
112 | "ZOffset ", |
112 | "Magnet Z Offset ", |
113 | "ZRange ", |
113 | "Magnet Z Range ", |
114 | "Calstate ", |
114 | "Calstate ", |
115 | "Heading ", //15 |
115 | "Heading ", //15 |
116 | "User0 ", |
116 | "User0 ", |
117 | "User1 ", |
117 | "User1 ", |
118 | "Analog18 ", |
118 | "Acc X ", |
119 | "Analog19 ", |
119 | "Acc Y ", |
120 | "Analog20 ", //20 |
120 | "Acc Z ", //20 |
121 | "Analog21 ", |
121 | "RawAcc X ", |
122 | "Analog22 ", |
122 | "RawAcc Y ", |
123 | "Analog23 ", |
123 | "RawAcc Z ", |
124 | "Analog24 ", |
124 | "Acc X Offset ", |
125 | "Analog25 ", //25 |
125 | "Acc Y Offset ", //25 |
126 | "Analog26 ", |
126 | "Acc Z Offset ", |
127 | "Analog27 ", |
127 | "Analog27 ", |
128 | "Analog28 ", |
128 | "Analog28 ", |
129 | "Analog29 ", |
129 | "Analog29 ", |
130 | "I2C Error ", //30 |
130 | "I2C Error ", //30 |
131 | "I2C Okay " |
131 | "I2C Okay " |
Line 418... | Line 418... | ||
418 | { |
418 | { |
419 | case 'w':// Attitude |
419 | case 'w':// Attitude |
420 | Decode64((uint8_t *) &ExternData, sizeof(ExternData), 3, ReceivedBytes); |
420 | Decode64((uint8_t *) &ExternData, sizeof(ExternData), 3, ReceivedBytes); |
421 | I2C_WriteAttitude.Nick = ExternData.Attitude[NICK]; |
421 | I2C_WriteAttitude.Nick = ExternData.Attitude[NICK]; |
422 | I2C_WriteAttitude.Nick = ExternData.Attitude[ROLL]; |
422 | I2C_WriteAttitude.Nick = ExternData.Attitude[ROLL]; |
- | 423 | AttitudeSource = ATTITUDE_SOURCE_UART; |
|
423 | RequestFlags |= COMPASS_HEADING; |
424 | RequestFlags |= COMPASS_HEADING; |
424 | break; |
425 | break; |
Line 425... | Line 426... | ||
425 | 426 | ||
426 | case 'b': // extern control |
427 | case 'b': // extern control |