#include <seed_r7_upper_controller.h>
|
enum | error_bit_t {
can2_connection = 0,
can2_calibration = 1,
can2_motor_status = 2,
can2_temperature = 3,
can2_response = 4,
can2_step_out = 5,
can2_protective_stopped = 6,
can2_power = 7,
can1_connection = 8,
can1_calibration = 9,
can1_motor_status = 10,
can1_temperature = 11,
can1_response = 12,
can1_step_out = 13,
can1_protective_stopped = 14,
can1_power = 15
} |
|
|
static const uint32_t | BAUDRATE = 1000000 |
|
Definition at line 11 of file seed_r7_upper_controller.h.
◆ error_bit_t
Enumerator |
---|
can2_connection | |
can2_calibration | |
can2_motor_status | |
can2_temperature | |
can2_response | |
can2_step_out | |
can2_protective_stopped | |
can2_power | |
can1_connection | |
can1_calibration | |
can1_motor_status | |
can1_temperature | |
can1_response | |
can1_step_out | |
can1_protective_stopped | |
can1_power | |
Definition at line 49 of file seed_r7_upper_controller.h.
◆ UpperController()
robot_hardware::UpperController::UpperController |
( |
const std::string & |
_port | ) |
|
◆ ~UpperController()
robot_hardware::UpperController::~UpperController |
( |
| ) |
|
◆ checkRobotStatus()
void robot_hardware::UpperController::checkRobotStatus |
( |
| ) |
|
◆ getFirmwareVersion()
std::string robot_hardware::UpperController::getFirmwareVersion |
( |
| ) |
|
◆ getPosition()
void robot_hardware::UpperController::getPosition |
( |
| ) |
|
◆ remapAeroToRos()
void robot_hardware::UpperController::remapAeroToRos |
( |
std::vector< int16_t > & |
_ros, |
|
|
std::vector< int16_t > & |
_aero |
|
) |
| |
◆ remapRosToAero()
void robot_hardware::UpperController::remapRosToAero |
( |
std::vector< int16_t > & |
_aero, |
|
|
std::vector< int16_t > & |
_ros |
|
) |
| |
◆ runScript()
void robot_hardware::UpperController::runScript |
( |
uint8_t |
_number, |
|
|
uint16_t |
_script |
|
) |
| |
◆ sendPosition()
void robot_hardware::UpperController::sendPosition |
( |
uint16_t |
_time, |
|
|
std::vector< int16_t > & |
_data |
|
) |
| |
◆ setCurrent()
void robot_hardware::UpperController::setCurrent |
( |
uint8_t |
_number, |
|
|
uint8_t |
_max, |
|
|
uint8_t |
_down |
|
) |
| |
◆ aero_index_
std::vector<int> robot_hardware::UpperController::aero_index_ |
◆ aero_table_
std::vector<std::pair<int,std::string> > robot_hardware::UpperController::aero_table_ |
◆ BAUDRATE
const uint32_t robot_hardware::UpperController::BAUDRATE = 1000000 |
|
staticprotected |
◆ comm_err_
bool robot_hardware::UpperController::comm_err_ |
◆ is_open_
bool robot_hardware::UpperController::is_open_ |
◆ name_
std::vector<std::string> robot_hardware::UpperController::name_ |
◆ raw_data_
std::vector<int16_t> robot_hardware::UpperController::raw_data_ |
◆ robot_status_
◆ upper_
The documentation for this class was generated from the following files: