I've tried to find the answer to my problem looking at previous similar questions but no luck so far.
I've been using ROS Fuerte on Ubuntu 12.04 LTS to control Jaguar Lite robot. However, the executables created in the correct directory cannot be found by rosrun. Please see the screenshot of the error given below. I think the package path cannot be wrong because it looks into the correct package directory. I would appreciate any help.
Edit: I cannot post links because of low karma. But the code is below
robotlab@robotlab-Revo-RL80:~$ rosrun drrobot_jaguar4x4_player drrobot_player
/opt/ros/fuerte/bin/rosrun: line 73: /home/robotlab/fuerte_workspace/drrobot_jaguar4x4_player/bin/drrobot_player: No such file or directory
robotlab@robotlab-Revo-RL80:~$ ls ~/fuerte_workspace/drrobot_jaguar4x4_player/bin
drrobot_imu drrobot_keyboard_teleop drrobot_player
drrobot_joystick_teleop drrobotMsgTester drrobot_pointcloud
In addition: There are 6 executables in bin directory. drrobot_imu and drrobotMsgTester runs without problem. But the rest 4 gives no file or directory error.
Originally posted by hee502 on ROS Answers with karma: 13 on 2014-07-25
Post score: 1
Original comments
Comment by ahendrix on 2014-07-25:
Screenshot link is broken. It looks like you haven't uploaded it.
Comment by BennyRe on 2014-07-25:
You could also paste the error as plain text in the code environment.
Comment by McMurdo on 2014-07-25:
I am suspecting that the executable doesn't have permissions to execute... Try chmod +x to that. Or clean the bin folder and build again.
Comment by hee502 on 2014-07-25:
I've tried chmod. The same result. I've formatted all the drive, reinstalled Ubuntu, ros and packages. The result is the same unfortunately.
Comment by ROSkinect on 2014-07-25:
you may have to add fuerte_workspace to your CMakeLists !
Comment by McMurdo on 2014-07-25:
But have you made/built the packages again or are they pre-built binaries? @ahendrix's answer describes almost all possibilities.
Comment by hee502 on 2014-07-25:
i've built the packages myself. The packages are downloaded from https://github.com/gitdrrobot. Second package depends on the first. But after building the first no executable is created. Maybe that's why the second is giving the error?