Is it possible to execute two roslaunch commands from a single python script?
Hello,
I am trying to run two different packages together for accumulating data from two different systems/sensors - Eg: roslaunch a_b ab.launch, roslaunch x_y xy.launch. I am currently calling two python programs to record the data but I want to be able to launch it simultaneously from the same python script so that I can manipulate the data from the two sensors inside one script. Is there a clean way of doing this? Thanks in advance!
Sneha
maybe I don't understand your needs, but why not create a launch file that includes both files?
I actually have the python script running other functions before I need to open the ros packages of the sensors. Would it be more efficient for me to call the launch file in the python program rather than the roslaunch commands? Thanks!