sychaichangkun/ROS-Academy-for-Beginners

安装依赖时出错,系统版本ubuntu 18.04,ros版本melodic,原因是什么?谢谢

VanniZhou opened this issue · 4 comments

vincent@vincent-PC: ~$ cd ~/catkin_ws
vincent@vincent-PC: ~/catkin_ws$ rosdep install --from-paths src --ignore-src --rosdistro=kinetic -y
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]

你都知道版本是melodic安装命令还用kinetic

vincent@vincent-PC:~/catkin_ws/src$ cd /catkin_ws
vincent@vincent-PC:
/catkin_ws$ rosdep install --from-paths src --ignore-src --rosdistro=melodic -y
ERROR: the following packages/stacks could not have their rosdep keys resolved
to system dependencies:
robot_sim_demo: Cannot locate rosdep definition for [yocs_cmd_vel_mux]
navigation_sim_demo: Cannot locate rosdep definition for [gmapping]
slam_sim_demo: Cannot locate rosdep definition for [hector_mapping]
改成melodic之后仍存在该问题

感觉就是新版本缺包