ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | Q&A
Ask Your Question

Why run catkin_init_workspace inside src folder?

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

sep_vanmarcke gravatar image

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

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

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

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

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

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


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

Seen: 994 times

Last updated: Mar 20 '17