waiting for /rosout to use ROS_INFO

asked 2020-05-18 11:22:26 -0500

pcdangio gravatar image

According to http://wiki.ros.org/roscpp/Overview/L..., the /rosout topic will miss initial ROS_INFO and other log levels as the "node hasn't fully started".

Is there a way to internally check if the "node has fully started"? I'm using roscpp.

ros::ok(), ros::isInitialized(), ros::isStarted(), and nodeHandle::ok() all immediately return true as soon as ros::init() is called, even though the node hasn't fully started (and initial ROS_INFO messages are being missed on /rosout)

edit retag flag offensive close merge delete