Difference between revisions of "Quadrotors Installation"

From Lofaro Lab Wiki
Jump to: navigation, search
(Created page with "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...")
 
 
Line 11: Line 11:
 
Check if the packages were installed correctly. Gazebo should spawn one quadrotor with empty world. Run the following command.
 
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
 
  roslaunch hector_quadrotor_gazebo quadrotor_empty_world.launch
 +
==Multiple Quadrotors==
 +
roslaunch hector_quadrotor_gazebo spawn_two_quadrotors.launch

Latest revision as of 20:42, 12 May 2016

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