changed test and beth messages format

This commit is contained in:
Antoine Drouin
2010-07-21 22:38:49 +00:00
parent 7473a6a615
commit ff43fa931d
+12 -8
View File
@@ -13,10 +13,14 @@
struct __attribute__ ((packed)) AutopilotMessageFoo struct __attribute__ ((packed)) AutopilotMessageFoo
{ {
uint8_t foo; uint32_t foo;
uint8_t bar; uint32_t bar;
uint8_t blaa; uint32_t bla;
uint8_t bli; uint32_t ble;
uint32_t bli;
uint32_t blo;
uint32_t blu;
uint32_t bly;
}; };
/* /*
@@ -24,16 +28,16 @@ struct __attribute__ ((packed)) AutopilotMessageFoo
*/ */
struct __attribute__ ((packed)) AutopilotMessageBethUp struct __attribute__ ((packed)) AutopilotMessageBethUp
{ {
struct Int16Vect3 gyro; struct Int16Rates gyro;
struct Int16Vect3 accel; struct Int16Vect3 accel;
struct Int16Vect3 bench_sensor; struct Int16Vect3 bench_sensor;
uint32_t cnt;
}; };
struct __attribute__ ((packed)) AutopilotMessageBethDown struct __attribute__ ((packed)) AutopilotMessageBethDown
{ {
uint8_t motor_front; uint8_t thrust;
uint8_t motor_back; uint8_t pitch;
}; };
/* /*