dronekit / dronekit-python

DroneKit-Python library for communicating with Drones via MAVLink.
https://readthedocs.org/projects/dronekit-python/
Apache License 2.0
1.59k stars 1.44k forks source link

Instantly Kill Throttle #1009

Open rawillis98 opened 4 years ago

rawillis98 commented 4 years ago

I need a way to instantly kill the throttle on the drone. I was going to use the RC Overrides but wondering if there's a better way?

Thanks in advance

peterbarker commented 4 years ago

On Thu, 12 Mar 2020, Alex Willis wrote:

I need a way to instantly kill the throttle on the drone. I was going to use the RC Overrides but wondering if there's a better way?

disarm the vehicle? ArduPilot supports a "force" option to ensure that works.

You could also turn the "hardware safety switch" on via a mavlink command.

rawillis98 commented 4 years ago

Is there a dronekit function for this or do I need to generate the mavlink command myself?

I need to do it programatically in Python

peterbarker commented 4 years ago

On Fri, 13 Mar 2020, Alex Willis wrote:

Is there a dronekit function for this or do I need to generate the mavlink command myself?

I think you'll need to do it yourself.

kashifmaqsood commented 4 years ago

Is there a dronekit function for this or do I need to generate the mavlink command myself?

I need to do it programatically in Python

Flight mode "Brake" might help you there. https://ardupilot.org/copter/docs/brake-mode.html#brake-mode