9 #ifndef CLOCK_PUBLISHER_HPP 10 #define CLOCK_PUBLISHER_HPP float publish_rate_
Frequency (Hz) of publish on the /clock topic (ROS frequency)
ros::NodeHandle nh_
Node handler.
void run_node()
Runs the node.
bool use_sim_time_
Whether to publish something in the /clock topic.
ros::Publisher clock_pub_
Clock publisher.
Class to publish on the /clock topic.
void init_node()
Initialises the node and its parameters.