rosshutdown
Shut down ROS system
Syntax
Description
rosshutdown
shuts down the global node and, if it is running, the ROS master. When you finish working with the ROS network, userosshutdown
to shut down the global ROS entities created byrosinit
. If the global node and ROS master are not running, this function has no effect.
Note
After callingrosshutdown
, any ROS entities (objects) that depend on the global node like subscribers created withrossubscriber
, are deleted and become unstable.
Prior to callingrosshutdown
, callclear
on these objects for a clean removal of ROS entities.