Ask Your Question
0

ros package change to install folder when do command catkin_make install

asked 2015-03-19 15:39:33 -0500

crazymumu gravatar image

updated 2015-03-19 15:45:26 -0500

I create ros package named pioneer3at_gazebo in catkin_ws/src;
then I do catkin_make install; when i use roscd pioneer3at_gazebo, the path show in catkin_make/install.
why that happen?

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted
1

answered 2015-03-20 06:52:55 -0500

gvdhoorn gravatar image

updated 2015-03-20 08:41:50 -0500

What did you expect would happen?

catkin_make install does just what it says: it makes (builds) things first,then installs them into the default location (which is /path/to/catkin_ws/install).

If you then do source /path/to/catkin_ws/install/setup.bash, your ROS_PACKAGE_PATH is set to include locations under /path/to/catkin_ws/install, so a roscd PKG will take you there, instead of devel/.


For some more info, see catkin/workspaces on the ROS wiki. I think especially the Catkin Workspaces section should be helpful.

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

1 follower

Stats

Asked: 2015-03-19 15:39:33 -0500

Seen: 354 times

Last updated: Mar 20 '15