Ask Your Question

autoware: ds4_msgs definition cannot be found by rosdep.

asked 2019-06-20 13:57:40 -0500

AM97 gravatar image

updated 2019-06-20 14:07:10 -0500

gvdhoorn gravatar image

I am getting this error.

cd~/Autoware/ros$ rosdep install -y --from-paths src --ignore-src --rosdistro $ROS_DISTRO
ERROR: the following packages/stacks could not have their rosdep keys resolved
to system dependencies:
ymc: Cannot locate rosdep definition for [ds4_msgs]
edit retag flag offensive close merge delete


Please give your question a better title.

We now have at least 5 questions with similar titles on this site posted within the span of 3 weeks.

gvdhoorn gravatar imagegvdhoorn ( 2019-06-20 14:03:44 -0500 )edit

@gvdhoorn Sorry for that I just have remodified my question title. Thanks

AM97 gravatar imageAM97 ( 2019-06-20 14:05:07 -0500 )edit

2 Answers

Sort by ยป oldest newest most voted

answered 2019-06-20 21:18:58 -0500

TakaHoribe gravatar image

ds4_msgs is managed as a submodule. Please try

$ cd <Autoware-dir> 
$ git submodule update --init --recursive
$ rosdep install -y --from-paths src --ignore-src --rosdistro $ROS_DISTRO
edit flag offensive delete link more


It worked, I was able to build

AM97 gravatar imageAM97 ( 2019-06-21 01:39:53 -0500 )edit

Please accept the answer by clicking the checkmark to the left of the answer. Do not close questions to mark answers as accepted.

gvdhoorn gravatar imagegvdhoorn ( 2019-06-21 06:15:51 -0500 )edit

answered 2019-06-20 15:37:59 -0500

sgermanserrano gravatar image

ds4_msgs is a separate repo you need to clone it

edit flag offensive delete link more


I cloned it into my home space from github but still I am getting same error.

AM97 gravatar imageAM97 ( 2019-06-20 16:00:32 -0500 )edit

I cloned it into my home space

You mean /home/$USER?

All ROS packages should be in the src space of your workspace.

gvdhoorn gravatar imagegvdhoorn ( 2019-06-20 16:22:51 -0500 )edit

No, I mean /home/$USER/catkin_ws/src

AM97 gravatar imageAM97 ( 2019-06-21 01:25:06 -0500 )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: 2019-06-20 13:57:40 -0500

Seen: 89 times

Last updated: Jun 20