.:: First version, please tell me the issues or help me to fix it ::.
I took part of this from The Construct's repo and YouTube chanel.
I. You need the following packages before install hector_quadrotor_noetic
.
- unique_identifier:
git clone https://github.com/ros-geographic-info/unique_identifier.git
- geographic_info:
git clone https://github.com/ros-geographic-info/geographic_info.git
II. Build.
cd ~/catkin_ws && catkin_make
III. Clone hector_quadrotor_noetic
.
git clone https://github.com/RAFALAMAO/hector_quadrotor_noetic.git
IV. Repeat step II.
Run a simulation by executing the launch file in hector_quadrotor_gazebo
and hector_quadrotor_demo
packages (only these work at the momment, but you can try the other ones):
roslaunch hector_quadrotor_gazebo quadrotor_empty_world.launch
roslaunch hector_quadrotor_demo outdoor_flight_gazebo.launch
roslaunch hector_quadrotor_demo outdoor_flight_gazebo_no_rviz.launch
roslaunch hector_quadrotor_demo two_drones_empty.launch
You can control it with teleop_twist_keyboard.
git clone https://github.com/ros-teleop/teleop_twist_keyboard
Here is a video testing it: