#include <aubo_driver.h>
Public Member Functions | |
AuboDriver (std::string host, unsigned int reverse_port=8887) | |
void | chatterCallback1 (const std_msgs::Float32MultiArray::ConstPtr &msg) |
void | chatterCallback2 (const std_msgs::Float32MultiArray::ConstPtr &msg) |
void | chatterCallback3 (const aubo_msgs::IOState::ConstPtr &msg) |
void | timerCallback (const ros::TimerEvent &e) |
Private Attributes | |
ros::NodeHandle | nh |
ros::Publisher | pos_pub |
bool | reverse_connected_ |
ros::Subscriber | sub1 |
ros::Subscriber | sub2 |
ros::Subscriber | sub3 |
ros::Timer | timer |
Definition at line 35 of file aubo_driver.h.
AuboDriver::AuboDriver | ( | std::string | host, |
unsigned int | reverse_port = 8887 |
||
) |
Definition at line 89 of file aubo_driver.cpp.
void AuboDriver::chatterCallback1 | ( | const std_msgs::Float32MultiArray::ConstPtr & | msg | ) |
Definition at line 121 of file aubo_driver.cpp.
void AuboDriver::chatterCallback2 | ( | const std_msgs::Float32MultiArray::ConstPtr & | msg | ) |
Definition at line 152 of file aubo_driver.cpp.
void AuboDriver::chatterCallback3 | ( | const aubo_msgs::IOState::ConstPtr & | msg | ) |
Definition at line 181 of file aubo_driver.cpp.
void AuboDriver::timerCallback | ( | const ros::TimerEvent & | e | ) |
Definition at line 197 of file aubo_driver.cpp.
ros::NodeHandle AuboDriver::nh [private] |
Definition at line 39 of file aubo_driver.h.
ros::Publisher AuboDriver::pos_pub [private] |
Definition at line 40 of file aubo_driver.h.
bool AuboDriver::reverse_connected_ [private] |
Definition at line 37 of file aubo_driver.h.
ros::Subscriber AuboDriver::sub1 [private] |
Definition at line 41 of file aubo_driver.h.
ros::Subscriber AuboDriver::sub2 [private] |
Definition at line 42 of file aubo_driver.h.
ros::Subscriber AuboDriver::sub3 [private] |
Definition at line 43 of file aubo_driver.h.
ros::Timer AuboDriver::timer [private] |
Definition at line 44 of file aubo_driver.h.