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

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

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

Question Tools

1 follower


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

Seen: 539 times

Last updated: Mar 20 '15