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

catkin_make looking for src/src/

asked 2016-10-26 20:28:27 -0600

donghok4 gravatar image

updated 2016-10-27 01:39:46 -0600

gvdhoorn gravatar image

Hello I am new about ros and c++.

I am doing some school project with raspberry pi3 and ros. My professor recommend this. I install the ros kinetic based on ubuntu mate. I try to install the hokuyo laser which is I only got for slam.

I am downloading the source and try to catkin_make in my src folder.(is it right?) However they are showing this.

The specified source space /home/kangr/ros_catkin_ws/src/src does not exist

I have no idea what i have to do. please help me.

kangr@kangr:~/ros_catkin_ws$ ls
build  devel  src
kangr@kangr:~/ros_catkin_ws$ cd src
kangr@kangr:~/ros_catkin_ws/src$ ls
CMakeLists.txt  driver_common  urg_node
kangr@kangr:~/ros_catkin_ws/src$ catkin_make
Base path: /home/kangr/ros_catkin_ws/src
The specified source space "/home/kangr/ros_catkin_ws/src/src" does not exist

env:

kangr@kangr:~/ros_catkin_ws/src$ printenv | grep ROS
ROS_ROOT=/opt/ros/kinetic/share/ros
ROS_PACKAGE_PATH=/home/kangr/ros_catkin_ws/src:/opt/ros/kinetic/share
ROS_MASTER_URI=http://localhost:11311
ROSLISP_PACKAGE_DIRECTORIES=/home/kangr/ros_catkin_ws/devel/share/common-lisp
ROS_DISTRO=kinetic
ROS_ETC_DIR=/opt/ros/kinetic/etc/ros
edit retag flag offensive close merge delete

Comments

If you're really just starting out, I recommend you pick up one of the books about ROS. One that I've heard is good for beginners is A Gentle Introduction to ROS. You can buy a copy of Amazon, or download it from the website. Support the author, buy a copy.

gvdhoorn gravatar image gvdhoorn  ( 2016-10-27 01:42:50 -0600 )edit

If you're more of a video person: try these.

gvdhoorn gravatar image gvdhoorn  ( 2016-10-27 01:45:13 -0600 )edit

Thanks I will read it.

donghok4 gravatar image donghok4  ( 2016-10-31 15:12:58 -0600 )edit

1 Answer

Sort by ยป oldest newest most voted
3

answered 2016-10-26 21:37:30 -0600

alienmon gravatar image

go to /home/kangr/ros_catkin_ws directory, and catkin_make there

edit flag offensive delete link more

Comments

This is the answer.

@donghok4: the error message would seem to tell you this as well: is there a directory src inside your /home/kangr/ros_catkin_ws/src directory?

gvdhoorn gravatar image gvdhoorn  ( 2016-10-27 01:40:51 -0600 )edit

Question Tools

1 follower

Stats

Asked: 2016-10-26 20:28:27 -0600

Seen: 14,484 times

Last updated: Oct 27 '16