#include <noid_upper_controller.h>
Public Member Functions | |
void | getPosition () |
NoidUpperController (const std::string &_port) | |
void | remapAeroToRos (std::vector< int16_t > &_before, std::vector< int16_t > &_after) |
void | remapRosToAero (std::vector< int16_t > &_before, std::vector< int16_t > &_after) |
void | runScript (uint8_t _number, uint16_t _script) |
void | sendPosition (uint16_t _time, std::vector< int16_t > &_data) |
void | setCurrent (uint8_t _number, uint8_t _max, uint8_t _down) |
~NoidUpperController () | |
Public Attributes | |
std::vector< int > | aero_index_ |
int | DOF_ |
bool | is_open_ |
std::vector< std::string > | name_ |
unsigned int | number_of_angles_ |
std::vector< int16_t > | raw_data_ |
std::vector< int > | ros_index_ |
Protected Attributes | |
aero::controller::AeroCommand * | upper_ |
Static Protected Attributes | |
static const uint32_t | BAUDRATE = 1000000 |
Definition at line 11 of file noid_upper_controller.h.
NoidUpperController::NoidUpperController | ( | const std::string & | _port | ) |
Definition at line 6 of file noid_upper_controller.cpp.
NoidUpperController::~NoidUpperController | ( | ) |
Definition at line 29 of file noid_upper_controller.cpp.
void NoidUpperController::getPosition | ( | ) |
Definition at line 34 of file noid_upper_controller.cpp.
void NoidUpperController::remapAeroToRos | ( | std::vector< int16_t > & | _before, |
std::vector< int16_t > & | _after | ||
) |
Definition at line 46 of file noid_upper_controller.cpp.
void NoidUpperController::remapRosToAero | ( | std::vector< int16_t > & | _before, |
std::vector< int16_t > & | _after | ||
) |
Definition at line 59 of file noid_upper_controller.cpp.
void NoidUpperController::runScript | ( | uint8_t | _number, |
uint16_t | _script | ||
) |
Definition at line 77 of file noid_upper_controller.cpp.
void NoidUpperController::sendPosition | ( | uint16_t | _time, |
std::vector< int16_t > & | _data | ||
) |
Definition at line 40 of file noid_upper_controller.cpp.
void NoidUpperController::setCurrent | ( | uint8_t | _number, |
uint8_t | _max, | ||
uint8_t | _down | ||
) |
Definition at line 72 of file noid_upper_controller.cpp.
std::vector<int> noid::controller::NoidUpperController::aero_index_ |
Definition at line 29 of file noid_upper_controller.h.
|
staticprotected |
Definition at line 35 of file noid_upper_controller.h.
int noid::controller::NoidUpperController::DOF_ |
Definition at line 31 of file noid_upper_controller.h.
bool noid::controller::NoidUpperController::is_open_ |
Definition at line 24 of file noid_upper_controller.h.
std::vector<std::string> noid::controller::NoidUpperController::name_ |
Definition at line 28 of file noid_upper_controller.h.
unsigned int noid::controller::NoidUpperController::number_of_angles_ |
Definition at line 26 of file noid_upper_controller.h.
std::vector<int16_t> noid::controller::NoidUpperController::raw_data_ |
Definition at line 25 of file noid_upper_controller.h.
std::vector<int> noid::controller::NoidUpperController::ros_index_ |
Definition at line 30 of file noid_upper_controller.h.
|
protected |
Definition at line 34 of file noid_upper_controller.h.