Hi all,
Does anyone know is there c++ API that can help to shut down the whole ros instead of a node? What I want to do is I plan to use shell script for automating the simualtion in ros. I use roslaunch command for spawning the environment and drones. And run another c++ file (a node) for controller. However, I do not know how to stop ros when the controling algorithm is finished. If I use ros::shutdown(), I can only shutdown the controller node but the graphic interface is still here. So, does anyone here know any way to shut down the whole ros through c++ code?
Thanks
Originally posted by [email protected] on ROS Answers with karma: 31 on 2017-09-13
Post score: 1