Triggering a launch file using service and client nodes
I want to trigger a launch file using a client node when the service node returns a boolean value true. I have created a simple client and service. The response of the service node is a boolean variable. How can I trigger the launch file when the client receives true in the response for its request? I am using ROS Fuerte on Ubuntu 12.04.
Thanks a lot.I had tried putting all nodes in a single launch file. I created a message type which contained the boolean variable.Each node in the launch file subscribes the message.I tried to trigger each node in the launch file separately.I was not aware of system commands.I will try to use them.