18 #ifndef PRBT_HARDWARE_SUPPORT_JOINT_STATES_PUBLISHER_MOCK_H 19 #define PRBT_HARDWARE_SUPPORT_JOINT_STATES_PUBLISHER_MOCK_H 26 #include <sensor_msgs/JointState.h> 56 void start(
bool positions_fixed);
64 sensor_msgs::JointState
msg_;
~JointStatesPublisherMock()
void startAsync(bool move=false)
Start a new thread publishing joint states.
Asynchronously publishes predefined messages on the /joint_states topic with rate ~100Hz...
void start(bool positions_fixed)
std::atomic_bool terminate_
sensor_msgs::JointStateConstPtr getNextMessage()
Obtain the message that is published next.
sensor_msgs::JointState msg_
JointStatesPublisherMock()
ros::Publisher joint_states_pub_