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

How can we install Husky Simulator in melodic ditro?

asked 2018-06-01 07:05:48 -0500

Swag10 gravatar image

updated 2018-06-01 13:31:37 -0500

jayess gravatar image

While I was going through link: http://wiki.ros.org/husky_gazebo/Tuto...

In the command:

$ sudo apt-get install ros-<distro>-husky-simulator

I replaced <distro> with melodic

But I am getting following error:

E: Unable to locate package ros-melodic-husky-package
edit retag flag offensive close merge delete

2 Answers

Sort by ยป oldest newest most voted
3

answered 2018-06-01 15:12:49 -0500

If you visit http://wiki.ros.org/husky_gazebo you'll see that this package is currently only released on Indigo and Kinetic (notice the blue boxes at the top of the wiki page). This is why you cannot install from apt-get.

You can certainly try to build this package from source, but you are not guaranteed that it will work.

To give some confidence that it might work, I just tried to compile husky package on ROS Melodic, and was able to compile with almost no issues (although I haven't tested it extensively). A few notes:

  • I was able to install many dependencies from apt-get.
  • The only packages I had to build from source in order to launch the husky_playpen.launch file were:
    • LMS1xx
    • husky
    • interactive_marker_twist_server
    • robot_localization
    • twist_mux
  • The only issue I had compiling was with LMS1xx as described here. Following the instructions on this ros-overlay bug report I was able to switch all logXXXX calls to CONSOLE_BRIDGE_logXXXX using a couple of sed commands.
edit flag offensive delete link more

Comments

Thank you for the clarification. Instead of melodic I am working with Kinetic now.

Swag10 gravatar image Swag10  ( 2018-06-04 16:42:53 -0500 )edit
0

answered 2020-09-25 17:48:49 -0500

Since the last posted answer, ros-melodic-husky-package has been added to http://packages.ros.org/ros/ubuntu bionic main.

If you are still encountering this error on Ubuntu 18.04, check your sources.list with

grep ^ /etc/apt/sources.list /etc/apt/sources.list.d/* | grep ros

If that returns nothing, something must have removed the ROS repo from your sources list and you'll need to add it back using the instructions from the installation page:

  1. sudo sh -c 'echo "deb http://packages.ros.org/ros/ubuntu $(lsb_release -sc) main" > /etc/apt/sources.list.d/ros-latest.list'
  2. sudo apt-key adv --keyserver 'hkp://keyserver.ubuntu.com:80' --recv-key C1CF6E31E6BADE8868B172B4F42ED6FBAB17C654
edit flag offensive delete link more

Comments

Still could not install on ROS Melodic.

fahadrazakhan gravatar image fahadrazakhan  ( 2020-12-24 05:23:57 -0500 )edit

Question Tools

1 follower

Stats

Asked: 2018-06-01 07:05:48 -0500

Seen: 3,553 times

Last updated: Sep 25 '20