#include <RelayNode.h>
Public Member Functions | |
RelayNode (ros::NodeHandle &nh, ros::NodeHandle &nh_priv) | |
~RelayNode () | |
Private Member Functions | |
void | publishReady (bool ready) |
void | publishSerial (const std::string &serial) |
void | recv (const std_msgs::Byte::ConstPtr &msg) |
void | serviceDevice () |
void | timerCallback (const ros::WallTimerEvent &event) |
Private Attributes | |
ftdi_context * | ctx_ |
bool | open_ |
std::string | param_desc_ |
std::string | param_serial_ |
ros::Publisher | pub_ready_ |
ros::Publisher | pub_serial_ |
std::string | serial_live_ |
ros::Subscriber | sub_ |
ros::WallTimer | timer_ |
Definition at line 48 of file RelayNode.h.
sainsmart_relay_usb::RelayNode::RelayNode | ( | ros::NodeHandle & | nh, |
ros::NodeHandle & | nh_priv | ||
) |
Definition at line 41 of file RelayNode.cpp.
sainsmart_relay_usb::RelayNode::~RelayNode | ( | ) |
Definition at line 65 of file RelayNode.cpp.
|
inlineprivate |
Definition at line 59 of file RelayNode.h.
|
inlineprivate |
Definition at line 63 of file RelayNode.h.
|
private |
Definition at line 75 of file RelayNode.cpp.
|
private |
Definition at line 91 of file RelayNode.cpp.
|
private |
Definition at line 137 of file RelayNode.cpp.
|
private |
Definition at line 76 of file RelayNode.h.
|
private |
Definition at line 89 of file RelayNode.h.
|
private |
Definition at line 70 of file RelayNode.h.
|
private |
Definition at line 69 of file RelayNode.h.
|
private |
Definition at line 82 of file RelayNode.h.
|
private |
Definition at line 83 of file RelayNode.h.
|
private |
Definition at line 86 of file RelayNode.h.
|
private |
Definition at line 79 of file RelayNode.h.
|
private |
Definition at line 73 of file RelayNode.h.