ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange |
1 | initial version |
In ROS1, I think what you've proposed is the best possible solution available.
If you were to move to ROS2 in the future, check out Managed Nodes which implement a lifecycle, so you could have a central node that starts and stops the desired nodes at different times.