github.com/bluenviron/gomavlib/v2@v2.2.1-0.20240308101627-2c07e3da629c/pkg/dialects/pythonarraytest/enum_fence_action.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  // Actions following geofence breach.
    10  type FENCE_ACTION = common.FENCE_ACTION
    11  
    12  const (
    13  	// Disable fenced mode. If used in a plan this would mean the next fence is disabled.
    14  	FENCE_ACTION_NONE FENCE_ACTION = common.FENCE_ACTION_NONE
    15  	// Fly to geofence MAV_CMD_NAV_FENCE_RETURN_POINT in GUIDED mode. Note: This action is only supported by ArduPlane, and may not be supported in all versions.
    16  	FENCE_ACTION_GUIDED FENCE_ACTION = common.FENCE_ACTION_GUIDED
    17  	// Report fence breach, but don't take action
    18  	FENCE_ACTION_REPORT FENCE_ACTION = common.FENCE_ACTION_REPORT
    19  	// Fly to geofence MAV_CMD_NAV_FENCE_RETURN_POINT with manual throttle control in GUIDED mode. Note: This action is only supported by ArduPlane, and may not be supported in all versions.
    20  	FENCE_ACTION_GUIDED_THR_PASS FENCE_ACTION = common.FENCE_ACTION_GUIDED_THR_PASS
    21  	// Return/RTL mode.
    22  	FENCE_ACTION_RTL FENCE_ACTION = common.FENCE_ACTION_RTL
    23  	// Hold at current location.
    24  	FENCE_ACTION_HOLD FENCE_ACTION = common.FENCE_ACTION_HOLD
    25  	// Termination failsafe. Motors are shut down (some flight stacks may trigger other failsafe actions).
    26  	FENCE_ACTION_TERMINATE FENCE_ACTION = common.FENCE_ACTION_TERMINATE
    27  	// Land at current location.
    28  	FENCE_ACTION_LAND FENCE_ACTION = common.FENCE_ACTION_LAND
    29  )