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

catkin init doesnt create a ws in my current folder

asked 2018-10-08 10:16:15 -0600

girpon gravatar image

updated 2018-10-08 10:27:57 -0600

gvdhoorn gravatar image

when i now use catkin init it doesnt create a workspace in the folder i directed to. it just creates it in the HOME folder thus giving an error. i used this :

source /opt/ros/kinetic/setup.bash
mkdir -p ROS/new_ros_ws/src
cd $HOME/ROS/new_ros_ws
catkin init

however it doesnt make a workspace inside the "new_ros_ws"

greetings Girpon

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted

answered 2018-10-08 10:28:39 -0600

gvdhoorn gravatar image

updated 2018-10-08 10:40:39 -0600

Can you check whether you have a directory called .catkin_tools in your home directory?


no i dont, but im sure i did install catkin tools at some point.

.catkin_tools is a hidden directory, so it won't show up if you just browse to your home dir using the file browser.

You'll have to either enable "show hidden files", or use ls -al $HOME in a terminal.

edit flag offensive delete link more


no i dont, but im sure i did install catkin tools at some point.

girpon gravatar image girpon  ( 2018-10-08 10:31:06 -0600 )edit

yes there is .catkin_tools

girpon gravatar image girpon  ( 2018-10-08 10:38:03 -0600 )edit

Delete it using rm -rf $HOME/.catkin_tools.

Then open a new terminal and try creating your workspace again.

gvdhoorn gravatar image gvdhoorn  ( 2018-10-08 10:38:48 -0600 )edit

thanks it worked!!

girpon gravatar image girpon  ( 2018-10-08 10:39:30 -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: 2018-10-08 10:16:15 -0600

Seen: 426 times

Last updated: Oct 08 '18