roslaunch as executable
Hi!
Maybe this is more of an Linux-question instead of ROS. But anyway, maybe someone could help:
I would like to know how I can build a single file which runs a roslaunch by double click on it.
The goal is that someone could run my ros-project who is not familiar to any shell commands or anything regarding Linux. He would just click on one file and the whole thing just starts running.
Is that possible?
Edit: I already tried a bash file (test.sh) and in it is
#!/bin/bash
xterm -e "roslaunch test test.launch"
and gave the file the permission to execute ("Allow executing file as program" in file properties). But when I run it, nothing happens. Anybody knows what I'm doing wrong?
Have you made sure to make the script first source the correct ROS environment setup file (ie:
setup.bash
)?