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

Revision history [back]

click to hide/show revision 1
initial version

credit goes to eng/Esraa Magdy what I will write is for installing hector on ros kinetic

as a piece of advice : remove your installation by deleting it from your catkin_ws/src and then delete the whole file of build and devel inside catkin workspace here we begin

cd ~/catkin_ws/src sudo apt-get install ros-kinetic-ros-control sudo apt-get install ros-kinetic-gazebo-ros-control sudo apt-get install ros-kinetic-unique-identifier sudo apt-get install ros-kinetic-geographic-info sudo apt-get install ros-kinetic-laser-geometry sudo apt-get install ros-kinetic-tf-conversions sudo apt-get install ros-kinetic-tf2-geometry-msgs sudo apt-get install ros-kinetic-joy mkdir hector_pkg

git clone -b kinetic-devel https://github.com/tu-darmstadt-ros-pkg/hector_quadrotor git clone -b catkin https://github.com/tu-darmstadt-ros-pkg/hector_localization git clone -b kinetic-devel https://github.com/tu-darmstadt-ros-pkg/hector_gazebo git clone -b kinetic-devel https://github.com/tu-darmstadt-ros-pkg/hector_models git clone -b catkin https://github.com/tu-darmstadt-ros-pkg/hector_slam

in the file hector_quadrotor/hector_quadrotor/hector_quadrotor_gazebo/urdf/CMakeLists.txt find the following line: 's/option(USE_PROPULSION_PLUGIN "Use a model of the quadrotor propulsion system" ON) change ON to OFF

in hector_quadrotor/hector_quadrotor/hector_quadrotor_gazebo/urdf/CMakeLists.txt find s/option(USE_AERODYNAMICS_PLUGIN "Use a model of the quadrotor aerodynamics" ON) change ON to OFF

cd .. catkin make source devel/setup.bash

to test if everything is okay roslaunch hector_quadrotor_demo indoor_slam_gazebo.launch

in a new terminal enable the motors using the following : rosservice call /enable_motors "enable: true"