ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange
Ask Your Question
0

Executables not found and autocompletion not working with meta-ros

asked 2015-08-18 09:24:14 -0500

I have a many systems running meta-ros according to https://github.com/bmwcarit/meta-ros/ instructions. In all of them, ROS seems to work OK. However, one of them cannot find nodes executables. For instance, the joy package is correctly installed and I can run by doing /opt/ros/indigo/lib/joy/joy_node. However, if I try rosrun joy joy_node the output is:

[rosrun] Couldn't find executable named joy_node below /opt/ros/indigo/share/joy

The executable is actually in /opt/ros/indigo/lib/joy.

I have compared both systems, and all the environment variables are the same. However, this one in which it does not work does not have /opt/ros/indigo/include folder for instance. That is the only difference I can find, apart from some different packages.

I have also run rospack profile

Do you have any suggestion on what to try? Thanks a lot!

edit retag flag offensive close merge delete

1 Answer

Sort by » oldest newest most voted
0

answered 2015-08-19 02:53:27 -0500

updated 2016-02-05 11:42:59 -0500

I found the problem: for some reason, the catkin_find command which is executed in rosrun script was not installed. A bit weird, since other packages depend on this one.

Anyway, installing catkin, in my case opkg install catkin solved the problem.

EDIT: I had the problem again on a different platform and I had to do: source /opt/ros/indigo/share/rosbash/rosbash to make it work.

edit flag offensive delete link more

Comments

Have you reported this to the meta-rosissue tracker?

gvdhoorn gravatar image gvdhoorn  ( 2016-02-06 06:05:02 -0500 )edit

Hi!

i encountered the same problem. but i have already installed catkin. i did the source /opt/ros/indigo/share/rosbash/rosbash but joy_node still could not be seen when i do the rosrun joy joy_node

fj138696 gravatar image fj138696  ( 2017-05-30 02:40:24 -0500 )edit

@fj138696 I recommend you to create a new question giving more details about your case (platform, what are you running and how, output, etc).

Javier V. Gómez gravatar image Javier V. Gómez  ( 2017-05-31 07:37:41 -0500 )edit

Question Tools

1 follower

Stats

Asked: 2015-08-18 09:24:14 -0500

Seen: 378 times

Last updated: Feb 05 '16