Brian Silverman | 3204dd8 | 2013-03-12 18:42:01 -0700 | [diff] [blame^] | 1 | #ifndef FRC971_INPUT_SENSOR_UNPACKER_H_ |
2 | #define FRC971_INPUT_SENSOR_UNPACKER_H_ | ||||
3 | |||||
4 | #include "aos/common/sensors/sensor_unpacker.h" | ||||
5 | |||||
6 | #include "frc971/queues/sensor_values.h" | ||||
7 | |||||
8 | namespace frc971 { | ||||
9 | |||||
10 | class SensorUnpacker | ||||
11 | : public ::aos::sensors::SensorUnpackerInterface<sensor_values> { | ||||
12 | public: | ||||
13 | SensorUnpacker(); | ||||
14 | |||||
15 | virtual void UnpackFrom(sensor_values *values); | ||||
16 | }; | ||||
17 | |||||
18 | } // namespace frc971 | ||||
19 | |||||
20 | #endif // FRC971_INPUT_SENSOR_UNPACKER_H_ |