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

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
2

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

Comments

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

Question Tools

1 follower

Stats

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

Seen: 1,118 times

Last updated: Mar 20 '17