I have a script (baxter.sh) that I use to connect to a Baxter robot (then I am able to use ros command on the robot)
Some demo of the robot need 3 to 4 command to be launched.
When I try to make a bash script it doesn't work as intended, it get stuck at the ./baxter.sh part, only processing the next command after the baxter.sh script is stopped (the baxter.sh open a new shell that allow command to be sent to the robot I think)
How can I do it so it would directly launch the other command in the shell that appeared with the use of ./baxter.sh ?
./baxter.sh rosrun baxter_behaviour_arms baxter_astro_control_with_sound.py