Public Member Functions | Static Public Member Functions | Public Attributes | Static Public Attributes | List of all members
XarmRTConnection Class Reference

Public Member Functions

bool reConnect (void)
 
void thread_run (void)
 
 XarmRTConnection (ros::NodeHandle &root_nh, char *server_ip, xarm_api::XARMDriver &drv)
 

Static Public Member Functions

static void * thread_proc (void *arg)
 

Public Attributes

SocketPortarm_report
 
xarm_msgs::CIOState cio_msg
 
ros::Duration elapsed
 
char * ip
 
std::vector< std::string > joint_name_
 
int joint_num_
 
sensor_msgs::JointState js_msg
 
ros::Time last_now
 
ros::Time now
 
XArmReportDatareport_data_ptr
 
std::string report_type
 
xarm_msgs::RobotMsg rm_msg
 
xarm_api::XARMDriver xarm_driver
 

Static Public Attributes

static constexpr const double GET_FRAME_RATE_HZ = 1000
 

Detailed Description

Definition at line 33 of file xarm_driver_node.cpp.

Constructor & Destructor Documentation

XarmRTConnection::XarmRTConnection ( ros::NodeHandle root_nh,
char *  server_ip,
xarm_api::XARMDriver drv 
)
inline

Definition at line 36 of file xarm_driver_node.cpp.

Member Function Documentation

bool XarmRTConnection::reConnect ( void  )
inline

Definition at line 49 of file xarm_driver_node.cpp.

static void* XarmRTConnection::thread_proc ( void *  arg)
inlinestatic

Definition at line 282 of file xarm_driver_node.cpp.

void XarmRTConnection::thread_run ( void  )
inline

Definition at line 67 of file xarm_driver_node.cpp.

Member Data Documentation

SocketPort* XarmRTConnection::arm_report

Definition at line 294 of file xarm_driver_node.cpp.

xarm_msgs::CIOState XarmRTConnection::cio_msg

Definition at line 300 of file xarm_driver_node.cpp.

ros::Duration XarmRTConnection::elapsed

Definition at line 293 of file xarm_driver_node.cpp.

constexpr const double XarmRTConnection::GET_FRAME_RATE_HZ = 1000
static

Definition at line 304 of file xarm_driver_node.cpp.

char* XarmRTConnection::ip

Definition at line 290 of file xarm_driver_node.cpp.

std::vector<std::string> XarmRTConnection::joint_name_

Definition at line 303 of file xarm_driver_node.cpp.

int XarmRTConnection::joint_num_

Definition at line 302 of file xarm_driver_node.cpp.

sensor_msgs::JointState XarmRTConnection::js_msg

Definition at line 297 of file xarm_driver_node.cpp.

ros::Time XarmRTConnection::last_now

Definition at line 292 of file xarm_driver_node.cpp.

ros::Time XarmRTConnection::now

Definition at line 292 of file xarm_driver_node.cpp.

XArmReportData* XarmRTConnection::report_data_ptr

Definition at line 296 of file xarm_driver_node.cpp.

std::string XarmRTConnection::report_type

Definition at line 291 of file xarm_driver_node.cpp.

xarm_msgs::RobotMsg XarmRTConnection::rm_msg

Definition at line 299 of file xarm_driver_node.cpp.

xarm_api::XARMDriver XarmRTConnection::xarm_driver

Definition at line 298 of file xarm_driver_node.cpp.


The documentation for this class was generated from the following file:


xarm_api
Author(s):
autogenerated on Sat May 8 2021 02:51:23