13 #ifndef XBOT_CORE_SENSORS_HPP__ 14 #define XBOT_CORE_SENSORS_HPP__ 20 #include "../packet_handler/payload_base.hpp" 21 #include "../macros.hpp" 22 #include "../lqueue.h" 40 queue_front_infrared(25),
41 queue_rear_infrared(25),
84 static const uint8_t AdapterType = 0x10;
86 static const uint8_t BatteryStateMask = 0x0F;
87 static const uint8_t Discharging = 0x00;
88 static const uint8_t Charged = 0x02;
89 static const uint8_t Charging = 0x06;
lqueue< uint > queue_rear_echo
unsigned char power_percent
float right_motor_current
Provides base class for payloads.
lqueue< uint > queue_front_echo
lqueue< uint > queue_rear_infrared
lqueue< uint > queue_front_infrared