Robotics StackExchange | Archived questions

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/catkinws/devel/lib/ratslamros/ratslamlv /home/catkinws/devel/share/ratslamros/config/configstlucia.txt imagetransport:=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.

Asked by taiping.z on 2016-04-14 20:20:23 UTC

Comments

Do you have xterm and gdb installed? Can you run both manually?

Asked by ahendrix on 2016-04-14 21:44:17 UTC

Many thanks! I have tested gdb and works well manually in other program. In this program, Roslaunch is used to import some configure files.

Asked by taiping.z on 2016-04-14 22:37:19 UTC

Do you have xterm installed? Try running xterm from the command line.

Asked by ahendrix on 2016-04-14 22:56:04 UTC

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.

Asked by taiping.z on 2016-04-18 03:15:16 UTC

Answers