#!/bin/bash # Start the primary process and put it in the background source devel/setup.bash roslaunch panda_control panda_world.launch & sleep 5 # Start the helper process rosrun panda_control panda_control.py & sleep 5 rosrun panda_openai agent_pg.py # the my_helper_process might need to know how to wait on the # primary process to start before it does its work and returns