Ask Your Question
3

What does the command 'catkin_init_workspace' do?

asked 2014-07-18 22:07:27 -0600

mosfet2u gravatar image

updated 2014-07-19 05:54:00 -0600

In reading different accounts of how to create a ROS workspace (in Hydro), I encountered a discrepancy. In the ROS tutorial sequence, a command 'catkin_init_workspace' is executed before going on to the 'build' process. In other accounts of the process, this step is not mentioned. I have not been able to find detailed documentation on this command. What exactly does it do?

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted
4

answered 2014-07-19 05:37:21 -0600

silgon gravatar image

It will create the CMakeLists.txt file (actually it just create a symbolic link in the src folder of your workspace pointing to CMakeLists.txt -> /opt/ros/groovy/share/catkin/cmake/toplevel.cmake in the case you're using groovy).

You don't need that command now. When you create the the package, you can just run catkin_make and it do also the job of catkin_init_workspace, and that's why sometimes it's not mentioned as you said.

Check out catkin tutorial

edit flag offensive delete link more

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools

Stats

Asked: 2014-07-18 22:07:27 -0600

Seen: 9,886 times

Last updated: Jul 19 '14