Template Function husarion_ugv_utils::test_utils::WaitForMsg
Defined in File ros_test_utils.hpp
Function Documentation
Wait for ROS message to arrive.
- Parameters:
node – ROS node that will be spun
msg – Reference to the message, it should point to a variable, that will be overwritten by subscriber callback
timeout – timeout to wait for message to arrive
- Returns:
True if message was received, false if timeout was reached