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

Why run catkin_init_workspace inside src folder?

asked 2017-03-20 07:37:45 -0500

sep_vanmarcke gravatar image

updated 2017-03-20 07:38:11 -0500

I don't unstand why we run catkin_init_workspace inside the src folder, shoudn't it be the root folder, which is the catkin workspace folder?

$ mkdir -p ~/catkin_ws/src
$ cd ~/catkin_ws/src
$ catkin_init_workspace
edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted

answered 2017-03-20 11:46:14 -0500

Dirk Thomas gravatar image

You don't need to run catkin_init_workspace yourself. catkin_make will take care of that for you automatically.

edit flag offensive delete link more


Okay! I was always having to go back to tutorial because i was not sure (always happens when i don't know reason beyond stuff).

sep_vanmarcke gravatar image sep_vanmarcke  ( 2017-03-20 14:07:44 -0500 )edit

Are there any differences between one to the other? I've always wondered.

bpinaya gravatar image bpinaya  ( 2017-10-30 13:06:06 -0500 )edit

Question Tools

1 follower


Asked: 2017-03-20 07:37:45 -0500

Seen: 1,086 times

Last updated: Mar 20 '17