Changing Node on specific value read (changing map)
Is there a way to launch a roslaunch base on the value read from another node?
i want to implement this in changing map where i read from imu sensor for a certain value and once it reaches a target it will kill the current node and relaunch a new node.
Relaunching the same map_serve will kill the current node. But i dont have any idea on how to trigger the changing node.