Detecting ROS master failure in a non ROS checker C++ program
Hello,
How to determine and monitor ROS master failure in a non ROS checker C++ program ?
Thanks, Best regards.
Does the accepted answer to Best way to check if ROS is running work for you? Feel free to elaborate more on the overall problem you're trying to solve, if someone knows a better approach than "Detecting ROS master failure"
Thanks for your support. Doing this check with ros commands (ex: rostopic list) : I think this method so basic. Methods using python : I need to use C ++ ros::master::check() : If I use this method I have to use ros node. I want to make a cpp program (Ros master checker) that works independently of ROS.
When ros master is active, a process called rosmaster starts up. I see on System Monitor on Linux. How can I monitor rosmaster process with a c ++ program? I searched on this but could not reach a sufficient result.
I would be very happy if you have any other suggestions,
Thanks, Best regards.