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

Revision history [back]

I did a major update of the hector_pose_estimation packages during the last one or two weeks, which I merged into the catkin branch a few minutes ago. hector_quadrotor already had some patches that I accidentally pushed and that require the new version. The state of the repositories was therefore inconsistent for a few days. I am sorry.

If you want, please try again with the updated versions now. You have to build both repos, hector_quadrotor and hector_localization, from source.

It also should be noted here that with the default values of the launch file arguments the simulated quadrotor directly uses ground truth information from Gazebo for control and for the published tf transforms. hector_pose_estimation is only started if the quadrotor is spawned with the use_ground_truth_for_control:=true roslaunch argument.

For the hardware_interface issue: Please make sure that all dependencies are installed before building, e.g. using rosdep or rosinstall_generator. hardware_interface is an indirect dependency of hector_quadrotor_gazebo (and hector_quadrotor_demo):

$ rospack depends-why --target=hardware_interface hector_quadrotor_gazebo
Dependency chains from hector_quadrotor_gazebo to hardware_interface:
* hector_quadrotor_gazebo -> hector_quadrotor_controller_gazebo -> gazebo_ros_control -> controller_manager -> controller_interface -> hardware_interface 
* hector_quadrotor_gazebo -> hector_quadrotor_controller_gazebo -> gazebo_ros_control -> controller_manager -> hardware_interface 
* hector_quadrotor_gazebo -> hector_quadrotor_controller_gazebo -> hector_quadrotor_controller -> hardware_interface 
* hector_quadrotor_gazebo -> hector_quadrotor_controller_gazebo -> hector_quadrotor_controller -> controller_interface -> hardware_interface