Quadrotors Installation

From Lofaro Lab Wiki
Jump to: navigation, search

Open up the terminal and run the following command

sudo apt-get install ros-indigo-hector-quadrotor-demo

cd into catkin workspace

cd catkin_ws

install the hactor packages in catkin workspace

wstool init src https://raw.github.com/tu-darmstadt-ros-pkg/hector_quadrotor/indigo-devel/hector_quadrotor.rosinstall

Build the catkin workspace

catkin_make

Add hector package to the setup.sh

source devel/setup.bash

Check if the packages were installed correctly. Gazebo should spawn one quadrotor with empty world. Run the following command.

roslaunch hector_quadrotor_gazebo quadrotor_empty_world.launch

Multiple Quadrotors

roslaunch hector_quadrotor_gazebo spawn_two_quadrotors.launch