Skip to content

Latest commit

 

History

History
32 lines (23 loc) · 739 Bytes

disarm.md

File metadata and controls

32 lines (23 loc) · 739 Bytes

disarm(execMode <optional>)

This function disables the propellers. When the drone is disarmed, movement commands will be sent, but do nothing.

Parameters

execMode (string, optional):

The execution mode to use for this command. Possible execution modes are:

  1. Synchronous
  2. Queue
  3. Ignore
  4. Override

If not given, defaults to the execution mode given on class initiation.
For details on how these modes work, see Here

Return Values

Returns void

Examples

MLI.disarm()
# The propellers are now disabled.
# Due to the way the ArduSub works, movement commands will still be sent, but will not do anything.

Related Mavlink Commands

  • MAV_CMD_COMPONENT_ARM_DISARM