brians | 343bc11 | 2013-02-10 01:53:46 +0000 | [diff] [blame^] | 1 | #ifndef __COMMON_SENSOR_VALUES_H_ |
2 | #define __COMMON_SENSOR_VALUES_H_ | ||||
3 | |||||
4 | #include <stdint.h> | ||||
5 | |||||
6 | namespace frc971 { | ||||
7 | |||||
8 | struct sensor_values { | ||||
9 | union { | ||||
10 | struct { | ||||
11 | int32_t lencoder, rencoder; | ||||
12 | }; | ||||
13 | uint32_t encoders[2]; | ||||
14 | }; | ||||
15 | |||||
16 | // TODO(2013) all the rest | ||||
17 | }; | ||||
18 | |||||
19 | } // namespace frc971 | ||||
20 | |||||
21 | #endif | ||||
22 |