Ask Your Question
1

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
2

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

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 imagesep_vanmarcke ( 2017-03-20 14:07:44 -0500 )edit

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

bpinaya gravatar imagebpinaya ( 2017-10-30 13:06:06 -0500 )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

Stats

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

Seen: 693 times

Last updated: Mar 20 '17