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

catkin init doesnt create a ws in my current folder

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

girpon gravatar image

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

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
1

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

gvdhoorn gravatar image

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

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


Edit:

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

Comments

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

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

yes there is .catkin_tools

girpon gravatar image girpon  ( 2018-10-08 10:38:03 -0500 )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 -0500 )edit

thanks it worked!!

girpon gravatar image girpon  ( 2018-10-08 10:39:30 -0500 )edit

Question Tools

1 follower

Stats

Asked: 2018-10-08 10:16:15 -0500

Seen: 676 times

Last updated: Oct 08 '18