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

why the catkin_init_workspace command is not included as a step in the InstallingandConfiguringROSEnvironment tutorial?

asked 2017-06-01 10:25:31 -0500

lenguini gravatar image

More than a question is just a suggestion to update this tutorial. Thanks.

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted

answered 2017-06-01 14:24:16 -0500

Note that the wiki is community maintained, if you think that things should be updated feel free to contribute.

Also note that for quite some time, catkin_make automatically initializes the workspace if it hasn't been initialized. So there is no need to explicitly call catkin_init_workspace anymore (not exactly sure when this change happened). I still find myself calling catkin_init_workspace manually mostly out of habit, and it certainly doesn't cause any problems. I think you are referring to this tutorial, which works perfectly on my machine.

See this question for more, or check the catkin_make source code that actually initializes the workspace if required.

edit flag offensive delete link more


Thanks for your reply jarvisschultz. For some reason I had to type catkin_init_workspace, otherwise catkin_make thrown out an error, and no CMakelist.txt file was created in the src folder. I've installed ros indigo, so maybe this could be the reason? Also I'm using a python virtual environment..

lenguini gravatar image lenguini  ( 2017-06-02 09:23:48 -0500 )edit

ROS Indigo likely isn't the issue, but perhaps your virtual environment is. Without knowing what error was thrown by catkin_make, it's tough to say.

jarvisschultz gravatar image jarvisschultz  ( 2017-06-02 09:42:34 -0500 )edit

Question Tools

1 follower


Asked: 2017-06-01 10:25:31 -0500

Seen: 336 times

Last updated: Jun 01 '17