Ask Your Question
0

How to use ros-noetic-husky?

asked 2021-09-01 05:01:41 -0600

Tom001 gravatar image

updated 2021-09-12 10:19:05 -0600

Mike Scheutzow gravatar image

I am currently following the first tutorial of clearpath to learn ROS. The tutorial is already a bit outdated and uses Ros Kinetic. However, I installed Ros Noetic on my computer. In section 'Drive a husky' (http://www.clearpathrobotics.com/asse...), they asked to get some packages:

sudo apt-get install ros-kinetic-husky-desktop

sudo apt-get install ros-kinetic-husky-simulator

However I receive the following error when executing these:

E: Unable to locate package ros-kinetic-husky-desktop

What can I do, to solve this error?

edit retag flag offensive close merge delete

3 Answers

Sort by ยป oldest newest most voted
0

answered 2021-09-11 11:47:16 -0600

updated 2021-09-11 11:49:25 -0600

Currently there is no ROS Noetic package for Husky, however, you can clone noetic-devel and build from source. There are few dependencies required:

Husky Simulator Installation ROS Noetic Tutorial

Dependencies

Reference: http://wiki.ros.org/LMS1xx

$ sudo apt-get install ros-noetic-lms1xx

Reference: https://bitbucket.org/DataspeedInc/ve...

$ sudo apt-get install ros-noetic-velodyne-description

Reference: http://wiki.ros.org/robot_localization

$ sudo apt-get install ros-noetic-robot-localization

Reference: http://wiki.ros.org/interactive_marke...

$ sudo apt-get install ros-noetic-interactive-marker-twist-server

Reference: http://wiki.ros.org/twist_mux

$ sudo apt-get install ros-noetic-twist-mux

Reference: http://wiki.ros.org/joy

$ sudo apt-get install ros-noetic-joy

Reference: http://wiki.ros.org/teleop_twist_joy

$ sudo apt-get install ros-noetic-teleop-twist-joy

Reference: http://wiki.ros.org/dwa_local_planner

$ sudo apt-get install ros-noetic-dwa-local-planner

Create Husky workspace

$ mkdir husky_ws

$ cd husky_ws

$ mkdir src

$ cd src

$ git clone https://github.com/gmsanchez/husky.git

$ cd ..

$ catkin_make

$ echo 'source ~/husky_ws/devel/setup.bash'>>~/.bashrc

$ source ~/.bashrc

Launching simulation

$ cd

$ export HUSKY_GAZEBO_DESCRIPTION=$(rospack find husky_gazebo)/urdf/description.gazebo.xacro

$ roslaunch husky_gazebo husky_empty_world.launch

edit flag offensive delete link more

Comments

Husky simulation is now available for Noetic:

sudo apt-get update
sudo apt-get install ros-noetic-husky-desktop
sudo apt-get install ros-noetic-husky-simulator
osilva gravatar image osilva  ( 2021-11-14 16:14:25 -0600 )edit
0

answered 2021-09-01 14:43:23 -0600

msantos gravatar image

updated 2021-09-01 14:54:26 -0600

You Shall change the ROS dristro from kinetic to noetic in the command. For example: sudo apt-get install ros-noetic-husky-desktop , sudo apt-get install ros-noetic-husky-simulator, etc.

Have a try this way.

Edit: I strongly recommend you to check the ROS Tutorials. They have a good view about the need to point to the specific distro you are using. You will need to be aware of it for lots of things, as you can see in the second suggested command in the first tutorial page.

Hope it works as expected. I have been using Husky with ROS melodic and it is quite OK, but not used with noetic yet.

Edit 2: You should retag your question. You say you are using ROS noetic, but then put the kinetic (Ubunt 16) tag.

edit flag offensive delete link more

Comments

It seems to be working now, I just installed ROS noetic, and the base command using noetic instead other distros seems to be fine up to now. I will share later if find some specific issue.

msantos gravatar image msantos  ( 2021-11-14 14:16:23 -0600 )edit
0

answered 2021-09-06 02:38:34 -0600

Tom001 gravatar image

Thanks for the extra comments.

This is the output I got when entering sudo apt-get install ros-noetic-husky desktop

E: Unable to locate package ros-noetic-husky-desktop

Do you got another solution?

edit flag offensive delete link more

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools

3 followers

Stats

Asked: 2021-09-01 05:01:41 -0600

Seen: 135 times

Last updated: Sep 11 '21