1 #ifndef _UPPER_CONTROLLER_H_ 2 #define _UPPER_CONTROLLER_H_ 18 void sendPosition(uint16_t _time, std::vector<int16_t>& _data);
19 void remapAeroToRos(std::vector<int16_t>& _ros, std::vector<int16_t>& _aero);
20 void remapRosToAero(std::vector<int16_t>& _aero, std::vector<int16_t>& _ros);
21 void setCurrent(uint8_t _number, uint8_t _max, uint8_t _down);
22 void runScript(uint8_t _number, uint16_t _script);
std::vector< std::pair< int, std::string > > aero_table_
UpperController(const std::string &_port)
std::string getFirmwareVersion()
std::vector< int16_t > raw_data_
static const uint32_t BAUDRATE
void setCurrent(uint8_t _number, uint8_t _max, uint8_t _down)
struct robot_hardware::UpperController::RobotStatus robot_status_
aero::controller::AeroCommand * upper_
void runScript(uint8_t _number, uint16_t _script)
void remapAeroToRos(std::vector< int16_t > &_ros, std::vector< int16_t > &_aero)
void remapRosToAero(std::vector< int16_t > &_aero, std::vector< int16_t > &_ros)
std::vector< std::string > name_
void sendPosition(uint16_t _time, std::vector< int16_t > &_data)
std::vector< int > aero_index_