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

hector quadrotor controller

asked 2015-06-08 06:55:05 -0600

c123 gravatar image

I'm looking to eventually modify the controller used for the hector quadrotor.

I'm a bit confused, when I look on github ( https://github.com/tu-darmstadt-ros-p... ) the hector_quadrotor_controller directory has a src folder with multiple .cpp files inside, but when I search my install for the hector_quadrotor_controller folder, neither of the two results have it.

I don't understand why it's not present? (I have followed the install instructions for the hector tutorials).

edit retag flag offensive close merge delete

Comments

1

Install it as source

creative_cimmons gravatar image creative_cimmons  ( 2015-06-09 15:39:07 -0600 )edit

1 Answer

Sort by ยป oldest newest most voted
0

answered 2018-02-27 23:03:37 -0600

Alaa Hesham gravatar image

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-p... git clone -b catkin https://github.com/tu-darmstadt-ros-p... git clone -b kinetic-devel https://github.com/tu-darmstadt-ros-p... git clone -b kinetic-devel https://github.com/tu-darmstadt-ros-p... git clone -b catkin https://github.com/tu-darmstadt-ros-p...

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"

edit flag offensive delete link more

Comments

Hello there, may i know what is the purpose of changing the the quadrotor propulsion and aerodynamics from ON to OFF?

Thank you

Ryan_Dirgantara gravatar image Ryan_Dirgantara  ( 2018-05-06 08:36:08 -0600 )edit

Question Tools

1 follower

Stats

Asked: 2015-06-08 06:55:05 -0600

Seen: 943 times

Last updated: Feb 27 '18