1 #ifndef _NOID_UPPER_CONTROLLER_H_ 2 #define _NOID_UPPER_CONTROLLER_H_ 5 #include "seed_solutions_sdk/aero3_command.h" 18 void sendPosition(uint16_t _time, std::vector<int16_t>& _data);
19 void remapAeroToRos(std::vector<int16_t>& _before, std::vector<int16_t>& _after);
20 void remapRosToAero(std::vector<int16_t>& _before, std::vector<int16_t>& _after);
21 void setCurrent(uint8_t _number, uint8_t _max, uint8_t _down);
22 void runScript(uint8_t _number, uint16_t _script);
34 aero::controller::AeroCommand *
upper_;
std::vector< int > ros_index_
void remapRosToAero(std::vector< int16_t > &_before, std::vector< int16_t > &_after)
std::vector< int > aero_index_
void sendPosition(uint16_t _time, std::vector< int16_t > &_data)
NoidUpperController(const std::string &_port)
std::vector< int16_t > raw_data_
void remapAeroToRos(std::vector< int16_t > &_before, std::vector< int16_t > &_after)
unsigned int number_of_angles_
std::vector< std::string > name_
void setCurrent(uint8_t _number, uint8_t _max, uint8_t _down)
aero::controller::AeroCommand * upper_
static const uint32_t BAUDRATE
void runScript(uint8_t _number, uint16_t _script)