Roslaunch got a 'No such file or directory' error while attempting to run: xterm -e gdb --args
Hi, guys! I want to debug in ROS Roslaunch. I add
launch-prefix="xterm -e gdb --args"
accoring to this page. When I add this debug line, there is the error Roslaunch got a 'No such file or directory' error while attempting to run:
xterm -e gdb --args /home/catkin_ws/devel/lib/ratslam_ros/ratslam_lv /home/catkin_ws/devel/share/ratslam_ros/config/config_stlucia.txt _image_transport:=compressed __name:=RatSLAMShow __log:=/home/.ros/log/858d4730-029a-11e6-af5e-c83a35db09fb/*-1.log Please make sure that all the executables in this command exist and have executable permission. This is often caused by a bad launch-prefix.
Also, I check the log, and I find the same hint.I found someone solve this.But not mine. I use ROS groovy and Ubuntu 12.04LTS. Thanks.
Do you have xterm and gdb installed? Can you run both manually?
Many thanks! I have tested gdb and works well manually in other program. In this program, Roslaunch is used to import some configure files.
Do you have xterm installed? Try running
xterm
from the command line.I am sorry.Our lab had a network fault in these three days.Just recovery.Yes, I also had tried xterm and this command works good.