35 #ifndef _RELAY_NODE_H_ 36 #define _RELAY_NODE_H_ 39 #include <std_msgs/Bool.h> 40 #include <std_msgs/Byte.h> 41 #include <std_msgs/String.h> 57 void recv(
const std_msgs::Byte::ConstPtr& msg);
60 std_msgs::Bool msg; msg.data = ready;
64 std_msgs::String msg; msg.data = serial;
94 #endif // _RELAY_NODE_H_
ros::Publisher pub_serial_
void publish(const boost::shared_ptr< M > &message) const
void timerCallback(const ros::WallTimerEvent &event)
std::string param_serial_
void recv(const std_msgs::Byte::ConstPtr &msg)
void publishSerial(const std::string &serial)
ros::Publisher pub_ready_
RelayNode(ros::NodeHandle &nh, ros::NodeHandle &nh_priv)
void publishReady(bool ready)