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

Cannot use command rosdep

asked 2019-05-07 22:28:33 -0500

naerdada gravatar image

I followed the tutorial to learn ROS, but I meet some questions.When I using command

 "$ rosdep install --from-paths src --ignore-src --rosdistro=kinetic -y"

,an error is coming. How to solve this issue?

"ERROR: the following packages/stacks could not have their rosdep keys resolved to system dependencies: robot_sim_demo: No definition of [yocs_cmd_vel_mux] for OS version [bionic] navigation_sim_demo: No definition of [dwa_local_planner] for OS version [bionic] slam_sim_demo: No definition of [hector_mapping] for OS version [bionic]"

I am using ubuntu 18.04 and ros melodic.

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted
1

answered 2019-05-08 02:23:10 -0500

ashu gravatar image

You say you are on Melodic but the rosdep command mentions rosdistro as kinetic. Kinetic does not support Ubuntu 18.04 Bionic as far as I know. Apart from that, coming to the main error, hector_mapping package hasn`t been released for melodic yet. Looking at your installation command, it looks like you are following installation guide for Kinetic.

I suggest you install kinetic on a fresh install of Ubuntu 16.04 to get started with since many packages that you might want to start off with will not have be ported to melodic yet.

edit flag offensive delete link more

Comments

Thanks for your answer.Can I use a command of melodic to instead of using this command of kinetic?Because I wouldn't want to change my ubuntu version.

naerdada gravatar image naerdada  ( 2019-05-08 03:02:54 -0500 )edit

For Melodic I believe that you can just replace the kinetic with melodic in the command and see. However, if its hector mapping that you want to perform, like I said there is no hector slam package for melodic yet. You WILL have to install Kinetic and to install Kinetic you would need Ubuntu 16.04.

If you still wish to continue with Melodic then just follow the instruction on the wiki to the dot. http://wiki.ros.org/melodic/Installat...

ashu gravatar image ashu  ( 2019-05-08 19:23:11 -0500 )edit

Well,I get it.Thanks a lot.

naerdada gravatar image naerdada  ( 2019-05-09 03:22:26 -0500 )edit

Question Tools

2 followers

Stats

Asked: 2019-05-07 22:28:33 -0500

Seen: 372 times

Last updated: May 08 '19