how to connect to robot and run a node in a new terminal
Hi there,
I have lots of terminals that i have to open in order to run my script (e.g launching the simulator, enabling the robot, opening the gui, connecting to camera and more). I know how to open a new gnome-terminal and run multiples commands, but if the first command is "connecting to the robot" i can't continue to the next one.
i am using
os.system("gnome-terminal -- /bin/sh -c '/home/erez/ros_ws/baxter.sh ; rosrun project_x gui_project_x'")
Have you tried writing a
.launch
file? I feel like that's the solution for you here.