#include <noid_lower_controller.h>
Public Member Functions | |
void | getPosition () |
NoidLowerController (const std::string &_port) | |
void | onServo (bool _value) |
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 | sendPosition (uint16_t _time, std::vector< int16_t > &_data) |
void | sendVelocity (std::vector< int16_t > &_data) |
~NoidLowerController () | |
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_ |
std::vector< int > | wheel_aero_index_ |
std::vector< int > | wheel_ros_index_ |
Protected Attributes | |
aero::controller::AeroCommand * | lower_ |
Static Protected Attributes | |
static const uint32_t | BAUDRATE = 1000000 |
Definition at line 11 of file noid_lower_controller.h.
NoidLowerController::NoidLowerController | ( | const std::string & | _port | ) |
Definition at line 6 of file noid_lower_controller.cpp.
NoidLowerController::~NoidLowerController | ( | ) |
Definition at line 31 of file noid_lower_controller.cpp.
void NoidLowerController::getPosition | ( | ) |
Definition at line 36 of file noid_lower_controller.cpp.
void NoidLowerController::onServo | ( | bool | _value | ) |
Definition at line 91 of file noid_lower_controller.cpp.
void NoidLowerController::remapAeroToRos | ( | std::vector< int16_t > & | _before, |
std::vector< int16_t > & | _after | ||
) |
Definition at line 48 of file noid_lower_controller.cpp.
void NoidLowerController::remapRosToAero | ( | std::vector< int16_t > & | _before, |
std::vector< int16_t > & | _after | ||
) |
Definition at line 60 of file noid_lower_controller.cpp.
void NoidLowerController::sendPosition | ( | uint16_t | _time, |
std::vector< int16_t > & | _data | ||
) |
Definition at line 42 of file noid_lower_controller.cpp.
void NoidLowerController::sendVelocity | ( | std::vector< int16_t > & | _data | ) |
Definition at line 73 of file noid_lower_controller.cpp.
std::vector<int> noid::controller::NoidLowerController::aero_index_ |
Definition at line 29 of file noid_lower_controller.h.
|
staticprotected |
Definition at line 38 of file noid_lower_controller.h.
int noid::controller::NoidLowerController::DOF_ |
Definition at line 31 of file noid_lower_controller.h.
bool noid::controller::NoidLowerController::is_open_ |
Definition at line 24 of file noid_lower_controller.h.
|
protected |
Definition at line 37 of file noid_lower_controller.h.
std::vector<std::string> noid::controller::NoidLowerController::name_ |
Definition at line 28 of file noid_lower_controller.h.
unsigned int noid::controller::NoidLowerController::number_of_angles_ |
Definition at line 26 of file noid_lower_controller.h.
std::vector<int16_t> noid::controller::NoidLowerController::raw_data_ |
Definition at line 25 of file noid_lower_controller.h.
std::vector<int> noid::controller::NoidLowerController::ros_index_ |
Definition at line 30 of file noid_lower_controller.h.
std::vector<int> noid::controller::NoidLowerController::wheel_aero_index_ |
Definition at line 33 of file noid_lower_controller.h.
std::vector<int> noid::controller::NoidLowerController::wheel_ros_index_ |
Definition at line 34 of file noid_lower_controller.h.