How to Simulating Husky in ROS Melodic

asked 2019-08-04 18:11:19 -0500

MjdKassem gravatar image

updated 2019-08-04 18:47:50 -0500

jayess gravatar image

hi every one i have just install Ros Melodic on ubuntu 18.4, i follow som tutorial to simulate Husky but when i try to run these commands

$ catkin_make
$ sudo apt-get install ros-kinetic-gazebo-ros-pkgs ros-kinetic-gazebo-ros-control

$ sudo apt-get install ros-kinetic-multimaster-launch

$ sudo apt-get install ros-kinetic-lms1xx

$ rosdep install --from-path src --ignore-src  

$ catkin_make 

$ source devel/setup.bash

the terminal shows this message:

ERROR: Rosdep experienced an error: Multiple packages found with the same name "husky_desktop":
- husky/husky_desktop

- husky_desktop/husky_desktop

Multiple packages found with the same name "husky_gazebo":

- husky/husky_gazebo
- husky_simulator/husky_gazebo
Multiple packages found with the same name "husky_simulator":
- husky/husky_simulator
- husky_simulator/husky_simulator
Multiple packages found with the same name "husky_viz":
- husky/husky_viz
- husky_desktop/husky_viz
Please go to the rosdep page [1] and file a bug report with the stack trace below.
[1] :

any help please

edit retag flag offensive close merge delete


It says that you have multiple packages with the name of husky_desktop. Do you have multiple packages with that name? If so, you can only have one so remove/rename the others

jayess gravatar imagejayess ( 2019-08-04 18:50:36 -0500 )edit

Please link the tutorial that you are using

pavel92 gravatar imagepavel92 ( 2019-08-05 02:07:06 -0500 )edit

In addition to jayess comment, why are you installing kinetic packages instead of melodic? Since you are using melodic try installing the packages for the melodic release:

  sudo apt-get install ros-melodic-...
pavel92 gravatar imagepavel92 ( 2019-08-05 07:40:38 -0500 )edit