Executable programm using ros (double click)
Hello,
I have a c++ programm that starts a launchfile with exec (same result if i start it with system). It does work fine when starting from the terminal.
However, I would like to have it execute on double click. I created a .desktop file:
[Desktop Entry]
Version=1.0
Name=filename
Comment=File to make filename executable
Exec=/path/to/file
Icon=/path/to/icon.png
Terminal=true
Type=Application
Categories=Applications
But when I start the programm I only get:
Traceback (most recent call last):
File "/opt/ros/kinetic/bin/roslaunch", line 34, in <module>
import roslaunch
ImportError: No module named roslaunch
Asked by JulianR on 2017-06-08 14:54:04 UTC
Answers
Please see #q226588 and #q135021.
Asked by gvdhoorn on 2017-06-08 15:11:59 UTC
Comments
Also: could I please ask you to use the search first? We already have over 35000 questions here on ROS Answers and we'd like to keep the nr of duplicates to a minimum.
Thanks
Asked by gvdhoorn on 2017-06-08 15:12:48 UTC
Comments