Is it possible to run the hector_quadrotor demos in kinetic?
I installed the kinetic following the Debian instructions.
I found the hector_quadrotor indoor slam tutorial here: http://wiki.ros.org/hector_quadrotor/...
I tried installing ros-hydro-hector-quadrotor-demo
, but that package was not found. I tried following the wstool
instructions, however when I ran catkin_make
I got the output listed below (I'm not sure how to make it more concise):
[ 0%] Built target std_msgs_generate_messages_py
[ 0%] [ 0%] [ 0%] Built target _hector_uav_msgs_generate_messages_check_deps_RawMagnetic
Built target _hector_uav_msgs_generate_messages_check_deps_YawrateCommand
Built target _hector_uav_msgs_generate_messages_check_deps_ServoCommand
[ 0%] Built target _hector_uav_msgs_generate_messages_check_deps_RC
[ 0%] [ 0%] Built target _hector_uav_msgs_generate_messages_check_deps_RuddersCommand
Built target _hector_uav_msgs_generate_messages_check_deps_Compass
[ 0%] Built target _hector_uav_msgs_generate_messages_check_deps_MotorCommand
[ 0%] Built target _hector_uav_msgs_generate_messages_check_deps_AttitudeCommand
[ 0%] Built target _hector_uav_msgs_generate_messages_check_deps_ThrustCommand
[ 0%] Built target _hector_uav_msgs_generate_messages_check_deps_RawImu
[ 0%] [ 0%] Built target _hector_uav_msgs_generate_messages_check_deps_Supply
Built target _hector_uav_msgs_generate_messages_check_deps_MotorStatus
[ 0%] Built target _hector_uav_msgs_generate_messages_check_deps_Altimeter
[ 0%] Built target _hector_uav_msgs_generate_messages_check_deps_VelocityXYCommand
[ 0%] Built target _hector_uav_msgs_generate_messages_check_deps_RawRC
[ 0%] Built target _hector_uav_msgs_generate_messages_check_deps_MotorPWM
[ 0%] Built target _hector_uav_msgs_generate_messages_check_deps_VelocityZCommand
[ 0%] Built target _hector_uav_msgs_generate_messages_check_deps_PositionXYCommand
[ 0%] Built target _hector_uav_msgs_generate_messages_check_deps_HeightCommand
[ 0%] Built target _hector_uav_msgs_generate_messages_check_deps_HeadingCommand
[ 0%] [ 0%] Built target std_msgs_generate_messages_eus
Built target std_msgs_generate_messages_cpp
[ 0%] Built target std_msgs_generate_messages_lisp
[ 0%] [ 0%] Built target _hector_uav_msgs_generate_messages_check_deps_ControllerState
Built target std_msgs_generate_messages_nodejs
[ 0%] Built target _hector_nav_msgs_generate_messages_check_deps_GetDistanceToObstacle
[ 0%] Built target _hector_nav_msgs_generate_messages_check_deps_GetRobotTrajectory
[ 0%] [ 0%] [ 0%] Built target nav_msgs_generate_messages_nodejs
Built target _hector_nav_msgs_generate_messages_check_deps_GetNormal
Built target _hector_nav_msgs_generate_messages_check_deps_GetSearchPosition
[ 0%] [ 0%] [ 0%] Built target nav_msgs_generate_messages_lisp
Built target nav_msgs_generate_messages_py
Built target nav_msgs_generate_messages_eus
[ 0%] [ 0%] [ 0%] Built target _catkin_empty_exported_target
Built target rosgraph_msgs_generate_messages_cpp
Built target nav_msgs_generate_messages_cpp
[ 0%] Built target _hector_nav_msgs_generate_messages_check_deps_GetRecoveryInfo
[ 0%] [ 0%] [ 0%] Built target actionlib_msgs_generate_messages_eus
Built target roscpp_generate_messages_eus
Built target geometry_msgs_generate_messages_cpp
[ 0%] Built target actionlib_msgs_generate_messages_lisp
[ 0%] [ 0%] [ 0%] [ 0%] Built target geometry_msgs_generate_messages_eus
Built target geometry_msgs_generate_messages_lisp
Built target geometry_msgs_generate_messages_py
Built target geometry_msgs_generate_messages_nodejs
[ 0%] [ 0%] [ 0%] [ 0%] Built target actionlib_msgs_generate_messages_nodejs
Built target actionlib_msgs_generate_messages_py
Built target actionlib_msgs_generate_messages_cpp
Built target roscpp_generate_messages_cpp
[ 0%] [ 0%] [ 0%] [ 0%] Built target roscpp_generate_messages_lisp
Built target rosgraph_msgs_generate_messages_eus
Built target roscpp_generate_messages_nodejs
Built target rosgraph_msgs_generate_messages_lisp
[ 0%] Built target rosgraph_msgs_generate_messages_py
[ 0%] [ 0%] Built target roscpp_generate_messages_py
Built target rosgraph_msgs_generate_messages_nodejs
[ 0%] [ 0%] Built target sensor_msgs_generate_messages_py
[ 0%] Built target sensor_msgs_generate_messages_nodejs
Built target sensor_msgs_generate_messages_cpp
[ 0%] Built target hector_quadrotor_aerodynamics
[ 0%] Built target sensor_msgs_generate_messages_eus
[ 0%] Built target sensor_msgs_generate_messages_lisp
[ 0%] Built target map_to_image_node
[ 0%] Built target _driver_base_generate_messages_check_deps_ConfigString
[ 0%] Built target _driver_base_generate_messages_check_deps_ConfigValue
[ 0%] Built target _driver_base_generate_messages_check_deps_SensorLevels
[ 0%] [ 0%] Building CXX object hector_gazebo/hector_gazebo_plugins/CMakeFiles/diffdrive_plugin_6w.dir/src/diffdrive_plugin_6w.cpp.o
[ 1%] Built target hector_gazebo_plugins_gencfg
[ 2%] Building CXX object hector_gazebo/hector_gazebo_plugins/CMakeFiles/diffdrive_plugin_multi_wheel.dir/src/diffdrive_plugin_multi_wheel.cpp.o
Built target gazebo_ros_force_based_move
[ 2%] Built target hector_gazebo_reset_plugin
[ 2%] Built target _hector_gazebo_plugins_generate_messages_check_deps_SetBias
[ 2%] Built target hector_gazebo_ros_gps
[ 3%] Built target hector_gazebo_ros_magnetic
[ 3%] Building CXX object hector_gazebo/hector_gazebo_plugins/CMakeFiles/hector_gazebo_ros_sonar.dir/src/gazebo_ros_sonar.cpp.o
[ 4%] Building CXX object hector_gazebo/hector_gazebo_plugins/CMakeFiles/hector_servo_plugin.dir/src/servo_plugin.cpp.o
/home/paul/hector_quadrotor_tutorial/src/hector_gazebo/hector_gazebo_plugins/src/gazebo_ros_sonar.cpp: In member function ‘virtual void gazebo::GazeboRosSonar::Load(gazebo::sensors::SensorPtr, sdf::ElementPtr)’:
/home/paul/hector_quadrotor_tutorial/src/hector_gazebo/hector_gazebo_plugins/src/gazebo_ros_sonar.cpp:60:68: error: no matching function for call to ‘dynamic_pointer_cast(gazebo::sensors::SensorPtr&)’
sensor_ = boost::dynamic_pointer_cast<sensors::RaySensor>(_sensor);
^
/home/paul/hector_quadrotor_tutorial/src/hector_gazebo/hector_gazebo_plugins/src/gazebo_ros_sonar.cpp:60:68: note: candidate is:
In file included from /usr/include/boost/shared_ptr.hpp:17:0,
from /usr/include/gazebo-7/gazebo/common/CommonTypes.hh:24,
from /usr/include/gazebo-7/gazebo/common/Plugin.hh:44,
from /home/paul/hector_quadrotor_tutorial/src ...
any update on this?
I am having a similar issue on kinetic
I am trying implement this project too. I launch the project successfully. But i can only control the copter by keyboard. Can anyone tell me how to make the copter fly using SLAM, just like the video shows? Thank you.
I'm having issue launching indoor hector slam, did you also had similar problem trying to run the indoor simulation?