#include <xarm_driver.h>
Public Member Functions | |
bool | ClearErrCB (xarm_msgs::ClearErr::Request &req, xarm_msgs::ClearErr::Response &res) |
void | closeReportSocket (void) |
bool | ConfigModbusCB (xarm_msgs::ConfigToolModbus::Request &req, xarm_msgs::ConfigToolModbus::Response &res) |
int | get_cmdnum () |
int | get_error () |
int | get_frame (unsigned char *data) |
int | get_mode () |
int | get_state () |
UxbusCmd * | get_uxbus_cmd (void) |
bool | GetAnalogIOCB (xarm_msgs::GetAnalogIO::Request &req, xarm_msgs::GetAnalogIO::Response &res) |
bool | GetControllerAInCB (xarm_msgs::GetAnalogIO::Request &req, xarm_msgs::GetAnalogIO::Response &res) |
bool | GetControllerDInCB (xarm_msgs::GetControllerDigitalIO::Request &req, xarm_msgs::GetControllerDigitalIO::Response &res) |
bool | GetDigitalIOCB (xarm_msgs::GetDigitalIO::Request &req, xarm_msgs::GetDigitalIO::Response &res) |
bool | GetErrCB (xarm_msgs::GetErr::Request &req, xarm_msgs::GetErr::Response &res) |
bool | GoHomeCB (xarm_msgs::Move::Request &req, xarm_msgs::Move::Response &res) |
bool | GripperConfigCB (xarm_msgs::GripperConfig::Request &req, xarm_msgs::GripperConfig::Response &res) |
bool | GripperMoveCB (xarm_msgs::GripperMove::Request &req, xarm_msgs::GripperMove::Response &res) |
bool | GripperStateCB (xarm_msgs::GripperState::Request &req, xarm_msgs::GripperState::Response &res) |
void | Heartbeat (void) |
bool | isConnectionOK (void) |
bool | LoadNPlayTrajCB (xarm_msgs::PlayTraj::Request &req, xarm_msgs::PlayTraj::Response &res) |
bool | MotionCtrlCB (xarm_msgs::SetAxis::Request &req, xarm_msgs::SetAxis::Response &res) |
bool | MoveitClearErrCB (xarm_msgs::ClearErr::Request &req, xarm_msgs::ClearErr::Response &res) |
bool | MoveJointbCB (xarm_msgs::Move::Request &req, xarm_msgs::Move::Response &res) |
bool | MoveJointCB (xarm_msgs::Move::Request &req, xarm_msgs::Move::Response &res) |
bool | MoveLineAACB (xarm_msgs::MoveAxisAngle::Request &req, xarm_msgs::MoveAxisAngle::Response &res) |
bool | MoveLinebCB (xarm_msgs::Move::Request &req, xarm_msgs::Move::Response &res) |
bool | MoveLineCB (xarm_msgs::Move::Request &req, xarm_msgs::Move::Response &res) |
bool | MoveLineToolCB (xarm_msgs::Move::Request &req, xarm_msgs::Move::Response &res) |
bool | MoveServoCartAACB (xarm_msgs::MoveAxisAngle::Request &req, xarm_msgs::MoveAxisAngle::Response &res) |
bool | MoveServoCartCB (xarm_msgs::Move::Request &req, xarm_msgs::Move::Response &res) |
bool | MoveServoJCB (xarm_msgs::Move::Request &req, xarm_msgs::Move::Response &res) |
void | pub_cgpio_state (xarm_msgs::CIOState &cio_msg) |
void | pub_io_state () |
void | pub_joint_state (sensor_msgs::JointState &js_msg) |
void | pub_robot_msg (xarm_msgs::RobotMsg &rm_msg) |
bool | reConnectReportSocket (char *server_ip) |
bool | SaveTrajCB (xarm_msgs::SetString::Request &req, xarm_msgs::SetString::Response &res) |
bool | SetControllerAOutCB (xarm_msgs::SetControllerAnalogIO::Request &req, xarm_msgs::SetControllerAnalogIO::Response &res) |
bool | SetControllerDOutCB (xarm_msgs::SetDigitalIO::Request &req, xarm_msgs::SetDigitalIO::Response &res) |
bool | SetDigitalIOCB (xarm_msgs::SetDigitalIO::Request &req, xarm_msgs::SetDigitalIO::Response &res) |
bool | SetLoadCB (xarm_msgs::SetLoad::Request &req, xarm_msgs::SetLoad::Response &res) |
bool | SetMaxJAccCB (xarm_msgs::SetFloat32::Request &req, xarm_msgs::SetFloat32::Response &res) |
bool | SetMaxLAccCB (xarm_msgs::SetFloat32::Request &req, xarm_msgs::SetFloat32::Response &res) |
bool | SetModbusCB (xarm_msgs::SetToolModbus::Request &req, xarm_msgs::SetToolModbus::Response &res) |
bool | SetModeCB (xarm_msgs::SetInt16::Request &req, xarm_msgs::SetInt16::Response &res) |
bool | SetRecordingCB (xarm_msgs::SetInt16::Request &req, xarm_msgs::SetInt16::Response &res) |
bool | SetStateCB (xarm_msgs::SetInt16::Request &req, xarm_msgs::SetInt16::Response &res) |
bool | SetTCPOffsetCB (xarm_msgs::TCPOffset::Request &req, xarm_msgs::TCPOffset::Response &res) |
void | SleepTopicCB (const std_msgs::Float32ConstPtr &msg) |
bool | VacuumGripperCB (xarm_msgs::SetInt16::Request &req, xarm_msgs::SetInt16::Response &res) |
bool | VeloMoveJointCB (xarm_msgs::MoveVelo::Request &req, xarm_msgs::MoveVelo::Response &res) |
bool | VeloMoveLineVCB (xarm_msgs::MoveVelo::Request &req, xarm_msgs::MoveVelo::Response &res) |
XARMDriver () | |
void | XARMDriverInit (ros::NodeHandle &root_nh, char *server_ip) |
~XARMDriver () | |
Private Member Functions | |
int | wait_for_finish () |
Definition at line 41 of file xarm_driver.h.
|
inline |
Definition at line 44 of file xarm_driver.h.
xarm_api::XARMDriver::~XARMDriver | ( | ) |
Definition at line 26 of file xarm_driver.cpp.
bool xarm_api::XARMDriver::ClearErrCB | ( | xarm_msgs::ClearErr::Request & | req, |
xarm_msgs::ClearErr::Response & | res | ||
) |
Definition at line 164 of file xarm_driver.cpp.
void xarm_api::XARMDriver::closeReportSocket | ( | void | ) |
Definition at line 33 of file xarm_driver.cpp.
bool xarm_api::XARMDriver::ConfigModbusCB | ( | xarm_msgs::ConfigToolModbus::Request & | req, |
xarm_msgs::ConfigToolModbus::Response & | res | ||
) |
Definition at line 424 of file xarm_driver.cpp.
int xarm_api::XARMDriver::get_cmdnum | ( | ) |
Definition at line 1064 of file xarm_driver.cpp.
int xarm_api::XARMDriver::get_error | ( | ) |
Definition at line 1058 of file xarm_driver.cpp.
int xarm_api::XARMDriver::get_frame | ( | unsigned char * | data | ) |
Definition at line 1045 of file xarm_driver.cpp.
int xarm_api::XARMDriver::get_mode | ( | ) |
Definition at line 1070 of file xarm_driver.cpp.
int xarm_api::XARMDriver::get_state | ( | ) |
Definition at line 1052 of file xarm_driver.cpp.
|
inline |
Definition at line 111 of file xarm_driver.h.
bool xarm_api::XARMDriver::GetAnalogIOCB | ( | xarm_msgs::GetAnalogIO::Request & | req, |
xarm_msgs::GetAnalogIO::Response & | res | ||
) |
Definition at line 383 of file xarm_driver.cpp.
bool xarm_api::XARMDriver::GetControllerAInCB | ( | xarm_msgs::GetAnalogIO::Request & | req, |
xarm_msgs::GetAnalogIO::Response & | res | ||
) |
Definition at line 331 of file xarm_driver.cpp.
bool xarm_api::XARMDriver::GetControllerDInCB | ( | xarm_msgs::GetControllerDigitalIO::Request & | req, |
xarm_msgs::GetControllerDigitalIO::Response & | res | ||
) |
Definition at line 317 of file xarm_driver.cpp.
bool xarm_api::XARMDriver::GetDigitalIOCB | ( | xarm_msgs::GetDigitalIO::Request & | req, |
xarm_msgs::GetDigitalIO::Response & | res | ||
) |
Definition at line 376 of file xarm_driver.cpp.
bool xarm_api::XARMDriver::GetErrCB | ( | xarm_msgs::GetErr::Request & | req, |
xarm_msgs::GetErr::Response & | res | ||
) |
Definition at line 199 of file xarm_driver.cpp.
bool xarm_api::XARMDriver::GoHomeCB | ( | xarm_msgs::Move::Request & | req, |
xarm_msgs::Move::Response & | res | ||
) |
Definition at line 456 of file xarm_driver.cpp.
bool xarm_api::XARMDriver::GripperConfigCB | ( | xarm_msgs::GripperConfig::Request & | req, |
xarm_msgs::GripperConfig::Response & | res | ||
) |
Definition at line 778 of file xarm_driver.cpp.
bool xarm_api::XARMDriver::GripperMoveCB | ( | xarm_msgs::GripperMove::Request & | req, |
xarm_msgs::GripperMove::Response & | res | ||
) |
Definition at line 802 of file xarm_driver.cpp.
bool xarm_api::XARMDriver::GripperStateCB | ( | xarm_msgs::GripperState::Request & | req, |
xarm_msgs::GripperState::Response & | res | ||
) |
Definition at line 814 of file xarm_driver.cpp.
void xarm_api::XARMDriver::Heartbeat | ( | void | ) |
Definition at line 142 of file xarm_driver.cpp.
bool xarm_api::XARMDriver::isConnectionOK | ( | void | ) |
Definition at line 153 of file xarm_driver.cpp.
bool xarm_api::XARMDriver::LoadNPlayTrajCB | ( | xarm_msgs::PlayTraj::Request & | req, |
xarm_msgs::PlayTraj::Response & | res | ||
) |
Definition at line 908 of file xarm_driver.cpp.
bool xarm_api::XARMDriver::MotionCtrlCB | ( | xarm_msgs::SetAxis::Request & | req, |
xarm_msgs::SetAxis::Response & | res | ||
) |
Definition at line 206 of file xarm_driver.cpp.
bool xarm_api::XARMDriver::MoveitClearErrCB | ( | xarm_msgs::ClearErr::Request & | req, |
xarm_msgs::ClearErr::Response & | res | ||
) |
Definition at line 183 of file xarm_driver.cpp.
bool xarm_api::XARMDriver::MoveJointbCB | ( | xarm_msgs::Move::Request & | req, |
xarm_msgs::Move::Response & | res | ||
) |
Definition at line 575 of file xarm_driver.cpp.
bool xarm_api::XARMDriver::MoveJointCB | ( | xarm_msgs::Move::Request & | req, |
xarm_msgs::Move::Response & | res | ||
) |
Definition at line 467 of file xarm_driver.cpp.
bool xarm_api::XARMDriver::MoveLineAACB | ( | xarm_msgs::MoveAxisAngle::Request & | req, |
xarm_msgs::MoveAxisAngle::Response & | res | ||
) |
Definition at line 654 of file xarm_driver.cpp.
bool xarm_api::XARMDriver::MoveLinebCB | ( | xarm_msgs::Move::Request & | req, |
xarm_msgs::Move::Response & | res | ||
) |
Definition at line 552 of file xarm_driver.cpp.
bool xarm_api::XARMDriver::MoveLineCB | ( | xarm_msgs::Move::Request & | req, |
xarm_msgs::Move::Response & | res | ||
) |
Definition at line 498 of file xarm_driver.cpp.
bool xarm_api::XARMDriver::MoveLineToolCB | ( | xarm_msgs::Move::Request & | req, |
xarm_msgs::Move::Response & | res | ||
) |
Definition at line 525 of file xarm_driver.cpp.
bool xarm_api::XARMDriver::MoveServoCartAACB | ( | xarm_msgs::MoveAxisAngle::Request & | req, |
xarm_msgs::MoveAxisAngle::Response & | res | ||
) |
Definition at line 680 of file xarm_driver.cpp.
bool xarm_api::XARMDriver::MoveServoCartCB | ( | xarm_msgs::Move::Request & | req, |
xarm_msgs::Move::Response & | res | ||
) |
Definition at line 631 of file xarm_driver.cpp.
bool xarm_api::XARMDriver::MoveServoJCB | ( | xarm_msgs::Move::Request & | req, |
xarm_msgs::Move::Response & | res | ||
) |
Definition at line 605 of file xarm_driver.cpp.
void xarm_api::XARMDriver::pub_cgpio_state | ( | xarm_msgs::CIOState & | cio_msg | ) |
Definition at line 1040 of file xarm_driver.cpp.
void xarm_api::XARMDriver::pub_io_state | ( | ) |
Definition at line 1031 of file xarm_driver.cpp.
void xarm_api::XARMDriver::pub_joint_state | ( | sensor_msgs::JointState & | js_msg | ) |
Definition at line 1026 of file xarm_driver.cpp.
void xarm_api::XARMDriver::pub_robot_msg | ( | xarm_msgs::RobotMsg & | rm_msg | ) |
Definition at line 1016 of file xarm_driver.cpp.
bool xarm_api::XARMDriver::reConnectReportSocket | ( | char * | server_ip | ) |
Definition at line 38 of file xarm_driver.cpp.
bool xarm_api::XARMDriver::SaveTrajCB | ( | xarm_msgs::SetString::Request & | req, |
xarm_msgs::SetString::Response & | res | ||
) |
Definition at line 869 of file xarm_driver.cpp.
bool xarm_api::XARMDriver::SetControllerAOutCB | ( | xarm_msgs::SetControllerAnalogIO::Request & | req, |
xarm_msgs::SetControllerAnalogIO::Response & | res | ||
) |
Definition at line 350 of file xarm_driver.cpp.
bool xarm_api::XARMDriver::SetControllerDOutCB | ( | xarm_msgs::SetDigitalIO::Request & | req, |
xarm_msgs::SetDigitalIO::Response & | res | ||
) |
Definition at line 305 of file xarm_driver.cpp.
bool xarm_api::XARMDriver::SetDigitalIOCB | ( | xarm_msgs::SetDigitalIO::Request & | req, |
xarm_msgs::SetDigitalIO::Response & | res | ||
) |
Definition at line 369 of file xarm_driver.cpp.
bool xarm_api::XARMDriver::SetLoadCB | ( | xarm_msgs::SetLoad::Request & | req, |
xarm_msgs::SetLoad::Response & | res | ||
) |
Definition at line 296 of file xarm_driver.cpp.
bool xarm_api::XARMDriver::SetMaxJAccCB | ( | xarm_msgs::SetFloat32::Request & | req, |
xarm_msgs::SetFloat32::Response & | res | ||
) |
Definition at line 752 of file xarm_driver.cpp.
bool xarm_api::XARMDriver::SetMaxLAccCB | ( | xarm_msgs::SetFloat32::Request & | req, |
xarm_msgs::SetFloat32::Response & | res | ||
) |
Definition at line 765 of file xarm_driver.cpp.
bool xarm_api::XARMDriver::SetModbusCB | ( | xarm_msgs::SetToolModbus::Request & | req, |
xarm_msgs::SetToolModbus::Response & | res | ||
) |
Definition at line 402 of file xarm_driver.cpp.
bool xarm_api::XARMDriver::SetModeCB | ( | xarm_msgs::SetInt16::Request & | req, |
xarm_msgs::SetInt16::Response & | res | ||
) |
Definition at line 220 of file xarm_driver.cpp.
bool xarm_api::XARMDriver::SetRecordingCB | ( | xarm_msgs::SetInt16::Request & | req, |
xarm_msgs::SetInt16::Response & | res | ||
) |
Definition at line 847 of file xarm_driver.cpp.
bool xarm_api::XARMDriver::SetStateCB | ( | xarm_msgs::SetInt16::Request & | req, |
xarm_msgs::SetInt16::Response & | res | ||
) |
Definition at line 262 of file xarm_driver.cpp.
bool xarm_api::XARMDriver::SetTCPOffsetCB | ( | xarm_msgs::TCPOffset::Request & | req, |
xarm_msgs::TCPOffset::Response & | res | ||
) |
Definition at line 288 of file xarm_driver.cpp.
void xarm_api::XARMDriver::SleepTopicCB | ( | const std_msgs::Float32ConstPtr & | msg | ) |
Definition at line 158 of file xarm_driver.cpp.
bool xarm_api::XARMDriver::VacuumGripperCB | ( | xarm_msgs::SetInt16::Request & | req, |
xarm_msgs::SetInt16::Response & | res | ||
) |
Definition at line 830 of file xarm_driver.cpp.
bool xarm_api::XARMDriver::VeloMoveJointCB | ( | xarm_msgs::MoveVelo::Request & | req, |
xarm_msgs::MoveVelo::Response & | res | ||
) |
Definition at line 702 of file xarm_driver.cpp.
bool xarm_api::XARMDriver::VeloMoveLineVCB | ( | xarm_msgs::MoveVelo::Request & | req, |
xarm_msgs::MoveVelo::Response & | res | ||
) |
Definition at line 729 of file xarm_driver.cpp.
|
private |
Definition at line 1096 of file xarm_driver.cpp.
void xarm_api::XARMDriver::XARMDriverInit | ( | ros::NodeHandle & | root_nh, |
char * | server_ip | ||
) |
Definition at line 44 of file xarm_driver.cpp.
|
private |
Definition at line 117 of file xarm_driver.h.
|
private |
Definition at line 111 of file xarm_driver.h.
|
private |
Definition at line 180 of file xarm_driver.h.
|
private |
Definition at line 149 of file xarm_driver.h.
|
private |
Definition at line 157 of file xarm_driver.h.
|
private |
Definition at line 125 of file xarm_driver.h.
|
private |
Definition at line 124 of file xarm_driver.h.
|
private |
Definition at line 126 of file xarm_driver.h.
|
private |
Definition at line 123 of file xarm_driver.h.
|
private |
Definition at line 122 of file xarm_driver.h.
|
private |
Definition at line 179 of file xarm_driver.h.
|
private |
Definition at line 148 of file xarm_driver.h.
|
private |
Definition at line 161 of file xarm_driver.h.
|
private |
Definition at line 159 of file xarm_driver.h.
|
private |
Definition at line 147 of file xarm_driver.h.
|
private |
Definition at line 151 of file xarm_driver.h.
|
private |
Definition at line 131 of file xarm_driver.h.
|
private |
Definition at line 152 of file xarm_driver.h.
|
private |
Definition at line 153 of file xarm_driver.h.
|
private |
Definition at line 154 of file xarm_driver.h.
|
private |
Definition at line 128 of file xarm_driver.h.
|
private |
Definition at line 119 of file xarm_driver.h.
|
private |
Definition at line 177 of file xarm_driver.h.
|
private |
Definition at line 134 of file xarm_driver.h.
|
private |
Definition at line 132 of file xarm_driver.h.
|
private |
Definition at line 133 of file xarm_driver.h.
|
private |
Definition at line 142 of file xarm_driver.h.
|
private |
Definition at line 138 of file xarm_driver.h.
|
private |
Definition at line 139 of file xarm_driver.h.
|
private |
Definition at line 137 of file xarm_driver.h.
|
private |
Definition at line 143 of file xarm_driver.h.
|
private |
Definition at line 141 of file xarm_driver.h.
|
private |
Definition at line 140 of file xarm_driver.h.
|
private |
Definition at line 150 of file xarm_driver.h.
|
private |
Definition at line 127 of file xarm_driver.h.
|
private |
Definition at line 130 of file xarm_driver.h.
|
private |
Definition at line 120 of file xarm_driver.h.
|
private |
Definition at line 178 of file xarm_driver.h.
|
private |
Definition at line 160 of file xarm_driver.h.
|
private |
Definition at line 158 of file xarm_driver.h.
|
private |
Definition at line 146 of file xarm_driver.h.
|
private |
Definition at line 145 of file xarm_driver.h.
|
private |
Definition at line 170 of file xarm_driver.h.
|
private |
Definition at line 171 of file xarm_driver.h.
|
private |
Definition at line 156 of file xarm_driver.h.
|
private |
Definition at line 136 of file xarm_driver.h.
|
private |
Definition at line 135 of file xarm_driver.h.
|
private |
Definition at line 144 of file xarm_driver.h.
|
private |
Definition at line 155 of file xarm_driver.h.
|
private |
Definition at line 182 of file xarm_driver.h.
|
private |
Definition at line 121 of file xarm_driver.h.
|
private |
Definition at line 175 of file xarm_driver.h.
|
private |
Definition at line 173 of file xarm_driver.h.
|
private |
Definition at line 174 of file xarm_driver.h.
|
private |
Definition at line 168 of file xarm_driver.h.
|
private |
Definition at line 169 of file xarm_driver.h.