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

[rosrun] Count' find executable named ... ?

asked 2016-09-02 14:35:53 -0500

icepaka89 gravatar image

Hey all,

I am trying to move my catkin workspace from my old computer to my new one. I copied the folder from my old computer, pasted into the new one with ROS installed. catkin)make gave no errors. However, when i try to run my program, i get this error:

$ rosrun sim_pkg sim_init [rosrun] Couldn't find executable named sim_init below /home/icepaka89/algsim_ws/src/sim_pkg

Clearly there is a problem with ROS_PACKAGE_PATH. But I can't seem to figure it out? Does anyone know an easy way to fix this? I made sure i ran source devel/setup.bash before running my program. Thanks!

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted
1

answered 2016-09-02 20:52:05 -0500

Shay gravatar image

You need to go to the directory where your executable is, and check if it is there. Usually, the executable generated is in the [WORKSPACE_DIR]/devel/lib/[PKG_NAME]/.

If the executable is not generated, then something wrong with catkin_make or your source code.

If the executable is generated, then something wrong with you environment variables.

edit flag offensive delete link more

Question Tools

Stats

Asked: 2016-09-02 14:35:53 -0500

Seen: 174 times

Last updated: Sep 02 '16