Template Function husarion_ugv_utils::test_utils::PublishAndSpin
Defined in File ros_test_utils.hpp
Function Documentation
Creates publisher for given message type, publishes the message, and spins the ROS node.
- Parameters:
node – ROS node that will be spun
topic_name – The name of the topic for which publisher will be created
msg – ROS message that will be published
qos_profile – The QoS profile of the publisher
- Returns:
True if message was received, false if timeout was reached