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

[groovy beta 2] Question regarding catkin, location of binaries and roslaunch

asked 2012-12-11 00:57:53 -0500

Oier gravatar image

Hello, I am migrating code and I have a question regarding catkin. With rosmake the binaries where created in the /mypackage/bin folder, now catkins (using catkin_make) creates them in /mypackage/build/devel/lib/package. The, probably foolish, question is how to execute these binaries. When I try "rosrun mypackage" and autocompletion with tab, the new binaries are not shown. Besides, I used a launch file, which also doesn't work because it looks like the binaries are expected in mypackage/bin. Am I missing something? Cheers, Oier

edit retag flag offensive close merge delete

2 Answers

Sort by ยป oldest newest most voted
1

answered 2012-12-11 02:29:01 -0500

Kevin gravatar image

You can do:

catkin_make install

This will make an install directory with your binaries, libraries, messages, setup.bash, etc that are all in one easy place. Then do:

source /path_to_package/package/install/setup.bash

This will make everything available to rosrun.

edit flag offensive delete link more
1

answered 2012-12-11 02:24:06 -0500

Daniel Stonier gravatar image

Go into the devel folder and run setup.bash. You should be able to rosrun things then.

edit flag offensive delete link more

Question Tools

Stats

Asked: 2012-12-11 00:57:53 -0500

Seen: 1,152 times

Last updated: Dec 11 '12