github.com/bluenviron/gomavlib/v2@v2.2.1-0.20240308101627-2c07e3da629c/pkg/dialects/pythonarraytest/enum_mav_mode.go (about)

     1  //autogenerated:yes
     2  //nolint:revive,misspell,govet,lll,dupl,gocritic
     3  package pythonarraytest
     4  
     5  import (
     6  	"github.com/bluenviron/gomavlib/v2/pkg/dialects/common"
     7  )
     8  
     9  // These defines are predefined OR-combined mode flags. There is no need to use values from this enum, but it
    10  // simplifies the use of the mode flags. Note that manual input is enabled in all modes as a safety override.
    11  type MAV_MODE = common.MAV_MODE
    12  
    13  const (
    14  	// System is not ready to fly, booting, calibrating, etc. No flag is set.
    15  	MAV_MODE_PREFLIGHT MAV_MODE = common.MAV_MODE_PREFLIGHT
    16  	// System is allowed to be active, under assisted RC control.
    17  	MAV_MODE_STABILIZE_DISARMED MAV_MODE = common.MAV_MODE_STABILIZE_DISARMED
    18  	// System is allowed to be active, under assisted RC control.
    19  	MAV_MODE_STABILIZE_ARMED MAV_MODE = common.MAV_MODE_STABILIZE_ARMED
    20  	// System is allowed to be active, under manual (RC) control, no stabilization
    21  	MAV_MODE_MANUAL_DISARMED MAV_MODE = common.MAV_MODE_MANUAL_DISARMED
    22  	// System is allowed to be active, under manual (RC) control, no stabilization
    23  	MAV_MODE_MANUAL_ARMED MAV_MODE = common.MAV_MODE_MANUAL_ARMED
    24  	// System is allowed to be active, under autonomous control, manual setpoint
    25  	MAV_MODE_GUIDED_DISARMED MAV_MODE = common.MAV_MODE_GUIDED_DISARMED
    26  	// System is allowed to be active, under autonomous control, manual setpoint
    27  	MAV_MODE_GUIDED_ARMED MAV_MODE = common.MAV_MODE_GUIDED_ARMED
    28  	// System is allowed to be active, under autonomous control and navigation (the trajectory is decided onboard and not pre-programmed by waypoints)
    29  	MAV_MODE_AUTO_DISARMED MAV_MODE = common.MAV_MODE_AUTO_DISARMED
    30  	// System is allowed to be active, under autonomous control and navigation (the trajectory is decided onboard and not pre-programmed by waypoints)
    31  	MAV_MODE_AUTO_ARMED MAV_MODE = common.MAV_MODE_AUTO_ARMED
    32  	// UNDEFINED mode. This solely depends on the autopilot - use with caution, intended for developers only.
    33  	MAV_MODE_TEST_DISARMED MAV_MODE = common.MAV_MODE_TEST_DISARMED
    34  	// UNDEFINED mode. This solely depends on the autopilot - use with caution, intended for developers only.
    35  	MAV_MODE_TEST_ARMED MAV_MODE = common.MAV_MODE_TEST_ARMED
    36  )