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

How to install hector_quadrotor on ubuntu 20.04 using ROS Noetic

asked 2021-01-09 02:25:22 -0500

trangnht gravatar image

Previously I installed to use Hector-Quadrotor in Ros-kinetic on ubuntu 16.04. But for newer laptops using GPU, most have to install ubuntu 20.04 because ubuntu 16.04 does not support drivers under those laptops. I want to ask that I can install Hector-Quadrotor in Ros Noetic on ubuntu 20.04? And how to install, please help me! Thank you very much!

edit retag flag offensive close merge delete

3 Answers

Sort by ยป oldest newest most voted
1

answered 2021-09-22 20:06:35 -0500

RAFALAMAO gravatar image

updated 2022-03-11 02:06:22 -0500

You can test my port in Hector Quadrotor Noetic.

image description

edit flag offensive delete link more
0

answered 2021-01-25 05:40:35 -0500

rodrigo55 gravatar image

Hi,

Since there are no new releases for noetic of the hector_quadrotor publishers, what you need to do in order for that simulation to work is to make the migration yourself. It's a lengthy and tedious process, but it can be done. What you need to do is to clone the latest version of the hector_quadrotor package in your worskpace, and attempt to compile it. This will give you errors, and there are ways to tackle those errors and make the modifications in the code. I recommend this migration guide:

https://github.com/osrf/gazebo/blob/g...

Which tackles the changes that must be done for the new Gazebo release. I can tell you now that the most common error can be fixed by the replacement of an old library, gazebo::math, for ignition::math, and changing the needed function as the migration guide indicates. Here's an example in a particular file needed to launch the simulation:

image description

If you get stuck while attempting the migration, I made this video that can help you in the process:

https://www.youtube.com/watch?v=qJ9v1...

Good luck!

edit flag offensive delete link more

Comments

Thank you very much! Your video is very useful. I followed your instructions and got it installed. I'm very happy when I installed it successfully!

trangnht gravatar image trangnht  ( 2021-03-08 12:10:22 -0500 )edit
0

answered 2021-01-09 14:31:25 -0500

duck-development gravatar image

you can use ros docker http://wiki.ros.org/docker/Tutorials/...

then it is easy. otherwise it will get fast complicated because of lib version dependencys

and for development use a VM.

edit flag offensive delete link more

Comments

Thank you very much!

trangnht gravatar image trangnht  ( 2021-03-08 12:11:41 -0500 )edit

Question Tools

1 follower

Stats

Asked: 2021-01-09 02:25:22 -0500

Seen: 1,464 times

Last updated: Mar 11 '22