Robotics StackExchange | Archived questions

hector_quadrotor takes off, but lands immediately

Hi guys,

I'm trying to do path planning with the hector_quadrotor sim. My problem is, that after enabling motors and taking off by publishing

rosservice call /enable_motors true
rostopic pub /takeoff std_msgs/Empty "{}"

the drone takes off, but lands (crushes) after reaching some height. Any suggestions, what the issue could be? I'm using ROS Kinetic on Ubuntu 16.04 Virtual Machine

Thanks TheCatalyst

Asked by TheCatalyst on 2019-04-13 11:10:00 UTC

Comments

After taking off, it is not receiving any velocity commands from anywhere and there is not "hover mode" as far as I remember. So, maybe after taking off, you should send the right commands to control it.

Asked by kosmastsk on 2019-04-13 11:41:48 UTC

Answers