ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | Q&A answers.ros.org |
![]() | 1 | initial version |
do Ctrl-c
on terminal where your node is running (not roscore terminal).
you need to call ros::shutdown()
to shutdown your node.
![]() | 2 | No.2 Revision |
do Ctrl-c
on terminal where your node is running (not roscore terminal).
you need to call ros::shutdown()
to shutdown your node.
you use ros::master::check()
in code to check.
thanks to http://answers.ros.org/question/36733/check-if-roscore-is-started-in-c/?answer=36737#post-id-36737