Ask Your Question
2

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

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

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 -0600

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 -0600

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

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools

Stats

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

Seen: 1,058 times

Last updated: Dec 11 '12