Is it possible to start three nodes A, B, and C at the same time, stop only A in the middle, and then restart the stopped A? I'm wondering if the stop and restart triggers can be dynamically changed using dynamic reconfigure, but I don't know how to stop and restart the node. I use the ROS melodic. Thanks!
ROS is intended for all nodes to run continuously until shutdown. Nevertheless there are some ideas that may help you to find a workaround: