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

     1  //autogenerated:yes
     2  //nolint:revive,misspell,govet,lll,dupl,gocritic
     3  package ardupilotmega
     4  
     5  import (
     6  	"github.com/bluenviron/gomavlib/v2/pkg/dialects/common"
     7  )
     8  
     9  // Bitmask of (optional) autopilot capabilities (64 bit). If a bit is set, the autopilot supports this capability.
    10  type MAV_PROTOCOL_CAPABILITY = common.MAV_PROTOCOL_CAPABILITY
    11  
    12  const (
    13  	// Autopilot supports the MISSION_ITEM float message type.
    14  	// Note that MISSION_ITEM is deprecated, and autopilots should use MISSION_INT instead.
    15  	MAV_PROTOCOL_CAPABILITY_MISSION_FLOAT MAV_PROTOCOL_CAPABILITY = common.MAV_PROTOCOL_CAPABILITY_MISSION_FLOAT
    16  	// Autopilot supports the new param float message type.
    17  	MAV_PROTOCOL_CAPABILITY_PARAM_FLOAT MAV_PROTOCOL_CAPABILITY = common.MAV_PROTOCOL_CAPABILITY_PARAM_FLOAT
    18  	// Autopilot supports MISSION_ITEM_INT scaled integer message type.
    19  	// Note that this flag must always be set if missions are supported, because missions must always use MISSION_ITEM_INT (rather than MISSION_ITEM, which is deprecated).
    20  	MAV_PROTOCOL_CAPABILITY_MISSION_INT MAV_PROTOCOL_CAPABILITY = common.MAV_PROTOCOL_CAPABILITY_MISSION_INT
    21  	// Autopilot supports COMMAND_INT scaled integer message type.
    22  	MAV_PROTOCOL_CAPABILITY_COMMAND_INT MAV_PROTOCOL_CAPABILITY = common.MAV_PROTOCOL_CAPABILITY_COMMAND_INT
    23  	// Parameter protocol uses byte-wise encoding of parameter values into param_value (float) fields: https://mavlink.io/en/services/parameter.html#parameter-encoding.
    24  	// Note that either this flag or MAV_PROTOCOL_CAPABILITY_PARAM_ENCODE_C_CAST should be set if the parameter protocol is supported.
    25  	MAV_PROTOCOL_CAPABILITY_PARAM_ENCODE_BYTEWISE MAV_PROTOCOL_CAPABILITY = common.MAV_PROTOCOL_CAPABILITY_PARAM_ENCODE_BYTEWISE
    26  	// Autopilot supports the File Transfer Protocol v1: https://mavlink.io/en/services/ftp.html.
    27  	MAV_PROTOCOL_CAPABILITY_FTP MAV_PROTOCOL_CAPABILITY = common.MAV_PROTOCOL_CAPABILITY_FTP
    28  	// Autopilot supports commanding attitude offboard.
    29  	MAV_PROTOCOL_CAPABILITY_SET_ATTITUDE_TARGET MAV_PROTOCOL_CAPABILITY = common.MAV_PROTOCOL_CAPABILITY_SET_ATTITUDE_TARGET
    30  	// Autopilot supports commanding position and velocity targets in local NED frame.
    31  	MAV_PROTOCOL_CAPABILITY_SET_POSITION_TARGET_LOCAL_NED MAV_PROTOCOL_CAPABILITY = common.MAV_PROTOCOL_CAPABILITY_SET_POSITION_TARGET_LOCAL_NED
    32  	// Autopilot supports commanding position and velocity targets in global scaled integers.
    33  	MAV_PROTOCOL_CAPABILITY_SET_POSITION_TARGET_GLOBAL_INT MAV_PROTOCOL_CAPABILITY = common.MAV_PROTOCOL_CAPABILITY_SET_POSITION_TARGET_GLOBAL_INT
    34  	// Autopilot supports terrain protocol / data handling.
    35  	MAV_PROTOCOL_CAPABILITY_TERRAIN MAV_PROTOCOL_CAPABILITY = common.MAV_PROTOCOL_CAPABILITY_TERRAIN
    36  	// Reserved for future use.
    37  	MAV_PROTOCOL_CAPABILITY_RESERVED3 MAV_PROTOCOL_CAPABILITY = common.MAV_PROTOCOL_CAPABILITY_RESERVED3
    38  	// Autopilot supports the MAV_CMD_DO_FLIGHTTERMINATION command (flight termination).
    39  	MAV_PROTOCOL_CAPABILITY_FLIGHT_TERMINATION MAV_PROTOCOL_CAPABILITY = common.MAV_PROTOCOL_CAPABILITY_FLIGHT_TERMINATION
    40  	// Autopilot supports onboard compass calibration.
    41  	MAV_PROTOCOL_CAPABILITY_COMPASS_CALIBRATION MAV_PROTOCOL_CAPABILITY = common.MAV_PROTOCOL_CAPABILITY_COMPASS_CALIBRATION
    42  	// Autopilot supports MAVLink version 2.
    43  	MAV_PROTOCOL_CAPABILITY_MAVLINK2 MAV_PROTOCOL_CAPABILITY = common.MAV_PROTOCOL_CAPABILITY_MAVLINK2
    44  	// Autopilot supports mission fence protocol.
    45  	MAV_PROTOCOL_CAPABILITY_MISSION_FENCE MAV_PROTOCOL_CAPABILITY = common.MAV_PROTOCOL_CAPABILITY_MISSION_FENCE
    46  	// Autopilot supports mission rally point protocol.
    47  	MAV_PROTOCOL_CAPABILITY_MISSION_RALLY MAV_PROTOCOL_CAPABILITY = common.MAV_PROTOCOL_CAPABILITY_MISSION_RALLY
    48  	// Reserved for future use.
    49  	MAV_PROTOCOL_CAPABILITY_RESERVED2 MAV_PROTOCOL_CAPABILITY = common.MAV_PROTOCOL_CAPABILITY_RESERVED2
    50  	// Parameter protocol uses C-cast of parameter values to set the param_value (float) fields: https://mavlink.io/en/services/parameter.html#parameter-encoding.
    51  	// Note that either this flag or MAV_PROTOCOL_CAPABILITY_PARAM_ENCODE_BYTEWISE should be set if the parameter protocol is supported.
    52  	MAV_PROTOCOL_CAPABILITY_PARAM_ENCODE_C_CAST MAV_PROTOCOL_CAPABILITY = common.MAV_PROTOCOL_CAPABILITY_PARAM_ENCODE_C_CAST
    53  )