4 using namespace controller;
13 upper_ =
new aero::controller::AeroCommand();
15 ROS_INFO(
"%s is connected", _port.c_str());
20 ROS_ERROR(
"%s is not connected", _port.c_str());
43 else raw_data_.assign(_data.begin(), _data.end());
48 for(
int i=0; i <
DOF_ ; ++i){
61 size_t aero_array_size = 30;
62 for(
size_t i=0; i < aero_array_size; ++i){
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)
ROSCPP_DECL bool get(const std::string &key, std::string &s)
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)