Documentation ¶
Overview ¶
Package development contains the development dialect.
Index ¶
- Variables
- type ACTUATOR_CONFIGURATION
- type ACTUATOR_OUTPUT_FUNCTION
- type ADSB_ALTITUDE_TYPE
- type ADSB_EMITTER_TYPE
- type ADSB_FLAGS
- type AIRSPEED_SENSOR_FLAGS
- type AIS_FLAGS
- type AIS_NAV_STATUS
- type AIS_TYPE
- type ATTITUDE_TARGET_TYPEMASK
- type AUTOTUNE_AXIS
- type CAMERA_CAP_FLAGS
- type CAMERA_MODE
- type CAMERA_TRACKING_MODE
- type CAMERA_TRACKING_STATUS_FLAGS
- type CAMERA_TRACKING_TARGET_DATA
- type CAMERA_ZOOM_TYPE
- type CAN_FILTER_OP
- type CELLULAR_CONFIG_RESPONSE
- type CELLULAR_NETWORK_FAILED_REASON
- type CELLULAR_NETWORK_RADIO_TYPE
- type CELLULAR_STATUS_FLAG
- type COMP_METADATA_TYPE
- type ESC_CONNECTION_TYPE
- type ESC_FAILURE_FLAGS
- type ESTIMATOR_STATUS_FLAGS
- type FAILURE_TYPE
- type FAILURE_UNIT
- type FENCE_ACTION
- type FENCE_BREACH
- type FENCE_MITIGATE
- type FIRMWARE_VERSION_TYPE
- type GIMBAL_DEVICE_CAP_FLAGS
- type GIMBAL_DEVICE_ERROR_FLAGS
- type GIMBAL_DEVICE_FLAGS
- type GIMBAL_MANAGER_CAP_FLAGS
- type GIMBAL_MANAGER_FLAGS
- type GPS_FIX_TYPE
- type GPS_INPUT_IGNORE_FLAGS
- type GRIPPER_ACTIONS
- type HIGHRES_IMU_UPDATED_FLAGS
- type HIL_SENSOR_UPDATED_FLAGS
- type HL_FAILURE_FLAG
- type LANDING_TARGET_TYPE
- type MAG_CAL_STATUS
- type MAVLINK_DATA_STREAM_TYPE
- type MAV_ARM_AUTH_DENIED_REASON
- type MAV_AUTOPILOT
- type MAV_BATTERY_CHARGE_STATE
- type MAV_BATTERY_FAULT
- type MAV_BATTERY_FUNCTION
- type MAV_BATTERY_MODE
- type MAV_BATTERY_STATUS_FLAGS
- type MAV_BATTERY_TYPE
- type MAV_CMD
- type MAV_CMD_ACK
- type MAV_COLLISION_ACTION
- type MAV_COLLISION_SRC
- type MAV_COLLISION_THREAT_LEVEL
- type MAV_COMPONENT
- type MAV_DATA_STREAM
- type MAV_DISTANCE_SENSOR
- type MAV_DO_REPOSITION_FLAGS
- type MAV_ESTIMATOR_TYPE
- type MAV_EVENT_CURRENT_SEQUENCE_FLAGS
- type MAV_EVENT_ERROR_REASON
- type MAV_FRAME
- type MAV_FTP_ERR
- type MAV_FTP_OPCODE
- type MAV_GENERATOR_STATUS_FLAG
- type MAV_GOTO
- type MAV_LANDED_STATE
- type MAV_MISSION_RESULT
- type MAV_MISSION_TYPE
- type MAV_MODE
- type MAV_MODE_FLAG
- type MAV_MODE_FLAG_DECODE_POSITION
- type MAV_MOUNT_MODE
- type MAV_ODID_ARM_STATUS
- type MAV_ODID_AUTH_TYPE
- type MAV_ODID_CATEGORY_EU
- type MAV_ODID_CLASSIFICATION_TYPE
- type MAV_ODID_CLASS_EU
- type MAV_ODID_DESC_TYPE
- type MAV_ODID_HEIGHT_REF
- type MAV_ODID_HOR_ACC
- type MAV_ODID_ID_TYPE
- type MAV_ODID_OPERATOR_ID_TYPE
- type MAV_ODID_OPERATOR_LOCATION_TYPE
- type MAV_ODID_SPEED_ACC
- type MAV_ODID_STATUS
- type MAV_ODID_TIME_ACC
- type MAV_ODID_UA_TYPE
- type MAV_ODID_VER_ACC
- type MAV_PARAM_EXT_TYPE
- type MAV_PARAM_TYPE
- type MAV_POWER_STATUS
- type MAV_PROTOCOL_CAPABILITY
- type MAV_RESULT
- type MAV_ROI
- type MAV_SENSOR_ORIENTATION
- type MAV_SEVERITY
- type MAV_STANDARD_MODE
- type MAV_STATE
- type MAV_SYS_STATUS_SENSOR
- type MAV_SYS_STATUS_SENSOR_EXTENDED
- type MAV_TUNNEL_PAYLOAD_TYPE
- type MAV_TYPE
- type MAV_VTOL_STATE
- type MAV_WINCH_STATUS_FLAG
- type MISSION_STATE
- type MOTOR_TEST_ORDER
- type MOTOR_TEST_THROTTLE_TYPE
- type MessageActuatorControlTarget
- type MessageActuatorOutputStatus
- type MessageAdsbVehicle
- type MessageAirspeed
- type MessageAisVessel
- type MessageAltitude
- type MessageAttPosMocap
- type MessageAttitude
- type MessageAttitudeQuaternion
- type MessageAttitudeQuaternionCov
- type MessageAttitudeTarget
- type MessageAuthKey
- type MessageAutopilotStateForGimbalDevice
- type MessageAutopilotVersion
- type MessageAvailableModes
- type MessageBatteryStatus
- type MessageBatteryStatusV2
- type MessageButtonChange
- type MessageCameraCaptureStatus
- type MessageCameraFovStatus
- type MessageCameraImageCaptured
- type MessageCameraInformation
- type MessageCameraSettings
- type MessageCameraTrackingGeoStatus
- type MessageCameraTrackingImageStatus
- type MessageCameraTrigger
- type MessageCanFilterModify
- type MessageCanFrame
- type MessageCanfdFrame
- type MessageCellularConfig
- type MessageCellularStatus
- type MessageChangeOperatorControl
- type MessageChangeOperatorControlAck
- type MessageCollision
- type MessageCommandAck
- type MessageCommandCancel
- type MessageCommandInt
- type MessageCommandLong
- type MessageComponentInformation
- type MessageComponentInformationBasic
- type MessageComponentMetadata
- type MessageControlSystemState
- type MessageCurrentEventSequence
- type MessageCurrentMode
- type MessageDataStream
- type MessageDataTransmissionHandshake
- type MessageDebug
- type MessageDebugFloatArray
- type MessageDebugVect
- type MessageDistanceSensor
- type MessageEfiStatus
- type MessageEncapsulatedData
- type MessageEscInfo
- type MessageEscStatus
- type MessageEstimatorStatus
- type MessageEvent
- type MessageExtendedSysState
- type MessageFenceStatus
- type MessageFigureEightExecutionStatus
- type MessageFileTransferProtocol
- type MessageFlightInformation
- type MessageFollowTarget
- type MessageGeneratorStatus
- type MessageGimbalDeviceAttitudeStatus
- type MessageGimbalDeviceInformation
- type MessageGimbalDeviceSetAttitude
- type MessageGimbalManagerInformation
- type MessageGimbalManagerSetAttitude
- type MessageGimbalManagerSetManualControl
- type MessageGimbalManagerSetPitchyaw
- type MessageGimbalManagerStatus
- type MessageGlobalPositionInt
- type MessageGlobalPositionIntCov
- type MessageGlobalVisionPositionEstimate
- type MessageGps2Raw
- type MessageGps2Rtk
- type MessageGpsGlobalOrigin
- type MessageGpsInjectData
- type MessageGpsInput
- type MessageGpsRawInt
- type MessageGpsRtcmData
- type MessageGpsRtk
- type MessageGpsStatus
- type MessageGroupEnd
- type MessageGroupStart
- type MessageHeartbeat
- type MessageHighLatency
- type MessageHighLatency2
- type MessageHighresImu
- type MessageHilActuatorControls
- type MessageHilControls
- type MessageHilGps
- type MessageHilOpticalFlow
- type MessageHilRcInputsRaw
- type MessageHilSensor
- type MessageHilState
- type MessageHilStateQuaternion
- type MessageHomePosition
- type MessageHygrometerSensor
- type MessageIsbdLinkStatus
- type MessageLandingTarget
- type MessageLinkNodeStatus
- type MessageLocalPositionNed
- type MessageLocalPositionNedCov
- type MessageLocalPositionNedSystemGlobalOffset
- type MessageLogData
- type MessageLogEntry
- type MessageLogErase
- type MessageLogRequestData
- type MessageLogRequestEnd
- type MessageLogRequestList
- type MessageLoggingAck
- type MessageLoggingData
- type MessageLoggingDataAcked
- type MessageMagCalReport
- type MessageManualControl
- type MessageManualSetpoint
- type MessageMemoryVect
- type MessageMessageInterval
- type MessageMissionAck
- type MessageMissionChecksum
- type MessageMissionClearAll
- type MessageMissionCount
- type MessageMissionCurrent
- type MessageMissionItem
- type MessageMissionItemInt
- type MessageMissionItemReached
- type MessageMissionRequest
- type MessageMissionRequestInt
- type MessageMissionRequestList
- type MessageMissionRequestPartialList
- type MessageMissionSetCurrent
- type MessageMissionWritePartialList
- type MessageMountOrientation
- type MessageNamedValueFloat
- type MessageNamedValueInt
- type MessageNavControllerOutput
- type MessageObstacleDistance
- type MessageOdometry
- type MessageOnboardComputerStatus
- type MessageOpenDroneIdArmStatus
- type MessageOpenDroneIdAuthentication
- type MessageOpenDroneIdBasicId
- type MessageOpenDroneIdLocation
- type MessageOpenDroneIdMessagePack
- type MessageOpenDroneIdOperatorId
- type MessageOpenDroneIdSelfId
- type MessageOpenDroneIdSystem
- type MessageOpenDroneIdSystemUpdate
- type MessageOpticalFlow
- type MessageOpticalFlowRad
- type MessageOrbitExecutionStatus
- type MessageParamAckTransaction
- type MessageParamExtAck
- type MessageParamExtRequestList
- type MessageParamExtRequestRead
- type MessageParamExtSet
- type MessageParamExtValue
- type MessageParamMapRc
- type MessageParamRequestList
- type MessageParamRequestRead
- type MessageParamSet
- type MessageParamValue
- type MessagePing
- type MessagePlayTune
- type MessagePlayTuneV2
- type MessagePositionTargetGlobalInt
- type MessagePositionTargetLocalNed
- type MessagePowerStatus
- type MessageProtocolVersion
- type MessageRadioStatus
- type MessageRawImu
- type MessageRawPressure
- type MessageRawRpm
- type MessageRcChannels
- type MessageRcChannelsOverride
- type MessageRcChannelsRaw
- type MessageRcChannelsScaled
- type MessageRequestDataStream
- type MessageRequestEvent
- type MessageResourceRequest
- type MessageResponseEventError
- type MessageSafetyAllowedArea
- type MessageSafetySetAllowedArea
- type MessageScaledImu
- type MessageScaledImu2
- type MessageScaledImu3
- type MessageScaledPressure
- type MessageScaledPressure2
- type MessageScaledPressure3
- type MessageSerialControl
- type MessageServoOutputRaw
- type MessageSetActuatorControlTarget
- type MessageSetAttitudeTarget
- type MessageSetGpsGlobalOrigin
- type MessageSetHomePosition
- type MessageSetMode
- type MessageSetPositionTargetGlobalInt
- type MessageSetPositionTargetLocalNed
- type MessageSetupSigning
- type MessageSimState
- type MessageSmartBatteryInfo
- type MessageStatustext
- type MessageStorageInformation
- type MessageSupportedTunes
- type MessageSysStatus
- type MessageSystemTime
- type MessageTerrainCheck
- type MessageTerrainData
- type MessageTerrainReport
- type MessageTerrainRequest
- type MessageTimeEstimateToTarget
- type MessageTimesync
- type MessageTrajectoryRepresentationBezier
- type MessageTrajectoryRepresentationWaypoints
- type MessageTunnel
- type MessageUavcanNodeInfo
- type MessageUavcanNodeStatus
- type MessageUtmGlobalPosition
- type MessageV2Extension
- type MessageVfrHud
- type MessageVibration
- type MessageViconPositionEstimate
- type MessageVideoStreamInformation
- type MessageVideoStreamStatus
- type MessageVisionPositionEstimate
- type MessageVisionSpeedEstimate
- type MessageWheelDistance
- type MessageWifiConfigAp
- type MessageWifiNetworkInfo
- type MessageWinchStatus
- type MessageWindCov
- type NAV_VTOL_LAND_OPTIONS
- type ORBIT_YAW_BEHAVIOUR
- type PARACHUTE_ACTION
- type PARAM_ACK
- type PARAM_TRANSACTION_ACTION
- type PARAM_TRANSACTION_TRANSPORT
- type POSITION_TARGET_TYPEMASK
- type PRECISION_LAND_MODE
- type PREFLIGHT_STORAGE_MISSION_ACTION
- type PREFLIGHT_STORAGE_PARAMETER_ACTION
- type RC_TYPE
- type RTK_BASELINE_COORDINATE_SYSTEM
- type SERIAL_CONTROL_DEV
- type SERIAL_CONTROL_FLAG
- type SET_FOCUS_TYPE
- type STORAGE_STATUS
- type STORAGE_TYPE
- type STORAGE_USAGE_FLAG
- type TUNE_FORMAT
- type UAVCAN_NODE_HEALTH
- type UAVCAN_NODE_MODE
- type UTM_DATA_AVAIL_FLAGS
- type UTM_FLIGHT_STATE
- type VIDEO_STREAM_STATUS_FLAGS
- type VIDEO_STREAM_TYPE
- type VTOL_TRANSITION_HEADING
- type WIFI_CONFIG_AP_MODE
- type WIFI_CONFIG_AP_RESPONSE
- type WIFI_NETWORK_SECURITY
- type WINCH_ACTIONS
Constants ¶
This section is empty.
Variables ¶
var Dialect = dial
Dialect contains the dialect definition.
Functions ¶
This section is empty.
Types ¶
type ACTUATOR_CONFIGURATION ¶
type ACTUATOR_CONFIGURATION = common.ACTUATOR_CONFIGURATION
Actuator configuration, used to change a setting on an actuator. Component information metadata can be used to know which outputs support which commands.
const ( // Do nothing. ACTUATOR_CONFIGURATION_NONE ACTUATOR_CONFIGURATION = common.ACTUATOR_CONFIGURATION_NONE // Command the actuator to beep now. ACTUATOR_CONFIGURATION_BEEP ACTUATOR_CONFIGURATION = common.ACTUATOR_CONFIGURATION_BEEP // Permanently set the actuator (ESC) to 3D mode (reversible thrust). ACTUATOR_CONFIGURATION_3D_MODE_ON ACTUATOR_CONFIGURATION = common.ACTUATOR_CONFIGURATION_3D_MODE_ON // Permanently set the actuator (ESC) to non 3D mode (non-reversible thrust). ACTUATOR_CONFIGURATION_3D_MODE_OFF ACTUATOR_CONFIGURATION = common.ACTUATOR_CONFIGURATION_3D_MODE_OFF // Permanently set the actuator (ESC) to spin direction 1 (which can be clockwise or counter-clockwise). ACTUATOR_CONFIGURATION_SPIN_DIRECTION1 ACTUATOR_CONFIGURATION = common.ACTUATOR_CONFIGURATION_SPIN_DIRECTION1 // Permanently set the actuator (ESC) to spin direction 2 (opposite of direction 1). ACTUATOR_CONFIGURATION_SPIN_DIRECTION2 ACTUATOR_CONFIGURATION = common.ACTUATOR_CONFIGURATION_SPIN_DIRECTION2 )
type ACTUATOR_OUTPUT_FUNCTION ¶
type ACTUATOR_OUTPUT_FUNCTION = common.ACTUATOR_OUTPUT_FUNCTION
Actuator output function. Values greater or equal to 1000 are autopilot-specific.
const ( // No function (disabled). ACTUATOR_OUTPUT_FUNCTION_NONE ACTUATOR_OUTPUT_FUNCTION = common.ACTUATOR_OUTPUT_FUNCTION_NONE // Motor 1 ACTUATOR_OUTPUT_FUNCTION_MOTOR1 ACTUATOR_OUTPUT_FUNCTION = common.ACTUATOR_OUTPUT_FUNCTION_MOTOR1 // Motor 2 ACTUATOR_OUTPUT_FUNCTION_MOTOR2 ACTUATOR_OUTPUT_FUNCTION = common.ACTUATOR_OUTPUT_FUNCTION_MOTOR2 // Motor 3 ACTUATOR_OUTPUT_FUNCTION_MOTOR3 ACTUATOR_OUTPUT_FUNCTION = common.ACTUATOR_OUTPUT_FUNCTION_MOTOR3 // Motor 4 ACTUATOR_OUTPUT_FUNCTION_MOTOR4 ACTUATOR_OUTPUT_FUNCTION = common.ACTUATOR_OUTPUT_FUNCTION_MOTOR4 // Motor 5 ACTUATOR_OUTPUT_FUNCTION_MOTOR5 ACTUATOR_OUTPUT_FUNCTION = common.ACTUATOR_OUTPUT_FUNCTION_MOTOR5 // Motor 6 ACTUATOR_OUTPUT_FUNCTION_MOTOR6 ACTUATOR_OUTPUT_FUNCTION = common.ACTUATOR_OUTPUT_FUNCTION_MOTOR6 // Motor 7 ACTUATOR_OUTPUT_FUNCTION_MOTOR7 ACTUATOR_OUTPUT_FUNCTION = common.ACTUATOR_OUTPUT_FUNCTION_MOTOR7 // Motor 8 ACTUATOR_OUTPUT_FUNCTION_MOTOR8 ACTUATOR_OUTPUT_FUNCTION = common.ACTUATOR_OUTPUT_FUNCTION_MOTOR8 // Motor 9 ACTUATOR_OUTPUT_FUNCTION_MOTOR9 ACTUATOR_OUTPUT_FUNCTION = common.ACTUATOR_OUTPUT_FUNCTION_MOTOR9 // Motor 10 ACTUATOR_OUTPUT_FUNCTION_MOTOR10 ACTUATOR_OUTPUT_FUNCTION = common.ACTUATOR_OUTPUT_FUNCTION_MOTOR10 // Motor 11 ACTUATOR_OUTPUT_FUNCTION_MOTOR11 ACTUATOR_OUTPUT_FUNCTION = common.ACTUATOR_OUTPUT_FUNCTION_MOTOR11 // Motor 12 ACTUATOR_OUTPUT_FUNCTION_MOTOR12 ACTUATOR_OUTPUT_FUNCTION = common.ACTUATOR_OUTPUT_FUNCTION_MOTOR12 // Motor 13 ACTUATOR_OUTPUT_FUNCTION_MOTOR13 ACTUATOR_OUTPUT_FUNCTION = common.ACTUATOR_OUTPUT_FUNCTION_MOTOR13 // Motor 14 ACTUATOR_OUTPUT_FUNCTION_MOTOR14 ACTUATOR_OUTPUT_FUNCTION = common.ACTUATOR_OUTPUT_FUNCTION_MOTOR14 // Motor 15 ACTUATOR_OUTPUT_FUNCTION_MOTOR15 ACTUATOR_OUTPUT_FUNCTION = common.ACTUATOR_OUTPUT_FUNCTION_MOTOR15 // Motor 16 ACTUATOR_OUTPUT_FUNCTION_MOTOR16 ACTUATOR_OUTPUT_FUNCTION = common.ACTUATOR_OUTPUT_FUNCTION_MOTOR16 // Servo 1 ACTUATOR_OUTPUT_FUNCTION_SERVO1 ACTUATOR_OUTPUT_FUNCTION = common.ACTUATOR_OUTPUT_FUNCTION_SERVO1 // Servo 2 ACTUATOR_OUTPUT_FUNCTION_SERVO2 ACTUATOR_OUTPUT_FUNCTION = common.ACTUATOR_OUTPUT_FUNCTION_SERVO2 // Servo 3 ACTUATOR_OUTPUT_FUNCTION_SERVO3 ACTUATOR_OUTPUT_FUNCTION = common.ACTUATOR_OUTPUT_FUNCTION_SERVO3 // Servo 4 ACTUATOR_OUTPUT_FUNCTION_SERVO4 ACTUATOR_OUTPUT_FUNCTION = common.ACTUATOR_OUTPUT_FUNCTION_SERVO4 // Servo 5 ACTUATOR_OUTPUT_FUNCTION_SERVO5 ACTUATOR_OUTPUT_FUNCTION = common.ACTUATOR_OUTPUT_FUNCTION_SERVO5 // Servo 6 ACTUATOR_OUTPUT_FUNCTION_SERVO6 ACTUATOR_OUTPUT_FUNCTION = common.ACTUATOR_OUTPUT_FUNCTION_SERVO6 // Servo 7 ACTUATOR_OUTPUT_FUNCTION_SERVO7 ACTUATOR_OUTPUT_FUNCTION = common.ACTUATOR_OUTPUT_FUNCTION_SERVO7 // Servo 8 ACTUATOR_OUTPUT_FUNCTION_SERVO8 ACTUATOR_OUTPUT_FUNCTION = common.ACTUATOR_OUTPUT_FUNCTION_SERVO8 // Servo 9 ACTUATOR_OUTPUT_FUNCTION_SERVO9 ACTUATOR_OUTPUT_FUNCTION = common.ACTUATOR_OUTPUT_FUNCTION_SERVO9 // Servo 10 ACTUATOR_OUTPUT_FUNCTION_SERVO10 ACTUATOR_OUTPUT_FUNCTION = common.ACTUATOR_OUTPUT_FUNCTION_SERVO10 // Servo 11 ACTUATOR_OUTPUT_FUNCTION_SERVO11 ACTUATOR_OUTPUT_FUNCTION = common.ACTUATOR_OUTPUT_FUNCTION_SERVO11 // Servo 12 ACTUATOR_OUTPUT_FUNCTION_SERVO12 ACTUATOR_OUTPUT_FUNCTION = common.ACTUATOR_OUTPUT_FUNCTION_SERVO12 // Servo 13 ACTUATOR_OUTPUT_FUNCTION_SERVO13 ACTUATOR_OUTPUT_FUNCTION = common.ACTUATOR_OUTPUT_FUNCTION_SERVO13 // Servo 14 ACTUATOR_OUTPUT_FUNCTION_SERVO14 ACTUATOR_OUTPUT_FUNCTION = common.ACTUATOR_OUTPUT_FUNCTION_SERVO14 // Servo 15 ACTUATOR_OUTPUT_FUNCTION_SERVO15 ACTUATOR_OUTPUT_FUNCTION = common.ACTUATOR_OUTPUT_FUNCTION_SERVO15 // Servo 16 ACTUATOR_OUTPUT_FUNCTION_SERVO16 ACTUATOR_OUTPUT_FUNCTION = common.ACTUATOR_OUTPUT_FUNCTION_SERVO16 )
type ADSB_ALTITUDE_TYPE ¶
type ADSB_ALTITUDE_TYPE = common.ADSB_ALTITUDE_TYPE
Enumeration of the ADSB altimeter types
const ( // Altitude reported from a Baro source using QNH reference ADSB_ALTITUDE_TYPE_PRESSURE_QNH ADSB_ALTITUDE_TYPE = common.ADSB_ALTITUDE_TYPE_PRESSURE_QNH // Altitude reported from a GNSS source ADSB_ALTITUDE_TYPE_GEOMETRIC ADSB_ALTITUDE_TYPE = common.ADSB_ALTITUDE_TYPE_GEOMETRIC )
type ADSB_EMITTER_TYPE ¶
type ADSB_EMITTER_TYPE = common.ADSB_EMITTER_TYPE
ADSB classification for the type of vehicle emitting the transponder signal
const ( ADSB_EMITTER_TYPE_NO_INFO ADSB_EMITTER_TYPE = common.ADSB_EMITTER_TYPE_NO_INFO ADSB_EMITTER_TYPE_LIGHT ADSB_EMITTER_TYPE = common.ADSB_EMITTER_TYPE_LIGHT ADSB_EMITTER_TYPE_SMALL ADSB_EMITTER_TYPE = common.ADSB_EMITTER_TYPE_SMALL ADSB_EMITTER_TYPE_LARGE ADSB_EMITTER_TYPE = common.ADSB_EMITTER_TYPE_LARGE ADSB_EMITTER_TYPE_HIGH_VORTEX_LARGE ADSB_EMITTER_TYPE = common.ADSB_EMITTER_TYPE_HIGH_VORTEX_LARGE ADSB_EMITTER_TYPE_HEAVY ADSB_EMITTER_TYPE = common.ADSB_EMITTER_TYPE_HEAVY ADSB_EMITTER_TYPE_HIGHLY_MANUV ADSB_EMITTER_TYPE = common.ADSB_EMITTER_TYPE_HIGHLY_MANUV ADSB_EMITTER_TYPE_ROTOCRAFT ADSB_EMITTER_TYPE = common.ADSB_EMITTER_TYPE_ROTOCRAFT ADSB_EMITTER_TYPE_UNASSIGNED ADSB_EMITTER_TYPE = common.ADSB_EMITTER_TYPE_UNASSIGNED ADSB_EMITTER_TYPE_GLIDER ADSB_EMITTER_TYPE = common.ADSB_EMITTER_TYPE_GLIDER ADSB_EMITTER_TYPE_LIGHTER_AIR ADSB_EMITTER_TYPE = common.ADSB_EMITTER_TYPE_LIGHTER_AIR ADSB_EMITTER_TYPE_PARACHUTE ADSB_EMITTER_TYPE = common.ADSB_EMITTER_TYPE_PARACHUTE ADSB_EMITTER_TYPE_ULTRA_LIGHT ADSB_EMITTER_TYPE = common.ADSB_EMITTER_TYPE_ULTRA_LIGHT ADSB_EMITTER_TYPE_UNASSIGNED2 ADSB_EMITTER_TYPE = common.ADSB_EMITTER_TYPE_UNASSIGNED2 ADSB_EMITTER_TYPE_UAV ADSB_EMITTER_TYPE = common.ADSB_EMITTER_TYPE_UAV ADSB_EMITTER_TYPE_SPACE ADSB_EMITTER_TYPE = common.ADSB_EMITTER_TYPE_SPACE ADSB_EMITTER_TYPE_UNASSGINED3 ADSB_EMITTER_TYPE = common.ADSB_EMITTER_TYPE_UNASSGINED3 ADSB_EMITTER_TYPE_EMERGENCY_SURFACE ADSB_EMITTER_TYPE = common.ADSB_EMITTER_TYPE_EMERGENCY_SURFACE ADSB_EMITTER_TYPE_SERVICE_SURFACE ADSB_EMITTER_TYPE = common.ADSB_EMITTER_TYPE_SERVICE_SURFACE ADSB_EMITTER_TYPE_POINT_OBSTACLE ADSB_EMITTER_TYPE = common.ADSB_EMITTER_TYPE_POINT_OBSTACLE )
type ADSB_FLAGS ¶
type ADSB_FLAGS = common.ADSB_FLAGS
These flags indicate status such as data validity of each data source. Set = data valid
const ( ADSB_FLAGS_VALID_COORDS ADSB_FLAGS = common.ADSB_FLAGS_VALID_COORDS ADSB_FLAGS_VALID_ALTITUDE ADSB_FLAGS = common.ADSB_FLAGS_VALID_ALTITUDE ADSB_FLAGS_VALID_HEADING ADSB_FLAGS = common.ADSB_FLAGS_VALID_HEADING ADSB_FLAGS_VALID_VELOCITY ADSB_FLAGS = common.ADSB_FLAGS_VALID_VELOCITY ADSB_FLAGS_VALID_CALLSIGN ADSB_FLAGS = common.ADSB_FLAGS_VALID_CALLSIGN ADSB_FLAGS_VALID_SQUAWK ADSB_FLAGS = common.ADSB_FLAGS_VALID_SQUAWK ADSB_FLAGS_SIMULATED ADSB_FLAGS = common.ADSB_FLAGS_SIMULATED ADSB_FLAGS_VERTICAL_VELOCITY_VALID ADSB_FLAGS = common.ADSB_FLAGS_VERTICAL_VELOCITY_VALID ADSB_FLAGS_BARO_VALID ADSB_FLAGS = common.ADSB_FLAGS_BARO_VALID ADSB_FLAGS_SOURCE_UAT ADSB_FLAGS = common.ADSB_FLAGS_SOURCE_UAT )
type AIRSPEED_SENSOR_FLAGS ¶ added in v1.1.0
type AIRSPEED_SENSOR_FLAGS uint32
Airspeed sensor flags
const ( // Airspeed sensor is unhealthy AIRSPEED_SENSOR_UNHEALTHY AIRSPEED_SENSOR_FLAGS = 0 // True if the data from this sensor is being actively used by the flight controller for guidance, navigation or control. AIRSPEED_SENSOR_USING AIRSPEED_SENSOR_FLAGS = 1 )
func (AIRSPEED_SENSOR_FLAGS) MarshalText ¶ added in v1.1.0
func (e AIRSPEED_SENSOR_FLAGS) MarshalText() ([]byte, error)
MarshalText implements the encoding.TextMarshaler interface.
func (AIRSPEED_SENSOR_FLAGS) String ¶ added in v1.1.0
func (e AIRSPEED_SENSOR_FLAGS) String() string
String implements the fmt.Stringer interface.
func (*AIRSPEED_SENSOR_FLAGS) UnmarshalText ¶ added in v1.1.0
func (e *AIRSPEED_SENSOR_FLAGS) UnmarshalText(text []byte) error
UnmarshalText implements the encoding.TextUnmarshaler interface.
type AIS_FLAGS ¶
These flags are used in the AIS_VESSEL.fields bitmask to indicate validity of data in the other message fields. When set, the data is valid.
const ( // 1 = Position accuracy less than 10m, 0 = position accuracy greater than 10m. AIS_FLAGS_POSITION_ACCURACY AIS_FLAGS = common.AIS_FLAGS_POSITION_ACCURACY AIS_FLAGS_VALID_COG AIS_FLAGS = common.AIS_FLAGS_VALID_COG AIS_FLAGS_VALID_VELOCITY AIS_FLAGS = common.AIS_FLAGS_VALID_VELOCITY // 1 = Velocity over 52.5765m/s (102.2 knots) AIS_FLAGS_HIGH_VELOCITY AIS_FLAGS = common.AIS_FLAGS_HIGH_VELOCITY AIS_FLAGS_VALID_TURN_RATE AIS_FLAGS = common.AIS_FLAGS_VALID_TURN_RATE // Only the sign of the returned turn rate value is valid, either greater than 5deg/30s or less than -5deg/30s AIS_FLAGS_TURN_RATE_SIGN_ONLY AIS_FLAGS = common.AIS_FLAGS_TURN_RATE_SIGN_ONLY AIS_FLAGS_VALID_DIMENSIONS AIS_FLAGS = common.AIS_FLAGS_VALID_DIMENSIONS // Distance to bow is larger than 511m AIS_FLAGS_LARGE_BOW_DIMENSION AIS_FLAGS = common.AIS_FLAGS_LARGE_BOW_DIMENSION // Distance to stern is larger than 511m AIS_FLAGS_LARGE_STERN_DIMENSION AIS_FLAGS = common.AIS_FLAGS_LARGE_STERN_DIMENSION // Distance to port side is larger than 63m AIS_FLAGS_LARGE_PORT_DIMENSION AIS_FLAGS = common.AIS_FLAGS_LARGE_PORT_DIMENSION // Distance to starboard side is larger than 63m AIS_FLAGS_LARGE_STARBOARD_DIMENSION AIS_FLAGS = common.AIS_FLAGS_LARGE_STARBOARD_DIMENSION AIS_FLAGS_VALID_CALLSIGN AIS_FLAGS = common.AIS_FLAGS_VALID_CALLSIGN AIS_FLAGS_VALID_NAME AIS_FLAGS = common.AIS_FLAGS_VALID_NAME )
type AIS_NAV_STATUS ¶
type AIS_NAV_STATUS = common.AIS_NAV_STATUS
Navigational status of AIS vessel, enum duplicated from AIS standard, https://gpsd.gitlab.io/gpsd/AIVDM.html
const ( // Under way using engine. UNDER_WAY AIS_NAV_STATUS = common.UNDER_WAY AIS_NAV_ANCHORED AIS_NAV_STATUS = common.AIS_NAV_ANCHORED AIS_NAV_UN_COMMANDED AIS_NAV_STATUS = common.AIS_NAV_UN_COMMANDED AIS_NAV_RESTRICTED_MANOEUVERABILITY AIS_NAV_STATUS = common.AIS_NAV_RESTRICTED_MANOEUVERABILITY AIS_NAV_DRAUGHT_CONSTRAINED AIS_NAV_STATUS = common.AIS_NAV_DRAUGHT_CONSTRAINED AIS_NAV_MOORED AIS_NAV_STATUS = common.AIS_NAV_MOORED AIS_NAV_AGROUND AIS_NAV_STATUS = common.AIS_NAV_AGROUND AIS_NAV_FISHING AIS_NAV_STATUS = common.AIS_NAV_FISHING AIS_NAV_SAILING AIS_NAV_STATUS = common.AIS_NAV_SAILING AIS_NAV_RESERVED_HSC AIS_NAV_STATUS = common.AIS_NAV_RESERVED_HSC AIS_NAV_RESERVED_WIG AIS_NAV_STATUS = common.AIS_NAV_RESERVED_WIG AIS_NAV_RESERVED_1 AIS_NAV_STATUS = common.AIS_NAV_RESERVED_1 AIS_NAV_RESERVED_2 AIS_NAV_STATUS = common.AIS_NAV_RESERVED_2 AIS_NAV_RESERVED_3 AIS_NAV_STATUS = common.AIS_NAV_RESERVED_3 // Search And Rescue Transponder. AIS_NAV_AIS_SART AIS_NAV_STATUS = common.AIS_NAV_AIS_SART // Not available (default). AIS_NAV_UNKNOWN AIS_NAV_STATUS = common.AIS_NAV_UNKNOWN )
type AIS_TYPE ¶
Type of AIS vessel, enum duplicated from AIS standard, https://gpsd.gitlab.io/gpsd/AIVDM.html
const ( // Not available (default). AIS_TYPE_UNKNOWN AIS_TYPE = common.AIS_TYPE_UNKNOWN AIS_TYPE_RESERVED_1 AIS_TYPE = common.AIS_TYPE_RESERVED_1 AIS_TYPE_RESERVED_2 AIS_TYPE = common.AIS_TYPE_RESERVED_2 AIS_TYPE_RESERVED_3 AIS_TYPE = common.AIS_TYPE_RESERVED_3 AIS_TYPE_RESERVED_4 AIS_TYPE = common.AIS_TYPE_RESERVED_4 AIS_TYPE_RESERVED_5 AIS_TYPE = common.AIS_TYPE_RESERVED_5 AIS_TYPE_RESERVED_6 AIS_TYPE = common.AIS_TYPE_RESERVED_6 AIS_TYPE_RESERVED_7 AIS_TYPE = common.AIS_TYPE_RESERVED_7 AIS_TYPE_RESERVED_8 AIS_TYPE = common.AIS_TYPE_RESERVED_8 AIS_TYPE_RESERVED_9 AIS_TYPE = common.AIS_TYPE_RESERVED_9 AIS_TYPE_RESERVED_10 AIS_TYPE = common.AIS_TYPE_RESERVED_10 AIS_TYPE_RESERVED_11 AIS_TYPE = common.AIS_TYPE_RESERVED_11 AIS_TYPE_RESERVED_12 AIS_TYPE = common.AIS_TYPE_RESERVED_12 AIS_TYPE_RESERVED_13 AIS_TYPE = common.AIS_TYPE_RESERVED_13 AIS_TYPE_RESERVED_14 AIS_TYPE = common.AIS_TYPE_RESERVED_14 AIS_TYPE_RESERVED_15 AIS_TYPE = common.AIS_TYPE_RESERVED_15 AIS_TYPE_RESERVED_16 AIS_TYPE = common.AIS_TYPE_RESERVED_16 AIS_TYPE_RESERVED_17 AIS_TYPE = common.AIS_TYPE_RESERVED_17 AIS_TYPE_RESERVED_18 AIS_TYPE = common.AIS_TYPE_RESERVED_18 AIS_TYPE_RESERVED_19 AIS_TYPE = common.AIS_TYPE_RESERVED_19 // Wing In Ground effect. AIS_TYPE_WIG AIS_TYPE = common.AIS_TYPE_WIG AIS_TYPE_WIG_HAZARDOUS_A AIS_TYPE = common.AIS_TYPE_WIG_HAZARDOUS_A AIS_TYPE_WIG_HAZARDOUS_B AIS_TYPE = common.AIS_TYPE_WIG_HAZARDOUS_B AIS_TYPE_WIG_HAZARDOUS_C AIS_TYPE = common.AIS_TYPE_WIG_HAZARDOUS_C AIS_TYPE_WIG_HAZARDOUS_D AIS_TYPE = common.AIS_TYPE_WIG_HAZARDOUS_D AIS_TYPE_WIG_RESERVED_1 AIS_TYPE = common.AIS_TYPE_WIG_RESERVED_1 AIS_TYPE_WIG_RESERVED_2 AIS_TYPE = common.AIS_TYPE_WIG_RESERVED_2 AIS_TYPE_WIG_RESERVED_3 AIS_TYPE = common.AIS_TYPE_WIG_RESERVED_3 AIS_TYPE_WIG_RESERVED_4 AIS_TYPE = common.AIS_TYPE_WIG_RESERVED_4 AIS_TYPE_WIG_RESERVED_5 AIS_TYPE = common.AIS_TYPE_WIG_RESERVED_5 AIS_TYPE_FISHING AIS_TYPE = common.AIS_TYPE_FISHING AIS_TYPE_TOWING AIS_TYPE = common.AIS_TYPE_TOWING // Towing: length exceeds 200m or breadth exceeds 25m. AIS_TYPE_TOWING_LARGE AIS_TYPE = common.AIS_TYPE_TOWING_LARGE // Dredging or other underwater ops. AIS_TYPE_DREDGING AIS_TYPE = common.AIS_TYPE_DREDGING AIS_TYPE_DIVING AIS_TYPE = common.AIS_TYPE_DIVING AIS_TYPE_MILITARY AIS_TYPE = common.AIS_TYPE_MILITARY AIS_TYPE_SAILING AIS_TYPE = common.AIS_TYPE_SAILING AIS_TYPE_PLEASURE AIS_TYPE = common.AIS_TYPE_PLEASURE AIS_TYPE_RESERVED_20 AIS_TYPE = common.AIS_TYPE_RESERVED_20 AIS_TYPE_RESERVED_21 AIS_TYPE = common.AIS_TYPE_RESERVED_21 // High Speed Craft. AIS_TYPE_HSC AIS_TYPE = common.AIS_TYPE_HSC AIS_TYPE_HSC_HAZARDOUS_A AIS_TYPE = common.AIS_TYPE_HSC_HAZARDOUS_A AIS_TYPE_HSC_HAZARDOUS_B AIS_TYPE = common.AIS_TYPE_HSC_HAZARDOUS_B AIS_TYPE_HSC_HAZARDOUS_C AIS_TYPE = common.AIS_TYPE_HSC_HAZARDOUS_C AIS_TYPE_HSC_HAZARDOUS_D AIS_TYPE = common.AIS_TYPE_HSC_HAZARDOUS_D AIS_TYPE_HSC_RESERVED_1 AIS_TYPE = common.AIS_TYPE_HSC_RESERVED_1 AIS_TYPE_HSC_RESERVED_2 AIS_TYPE = common.AIS_TYPE_HSC_RESERVED_2 AIS_TYPE_HSC_RESERVED_3 AIS_TYPE = common.AIS_TYPE_HSC_RESERVED_3 AIS_TYPE_HSC_RESERVED_4 AIS_TYPE = common.AIS_TYPE_HSC_RESERVED_4 AIS_TYPE_HSC_UNKNOWN AIS_TYPE = common.AIS_TYPE_HSC_UNKNOWN AIS_TYPE_PILOT AIS_TYPE = common.AIS_TYPE_PILOT // Search And Rescue vessel. AIS_TYPE_SAR AIS_TYPE = common.AIS_TYPE_SAR AIS_TYPE_TUG AIS_TYPE = common.AIS_TYPE_TUG AIS_TYPE_PORT_TENDER AIS_TYPE = common.AIS_TYPE_PORT_TENDER // Anti-pollution equipment. AIS_TYPE_ANTI_POLLUTION AIS_TYPE = common.AIS_TYPE_ANTI_POLLUTION AIS_TYPE_LAW_ENFORCEMENT AIS_TYPE = common.AIS_TYPE_LAW_ENFORCEMENT AIS_TYPE_SPARE_LOCAL_1 AIS_TYPE = common.AIS_TYPE_SPARE_LOCAL_1 AIS_TYPE_SPARE_LOCAL_2 AIS_TYPE = common.AIS_TYPE_SPARE_LOCAL_2 AIS_TYPE_MEDICAL_TRANSPORT AIS_TYPE = common.AIS_TYPE_MEDICAL_TRANSPORT // Noncombatant ship according to RR Resolution No. 18. AIS_TYPE_NONECOMBATANT AIS_TYPE = common.AIS_TYPE_NONECOMBATANT AIS_TYPE_PASSENGER AIS_TYPE = common.AIS_TYPE_PASSENGER AIS_TYPE_PASSENGER_HAZARDOUS_A AIS_TYPE = common.AIS_TYPE_PASSENGER_HAZARDOUS_A AIS_TYPE_PASSENGER_HAZARDOUS_B AIS_TYPE = common.AIS_TYPE_PASSENGER_HAZARDOUS_B AIS_TYPE_PASSENGER_HAZARDOUS_C AIS_TYPE = common.AIS_TYPE_PASSENGER_HAZARDOUS_C AIS_TYPE_PASSENGER_HAZARDOUS_D AIS_TYPE = common.AIS_TYPE_PASSENGER_HAZARDOUS_D AIS_TYPE_PASSENGER_RESERVED_1 AIS_TYPE = common.AIS_TYPE_PASSENGER_RESERVED_1 AIS_TYPE_PASSENGER_RESERVED_2 AIS_TYPE = common.AIS_TYPE_PASSENGER_RESERVED_2 AIS_TYPE_PASSENGER_RESERVED_3 AIS_TYPE = common.AIS_TYPE_PASSENGER_RESERVED_3 AIS_TYPE_PASSENGER_RESERVED_4 AIS_TYPE = common.AIS_TYPE_PASSENGER_RESERVED_4 AIS_TYPE_PASSENGER_UNKNOWN AIS_TYPE = common.AIS_TYPE_PASSENGER_UNKNOWN AIS_TYPE_CARGO AIS_TYPE = common.AIS_TYPE_CARGO AIS_TYPE_CARGO_HAZARDOUS_A AIS_TYPE = common.AIS_TYPE_CARGO_HAZARDOUS_A AIS_TYPE_CARGO_HAZARDOUS_B AIS_TYPE = common.AIS_TYPE_CARGO_HAZARDOUS_B AIS_TYPE_CARGO_HAZARDOUS_C AIS_TYPE = common.AIS_TYPE_CARGO_HAZARDOUS_C AIS_TYPE_CARGO_HAZARDOUS_D AIS_TYPE = common.AIS_TYPE_CARGO_HAZARDOUS_D AIS_TYPE_CARGO_RESERVED_1 AIS_TYPE = common.AIS_TYPE_CARGO_RESERVED_1 AIS_TYPE_CARGO_RESERVED_2 AIS_TYPE = common.AIS_TYPE_CARGO_RESERVED_2 AIS_TYPE_CARGO_RESERVED_3 AIS_TYPE = common.AIS_TYPE_CARGO_RESERVED_3 AIS_TYPE_CARGO_RESERVED_4 AIS_TYPE = common.AIS_TYPE_CARGO_RESERVED_4 AIS_TYPE_CARGO_UNKNOWN AIS_TYPE = common.AIS_TYPE_CARGO_UNKNOWN AIS_TYPE_TANKER AIS_TYPE = common.AIS_TYPE_TANKER AIS_TYPE_TANKER_HAZARDOUS_A AIS_TYPE = common.AIS_TYPE_TANKER_HAZARDOUS_A AIS_TYPE_TANKER_HAZARDOUS_B AIS_TYPE = common.AIS_TYPE_TANKER_HAZARDOUS_B AIS_TYPE_TANKER_HAZARDOUS_C AIS_TYPE = common.AIS_TYPE_TANKER_HAZARDOUS_C AIS_TYPE_TANKER_HAZARDOUS_D AIS_TYPE = common.AIS_TYPE_TANKER_HAZARDOUS_D AIS_TYPE_TANKER_RESERVED_1 AIS_TYPE = common.AIS_TYPE_TANKER_RESERVED_1 AIS_TYPE_TANKER_RESERVED_2 AIS_TYPE = common.AIS_TYPE_TANKER_RESERVED_2 AIS_TYPE_TANKER_RESERVED_3 AIS_TYPE = common.AIS_TYPE_TANKER_RESERVED_3 AIS_TYPE_TANKER_RESERVED_4 AIS_TYPE = common.AIS_TYPE_TANKER_RESERVED_4 AIS_TYPE_TANKER_UNKNOWN AIS_TYPE = common.AIS_TYPE_TANKER_UNKNOWN AIS_TYPE_OTHER AIS_TYPE = common.AIS_TYPE_OTHER AIS_TYPE_OTHER_HAZARDOUS_A AIS_TYPE = common.AIS_TYPE_OTHER_HAZARDOUS_A AIS_TYPE_OTHER_HAZARDOUS_B AIS_TYPE = common.AIS_TYPE_OTHER_HAZARDOUS_B AIS_TYPE_OTHER_HAZARDOUS_C AIS_TYPE = common.AIS_TYPE_OTHER_HAZARDOUS_C AIS_TYPE_OTHER_HAZARDOUS_D AIS_TYPE = common.AIS_TYPE_OTHER_HAZARDOUS_D AIS_TYPE_OTHER_RESERVED_1 AIS_TYPE = common.AIS_TYPE_OTHER_RESERVED_1 AIS_TYPE_OTHER_RESERVED_2 AIS_TYPE = common.AIS_TYPE_OTHER_RESERVED_2 AIS_TYPE_OTHER_RESERVED_3 AIS_TYPE = common.AIS_TYPE_OTHER_RESERVED_3 AIS_TYPE_OTHER_RESERVED_4 AIS_TYPE = common.AIS_TYPE_OTHER_RESERVED_4 AIS_TYPE_OTHER_UNKNOWN AIS_TYPE = common.AIS_TYPE_OTHER_UNKNOWN )
type ATTITUDE_TARGET_TYPEMASK ¶
type ATTITUDE_TARGET_TYPEMASK = common.ATTITUDE_TARGET_TYPEMASK
Bitmap to indicate which dimensions should be ignored by the vehicle: a value of 0b00000000 indicates that none of the setpoint dimensions should be ignored.
const ( // Ignore body roll rate ATTITUDE_TARGET_TYPEMASK_BODY_ROLL_RATE_IGNORE ATTITUDE_TARGET_TYPEMASK = common.ATTITUDE_TARGET_TYPEMASK_BODY_ROLL_RATE_IGNORE // Ignore body pitch rate ATTITUDE_TARGET_TYPEMASK_BODY_PITCH_RATE_IGNORE ATTITUDE_TARGET_TYPEMASK = common.ATTITUDE_TARGET_TYPEMASK_BODY_PITCH_RATE_IGNORE // Ignore body yaw rate ATTITUDE_TARGET_TYPEMASK_BODY_YAW_RATE_IGNORE ATTITUDE_TARGET_TYPEMASK = common.ATTITUDE_TARGET_TYPEMASK_BODY_YAW_RATE_IGNORE // Use 3D body thrust setpoint instead of throttle ATTITUDE_TARGET_TYPEMASK_THRUST_BODY_SET ATTITUDE_TARGET_TYPEMASK = common.ATTITUDE_TARGET_TYPEMASK_THRUST_BODY_SET // Ignore throttle ATTITUDE_TARGET_TYPEMASK_THROTTLE_IGNORE ATTITUDE_TARGET_TYPEMASK = common.ATTITUDE_TARGET_TYPEMASK_THROTTLE_IGNORE // Ignore attitude ATTITUDE_TARGET_TYPEMASK_ATTITUDE_IGNORE ATTITUDE_TARGET_TYPEMASK = common.ATTITUDE_TARGET_TYPEMASK_ATTITUDE_IGNORE )
type AUTOTUNE_AXIS ¶
type AUTOTUNE_AXIS = common.AUTOTUNE_AXIS
Enable axes that will be tuned via autotuning. Used in MAV_CMD_DO_AUTOTUNE_ENABLE.
const ( // Flight stack tunes axis according to its default settings. AUTOTUNE_AXIS_DEFAULT AUTOTUNE_AXIS = common.AUTOTUNE_AXIS_DEFAULT // Autotune roll axis. AUTOTUNE_AXIS_ROLL AUTOTUNE_AXIS = common.AUTOTUNE_AXIS_ROLL // Autotune pitch axis. AUTOTUNE_AXIS_PITCH AUTOTUNE_AXIS = common.AUTOTUNE_AXIS_PITCH // Autotune yaw axis. AUTOTUNE_AXIS_YAW AUTOTUNE_AXIS = common.AUTOTUNE_AXIS_YAW )
type CAMERA_CAP_FLAGS ¶
type CAMERA_CAP_FLAGS = common.CAMERA_CAP_FLAGS
Camera capability flags (Bitmap)
const ( // Camera is able to record video CAMERA_CAP_FLAGS_CAPTURE_VIDEO CAMERA_CAP_FLAGS = common.CAMERA_CAP_FLAGS_CAPTURE_VIDEO // Camera is able to capture images CAMERA_CAP_FLAGS_CAPTURE_IMAGE CAMERA_CAP_FLAGS = common.CAMERA_CAP_FLAGS_CAPTURE_IMAGE // Camera has separate Video and Image/Photo modes (MAV_CMD_SET_CAMERA_MODE) CAMERA_CAP_FLAGS_HAS_MODES CAMERA_CAP_FLAGS = common.CAMERA_CAP_FLAGS_HAS_MODES // Camera can capture images while in video mode CAMERA_CAP_FLAGS_CAN_CAPTURE_IMAGE_IN_VIDEO_MODE CAMERA_CAP_FLAGS = common.CAMERA_CAP_FLAGS_CAN_CAPTURE_IMAGE_IN_VIDEO_MODE // Camera can capture videos while in Photo/Image mode CAMERA_CAP_FLAGS_CAN_CAPTURE_VIDEO_IN_IMAGE_MODE CAMERA_CAP_FLAGS = common.CAMERA_CAP_FLAGS_CAN_CAPTURE_VIDEO_IN_IMAGE_MODE // Camera has image survey mode (MAV_CMD_SET_CAMERA_MODE) CAMERA_CAP_FLAGS_HAS_IMAGE_SURVEY_MODE CAMERA_CAP_FLAGS = common.CAMERA_CAP_FLAGS_HAS_IMAGE_SURVEY_MODE // Camera has basic zoom control (MAV_CMD_SET_CAMERA_ZOOM) CAMERA_CAP_FLAGS_HAS_BASIC_ZOOM CAMERA_CAP_FLAGS = common.CAMERA_CAP_FLAGS_HAS_BASIC_ZOOM // Camera has basic focus control (MAV_CMD_SET_CAMERA_FOCUS) CAMERA_CAP_FLAGS_HAS_BASIC_FOCUS CAMERA_CAP_FLAGS = common.CAMERA_CAP_FLAGS_HAS_BASIC_FOCUS // Camera has video streaming capabilities (request VIDEO_STREAM_INFORMATION with MAV_CMD_REQUEST_MESSAGE for video streaming info) CAMERA_CAP_FLAGS_HAS_VIDEO_STREAM CAMERA_CAP_FLAGS = common.CAMERA_CAP_FLAGS_HAS_VIDEO_STREAM // Camera supports tracking of a point on the camera view. CAMERA_CAP_FLAGS_HAS_TRACKING_POINT CAMERA_CAP_FLAGS = common.CAMERA_CAP_FLAGS_HAS_TRACKING_POINT // Camera supports tracking of a selection rectangle on the camera view. CAMERA_CAP_FLAGS_HAS_TRACKING_RECTANGLE CAMERA_CAP_FLAGS = common.CAMERA_CAP_FLAGS_HAS_TRACKING_RECTANGLE // Camera supports tracking geo status (CAMERA_TRACKING_GEO_STATUS). CAMERA_CAP_FLAGS_HAS_TRACKING_GEO_STATUS CAMERA_CAP_FLAGS = common.CAMERA_CAP_FLAGS_HAS_TRACKING_GEO_STATUS )
type CAMERA_MODE ¶
type CAMERA_MODE = common.CAMERA_MODE
Camera Modes.
const ( // Camera is in image/photo capture mode. CAMERA_MODE_IMAGE CAMERA_MODE = common.CAMERA_MODE_IMAGE // Camera is in video capture mode. CAMERA_MODE_VIDEO CAMERA_MODE = common.CAMERA_MODE_VIDEO // Camera is in image survey capture mode. It allows for camera controller to do specific settings for surveys. CAMERA_MODE_IMAGE_SURVEY CAMERA_MODE = common.CAMERA_MODE_IMAGE_SURVEY )
type CAMERA_TRACKING_MODE ¶
type CAMERA_TRACKING_MODE = common.CAMERA_TRACKING_MODE
Camera tracking modes
const ( // Not tracking CAMERA_TRACKING_MODE_NONE CAMERA_TRACKING_MODE = common.CAMERA_TRACKING_MODE_NONE // Target is a point CAMERA_TRACKING_MODE_POINT CAMERA_TRACKING_MODE = common.CAMERA_TRACKING_MODE_POINT // Target is a rectangle CAMERA_TRACKING_MODE_RECTANGLE CAMERA_TRACKING_MODE = common.CAMERA_TRACKING_MODE_RECTANGLE )
type CAMERA_TRACKING_STATUS_FLAGS ¶
type CAMERA_TRACKING_STATUS_FLAGS = common.CAMERA_TRACKING_STATUS_FLAGS
Camera tracking status flags
const ( // Camera is not tracking CAMERA_TRACKING_STATUS_FLAGS_IDLE CAMERA_TRACKING_STATUS_FLAGS = common.CAMERA_TRACKING_STATUS_FLAGS_IDLE // Camera is tracking CAMERA_TRACKING_STATUS_FLAGS_ACTIVE CAMERA_TRACKING_STATUS_FLAGS = common.CAMERA_TRACKING_STATUS_FLAGS_ACTIVE // Camera tracking in error state CAMERA_TRACKING_STATUS_FLAGS_ERROR CAMERA_TRACKING_STATUS_FLAGS = common.CAMERA_TRACKING_STATUS_FLAGS_ERROR )
type CAMERA_TRACKING_TARGET_DATA ¶
type CAMERA_TRACKING_TARGET_DATA = common.CAMERA_TRACKING_TARGET_DATA
Camera tracking target data (shows where tracked target is within image)
const ( // No target data CAMERA_TRACKING_TARGET_DATA_NONE CAMERA_TRACKING_TARGET_DATA = common.CAMERA_TRACKING_TARGET_DATA_NONE // Target data embedded in image data (proprietary) CAMERA_TRACKING_TARGET_DATA_EMBEDDED CAMERA_TRACKING_TARGET_DATA = common.CAMERA_TRACKING_TARGET_DATA_EMBEDDED // Target data rendered in image CAMERA_TRACKING_TARGET_DATA_RENDERED CAMERA_TRACKING_TARGET_DATA = common.CAMERA_TRACKING_TARGET_DATA_RENDERED // Target data within status message (Point or Rectangle) CAMERA_TRACKING_TARGET_DATA_IN_STATUS CAMERA_TRACKING_TARGET_DATA = common.CAMERA_TRACKING_TARGET_DATA_IN_STATUS )
type CAMERA_ZOOM_TYPE ¶
type CAMERA_ZOOM_TYPE = common.CAMERA_ZOOM_TYPE
Zoom types for MAV_CMD_SET_CAMERA_ZOOM
const ( // Zoom one step increment (-1 for wide, 1 for tele) ZOOM_TYPE_STEP CAMERA_ZOOM_TYPE = common.ZOOM_TYPE_STEP // Continuous zoom up/down until stopped (-1 for wide, 1 for tele, 0 to stop zooming) ZOOM_TYPE_CONTINUOUS CAMERA_ZOOM_TYPE = common.ZOOM_TYPE_CONTINUOUS // Zoom value as proportion of full camera range (a percentage value between 0.0 and 100.0) ZOOM_TYPE_RANGE CAMERA_ZOOM_TYPE = common.ZOOM_TYPE_RANGE // Zoom value/variable focal length in millimetres. Note that there is no message to get the valid zoom range of the camera, so this can type can only be used for cameras where the zoom range is known (implying that this cannot reliably be used in a GCS for an arbitrary camera) ZOOM_TYPE_FOCAL_LENGTH CAMERA_ZOOM_TYPE = common.ZOOM_TYPE_FOCAL_LENGTH )
type CAN_FILTER_OP ¶
type CAN_FILTER_OP = common.CAN_FILTER_OP
const ( CAN_FILTER_REPLACE CAN_FILTER_OP = common.CAN_FILTER_REPLACE CAN_FILTER_ADD CAN_FILTER_OP = common.CAN_FILTER_ADD CAN_FILTER_REMOVE CAN_FILTER_OP = common.CAN_FILTER_REMOVE )
type CELLULAR_CONFIG_RESPONSE ¶
type CELLULAR_CONFIG_RESPONSE = common.CELLULAR_CONFIG_RESPONSE
Possible responses from a CELLULAR_CONFIG message.
const ( // Changes accepted. CELLULAR_CONFIG_RESPONSE_ACCEPTED CELLULAR_CONFIG_RESPONSE = common.CELLULAR_CONFIG_RESPONSE_ACCEPTED // Invalid APN. CELLULAR_CONFIG_RESPONSE_APN_ERROR CELLULAR_CONFIG_RESPONSE = common.CELLULAR_CONFIG_RESPONSE_APN_ERROR // Invalid PIN. CELLULAR_CONFIG_RESPONSE_PIN_ERROR CELLULAR_CONFIG_RESPONSE = common.CELLULAR_CONFIG_RESPONSE_PIN_ERROR // Changes rejected. CELLULAR_CONFIG_RESPONSE_REJECTED CELLULAR_CONFIG_RESPONSE = common.CELLULAR_CONFIG_RESPONSE_REJECTED // PUK is required to unblock SIM card. CELLULAR_CONFIG_BLOCKED_PUK_REQUIRED CELLULAR_CONFIG_RESPONSE = common.CELLULAR_CONFIG_BLOCKED_PUK_REQUIRED )
type CELLULAR_NETWORK_FAILED_REASON ¶
type CELLULAR_NETWORK_FAILED_REASON = common.CELLULAR_NETWORK_FAILED_REASON
These flags are used to diagnose the failure state of CELLULAR_STATUS
const ( // No error CELLULAR_NETWORK_FAILED_REASON_NONE CELLULAR_NETWORK_FAILED_REASON = common.CELLULAR_NETWORK_FAILED_REASON_NONE // Error state is unknown CELLULAR_NETWORK_FAILED_REASON_UNKNOWN CELLULAR_NETWORK_FAILED_REASON = common.CELLULAR_NETWORK_FAILED_REASON_UNKNOWN // SIM is required for the modem but missing CELLULAR_NETWORK_FAILED_REASON_SIM_MISSING CELLULAR_NETWORK_FAILED_REASON = common.CELLULAR_NETWORK_FAILED_REASON_SIM_MISSING // SIM is available, but not usable for connection CELLULAR_NETWORK_FAILED_REASON_SIM_ERROR CELLULAR_NETWORK_FAILED_REASON = common.CELLULAR_NETWORK_FAILED_REASON_SIM_ERROR )
type CELLULAR_NETWORK_RADIO_TYPE ¶
type CELLULAR_NETWORK_RADIO_TYPE = common.CELLULAR_NETWORK_RADIO_TYPE
Cellular network radio type
const ( CELLULAR_NETWORK_RADIO_TYPE_NONE CELLULAR_NETWORK_RADIO_TYPE = common.CELLULAR_NETWORK_RADIO_TYPE_NONE CELLULAR_NETWORK_RADIO_TYPE_GSM CELLULAR_NETWORK_RADIO_TYPE = common.CELLULAR_NETWORK_RADIO_TYPE_GSM CELLULAR_NETWORK_RADIO_TYPE_CDMA CELLULAR_NETWORK_RADIO_TYPE = common.CELLULAR_NETWORK_RADIO_TYPE_CDMA CELLULAR_NETWORK_RADIO_TYPE_WCDMA CELLULAR_NETWORK_RADIO_TYPE = common.CELLULAR_NETWORK_RADIO_TYPE_WCDMA CELLULAR_NETWORK_RADIO_TYPE_LTE CELLULAR_NETWORK_RADIO_TYPE = common.CELLULAR_NETWORK_RADIO_TYPE_LTE )
type CELLULAR_STATUS_FLAG ¶
type CELLULAR_STATUS_FLAG = common.CELLULAR_STATUS_FLAG
These flags encode the cellular network status
const ( // State unknown or not reportable. CELLULAR_STATUS_FLAG_UNKNOWN CELLULAR_STATUS_FLAG = common.CELLULAR_STATUS_FLAG_UNKNOWN // Modem is unusable CELLULAR_STATUS_FLAG_FAILED CELLULAR_STATUS_FLAG = common.CELLULAR_STATUS_FLAG_FAILED // Modem is being initialized CELLULAR_STATUS_FLAG_INITIALIZING CELLULAR_STATUS_FLAG = common.CELLULAR_STATUS_FLAG_INITIALIZING // Modem is locked CELLULAR_STATUS_FLAG_LOCKED CELLULAR_STATUS_FLAG = common.CELLULAR_STATUS_FLAG_LOCKED // Modem is not enabled and is powered down CELLULAR_STATUS_FLAG_DISABLED CELLULAR_STATUS_FLAG = common.CELLULAR_STATUS_FLAG_DISABLED // Modem is currently transitioning to the CELLULAR_STATUS_FLAG_DISABLED state CELLULAR_STATUS_FLAG_DISABLING CELLULAR_STATUS_FLAG = common.CELLULAR_STATUS_FLAG_DISABLING // Modem is currently transitioning to the CELLULAR_STATUS_FLAG_ENABLED state CELLULAR_STATUS_FLAG_ENABLING CELLULAR_STATUS_FLAG = common.CELLULAR_STATUS_FLAG_ENABLING // Modem is enabled and powered on but not registered with a network provider and not available for data connections CELLULAR_STATUS_FLAG_ENABLED CELLULAR_STATUS_FLAG = common.CELLULAR_STATUS_FLAG_ENABLED // Modem is searching for a network provider to register CELLULAR_STATUS_FLAG_SEARCHING CELLULAR_STATUS_FLAG = common.CELLULAR_STATUS_FLAG_SEARCHING // Modem is registered with a network provider, and data connections and messaging may be available for use CELLULAR_STATUS_FLAG_REGISTERED CELLULAR_STATUS_FLAG = common.CELLULAR_STATUS_FLAG_REGISTERED // Modem is disconnecting and deactivating the last active packet data bearer. This state will not be entered if more than one packet data bearer is active and one of the active bearers is deactivated CELLULAR_STATUS_FLAG_DISCONNECTING CELLULAR_STATUS_FLAG = common.CELLULAR_STATUS_FLAG_DISCONNECTING // Modem is activating and connecting the first packet data bearer. Subsequent bearer activations when another bearer is already active do not cause this state to be entered CELLULAR_STATUS_FLAG_CONNECTING CELLULAR_STATUS_FLAG = common.CELLULAR_STATUS_FLAG_CONNECTING // One or more packet data bearers is active and connected CELLULAR_STATUS_FLAG_CONNECTED CELLULAR_STATUS_FLAG = common.CELLULAR_STATUS_FLAG_CONNECTED )
type COMP_METADATA_TYPE ¶
type COMP_METADATA_TYPE = common.COMP_METADATA_TYPE
Supported component metadata types. These are used in the "general" metadata file returned by COMPONENT_METADATA to provide information about supported metadata types. The types are not used directly in MAVLink messages.
const ( // General information about the component. General metadata includes information about other metadata types supported by the component. Files of this type must be supported, and must be downloadable from vehicle using a MAVLink FTP URI. COMP_METADATA_TYPE_GENERAL COMP_METADATA_TYPE = common.COMP_METADATA_TYPE_GENERAL // Parameter meta data. COMP_METADATA_TYPE_PARAMETER COMP_METADATA_TYPE = common.COMP_METADATA_TYPE_PARAMETER // Meta data that specifies which commands and command parameters the vehicle supports. (WIP) COMP_METADATA_TYPE_COMMANDS COMP_METADATA_TYPE = common.COMP_METADATA_TYPE_COMMANDS // Meta data that specifies external non-MAVLink peripherals. COMP_METADATA_TYPE_PERIPHERALS COMP_METADATA_TYPE = common.COMP_METADATA_TYPE_PERIPHERALS // Meta data for the events interface. COMP_METADATA_TYPE_EVENTS COMP_METADATA_TYPE = common.COMP_METADATA_TYPE_EVENTS // Meta data for actuator configuration (motors, servos and vehicle geometry) and testing. COMP_METADATA_TYPE_ACTUATORS COMP_METADATA_TYPE = common.COMP_METADATA_TYPE_ACTUATORS )
type ESC_CONNECTION_TYPE ¶
type ESC_CONNECTION_TYPE = common.ESC_CONNECTION_TYPE
Indicates the ESC connection type.
const ( // Traditional PPM ESC. ESC_CONNECTION_TYPE_PPM ESC_CONNECTION_TYPE = common.ESC_CONNECTION_TYPE_PPM // Serial Bus connected ESC. ESC_CONNECTION_TYPE_SERIAL ESC_CONNECTION_TYPE = common.ESC_CONNECTION_TYPE_SERIAL // One Shot PPM ESC. ESC_CONNECTION_TYPE_ONESHOT ESC_CONNECTION_TYPE = common.ESC_CONNECTION_TYPE_ONESHOT // I2C ESC. ESC_CONNECTION_TYPE_I2C ESC_CONNECTION_TYPE = common.ESC_CONNECTION_TYPE_I2C // CAN-Bus ESC. ESC_CONNECTION_TYPE_CAN ESC_CONNECTION_TYPE = common.ESC_CONNECTION_TYPE_CAN // DShot ESC. ESC_CONNECTION_TYPE_DSHOT ESC_CONNECTION_TYPE = common.ESC_CONNECTION_TYPE_DSHOT )
type ESC_FAILURE_FLAGS ¶
type ESC_FAILURE_FLAGS = common.ESC_FAILURE_FLAGS
Flags to report ESC failures.
const ( // No ESC failure. ESC_FAILURE_NONE ESC_FAILURE_FLAGS = common.ESC_FAILURE_NONE // Over current failure. ESC_FAILURE_OVER_CURRENT ESC_FAILURE_FLAGS = common.ESC_FAILURE_OVER_CURRENT // Over voltage failure. ESC_FAILURE_OVER_VOLTAGE ESC_FAILURE_FLAGS = common.ESC_FAILURE_OVER_VOLTAGE // Over temperature failure. ESC_FAILURE_OVER_TEMPERATURE ESC_FAILURE_FLAGS = common.ESC_FAILURE_OVER_TEMPERATURE // Over RPM failure. ESC_FAILURE_OVER_RPM ESC_FAILURE_FLAGS = common.ESC_FAILURE_OVER_RPM // Inconsistent command failure i.e. out of bounds. ESC_FAILURE_INCONSISTENT_CMD ESC_FAILURE_FLAGS = common.ESC_FAILURE_INCONSISTENT_CMD // Motor stuck failure. ESC_FAILURE_MOTOR_STUCK ESC_FAILURE_FLAGS = common.ESC_FAILURE_MOTOR_STUCK // Generic ESC failure. ESC_FAILURE_GENERIC ESC_FAILURE_FLAGS = common.ESC_FAILURE_GENERIC )
type ESTIMATOR_STATUS_FLAGS ¶
type ESTIMATOR_STATUS_FLAGS = common.ESTIMATOR_STATUS_FLAGS
Flags in ESTIMATOR_STATUS message
const ( // True if the attitude estimate is good ESTIMATOR_ATTITUDE ESTIMATOR_STATUS_FLAGS = common.ESTIMATOR_ATTITUDE // True if the horizontal velocity estimate is good ESTIMATOR_VELOCITY_HORIZ ESTIMATOR_STATUS_FLAGS = common.ESTIMATOR_VELOCITY_HORIZ // True if the vertical velocity estimate is good ESTIMATOR_VELOCITY_VERT ESTIMATOR_STATUS_FLAGS = common.ESTIMATOR_VELOCITY_VERT // True if the horizontal position (relative) estimate is good ESTIMATOR_POS_HORIZ_REL ESTIMATOR_STATUS_FLAGS = common.ESTIMATOR_POS_HORIZ_REL // True if the horizontal position (absolute) estimate is good ESTIMATOR_POS_HORIZ_ABS ESTIMATOR_STATUS_FLAGS = common.ESTIMATOR_POS_HORIZ_ABS // True if the vertical position (absolute) estimate is good ESTIMATOR_POS_VERT_ABS ESTIMATOR_STATUS_FLAGS = common.ESTIMATOR_POS_VERT_ABS // True if the vertical position (above ground) estimate is good ESTIMATOR_POS_VERT_AGL ESTIMATOR_STATUS_FLAGS = common.ESTIMATOR_POS_VERT_AGL // True if the EKF is in a constant position mode and is not using external measurements (eg GPS or optical flow) ESTIMATOR_CONST_POS_MODE ESTIMATOR_STATUS_FLAGS = common.ESTIMATOR_CONST_POS_MODE // True if the EKF has sufficient data to enter a mode that will provide a (relative) position estimate ESTIMATOR_PRED_POS_HORIZ_REL ESTIMATOR_STATUS_FLAGS = common.ESTIMATOR_PRED_POS_HORIZ_REL // True if the EKF has sufficient data to enter a mode that will provide a (absolute) position estimate ESTIMATOR_PRED_POS_HORIZ_ABS ESTIMATOR_STATUS_FLAGS = common.ESTIMATOR_PRED_POS_HORIZ_ABS // True if the EKF has detected a GPS glitch ESTIMATOR_GPS_GLITCH ESTIMATOR_STATUS_FLAGS = common.ESTIMATOR_GPS_GLITCH // True if the EKF has detected bad accelerometer data ESTIMATOR_ACCEL_ERROR ESTIMATOR_STATUS_FLAGS = common.ESTIMATOR_ACCEL_ERROR )
type FAILURE_TYPE ¶
type FAILURE_TYPE = common.FAILURE_TYPE
List of possible failure type to inject.
const ( // No failure injected, used to reset a previous failure. FAILURE_TYPE_OK FAILURE_TYPE = common.FAILURE_TYPE_OK // Sets unit off, so completely non-responsive. FAILURE_TYPE_OFF FAILURE_TYPE = common.FAILURE_TYPE_OFF // Unit is stuck e.g. keeps reporting the same value. FAILURE_TYPE_STUCK FAILURE_TYPE = common.FAILURE_TYPE_STUCK // Unit is reporting complete garbage. FAILURE_TYPE_GARBAGE FAILURE_TYPE = common.FAILURE_TYPE_GARBAGE // Unit is consistently wrong. FAILURE_TYPE_WRONG FAILURE_TYPE = common.FAILURE_TYPE_WRONG // Unit is slow, so e.g. reporting at slower than expected rate. FAILURE_TYPE_SLOW FAILURE_TYPE = common.FAILURE_TYPE_SLOW // Data of unit is delayed in time. FAILURE_TYPE_DELAYED FAILURE_TYPE = common.FAILURE_TYPE_DELAYED // Unit is sometimes working, sometimes not. FAILURE_TYPE_INTERMITTENT FAILURE_TYPE = common.FAILURE_TYPE_INTERMITTENT )
type FAILURE_UNIT ¶
type FAILURE_UNIT = common.FAILURE_UNIT
List of possible units where failures can be injected.
const ( FAILURE_UNIT_SENSOR_GYRO FAILURE_UNIT = common.FAILURE_UNIT_SENSOR_GYRO FAILURE_UNIT_SENSOR_ACCEL FAILURE_UNIT = common.FAILURE_UNIT_SENSOR_ACCEL FAILURE_UNIT_SENSOR_MAG FAILURE_UNIT = common.FAILURE_UNIT_SENSOR_MAG FAILURE_UNIT_SENSOR_BARO FAILURE_UNIT = common.FAILURE_UNIT_SENSOR_BARO FAILURE_UNIT_SENSOR_GPS FAILURE_UNIT = common.FAILURE_UNIT_SENSOR_GPS FAILURE_UNIT_SENSOR_OPTICAL_FLOW FAILURE_UNIT = common.FAILURE_UNIT_SENSOR_OPTICAL_FLOW FAILURE_UNIT_SENSOR_VIO FAILURE_UNIT = common.FAILURE_UNIT_SENSOR_VIO FAILURE_UNIT_SENSOR_DISTANCE_SENSOR FAILURE_UNIT = common.FAILURE_UNIT_SENSOR_DISTANCE_SENSOR FAILURE_UNIT_SENSOR_AIRSPEED FAILURE_UNIT = common.FAILURE_UNIT_SENSOR_AIRSPEED FAILURE_UNIT_SYSTEM_BATTERY FAILURE_UNIT = common.FAILURE_UNIT_SYSTEM_BATTERY FAILURE_UNIT_SYSTEM_MOTOR FAILURE_UNIT = common.FAILURE_UNIT_SYSTEM_MOTOR FAILURE_UNIT_SYSTEM_SERVO FAILURE_UNIT = common.FAILURE_UNIT_SYSTEM_SERVO FAILURE_UNIT_SYSTEM_AVOIDANCE FAILURE_UNIT = common.FAILURE_UNIT_SYSTEM_AVOIDANCE FAILURE_UNIT_SYSTEM_RC_SIGNAL FAILURE_UNIT = common.FAILURE_UNIT_SYSTEM_RC_SIGNAL FAILURE_UNIT_SYSTEM_MAVLINK_SIGNAL FAILURE_UNIT = common.FAILURE_UNIT_SYSTEM_MAVLINK_SIGNAL )
type FENCE_ACTION ¶
type FENCE_ACTION = common.FENCE_ACTION
Actions following geofence breach.
const ( // Disable fenced mode. If used in a plan this would mean the next fence is disabled. FENCE_ACTION_NONE FENCE_ACTION = common.FENCE_ACTION_NONE // 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. FENCE_ACTION_GUIDED FENCE_ACTION = common.FENCE_ACTION_GUIDED // Report fence breach, but don't take action FENCE_ACTION_REPORT FENCE_ACTION = common.FENCE_ACTION_REPORT // 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. FENCE_ACTION_GUIDED_THR_PASS FENCE_ACTION = common.FENCE_ACTION_GUIDED_THR_PASS // Return/RTL mode. FENCE_ACTION_RTL FENCE_ACTION = common.FENCE_ACTION_RTL // Hold at current location. FENCE_ACTION_HOLD FENCE_ACTION = common.FENCE_ACTION_HOLD // Termination failsafe. Motors are shut down (some flight stacks may trigger other failsafe actions). FENCE_ACTION_TERMINATE FENCE_ACTION = common.FENCE_ACTION_TERMINATE // Land at current location. FENCE_ACTION_LAND FENCE_ACTION = common.FENCE_ACTION_LAND )
type FENCE_BREACH ¶
type FENCE_BREACH = common.FENCE_BREACH
const ( // No last fence breach FENCE_BREACH_NONE FENCE_BREACH = common.FENCE_BREACH_NONE // Breached minimum altitude FENCE_BREACH_MINALT FENCE_BREACH = common.FENCE_BREACH_MINALT // Breached maximum altitude FENCE_BREACH_MAXALT FENCE_BREACH = common.FENCE_BREACH_MAXALT // Breached fence boundary FENCE_BREACH_BOUNDARY FENCE_BREACH = common.FENCE_BREACH_BOUNDARY )
type FENCE_MITIGATE ¶
type FENCE_MITIGATE = common.FENCE_MITIGATE
Actions being taken to mitigate/prevent fence breach
const ( // Unknown FENCE_MITIGATE_UNKNOWN FENCE_MITIGATE = common.FENCE_MITIGATE_UNKNOWN // No actions being taken FENCE_MITIGATE_NONE FENCE_MITIGATE = common.FENCE_MITIGATE_NONE // Velocity limiting active to prevent breach FENCE_MITIGATE_VEL_LIMIT FENCE_MITIGATE = common.FENCE_MITIGATE_VEL_LIMIT )
type FIRMWARE_VERSION_TYPE ¶
type FIRMWARE_VERSION_TYPE = common.FIRMWARE_VERSION_TYPE
These values define the type of firmware release. These values indicate the first version or release of this type. For example the first alpha release would be 64, the second would be 65.
const ( // development release FIRMWARE_VERSION_TYPE_DEV FIRMWARE_VERSION_TYPE = common.FIRMWARE_VERSION_TYPE_DEV // alpha release FIRMWARE_VERSION_TYPE_ALPHA FIRMWARE_VERSION_TYPE = common.FIRMWARE_VERSION_TYPE_ALPHA // beta release FIRMWARE_VERSION_TYPE_BETA FIRMWARE_VERSION_TYPE = common.FIRMWARE_VERSION_TYPE_BETA // release candidate FIRMWARE_VERSION_TYPE_RC FIRMWARE_VERSION_TYPE = common.FIRMWARE_VERSION_TYPE_RC // official stable release FIRMWARE_VERSION_TYPE_OFFICIAL FIRMWARE_VERSION_TYPE = common.FIRMWARE_VERSION_TYPE_OFFICIAL )
type GIMBAL_DEVICE_CAP_FLAGS ¶
type GIMBAL_DEVICE_CAP_FLAGS = common.GIMBAL_DEVICE_CAP_FLAGS
Gimbal device (low level) capability flags (bitmap).
const ( // Gimbal device supports a retracted position. GIMBAL_DEVICE_CAP_FLAGS_HAS_RETRACT GIMBAL_DEVICE_CAP_FLAGS = common.GIMBAL_DEVICE_CAP_FLAGS_HAS_RETRACT // Gimbal device supports a horizontal, forward looking position, stabilized. GIMBAL_DEVICE_CAP_FLAGS_HAS_NEUTRAL GIMBAL_DEVICE_CAP_FLAGS = common.GIMBAL_DEVICE_CAP_FLAGS_HAS_NEUTRAL // Gimbal device supports rotating around roll axis. GIMBAL_DEVICE_CAP_FLAGS_HAS_ROLL_AXIS GIMBAL_DEVICE_CAP_FLAGS = common.GIMBAL_DEVICE_CAP_FLAGS_HAS_ROLL_AXIS // Gimbal device supports to follow a roll angle relative to the vehicle. GIMBAL_DEVICE_CAP_FLAGS_HAS_ROLL_FOLLOW GIMBAL_DEVICE_CAP_FLAGS = common.GIMBAL_DEVICE_CAP_FLAGS_HAS_ROLL_FOLLOW // Gimbal device supports locking to a roll angle (generally that's the default with roll stabilized). GIMBAL_DEVICE_CAP_FLAGS_HAS_ROLL_LOCK GIMBAL_DEVICE_CAP_FLAGS = common.GIMBAL_DEVICE_CAP_FLAGS_HAS_ROLL_LOCK // Gimbal device supports rotating around pitch axis. GIMBAL_DEVICE_CAP_FLAGS_HAS_PITCH_AXIS GIMBAL_DEVICE_CAP_FLAGS = common.GIMBAL_DEVICE_CAP_FLAGS_HAS_PITCH_AXIS // Gimbal device supports to follow a pitch angle relative to the vehicle. GIMBAL_DEVICE_CAP_FLAGS_HAS_PITCH_FOLLOW GIMBAL_DEVICE_CAP_FLAGS = common.GIMBAL_DEVICE_CAP_FLAGS_HAS_PITCH_FOLLOW // Gimbal device supports locking to a pitch angle (generally that's the default with pitch stabilized). GIMBAL_DEVICE_CAP_FLAGS_HAS_PITCH_LOCK GIMBAL_DEVICE_CAP_FLAGS = common.GIMBAL_DEVICE_CAP_FLAGS_HAS_PITCH_LOCK // Gimbal device supports rotating around yaw axis. GIMBAL_DEVICE_CAP_FLAGS_HAS_YAW_AXIS GIMBAL_DEVICE_CAP_FLAGS = common.GIMBAL_DEVICE_CAP_FLAGS_HAS_YAW_AXIS // Gimbal device supports to follow a yaw angle relative to the vehicle (generally that's the default). GIMBAL_DEVICE_CAP_FLAGS_HAS_YAW_FOLLOW GIMBAL_DEVICE_CAP_FLAGS = common.GIMBAL_DEVICE_CAP_FLAGS_HAS_YAW_FOLLOW // Gimbal device supports locking to an absolute heading, i.e., yaw angle relative to North (earth frame, often this is an option available). GIMBAL_DEVICE_CAP_FLAGS_HAS_YAW_LOCK GIMBAL_DEVICE_CAP_FLAGS = common.GIMBAL_DEVICE_CAP_FLAGS_HAS_YAW_LOCK // Gimbal device supports yawing/panning infinetely (e.g. using slip disk). GIMBAL_DEVICE_CAP_FLAGS_SUPPORTS_INFINITE_YAW GIMBAL_DEVICE_CAP_FLAGS = common.GIMBAL_DEVICE_CAP_FLAGS_SUPPORTS_INFINITE_YAW // Gimbal device supports yaw angles and angular velocities relative to North (earth frame). This usually requires support by an autopilot via AUTOPILOT_STATE_FOR_GIMBAL_DEVICE. Support can go on and off during runtime, which is reported by the flag GIMBAL_DEVICE_FLAGS_CAN_ACCEPT_YAW_IN_EARTH_FRAME. GIMBAL_DEVICE_CAP_FLAGS_SUPPORTS_YAW_IN_EARTH_FRAME GIMBAL_DEVICE_CAP_FLAGS = common.GIMBAL_DEVICE_CAP_FLAGS_SUPPORTS_YAW_IN_EARTH_FRAME // Gimbal device supports radio control inputs as an alternative input for controlling the gimbal orientation. GIMBAL_DEVICE_CAP_FLAGS_HAS_RC_INPUTS GIMBAL_DEVICE_CAP_FLAGS = common.GIMBAL_DEVICE_CAP_FLAGS_HAS_RC_INPUTS )
type GIMBAL_DEVICE_ERROR_FLAGS ¶
type GIMBAL_DEVICE_ERROR_FLAGS = common.GIMBAL_DEVICE_ERROR_FLAGS
Gimbal device (low level) error flags (bitmap, 0 means no error)
const ( // Gimbal device is limited by hardware roll limit. GIMBAL_DEVICE_ERROR_FLAGS_AT_ROLL_LIMIT GIMBAL_DEVICE_ERROR_FLAGS = common.GIMBAL_DEVICE_ERROR_FLAGS_AT_ROLL_LIMIT // Gimbal device is limited by hardware pitch limit. GIMBAL_DEVICE_ERROR_FLAGS_AT_PITCH_LIMIT GIMBAL_DEVICE_ERROR_FLAGS = common.GIMBAL_DEVICE_ERROR_FLAGS_AT_PITCH_LIMIT // Gimbal device is limited by hardware yaw limit. GIMBAL_DEVICE_ERROR_FLAGS_AT_YAW_LIMIT GIMBAL_DEVICE_ERROR_FLAGS = common.GIMBAL_DEVICE_ERROR_FLAGS_AT_YAW_LIMIT // There is an error with the gimbal encoders. GIMBAL_DEVICE_ERROR_FLAGS_ENCODER_ERROR GIMBAL_DEVICE_ERROR_FLAGS = common.GIMBAL_DEVICE_ERROR_FLAGS_ENCODER_ERROR // There is an error with the gimbal power source. GIMBAL_DEVICE_ERROR_FLAGS_POWER_ERROR GIMBAL_DEVICE_ERROR_FLAGS = common.GIMBAL_DEVICE_ERROR_FLAGS_POWER_ERROR // There is an error with the gimbal motors. GIMBAL_DEVICE_ERROR_FLAGS_MOTOR_ERROR GIMBAL_DEVICE_ERROR_FLAGS = common.GIMBAL_DEVICE_ERROR_FLAGS_MOTOR_ERROR // There is an error with the gimbal's software. GIMBAL_DEVICE_ERROR_FLAGS_SOFTWARE_ERROR GIMBAL_DEVICE_ERROR_FLAGS = common.GIMBAL_DEVICE_ERROR_FLAGS_SOFTWARE_ERROR // There is an error with the gimbal's communication. GIMBAL_DEVICE_ERROR_FLAGS_COMMS_ERROR GIMBAL_DEVICE_ERROR_FLAGS = common.GIMBAL_DEVICE_ERROR_FLAGS_COMMS_ERROR // Gimbal device is currently calibrating. GIMBAL_DEVICE_ERROR_FLAGS_CALIBRATION_RUNNING GIMBAL_DEVICE_ERROR_FLAGS = common.GIMBAL_DEVICE_ERROR_FLAGS_CALIBRATION_RUNNING // Gimbal device is not assigned to a gimbal manager. GIMBAL_DEVICE_ERROR_FLAGS_NO_MANAGER GIMBAL_DEVICE_ERROR_FLAGS = common.GIMBAL_DEVICE_ERROR_FLAGS_NO_MANAGER )
type GIMBAL_DEVICE_FLAGS ¶
type GIMBAL_DEVICE_FLAGS = common.GIMBAL_DEVICE_FLAGS
Flags for gimbal device (lower level) operation.
const ( // Set to retracted safe position (no stabilization), takes presedence over all other flags. GIMBAL_DEVICE_FLAGS_RETRACT GIMBAL_DEVICE_FLAGS = common.GIMBAL_DEVICE_FLAGS_RETRACT // Set to neutral/default position, taking precedence over all other flags except RETRACT. Neutral is commonly forward-facing and horizontal (roll=pitch=yaw=0) but may be any orientation. GIMBAL_DEVICE_FLAGS_NEUTRAL GIMBAL_DEVICE_FLAGS = common.GIMBAL_DEVICE_FLAGS_NEUTRAL // Lock roll angle to absolute angle relative to horizon (not relative to vehicle). This is generally the default with a stabilizing gimbal. GIMBAL_DEVICE_FLAGS_ROLL_LOCK GIMBAL_DEVICE_FLAGS = common.GIMBAL_DEVICE_FLAGS_ROLL_LOCK // Lock pitch angle to absolute angle relative to horizon (not relative to vehicle). This is generally the default with a stabilizing gimbal. GIMBAL_DEVICE_FLAGS_PITCH_LOCK GIMBAL_DEVICE_FLAGS = common.GIMBAL_DEVICE_FLAGS_PITCH_LOCK // Lock yaw angle to absolute angle relative to North (not relative to vehicle). If this flag is set, the yaw angle and z component of angular velocity are relative to North (earth frame, x-axis pointing North), else they are relative to the vehicle heading (vehicle frame, earth frame rotated so that the x-axis is pointing forward). GIMBAL_DEVICE_FLAGS_YAW_LOCK GIMBAL_DEVICE_FLAGS = common.GIMBAL_DEVICE_FLAGS_YAW_LOCK // Yaw angle and z component of angular velocity are relative to the vehicle heading (vehicle frame, earth frame rotated such that the x-axis is pointing forward). GIMBAL_DEVICE_FLAGS_YAW_IN_VEHICLE_FRAME GIMBAL_DEVICE_FLAGS = common.GIMBAL_DEVICE_FLAGS_YAW_IN_VEHICLE_FRAME // Yaw angle and z component of angular velocity are relative to North (earth frame, x-axis is pointing North). GIMBAL_DEVICE_FLAGS_YAW_IN_EARTH_FRAME GIMBAL_DEVICE_FLAGS = common.GIMBAL_DEVICE_FLAGS_YAW_IN_EARTH_FRAME // Gimbal device can accept yaw angle inputs relative to North (earth frame). This flag is only for reporting (attempts to set this flag are ignored). GIMBAL_DEVICE_FLAGS_ACCEPTS_YAW_IN_EARTH_FRAME GIMBAL_DEVICE_FLAGS = common.GIMBAL_DEVICE_FLAGS_ACCEPTS_YAW_IN_EARTH_FRAME // The gimbal orientation is set exclusively by the RC signals feed to the gimbal's radio control inputs. MAVLink messages for setting the gimbal orientation (GIMBAL_DEVICE_SET_ATTITUDE) are ignored. GIMBAL_DEVICE_FLAGS_RC_EXCLUSIVE GIMBAL_DEVICE_FLAGS = common.GIMBAL_DEVICE_FLAGS_RC_EXCLUSIVE // The gimbal orientation is determined by combining/mixing the RC signals feed to the gimbal's radio control inputs and the MAVLink messages for setting the gimbal orientation (GIMBAL_DEVICE_SET_ATTITUDE). How these two controls are combined or mixed is not defined by the protocol but is up to the implementation. GIMBAL_DEVICE_FLAGS_RC_MIXED GIMBAL_DEVICE_FLAGS = common.GIMBAL_DEVICE_FLAGS_RC_MIXED )
type GIMBAL_MANAGER_CAP_FLAGS ¶
type GIMBAL_MANAGER_CAP_FLAGS = common.GIMBAL_MANAGER_CAP_FLAGS
Gimbal manager high level capability flags (bitmap). The first 16 bits are identical to the GIMBAL_DEVICE_CAP_FLAGS. However, the gimbal manager does not need to copy the flags from the gimbal but can also enhance the capabilities and thus add flags.
const ( // Based on GIMBAL_DEVICE_CAP_FLAGS_HAS_RETRACT. GIMBAL_MANAGER_CAP_FLAGS_HAS_RETRACT GIMBAL_MANAGER_CAP_FLAGS = common.GIMBAL_MANAGER_CAP_FLAGS_HAS_RETRACT // Based on GIMBAL_DEVICE_CAP_FLAGS_HAS_NEUTRAL. GIMBAL_MANAGER_CAP_FLAGS_HAS_NEUTRAL GIMBAL_MANAGER_CAP_FLAGS = common.GIMBAL_MANAGER_CAP_FLAGS_HAS_NEUTRAL // Based on GIMBAL_DEVICE_CAP_FLAGS_HAS_ROLL_AXIS. GIMBAL_MANAGER_CAP_FLAGS_HAS_ROLL_AXIS GIMBAL_MANAGER_CAP_FLAGS = common.GIMBAL_MANAGER_CAP_FLAGS_HAS_ROLL_AXIS // Based on GIMBAL_DEVICE_CAP_FLAGS_HAS_ROLL_FOLLOW. GIMBAL_MANAGER_CAP_FLAGS_HAS_ROLL_FOLLOW GIMBAL_MANAGER_CAP_FLAGS = common.GIMBAL_MANAGER_CAP_FLAGS_HAS_ROLL_FOLLOW // Based on GIMBAL_DEVICE_CAP_FLAGS_HAS_ROLL_LOCK. GIMBAL_MANAGER_CAP_FLAGS_HAS_ROLL_LOCK GIMBAL_MANAGER_CAP_FLAGS = common.GIMBAL_MANAGER_CAP_FLAGS_HAS_ROLL_LOCK // Based on GIMBAL_DEVICE_CAP_FLAGS_HAS_PITCH_AXIS. GIMBAL_MANAGER_CAP_FLAGS_HAS_PITCH_AXIS GIMBAL_MANAGER_CAP_FLAGS = common.GIMBAL_MANAGER_CAP_FLAGS_HAS_PITCH_AXIS // Based on GIMBAL_DEVICE_CAP_FLAGS_HAS_PITCH_FOLLOW. GIMBAL_MANAGER_CAP_FLAGS_HAS_PITCH_FOLLOW GIMBAL_MANAGER_CAP_FLAGS = common.GIMBAL_MANAGER_CAP_FLAGS_HAS_PITCH_FOLLOW // Based on GIMBAL_DEVICE_CAP_FLAGS_HAS_PITCH_LOCK. GIMBAL_MANAGER_CAP_FLAGS_HAS_PITCH_LOCK GIMBAL_MANAGER_CAP_FLAGS = common.GIMBAL_MANAGER_CAP_FLAGS_HAS_PITCH_LOCK // Based on GIMBAL_DEVICE_CAP_FLAGS_HAS_YAW_AXIS. GIMBAL_MANAGER_CAP_FLAGS_HAS_YAW_AXIS GIMBAL_MANAGER_CAP_FLAGS = common.GIMBAL_MANAGER_CAP_FLAGS_HAS_YAW_AXIS // Based on GIMBAL_DEVICE_CAP_FLAGS_HAS_YAW_FOLLOW. GIMBAL_MANAGER_CAP_FLAGS_HAS_YAW_FOLLOW GIMBAL_MANAGER_CAP_FLAGS = common.GIMBAL_MANAGER_CAP_FLAGS_HAS_YAW_FOLLOW // Based on GIMBAL_DEVICE_CAP_FLAGS_HAS_YAW_LOCK. GIMBAL_MANAGER_CAP_FLAGS_HAS_YAW_LOCK GIMBAL_MANAGER_CAP_FLAGS = common.GIMBAL_MANAGER_CAP_FLAGS_HAS_YAW_LOCK // Based on GIMBAL_DEVICE_CAP_FLAGS_SUPPORTS_INFINITE_YAW. GIMBAL_MANAGER_CAP_FLAGS_SUPPORTS_INFINITE_YAW GIMBAL_MANAGER_CAP_FLAGS = common.GIMBAL_MANAGER_CAP_FLAGS_SUPPORTS_INFINITE_YAW // Based on GIMBAL_DEVICE_CAP_FLAGS_SUPPORTS_YAW_IN_EARTH_FRAME. GIMBAL_MANAGER_CAP_FLAGS_SUPPORTS_YAW_IN_EARTH_FRAME GIMBAL_MANAGER_CAP_FLAGS = common.GIMBAL_MANAGER_CAP_FLAGS_SUPPORTS_YAW_IN_EARTH_FRAME // Based on GIMBAL_DEVICE_CAP_FLAGS_HAS_RC_INPUTS. GIMBAL_MANAGER_CAP_FLAGS_HAS_RC_INPUTS GIMBAL_MANAGER_CAP_FLAGS = common.GIMBAL_MANAGER_CAP_FLAGS_HAS_RC_INPUTS // Gimbal manager supports to point to a local position. GIMBAL_MANAGER_CAP_FLAGS_CAN_POINT_LOCATION_LOCAL GIMBAL_MANAGER_CAP_FLAGS = common.GIMBAL_MANAGER_CAP_FLAGS_CAN_POINT_LOCATION_LOCAL // Gimbal manager supports to point to a global latitude, longitude, altitude position. GIMBAL_MANAGER_CAP_FLAGS_CAN_POINT_LOCATION_GLOBAL GIMBAL_MANAGER_CAP_FLAGS = common.GIMBAL_MANAGER_CAP_FLAGS_CAN_POINT_LOCATION_GLOBAL )
type GIMBAL_MANAGER_FLAGS ¶
type GIMBAL_MANAGER_FLAGS = common.GIMBAL_MANAGER_FLAGS
Flags for high level gimbal manager operation The first 16 bits are identical to the GIMBAL_DEVICE_FLAGS.
const ( // Based on GIMBAL_DEVICE_FLAGS_RETRACT. GIMBAL_MANAGER_FLAGS_RETRACT GIMBAL_MANAGER_FLAGS = common.GIMBAL_MANAGER_FLAGS_RETRACT // Based on GIMBAL_DEVICE_FLAGS_NEUTRAL. GIMBAL_MANAGER_FLAGS_NEUTRAL GIMBAL_MANAGER_FLAGS = common.GIMBAL_MANAGER_FLAGS_NEUTRAL // Based on GIMBAL_DEVICE_FLAGS_ROLL_LOCK. GIMBAL_MANAGER_FLAGS_ROLL_LOCK GIMBAL_MANAGER_FLAGS = common.GIMBAL_MANAGER_FLAGS_ROLL_LOCK // Based on GIMBAL_DEVICE_FLAGS_PITCH_LOCK. GIMBAL_MANAGER_FLAGS_PITCH_LOCK GIMBAL_MANAGER_FLAGS = common.GIMBAL_MANAGER_FLAGS_PITCH_LOCK // Based on GIMBAL_DEVICE_FLAGS_YAW_LOCK. GIMBAL_MANAGER_FLAGS_YAW_LOCK GIMBAL_MANAGER_FLAGS = common.GIMBAL_MANAGER_FLAGS_YAW_LOCK // Based on GIMBAL_DEVICE_FLAGS_YAW_IN_VEHICLE_FRAME. GIMBAL_MANAGER_FLAGS_YAW_IN_VEHICLE_FRAME GIMBAL_MANAGER_FLAGS = common.GIMBAL_MANAGER_FLAGS_YAW_IN_VEHICLE_FRAME // Based on GIMBAL_DEVICE_FLAGS_YAW_IN_EARTH_FRAME. GIMBAL_MANAGER_FLAGS_YAW_IN_EARTH_FRAME GIMBAL_MANAGER_FLAGS = common.GIMBAL_MANAGER_FLAGS_YAW_IN_EARTH_FRAME // Based on GIMBAL_DEVICE_FLAGS_ACCEPTS_YAW_IN_EARTH_FRAME. GIMBAL_MANAGER_FLAGS_ACCEPTS_YAW_IN_EARTH_FRAME GIMBAL_MANAGER_FLAGS = common.GIMBAL_MANAGER_FLAGS_ACCEPTS_YAW_IN_EARTH_FRAME // Based on GIMBAL_DEVICE_FLAGS_RC_EXCLUSIVE. GIMBAL_MANAGER_FLAGS_RC_EXCLUSIVE GIMBAL_MANAGER_FLAGS = common.GIMBAL_MANAGER_FLAGS_RC_EXCLUSIVE // Based on GIMBAL_DEVICE_FLAGS_RC_MIXED. GIMBAL_MANAGER_FLAGS_RC_MIXED GIMBAL_MANAGER_FLAGS = common.GIMBAL_MANAGER_FLAGS_RC_MIXED )
type GPS_FIX_TYPE ¶
type GPS_FIX_TYPE = common.GPS_FIX_TYPE
Type of GPS fix
const ( // No GPS connected GPS_FIX_TYPE_NO_GPS GPS_FIX_TYPE = common.GPS_FIX_TYPE_NO_GPS // No position information, GPS is connected GPS_FIX_TYPE_NO_FIX GPS_FIX_TYPE = common.GPS_FIX_TYPE_NO_FIX // 2D position GPS_FIX_TYPE_2D_FIX GPS_FIX_TYPE = common.GPS_FIX_TYPE_2D_FIX // 3D position GPS_FIX_TYPE_3D_FIX GPS_FIX_TYPE = common.GPS_FIX_TYPE_3D_FIX // DGPS/SBAS aided 3D position GPS_FIX_TYPE_DGPS GPS_FIX_TYPE = common.GPS_FIX_TYPE_DGPS // RTK float, 3D position GPS_FIX_TYPE_RTK_FLOAT GPS_FIX_TYPE = common.GPS_FIX_TYPE_RTK_FLOAT // RTK Fixed, 3D position GPS_FIX_TYPE_RTK_FIXED GPS_FIX_TYPE = common.GPS_FIX_TYPE_RTK_FIXED // Static fixed, typically used for base stations GPS_FIX_TYPE_STATIC GPS_FIX_TYPE = common.GPS_FIX_TYPE_STATIC // PPP, 3D position. GPS_FIX_TYPE_PPP GPS_FIX_TYPE = common.GPS_FIX_TYPE_PPP )
type GPS_INPUT_IGNORE_FLAGS ¶
type GPS_INPUT_IGNORE_FLAGS = common.GPS_INPUT_IGNORE_FLAGS
const ( // ignore altitude field GPS_INPUT_IGNORE_FLAG_ALT GPS_INPUT_IGNORE_FLAGS = common.GPS_INPUT_IGNORE_FLAG_ALT // ignore hdop field GPS_INPUT_IGNORE_FLAG_HDOP GPS_INPUT_IGNORE_FLAGS = common.GPS_INPUT_IGNORE_FLAG_HDOP // ignore vdop field GPS_INPUT_IGNORE_FLAG_VDOP GPS_INPUT_IGNORE_FLAGS = common.GPS_INPUT_IGNORE_FLAG_VDOP // ignore horizontal velocity field (vn and ve) GPS_INPUT_IGNORE_FLAG_VEL_HORIZ GPS_INPUT_IGNORE_FLAGS = common.GPS_INPUT_IGNORE_FLAG_VEL_HORIZ // ignore vertical velocity field (vd) GPS_INPUT_IGNORE_FLAG_VEL_VERT GPS_INPUT_IGNORE_FLAGS = common.GPS_INPUT_IGNORE_FLAG_VEL_VERT // ignore speed accuracy field GPS_INPUT_IGNORE_FLAG_SPEED_ACCURACY GPS_INPUT_IGNORE_FLAGS = common.GPS_INPUT_IGNORE_FLAG_SPEED_ACCURACY // ignore horizontal accuracy field GPS_INPUT_IGNORE_FLAG_HORIZONTAL_ACCURACY GPS_INPUT_IGNORE_FLAGS = common.GPS_INPUT_IGNORE_FLAG_HORIZONTAL_ACCURACY // ignore vertical accuracy field GPS_INPUT_IGNORE_FLAG_VERTICAL_ACCURACY GPS_INPUT_IGNORE_FLAGS = common.GPS_INPUT_IGNORE_FLAG_VERTICAL_ACCURACY )
type GRIPPER_ACTIONS ¶
type GRIPPER_ACTIONS = common.GRIPPER_ACTIONS
Gripper actions.
const ( // Gripper release cargo. GRIPPER_ACTION_RELEASE GRIPPER_ACTIONS = common.GRIPPER_ACTION_RELEASE // Gripper grab onto cargo. GRIPPER_ACTION_GRAB GRIPPER_ACTIONS = common.GRIPPER_ACTION_GRAB )
type HIGHRES_IMU_UPDATED_FLAGS ¶
type HIGHRES_IMU_UPDATED_FLAGS = common.HIGHRES_IMU_UPDATED_FLAGS
Flags in the HIGHRES_IMU message indicate which fields have updated since the last message
const ( // None of the fields in HIGHRES_IMU have been updated HIGHRES_IMU_UPDATED_NONE HIGHRES_IMU_UPDATED_FLAGS = common.HIGHRES_IMU_UPDATED_NONE // The value in the xacc field has been updated HIGHRES_IMU_UPDATED_XACC HIGHRES_IMU_UPDATED_FLAGS = common.HIGHRES_IMU_UPDATED_XACC // The value in the yacc field has been updated HIGHRES_IMU_UPDATED_YACC HIGHRES_IMU_UPDATED_FLAGS = common.HIGHRES_IMU_UPDATED_YACC // The value in the zacc field has been updated since HIGHRES_IMU_UPDATED_ZACC HIGHRES_IMU_UPDATED_FLAGS = common.HIGHRES_IMU_UPDATED_ZACC // The value in the xgyro field has been updated HIGHRES_IMU_UPDATED_XGYRO HIGHRES_IMU_UPDATED_FLAGS = common.HIGHRES_IMU_UPDATED_XGYRO // The value in the ygyro field has been updated HIGHRES_IMU_UPDATED_YGYRO HIGHRES_IMU_UPDATED_FLAGS = common.HIGHRES_IMU_UPDATED_YGYRO // The value in the zgyro field has been updated HIGHRES_IMU_UPDATED_ZGYRO HIGHRES_IMU_UPDATED_FLAGS = common.HIGHRES_IMU_UPDATED_ZGYRO // The value in the xmag field has been updated HIGHRES_IMU_UPDATED_XMAG HIGHRES_IMU_UPDATED_FLAGS = common.HIGHRES_IMU_UPDATED_XMAG // The value in the ymag field has been updated HIGHRES_IMU_UPDATED_YMAG HIGHRES_IMU_UPDATED_FLAGS = common.HIGHRES_IMU_UPDATED_YMAG // The value in the zmag field has been updated HIGHRES_IMU_UPDATED_ZMAG HIGHRES_IMU_UPDATED_FLAGS = common.HIGHRES_IMU_UPDATED_ZMAG // The value in the abs_pressure field has been updated HIGHRES_IMU_UPDATED_ABS_PRESSURE HIGHRES_IMU_UPDATED_FLAGS = common.HIGHRES_IMU_UPDATED_ABS_PRESSURE // The value in the diff_pressure field has been updated HIGHRES_IMU_UPDATED_DIFF_PRESSURE HIGHRES_IMU_UPDATED_FLAGS = common.HIGHRES_IMU_UPDATED_DIFF_PRESSURE // The value in the pressure_alt field has been updated HIGHRES_IMU_UPDATED_PRESSURE_ALT HIGHRES_IMU_UPDATED_FLAGS = common.HIGHRES_IMU_UPDATED_PRESSURE_ALT // The value in the temperature field has been updated HIGHRES_IMU_UPDATED_TEMPERATURE HIGHRES_IMU_UPDATED_FLAGS = common.HIGHRES_IMU_UPDATED_TEMPERATURE // All fields in HIGHRES_IMU have been updated. HIGHRES_IMU_UPDATED_ALL HIGHRES_IMU_UPDATED_FLAGS = common.HIGHRES_IMU_UPDATED_ALL )
type HIL_SENSOR_UPDATED_FLAGS ¶
type HIL_SENSOR_UPDATED_FLAGS = common.HIL_SENSOR_UPDATED_FLAGS
Flags in the HIL_SENSOR message indicate which fields have updated since the last message
const ( // None of the fields in HIL_SENSOR have been updated HIL_SENSOR_UPDATED_NONE HIL_SENSOR_UPDATED_FLAGS = common.HIL_SENSOR_UPDATED_NONE // The value in the xacc field has been updated HIL_SENSOR_UPDATED_XACC HIL_SENSOR_UPDATED_FLAGS = common.HIL_SENSOR_UPDATED_XACC // The value in the yacc field has been updated HIL_SENSOR_UPDATED_YACC HIL_SENSOR_UPDATED_FLAGS = common.HIL_SENSOR_UPDATED_YACC // The value in the zacc field has been updated HIL_SENSOR_UPDATED_ZACC HIL_SENSOR_UPDATED_FLAGS = common.HIL_SENSOR_UPDATED_ZACC // The value in the xgyro field has been updated HIL_SENSOR_UPDATED_XGYRO HIL_SENSOR_UPDATED_FLAGS = common.HIL_SENSOR_UPDATED_XGYRO // The value in the ygyro field has been updated HIL_SENSOR_UPDATED_YGYRO HIL_SENSOR_UPDATED_FLAGS = common.HIL_SENSOR_UPDATED_YGYRO // The value in the zgyro field has been updated HIL_SENSOR_UPDATED_ZGYRO HIL_SENSOR_UPDATED_FLAGS = common.HIL_SENSOR_UPDATED_ZGYRO // The value in the xmag field has been updated HIL_SENSOR_UPDATED_XMAG HIL_SENSOR_UPDATED_FLAGS = common.HIL_SENSOR_UPDATED_XMAG // The value in the ymag field has been updated HIL_SENSOR_UPDATED_YMAG HIL_SENSOR_UPDATED_FLAGS = common.HIL_SENSOR_UPDATED_YMAG // The value in the zmag field has been updated HIL_SENSOR_UPDATED_ZMAG HIL_SENSOR_UPDATED_FLAGS = common.HIL_SENSOR_UPDATED_ZMAG // The value in the abs_pressure field has been updated HIL_SENSOR_UPDATED_ABS_PRESSURE HIL_SENSOR_UPDATED_FLAGS = common.HIL_SENSOR_UPDATED_ABS_PRESSURE // The value in the diff_pressure field has been updated HIL_SENSOR_UPDATED_DIFF_PRESSURE HIL_SENSOR_UPDATED_FLAGS = common.HIL_SENSOR_UPDATED_DIFF_PRESSURE // The value in the pressure_alt field has been updated HIL_SENSOR_UPDATED_PRESSURE_ALT HIL_SENSOR_UPDATED_FLAGS = common.HIL_SENSOR_UPDATED_PRESSURE_ALT // The value in the temperature field has been updated HIL_SENSOR_UPDATED_TEMPERATURE HIL_SENSOR_UPDATED_FLAGS = common.HIL_SENSOR_UPDATED_TEMPERATURE // Full reset of attitude/position/velocities/etc was performed in sim (Bit 31). HIL_SENSOR_UPDATED_RESET HIL_SENSOR_UPDATED_FLAGS = common.HIL_SENSOR_UPDATED_RESET )
type HL_FAILURE_FLAG ¶
type HL_FAILURE_FLAG = common.HL_FAILURE_FLAG
Flags to report failure cases over the high latency telemtry.
const ( // GPS failure. HL_FAILURE_FLAG_GPS HL_FAILURE_FLAG = common.HL_FAILURE_FLAG_GPS // Differential pressure sensor failure. HL_FAILURE_FLAG_DIFFERENTIAL_PRESSURE HL_FAILURE_FLAG = common.HL_FAILURE_FLAG_DIFFERENTIAL_PRESSURE // Absolute pressure sensor failure. HL_FAILURE_FLAG_ABSOLUTE_PRESSURE HL_FAILURE_FLAG = common.HL_FAILURE_FLAG_ABSOLUTE_PRESSURE // Accelerometer sensor failure. HL_FAILURE_FLAG_3D_ACCEL HL_FAILURE_FLAG = common.HL_FAILURE_FLAG_3D_ACCEL // Gyroscope sensor failure. HL_FAILURE_FLAG_3D_GYRO HL_FAILURE_FLAG = common.HL_FAILURE_FLAG_3D_GYRO // Magnetometer sensor failure. HL_FAILURE_FLAG_3D_MAG HL_FAILURE_FLAG = common.HL_FAILURE_FLAG_3D_MAG // Terrain subsystem failure. HL_FAILURE_FLAG_TERRAIN HL_FAILURE_FLAG = common.HL_FAILURE_FLAG_TERRAIN // Battery failure/critical low battery. HL_FAILURE_FLAG_BATTERY HL_FAILURE_FLAG = common.HL_FAILURE_FLAG_BATTERY // RC receiver failure/no rc connection. HL_FAILURE_FLAG_RC_RECEIVER HL_FAILURE_FLAG = common.HL_FAILURE_FLAG_RC_RECEIVER // Offboard link failure. HL_FAILURE_FLAG_OFFBOARD_LINK HL_FAILURE_FLAG = common.HL_FAILURE_FLAG_OFFBOARD_LINK // Engine failure. HL_FAILURE_FLAG_ENGINE HL_FAILURE_FLAG = common.HL_FAILURE_FLAG_ENGINE // Geofence violation. HL_FAILURE_FLAG_GEOFENCE HL_FAILURE_FLAG = common.HL_FAILURE_FLAG_GEOFENCE // Estimator failure, for example measurement rejection or large variances. HL_FAILURE_FLAG_ESTIMATOR HL_FAILURE_FLAG = common.HL_FAILURE_FLAG_ESTIMATOR // Mission failure. HL_FAILURE_FLAG_MISSION HL_FAILURE_FLAG = common.HL_FAILURE_FLAG_MISSION )
type LANDING_TARGET_TYPE ¶
type LANDING_TARGET_TYPE = common.LANDING_TARGET_TYPE
Type of landing target
const ( // Landing target signaled by light beacon (ex: IR-LOCK) LANDING_TARGET_TYPE_LIGHT_BEACON LANDING_TARGET_TYPE = common.LANDING_TARGET_TYPE_LIGHT_BEACON // Landing target signaled by radio beacon (ex: ILS, NDB) LANDING_TARGET_TYPE_RADIO_BEACON LANDING_TARGET_TYPE = common.LANDING_TARGET_TYPE_RADIO_BEACON // Landing target represented by a fiducial marker (ex: ARTag) LANDING_TARGET_TYPE_VISION_FIDUCIAL LANDING_TARGET_TYPE = common.LANDING_TARGET_TYPE_VISION_FIDUCIAL // Landing target represented by a pre-defined visual shape/feature (ex: X-marker, H-marker, square) LANDING_TARGET_TYPE_VISION_OTHER LANDING_TARGET_TYPE = common.LANDING_TARGET_TYPE_VISION_OTHER )
type MAG_CAL_STATUS ¶
type MAG_CAL_STATUS = common.MAG_CAL_STATUS
const ( MAG_CAL_NOT_STARTED MAG_CAL_STATUS = common.MAG_CAL_NOT_STARTED MAG_CAL_WAITING_TO_START MAG_CAL_STATUS = common.MAG_CAL_WAITING_TO_START MAG_CAL_RUNNING_STEP_ONE MAG_CAL_STATUS = common.MAG_CAL_RUNNING_STEP_ONE MAG_CAL_RUNNING_STEP_TWO MAG_CAL_STATUS = common.MAG_CAL_RUNNING_STEP_TWO MAG_CAL_SUCCESS MAG_CAL_STATUS = common.MAG_CAL_SUCCESS MAG_CAL_FAILED MAG_CAL_STATUS = common.MAG_CAL_FAILED MAG_CAL_BAD_ORIENTATION MAG_CAL_STATUS = common.MAG_CAL_BAD_ORIENTATION MAG_CAL_BAD_RADIUS MAG_CAL_STATUS = common.MAG_CAL_BAD_RADIUS )
type MAVLINK_DATA_STREAM_TYPE ¶
type MAVLINK_DATA_STREAM_TYPE = common.MAVLINK_DATA_STREAM_TYPE
const ( MAVLINK_DATA_STREAM_IMG_JPEG MAVLINK_DATA_STREAM_TYPE = common.MAVLINK_DATA_STREAM_IMG_JPEG MAVLINK_DATA_STREAM_IMG_BMP MAVLINK_DATA_STREAM_TYPE = common.MAVLINK_DATA_STREAM_IMG_BMP MAVLINK_DATA_STREAM_IMG_RAW8U MAVLINK_DATA_STREAM_TYPE = common.MAVLINK_DATA_STREAM_IMG_RAW8U MAVLINK_DATA_STREAM_IMG_RAW32U MAVLINK_DATA_STREAM_TYPE = common.MAVLINK_DATA_STREAM_IMG_RAW32U MAVLINK_DATA_STREAM_IMG_PGM MAVLINK_DATA_STREAM_TYPE = common.MAVLINK_DATA_STREAM_IMG_PGM MAVLINK_DATA_STREAM_IMG_PNG MAVLINK_DATA_STREAM_TYPE = common.MAVLINK_DATA_STREAM_IMG_PNG )
type MAV_ARM_AUTH_DENIED_REASON ¶
type MAV_ARM_AUTH_DENIED_REASON = common.MAV_ARM_AUTH_DENIED_REASON
const ( // Not a specific reason MAV_ARM_AUTH_DENIED_REASON_GENERIC MAV_ARM_AUTH_DENIED_REASON = common.MAV_ARM_AUTH_DENIED_REASON_GENERIC // Authorizer will send the error as string to GCS MAV_ARM_AUTH_DENIED_REASON_NONE MAV_ARM_AUTH_DENIED_REASON = common.MAV_ARM_AUTH_DENIED_REASON_NONE // At least one waypoint have a invalid value MAV_ARM_AUTH_DENIED_REASON_INVALID_WAYPOINT MAV_ARM_AUTH_DENIED_REASON = common.MAV_ARM_AUTH_DENIED_REASON_INVALID_WAYPOINT // Timeout in the authorizer process(in case it depends on network) MAV_ARM_AUTH_DENIED_REASON_TIMEOUT MAV_ARM_AUTH_DENIED_REASON = common.MAV_ARM_AUTH_DENIED_REASON_TIMEOUT // Airspace of the mission in use by another vehicle, second result parameter can have the waypoint id that caused it to be denied. MAV_ARM_AUTH_DENIED_REASON_AIRSPACE_IN_USE MAV_ARM_AUTH_DENIED_REASON = common.MAV_ARM_AUTH_DENIED_REASON_AIRSPACE_IN_USE // Weather is not good to fly MAV_ARM_AUTH_DENIED_REASON_BAD_WEATHER MAV_ARM_AUTH_DENIED_REASON = common.MAV_ARM_AUTH_DENIED_REASON_BAD_WEATHER )
type MAV_AUTOPILOT ¶
type MAV_AUTOPILOT = minimal.MAV_AUTOPILOT
Micro air vehicle / autopilot classes. This identifies the individual model.
const ( // Generic autopilot, full support for everything MAV_AUTOPILOT_GENERIC MAV_AUTOPILOT = minimal.MAV_AUTOPILOT_GENERIC // Reserved for future use. MAV_AUTOPILOT_RESERVED MAV_AUTOPILOT = minimal.MAV_AUTOPILOT_RESERVED // SLUGS autopilot, http://slugsuav.soe.ucsc.edu MAV_AUTOPILOT_SLUGS MAV_AUTOPILOT = minimal.MAV_AUTOPILOT_SLUGS // ArduPilot - Plane/Copter/Rover/Sub/Tracker, https://ardupilot.org MAV_AUTOPILOT_ARDUPILOTMEGA MAV_AUTOPILOT = minimal.MAV_AUTOPILOT_ARDUPILOTMEGA // OpenPilot, http://openpilot.org MAV_AUTOPILOT_OPENPILOT MAV_AUTOPILOT = minimal.MAV_AUTOPILOT_OPENPILOT // Generic autopilot only supporting simple waypoints MAV_AUTOPILOT_GENERIC_WAYPOINTS_ONLY MAV_AUTOPILOT = minimal.MAV_AUTOPILOT_GENERIC_WAYPOINTS_ONLY // Generic autopilot supporting waypoints and other simple navigation commands MAV_AUTOPILOT_GENERIC_WAYPOINTS_AND_SIMPLE_NAVIGATION_ONLY MAV_AUTOPILOT = minimal.MAV_AUTOPILOT_GENERIC_WAYPOINTS_AND_SIMPLE_NAVIGATION_ONLY // Generic autopilot supporting the full mission command set MAV_AUTOPILOT_GENERIC_MISSION_FULL MAV_AUTOPILOT = minimal.MAV_AUTOPILOT_GENERIC_MISSION_FULL // No valid autopilot, e.g. a GCS or other MAVLink component MAV_AUTOPILOT_INVALID MAV_AUTOPILOT = minimal.MAV_AUTOPILOT_INVALID // PPZ UAV - http://nongnu.org/paparazzi MAV_AUTOPILOT_PPZ MAV_AUTOPILOT = minimal.MAV_AUTOPILOT_PPZ // UAV Dev Board MAV_AUTOPILOT_UDB MAV_AUTOPILOT = minimal.MAV_AUTOPILOT_UDB // FlexiPilot MAV_AUTOPILOT_FP MAV_AUTOPILOT = minimal.MAV_AUTOPILOT_FP // PX4 Autopilot - http://px4.io/ MAV_AUTOPILOT_PX4 MAV_AUTOPILOT = minimal.MAV_AUTOPILOT_PX4 // SMACCMPilot - http://smaccmpilot.org MAV_AUTOPILOT_SMACCMPILOT MAV_AUTOPILOT = minimal.MAV_AUTOPILOT_SMACCMPILOT // AutoQuad -- http://autoquad.org MAV_AUTOPILOT_AUTOQUAD MAV_AUTOPILOT = minimal.MAV_AUTOPILOT_AUTOQUAD // Armazila -- http://armazila.com MAV_AUTOPILOT_ARMAZILA MAV_AUTOPILOT = minimal.MAV_AUTOPILOT_ARMAZILA // Aerob -- http://aerob.ru MAV_AUTOPILOT_AEROB MAV_AUTOPILOT = minimal.MAV_AUTOPILOT_AEROB // ASLUAV autopilot -- http://www.asl.ethz.ch MAV_AUTOPILOT_ASLUAV MAV_AUTOPILOT = minimal.MAV_AUTOPILOT_ASLUAV // SmartAP Autopilot - http://sky-drones.com MAV_AUTOPILOT_SMARTAP MAV_AUTOPILOT = minimal.MAV_AUTOPILOT_SMARTAP // AirRails - http://uaventure.com MAV_AUTOPILOT_AIRRAILS MAV_AUTOPILOT = minimal.MAV_AUTOPILOT_AIRRAILS // Fusion Reflex - https://fusion.engineering MAV_AUTOPILOT_REFLEX MAV_AUTOPILOT = minimal.MAV_AUTOPILOT_REFLEX )
type MAV_BATTERY_CHARGE_STATE ¶
type MAV_BATTERY_CHARGE_STATE = common.MAV_BATTERY_CHARGE_STATE
Enumeration for battery charge states.
const ( // Low battery state is not provided MAV_BATTERY_CHARGE_STATE_UNDEFINED MAV_BATTERY_CHARGE_STATE = common.MAV_BATTERY_CHARGE_STATE_UNDEFINED // Battery is not in low state. Normal operation. MAV_BATTERY_CHARGE_STATE_OK MAV_BATTERY_CHARGE_STATE = common.MAV_BATTERY_CHARGE_STATE_OK // Battery state is low, warn and monitor close. MAV_BATTERY_CHARGE_STATE_LOW MAV_BATTERY_CHARGE_STATE = common.MAV_BATTERY_CHARGE_STATE_LOW // Battery state is critical, return or abort immediately. MAV_BATTERY_CHARGE_STATE_CRITICAL MAV_BATTERY_CHARGE_STATE = common.MAV_BATTERY_CHARGE_STATE_CRITICAL // Battery state is too low for ordinary abort sequence. Perform fastest possible emergency stop to prevent damage. MAV_BATTERY_CHARGE_STATE_EMERGENCY MAV_BATTERY_CHARGE_STATE = common.MAV_BATTERY_CHARGE_STATE_EMERGENCY // Battery failed, damage unavoidable. Possible causes (faults) are listed in MAV_BATTERY_FAULT. MAV_BATTERY_CHARGE_STATE_FAILED MAV_BATTERY_CHARGE_STATE = common.MAV_BATTERY_CHARGE_STATE_FAILED // Battery is diagnosed to be defective or an error occurred, usage is discouraged / prohibited. Possible causes (faults) are listed in MAV_BATTERY_FAULT. MAV_BATTERY_CHARGE_STATE_UNHEALTHY MAV_BATTERY_CHARGE_STATE = common.MAV_BATTERY_CHARGE_STATE_UNHEALTHY // Battery is charging. MAV_BATTERY_CHARGE_STATE_CHARGING MAV_BATTERY_CHARGE_STATE = common.MAV_BATTERY_CHARGE_STATE_CHARGING )
type MAV_BATTERY_FAULT ¶
type MAV_BATTERY_FAULT = common.MAV_BATTERY_FAULT
Smart battery supply status/fault flags (bitmask) for health indication. The battery must also report either MAV_BATTERY_CHARGE_STATE_FAILED or MAV_BATTERY_CHARGE_STATE_UNHEALTHY if any of these are set.
const ( // Battery has deep discharged. MAV_BATTERY_FAULT_DEEP_DISCHARGE MAV_BATTERY_FAULT = common.MAV_BATTERY_FAULT_DEEP_DISCHARGE // Voltage spikes. MAV_BATTERY_FAULT_SPIKES MAV_BATTERY_FAULT = common.MAV_BATTERY_FAULT_SPIKES // One or more cells have failed. Battery should also report MAV_BATTERY_CHARGE_STATE_FAILE (and should not be used). MAV_BATTERY_FAULT_CELL_FAIL MAV_BATTERY_FAULT = common.MAV_BATTERY_FAULT_CELL_FAIL // Over-current fault. MAV_BATTERY_FAULT_OVER_CURRENT MAV_BATTERY_FAULT = common.MAV_BATTERY_FAULT_OVER_CURRENT // Over-temperature fault. MAV_BATTERY_FAULT_OVER_TEMPERATURE MAV_BATTERY_FAULT = common.MAV_BATTERY_FAULT_OVER_TEMPERATURE // Under-temperature fault. MAV_BATTERY_FAULT_UNDER_TEMPERATURE MAV_BATTERY_FAULT = common.MAV_BATTERY_FAULT_UNDER_TEMPERATURE // Vehicle voltage is not compatible with this battery (batteries on same power rail should have similar voltage). MAV_BATTERY_FAULT_INCOMPATIBLE_VOLTAGE MAV_BATTERY_FAULT = common.MAV_BATTERY_FAULT_INCOMPATIBLE_VOLTAGE // Battery firmware is not compatible with current autopilot firmware. MAV_BATTERY_FAULT_INCOMPATIBLE_FIRMWARE MAV_BATTERY_FAULT = common.MAV_BATTERY_FAULT_INCOMPATIBLE_FIRMWARE // Battery is not compatible due to cell configuration (e.g. 5s1p when vehicle requires 6s). BATTERY_FAULT_INCOMPATIBLE_CELLS_CONFIGURATION MAV_BATTERY_FAULT = common.BATTERY_FAULT_INCOMPATIBLE_CELLS_CONFIGURATION )
type MAV_BATTERY_FUNCTION ¶
type MAV_BATTERY_FUNCTION = common.MAV_BATTERY_FUNCTION
Enumeration of battery functions
const ( // Battery function is unknown MAV_BATTERY_FUNCTION_UNKNOWN MAV_BATTERY_FUNCTION = common.MAV_BATTERY_FUNCTION_UNKNOWN // Battery supports all flight systems MAV_BATTERY_FUNCTION_ALL MAV_BATTERY_FUNCTION = common.MAV_BATTERY_FUNCTION_ALL // Battery for the propulsion system MAV_BATTERY_FUNCTION_PROPULSION MAV_BATTERY_FUNCTION = common.MAV_BATTERY_FUNCTION_PROPULSION // Avionics battery MAV_BATTERY_FUNCTION_AVIONICS MAV_BATTERY_FUNCTION = common.MAV_BATTERY_FUNCTION_AVIONICS // Payload battery MAV_BATTERY_FUNCTION_PAYLOAD MAV_BATTERY_FUNCTION = common.MAV_BATTERY_FUNCTION_PAYLOAD )
type MAV_BATTERY_MODE ¶
type MAV_BATTERY_MODE = common.MAV_BATTERY_MODE
Battery mode. Note, the normal operation mode (i.e. when flying) should be reported as MAV_BATTERY_MODE_UNKNOWN to allow message trimming in normal flight.
const ( // Battery mode not supported/unknown battery mode/normal operation. MAV_BATTERY_MODE_UNKNOWN MAV_BATTERY_MODE = common.MAV_BATTERY_MODE_UNKNOWN // Battery is auto discharging (towards storage level). MAV_BATTERY_MODE_AUTO_DISCHARGING MAV_BATTERY_MODE = common.MAV_BATTERY_MODE_AUTO_DISCHARGING // Battery in hot-swap mode (current limited to prevent spikes that might damage sensitive electrical circuits). MAV_BATTERY_MODE_HOT_SWAP MAV_BATTERY_MODE = common.MAV_BATTERY_MODE_HOT_SWAP )
type MAV_BATTERY_STATUS_FLAGS ¶ added in v1.1.0
type MAV_BATTERY_STATUS_FLAGS uint32
Battery status flags for fault, health and state indication.
const ( // The battery is not ready to use (fly). // Set if the battery has faults or other conditions that make it unsafe to fly with. // Note: It will be the logical OR of other status bits (chosen by the manufacturer/integrator). MAV_BATTERY_STATUS_FLAGS_NOT_READY_TO_USE MAV_BATTERY_STATUS_FLAGS = 1 // Battery is charging. MAV_BATTERY_STATUS_FLAGS_CHARGING MAV_BATTERY_STATUS_FLAGS = 2 // Battery is cell balancing (during charging). // Not ready to use (MAV_BATTERY_STATUS_FLAGS_NOT_READY_TO_USE may be set). MAV_BATTERY_STATUS_FLAGS_CELL_BALANCING MAV_BATTERY_STATUS_FLAGS = 4 // Battery cells are not balanced. // Not ready to use. MAV_BATTERY_STATUS_FLAGS_FAULT_CELL_IMBALANCE MAV_BATTERY_STATUS_FLAGS = 8 // Battery is auto discharging (towards storage level). // Not ready to use (MAV_BATTERY_STATUS_FLAGS_NOT_READY_TO_USE would be set). MAV_BATTERY_STATUS_FLAGS_AUTO_DISCHARGING MAV_BATTERY_STATUS_FLAGS = 16 // Battery requires service (not safe to fly). // This is set at vendor discretion. // It is likely to be set for most faults, and may also be set according to a maintenance schedule (such as age, or number of recharge cycles, etc.). MAV_BATTERY_STATUS_FLAGS_REQUIRES_SERVICE MAV_BATTERY_STATUS_FLAGS = 32 // Battery is faulty and cannot be repaired (not safe to fly). // This is set at vendor discretion. // The battery should be disposed of safely. MAV_BATTERY_STATUS_FLAGS_BAD_BATTERY MAV_BATTERY_STATUS_FLAGS = 64 // Automatic battery protection monitoring is enabled. // When enabled, the system will monitor for certain kinds of faults, such as cells being over-voltage. // If a fault is triggered then and protections are enabled then a safety fault (MAV_BATTERY_STATUS_FLAGS_FAULT_PROTECTION_SYSTEM) will be set and power from the battery will be stopped. // Note that battery protection monitoring should only be enabled when the vehicle is landed. Once the vehicle is armed, or starts moving, the protections should be disabled to prevent false positives from disabling the output. MAV_BATTERY_STATUS_FLAGS_PROTECTIONS_ENABLED MAV_BATTERY_STATUS_FLAGS = 128 // The battery fault protection system had detected a fault and cut all power from the battery. // This will only trigger if MAV_BATTERY_STATUS_FLAGS_PROTECTIONS_ENABLED is set. // Other faults like MAV_BATTERY_STATUS_FLAGS_FAULT_OVER_VOLT may also be set, indicating the cause of the protection fault. MAV_BATTERY_STATUS_FLAGS_FAULT_PROTECTION_SYSTEM MAV_BATTERY_STATUS_FLAGS = 256 // One or more cells are above their maximum voltage rating. MAV_BATTERY_STATUS_FLAGS_FAULT_OVER_VOLT MAV_BATTERY_STATUS_FLAGS = 512 // One or more cells are below their minimum voltage rating. // A battery that had deep-discharged might be irrepairably damaged, and set both MAV_BATTERY_STATUS_FLAGS_FAULT_UNDER_VOLT and MAV_BATTERY_STATUS_FLAGS_BAD_BATTERY. MAV_BATTERY_STATUS_FLAGS_FAULT_UNDER_VOLT MAV_BATTERY_STATUS_FLAGS = 1024 // Over-temperature fault. MAV_BATTERY_STATUS_FLAGS_FAULT_OVER_TEMPERATURE MAV_BATTERY_STATUS_FLAGS = 2048 // Under-temperature fault. MAV_BATTERY_STATUS_FLAGS_FAULT_UNDER_TEMPERATURE MAV_BATTERY_STATUS_FLAGS = 4096 // Over-current fault. MAV_BATTERY_STATUS_FLAGS_FAULT_OVER_CURRENT MAV_BATTERY_STATUS_FLAGS = 8192 // Short circuit event detected. // The battery may or may not be safe to use (check other flags). MAV_BATTERY_STATUS_FLAGS_FAULT_SHORT_CIRCUIT MAV_BATTERY_STATUS_FLAGS = 16384 // Voltage not compatible with power rail voltage (batteries on same power rail should have similar voltage). MAV_BATTERY_STATUS_FLAGS_FAULT_INCOMPATIBLE_VOLTAGE MAV_BATTERY_STATUS_FLAGS = 32768 // Battery firmware is not compatible with current autopilot firmware. MAV_BATTERY_STATUS_FLAGS_FAULT_INCOMPATIBLE_FIRMWARE MAV_BATTERY_STATUS_FLAGS = 65536 // Battery is not compatible due to cell configuration (e.g. 5s1p when vehicle requires 6s). MAV_BATTERY_STATUS_FLAGS_FAULT_INCOMPATIBLE_CELLS_CONFIGURATION MAV_BATTERY_STATUS_FLAGS = 131072 // Battery capacity_consumed and capacity_remaining values are relative to a full battery (they sum to the total capacity of the battery). // This flag would be set for a smart battery that can accurately determine its remaining charge across vehicle reboots and discharge/recharge cycles. // If unset the capacity_consumed indicates the consumption since vehicle power-on, as measured using a power monitor. The capacity_remaining, if provided, indicates the estimated remaining capacity on the assumption that the battery was full on vehicle boot. // If unset a GCS is recommended to advise that users fully charge the battery on power on. MAV_BATTERY_STATUS_FLAGS_CAPACITY_RELATIVE_TO_FULL MAV_BATTERY_STATUS_FLAGS = 262144 // Reserved (not used). If set, this will indicate that an additional status field exists for higher status values. MAV_BATTERY_STATUS_FLAGS_EXTENDED MAV_BATTERY_STATUS_FLAGS = 4294967295 )
func (MAV_BATTERY_STATUS_FLAGS) MarshalText ¶ added in v1.1.0
func (e MAV_BATTERY_STATUS_FLAGS) MarshalText() ([]byte, error)
MarshalText implements the encoding.TextMarshaler interface.
func (MAV_BATTERY_STATUS_FLAGS) String ¶ added in v1.1.0
func (e MAV_BATTERY_STATUS_FLAGS) String() string
String implements the fmt.Stringer interface.
func (*MAV_BATTERY_STATUS_FLAGS) UnmarshalText ¶ added in v1.1.0
func (e *MAV_BATTERY_STATUS_FLAGS) UnmarshalText(text []byte) error
UnmarshalText implements the encoding.TextUnmarshaler interface.
type MAV_BATTERY_TYPE ¶
type MAV_BATTERY_TYPE = common.MAV_BATTERY_TYPE
Enumeration of battery types
const ( // Not specified. MAV_BATTERY_TYPE_UNKNOWN MAV_BATTERY_TYPE = common.MAV_BATTERY_TYPE_UNKNOWN // Lithium polymer battery MAV_BATTERY_TYPE_LIPO MAV_BATTERY_TYPE = common.MAV_BATTERY_TYPE_LIPO // Lithium-iron-phosphate battery MAV_BATTERY_TYPE_LIFE MAV_BATTERY_TYPE = common.MAV_BATTERY_TYPE_LIFE // Lithium-ION battery MAV_BATTERY_TYPE_LION MAV_BATTERY_TYPE = common.MAV_BATTERY_TYPE_LION // Nickel metal hydride battery MAV_BATTERY_TYPE_NIMH MAV_BATTERY_TYPE = common.MAV_BATTERY_TYPE_NIMH )
type MAV_CMD ¶
type MAV_CMD uint32
Commands to be executed by the MAV. They can be executed on user request, or as part of a mission script. If the action is used in a mission, the parameter mapping to the waypoint/mission message is as follows: Param 1, Param 2, Param 3, Param 4, X: Param 5, Y:Param 6, Z:Param 7. This command list is similar what ARINC 424 is for commercial aircraft: A data format how to interpret waypoint/mission data. NaN and INT32_MAX may be used in float/integer params (respectively) to indicate optional/default values (e.g. to use the component's current yaw or latitude rather than a specific value). See https://mavlink.io/en/guide/xml_schema.html#MAV_CMD for information about the structure of the MAV_CMD entries
const ( // Navigate to waypoint. MAV_CMD_NAV_WAYPOINT MAV_CMD = 16 // Loiter around this waypoint an unlimited amount of time MAV_CMD_NAV_LOITER_UNLIM MAV_CMD = 17 // Loiter around this waypoint for X turns MAV_CMD_NAV_LOITER_TURNS MAV_CMD = 18 // Loiter at the specified latitude, longitude and altitude for a certain amount of time. Multicopter vehicles stop at the point (within a vehicle-specific acceptance radius). Forward-only moving vehicles (e.g. fixed-wing) circle the point with the specified radius/direction. If the Heading Required parameter (2) is non-zero forward moving aircraft will only leave the loiter circle once heading towards the next waypoint. MAV_CMD_NAV_LOITER_TIME MAV_CMD = 19 // Return to launch location MAV_CMD_NAV_RETURN_TO_LAUNCH MAV_CMD = 20 // Land at location. MAV_CMD_NAV_LAND MAV_CMD = 21 // Takeoff from ground / hand. Vehicles that support multiple takeoff modes (e.g. VTOL quadplane) should take off using the currently configured mode. MAV_CMD_NAV_TAKEOFF MAV_CMD = 22 // Land at local position (local frame only) MAV_CMD_NAV_LAND_LOCAL MAV_CMD = 23 // Takeoff from local position (local frame only) MAV_CMD_NAV_TAKEOFF_LOCAL MAV_CMD = 24 // Vehicle following, i.e. this waypoint represents the position of a moving vehicle MAV_CMD_NAV_FOLLOW MAV_CMD = 25 // Continue on the current course and climb/descend to specified altitude. When the altitude is reached continue to the next command (i.e., don't proceed to the next command until the desired altitude is reached. MAV_CMD_NAV_CONTINUE_AND_CHANGE_ALT MAV_CMD = 30 // Begin loiter at the specified Latitude and Longitude. If Lat=Lon=0, then loiter at the current position. Don't consider the navigation command complete (don't leave loiter) until the altitude has been reached. Additionally, if the Heading Required parameter is non-zero the aircraft will not leave the loiter until heading toward the next waypoint. MAV_CMD_NAV_LOITER_TO_ALT MAV_CMD = 31 // Begin following a target MAV_CMD_DO_FOLLOW MAV_CMD = 32 // Reposition the MAV after a follow target command has been sent MAV_CMD_DO_FOLLOW_REPOSITION MAV_CMD = 33 // Start orbiting on the circumference of a circle defined by the parameters. Setting values to NaN/INT32_MAX (as appropriate) results in using defaults. MAV_CMD_DO_ORBIT MAV_CMD = 34 // Sets the region of interest (ROI) for a sensor set or the vehicle itself. This can then be used by the vehicle's control system to control the vehicle attitude and the attitude of various sensors such as cameras. MAV_CMD_NAV_ROI MAV_CMD = 80 // Control autonomous path planning on the MAV. MAV_CMD_NAV_PATHPLANNING MAV_CMD = 81 // Navigate to waypoint using a spline path. MAV_CMD_NAV_SPLINE_WAYPOINT MAV_CMD = 82 // Takeoff from ground using VTOL mode, and transition to forward flight with specified heading. The command should be ignored by vehicles that dont support both VTOL and fixed-wing flight (multicopters, boats,etc.). MAV_CMD_NAV_VTOL_TAKEOFF MAV_CMD = 84 // Land using VTOL mode MAV_CMD_NAV_VTOL_LAND MAV_CMD = 85 // hand control over to an external controller MAV_CMD_NAV_GUIDED_ENABLE MAV_CMD = 92 // Delay the next navigation command a number of seconds or until a specified time MAV_CMD_NAV_DELAY MAV_CMD = 93 // Descend and place payload. Vehicle moves to specified location, descends until it detects a hanging payload has reached the ground, and then releases the payload. If ground is not detected before the reaching the maximum descent value (param1), the command will complete without releasing the payload. MAV_CMD_NAV_PAYLOAD_PLACE MAV_CMD = 94 // NOP - This command is only used to mark the upper limit of the NAV/ACTION commands in the enumeration MAV_CMD_NAV_LAST MAV_CMD = 95 // Delay mission state machine. MAV_CMD_CONDITION_DELAY MAV_CMD = 112 // Ascend/descend to target altitude at specified rate. Delay mission state machine until desired altitude reached. MAV_CMD_CONDITION_CHANGE_ALT MAV_CMD = 113 // Delay mission state machine until within desired distance of next NAV point. MAV_CMD_CONDITION_DISTANCE MAV_CMD = 114 // Reach a certain target angle. MAV_CMD_CONDITION_YAW MAV_CMD = 115 // NOP - This command is only used to mark the upper limit of the CONDITION commands in the enumeration MAV_CMD_CONDITION_LAST MAV_CMD = 159 // Set system mode. MAV_CMD_DO_SET_MODE MAV_CMD = 176 // Jump to the desired command in the mission list. Repeat this action only the specified number of times MAV_CMD_DO_JUMP MAV_CMD = 177 // Change speed and/or throttle set points. The value persists until it is overridden or there is a mode change. MAV_CMD_DO_CHANGE_SPEED MAV_CMD = 178 // Sets the home position to either to the current position or a specified position. // The home position is the default position that the system will return to and land on. // The position is set automatically by the system during the takeoff (and may also be set using this command). // Note: the current home position may be emitted in a HOME_POSITION message on request (using MAV_CMD_REQUEST_MESSAGE with param1=242). MAV_CMD_DO_SET_HOME MAV_CMD = 179 // Set a system parameter. Caution! Use of this command requires knowledge of the numeric enumeration value of the parameter. MAV_CMD_DO_SET_PARAMETER MAV_CMD = 180 // Set a relay to a condition. MAV_CMD_DO_SET_RELAY MAV_CMD = 181 // Cycle a relay on and off for a desired number of cycles with a desired period. MAV_CMD_DO_REPEAT_RELAY MAV_CMD = 182 // Set a servo to a desired PWM value. MAV_CMD_DO_SET_SERVO MAV_CMD = 183 // Cycle a between its nominal setting and a desired PWM for a desired number of cycles with a desired period. MAV_CMD_DO_REPEAT_SERVO MAV_CMD = 184 // Terminate flight immediately. // Flight termination immediately and irreversably terminates the current flight, returning the vehicle to ground. // The vehicle will ignore RC or other input until it has been power-cycled. // Termination may trigger safety measures, including: disabling motors and deployment of parachute on multicopters, and setting flight surfaces to initiate a landing pattern on fixed-wing). // On multicopters without a parachute it may trigger a crash landing. // Support for this command can be tested using the protocol bit: MAV_PROTOCOL_CAPABILITY_FLIGHT_TERMINATION. // Support for this command can also be tested by sending the command with param1=0 (< 0.5); the ACK should be either MAV_RESULT_FAILED or MAV_RESULT_UNSUPPORTED. MAV_CMD_DO_FLIGHTTERMINATION MAV_CMD = 185 // Change altitude set point. MAV_CMD_DO_CHANGE_ALTITUDE MAV_CMD = 186 // Sets actuators (e.g. servos) to a desired value. The actuator numbers are mapped to specific outputs (e.g. on any MAIN or AUX PWM or UAVCAN) using a flight-stack specific mechanism (i.e. a parameter). MAV_CMD_DO_SET_ACTUATOR MAV_CMD = 187 // Mission command to perform a landing. This is used as a marker in a mission to tell the autopilot where a sequence of mission items that represents a landing starts. // It may also be sent via a COMMAND_LONG to trigger a landing, in which case the nearest (geographically) landing sequence in the mission will be used. // The Latitude/Longitude/Altitude is optional, and may be set to 0 if not needed. If specified then it will be used to help find the closest landing sequence. MAV_CMD_DO_LAND_START MAV_CMD = 189 // Mission command to perform a landing from a rally point. MAV_CMD_DO_RALLY_LAND MAV_CMD = 190 // Mission command to safely abort an autonomous landing. MAV_CMD_DO_GO_AROUND MAV_CMD = 191 // Reposition the vehicle to a specific WGS84 global position. MAV_CMD_DO_REPOSITION MAV_CMD = 192 // If in a GPS controlled position mode, hold the current position or continue. MAV_CMD_DO_PAUSE_CONTINUE MAV_CMD = 193 // Set moving direction to forward or reverse. MAV_CMD_DO_SET_REVERSE MAV_CMD = 194 // Sets the region of interest (ROI) to a location. This can then be used by the vehicle's control system to control the vehicle attitude and the attitude of various sensors such as cameras. This command can be sent to a gimbal manager but not to a gimbal device. A gimbal is not to react to this message. MAV_CMD_DO_SET_ROI_LOCATION MAV_CMD = 195 // Sets the region of interest (ROI) to be toward next waypoint, with optional pitch/roll/yaw offset. This can then be used by the vehicle's control system to control the vehicle attitude and the attitude of various sensors such as cameras. This command can be sent to a gimbal manager but not to a gimbal device. A gimbal device is not to react to this message. MAV_CMD_DO_SET_ROI_WPNEXT_OFFSET MAV_CMD = 196 // Cancels any previous ROI command returning the vehicle/sensors to default flight characteristics. This can then be used by the vehicle's control system to control the vehicle attitude and the attitude of various sensors such as cameras. This command can be sent to a gimbal manager but not to a gimbal device. A gimbal device is not to react to this message. After this command the gimbal manager should go back to manual input if available, and otherwise assume a neutral position. MAV_CMD_DO_SET_ROI_NONE MAV_CMD = 197 // Mount tracks system with specified system ID. Determination of target vehicle position may be done with GLOBAL_POSITION_INT or any other means. This command can be sent to a gimbal manager but not to a gimbal device. A gimbal device is not to react to this message. MAV_CMD_DO_SET_ROI_SYSID MAV_CMD = 198 // Control onboard camera system. MAV_CMD_DO_CONTROL_VIDEO MAV_CMD = 200 // Sets the region of interest (ROI) for a sensor set or the vehicle itself. This can then be used by the vehicle's control system to control the vehicle attitude and the attitude of various sensors such as cameras. MAV_CMD_DO_SET_ROI MAV_CMD = 201 // Configure digital camera. This is a fallback message for systems that have not yet implemented PARAM_EXT_XXX messages and camera definition files (see https://mavlink.io/en/services/camera_def.html ). MAV_CMD_DO_DIGICAM_CONFIGURE MAV_CMD = 202 // Control digital camera. This is a fallback message for systems that have not yet implemented PARAM_EXT_XXX messages and camera definition files (see https://mavlink.io/en/services/camera_def.html ). MAV_CMD_DO_DIGICAM_CONTROL MAV_CMD = 203 // Mission command to configure a camera or antenna mount MAV_CMD_DO_MOUNT_CONFIGURE MAV_CMD = 204 // Mission command to control a camera or antenna mount MAV_CMD_DO_MOUNT_CONTROL MAV_CMD = 205 // Mission command to set camera trigger distance for this flight. The camera is triggered each time this distance is exceeded. This command can also be used to set the shutter integration time for the camera. MAV_CMD_DO_SET_CAM_TRIGG_DIST MAV_CMD = 206 // Mission command to enable the geofence MAV_CMD_DO_FENCE_ENABLE MAV_CMD = 207 // Mission item/command to release a parachute or enable/disable auto release. MAV_CMD_DO_PARACHUTE MAV_CMD = 208 // Command to perform motor test. MAV_CMD_DO_MOTOR_TEST MAV_CMD = 209 // Change to/from inverted flight. MAV_CMD_DO_INVERTED_FLIGHT MAV_CMD = 210 // Mission command to operate a gripper. MAV_CMD_DO_GRIPPER MAV_CMD = 211 // Enable/disable autotune. MAV_CMD_DO_AUTOTUNE_ENABLE MAV_CMD = 212 // Sets a desired vehicle turn angle and speed change. MAV_CMD_NAV_SET_YAW_SPEED MAV_CMD = 213 // Mission command to set camera trigger interval for this flight. If triggering is enabled, the camera is triggered each time this interval expires. This command can also be used to set the shutter integration time for the camera. MAV_CMD_DO_SET_CAM_TRIGG_INTERVAL MAV_CMD = 214 // Mission command to control a camera or antenna mount, using a quaternion as reference. MAV_CMD_DO_MOUNT_CONTROL_QUAT MAV_CMD = 220 // set id of master controller MAV_CMD_DO_GUIDED_MASTER MAV_CMD = 221 // Set limits for external control MAV_CMD_DO_GUIDED_LIMITS MAV_CMD = 222 // Control vehicle engine. This is interpreted by the vehicles engine controller to change the target engine state. It is intended for vehicles with internal combustion engines MAV_CMD_DO_ENGINE_CONTROL MAV_CMD = 223 // Set the mission item with sequence number seq as the current item and emit MISSION_CURRENT (whether or not the mission number changed). // If a mission is currently being executed, the system will continue to this new mission item on the shortest path, skipping any intermediate mission items. // Note that mission jump repeat counters are not reset unless param2 is set (see MAV_CMD_DO_JUMP param2). // This command may trigger a mission state-machine change on some systems: for example from MISSION_STATE_NOT_STARTED or MISSION_STATE_PAUSED to MISSION_STATE_ACTIVE. // If the system is in mission mode, on those systems this command might therefore start, restart or resume the mission. // If the system is not in mission mode this command must not trigger a switch to mission mode. // The mission may be "reset" using param2. // Resetting sets jump counters to initial values (to reset counters without changing the current mission item set the param1 to `-1`). // Resetting also explicitly changes a mission state of MISSION_STATE_COMPLETE to MISSION_STATE_PAUSED or MISSION_STATE_ACTIVE, potentially allowing it to resume when it is (next) in a mission mode. // The command will ACK with MAV_RESULT_FAILED if the sequence number is out of range (including if there is no mission item). MAV_CMD_DO_SET_MISSION_CURRENT MAV_CMD = 224 // NOP - This command is only used to mark the upper limit of the DO commands in the enumeration MAV_CMD_DO_LAST MAV_CMD = 240 // Trigger calibration. This command will be only accepted if in pre-flight mode. Except for Temperature Calibration, only one sensor should be set in a single message and all others should be zero. MAV_CMD_PREFLIGHT_CALIBRATION MAV_CMD = 241 // Set sensor offsets. This command will be only accepted if in pre-flight mode. MAV_CMD_PREFLIGHT_SET_SENSOR_OFFSETS MAV_CMD = 242 // Trigger UAVCAN configuration (actuator ID assignment and direction mapping). Note that this maps to the legacy UAVCAN v0 function UAVCAN_ENUMERATE, which is intended to be executed just once during initial vehicle configuration (it is not a normal pre-flight command and has been poorly named). MAV_CMD_PREFLIGHT_UAVCAN MAV_CMD = 243 // Request storage of different parameter values and logs. This command will be only accepted if in pre-flight mode. MAV_CMD_PREFLIGHT_STORAGE MAV_CMD = 245 // Request the reboot or shutdown of system components. MAV_CMD_PREFLIGHT_REBOOT_SHUTDOWN MAV_CMD = 246 // Override current mission with command to pause mission, pause mission and move to position, continue/resume mission. When param 1 indicates that the mission is paused (MAV_GOTO_DO_HOLD), param 2 defines whether it holds in place or moves to another position. MAV_CMD_OVERRIDE_GOTO MAV_CMD = 252 // Mission command to set a Camera Auto Mount Pivoting Oblique Survey (Replaces CAM_TRIGG_DIST for this purpose). The camera is triggered each time this distance is exceeded, then the mount moves to the next position. Params 4~6 set-up the angle limits and number of positions for oblique survey, where mount-enabled vehicles automatically roll the camera between shots to emulate an oblique camera setup (providing an increased HFOV). This command can also be used to set the shutter integration time for the camera. MAV_CMD_OBLIQUE_SURVEY MAV_CMD = 260 // start running a mission MAV_CMD_MISSION_START MAV_CMD = 300 // Actuator testing command. This is similar to MAV_CMD_DO_MOTOR_TEST but operates on the level of output functions, i.e. it is possible to test Motor1 independent from which output it is configured on. Autopilots typically refuse this command while armed. MAV_CMD_ACTUATOR_TEST MAV_CMD = 310 // Actuator configuration command. MAV_CMD_CONFIGURE_ACTUATOR MAV_CMD = 311 // Arms / Disarms a component MAV_CMD_COMPONENT_ARM_DISARM MAV_CMD = 400 // Instructs a target system to run pre-arm checks. // This allows preflight checks to be run on demand, which may be useful on systems that normally run them at low rate, or which do not trigger checks when the armable state might have changed. // This command should return MAV_RESULT_ACCEPTED if it will run the checks. // The results of the checks are usually then reported in SYS_STATUS messages (this is system-specific). // The command should return MAV_RESULT_TEMPORARILY_REJECTED if the system is already armed. MAV_CMD_RUN_PREARM_CHECKS MAV_CMD = 401 // Turns illuminators ON/OFF. An illuminator is a light source that is used for lighting up dark areas external to the sytstem: e.g. a torch or searchlight (as opposed to a light source for illuminating the system itself, e.g. an indicator light). MAV_CMD_ILLUMINATOR_ON_OFF MAV_CMD = 405 // Request the home position from the vehicle. // The vehicle will ACK the command and then emit the HOME_POSITION message. MAV_CMD_GET_HOME_POSITION MAV_CMD = 410 // Inject artificial failure for testing purposes. Note that autopilots should implement an additional protection before accepting this command such as a specific param setting. MAV_CMD_INJECT_FAILURE MAV_CMD = 420 // Starts receiver pairing. MAV_CMD_START_RX_PAIR MAV_CMD = 500 // Request the interval between messages for a particular MAVLink message ID. // The receiver should ACK the command and then emit its response in a MESSAGE_INTERVAL message. MAV_CMD_GET_MESSAGE_INTERVAL MAV_CMD = 510 // Set the interval between messages for a particular MAVLink message ID. This interface replaces REQUEST_DATA_STREAM. MAV_CMD_SET_MESSAGE_INTERVAL MAV_CMD = 511 // Request the target system(s) emit a single instance of a specified message (i.e. a "one-shot" version of MAV_CMD_SET_MESSAGE_INTERVAL). MAV_CMD_REQUEST_MESSAGE MAV_CMD = 512 // Request MAVLink protocol version compatibility. All receivers should ACK the command and then emit their capabilities in an PROTOCOL_VERSION message MAV_CMD_REQUEST_PROTOCOL_VERSION MAV_CMD = 519 // Request autopilot capabilities. The receiver should ACK the command and then emit its capabilities in an AUTOPILOT_VERSION message MAV_CMD_REQUEST_AUTOPILOT_CAPABILITIES MAV_CMD = 520 // Request camera information (CAMERA_INFORMATION). MAV_CMD_REQUEST_CAMERA_INFORMATION MAV_CMD = 521 // Request camera settings (CAMERA_SETTINGS). MAV_CMD_REQUEST_CAMERA_SETTINGS MAV_CMD = 522 // Request storage information (STORAGE_INFORMATION). Use the command's target_component to target a specific component's storage. MAV_CMD_REQUEST_STORAGE_INFORMATION MAV_CMD = 525 // Format a storage medium. Once format is complete, a STORAGE_INFORMATION message is sent. Use the command's target_component to target a specific component's storage. MAV_CMD_STORAGE_FORMAT MAV_CMD = 526 // Request camera capture status (CAMERA_CAPTURE_STATUS) MAV_CMD_REQUEST_CAMERA_CAPTURE_STATUS MAV_CMD = 527 // Request flight information (FLIGHT_INFORMATION) MAV_CMD_REQUEST_FLIGHT_INFORMATION MAV_CMD = 528 // Reset all camera settings to Factory Default MAV_CMD_RESET_CAMERA_SETTINGS MAV_CMD = 529 // Set camera running mode. Use NaN for reserved values. GCS will send a MAV_CMD_REQUEST_VIDEO_STREAM_STATUS command after a mode change if the camera supports video streaming. MAV_CMD_SET_CAMERA_MODE MAV_CMD = 530 // Set camera zoom. Camera must respond with a CAMERA_SETTINGS message (on success). MAV_CMD_SET_CAMERA_ZOOM MAV_CMD = 531 // Set camera focus. Camera must respond with a CAMERA_SETTINGS message (on success). MAV_CMD_SET_CAMERA_FOCUS MAV_CMD = 532 // Set that a particular storage is the preferred location for saving photos, videos, and/or other media (e.g. to set that an SD card is used for storing videos). // There can only be one preferred save location for each particular media type: setting a media usage flag will clear/reset that same flag if set on any other storage. // If no flag is set the system should use its default storage. // A target system can choose to always use default storage, in which case it should ACK the command with MAV_RESULT_UNSUPPORTED. // A target system can choose to not allow a particular storage to be set as preferred storage, in which case it should ACK the command with MAV_RESULT_DENIED. MAV_CMD_SET_STORAGE_USAGE MAV_CMD = 533 // Tagged jump target. Can be jumped to with MAV_CMD_DO_JUMP_TAG. MAV_CMD_JUMP_TAG MAV_CMD = 600 // Jump to the matching tag in the mission list. Repeat this action for the specified number of times. A mission should contain a single matching tag for each jump. If this is not the case then a jump to a missing tag should complete the mission, and a jump where there are multiple matching tags should always select the one with the lowest mission sequence number. MAV_CMD_DO_JUMP_TAG MAV_CMD = 601 // High level setpoint to be sent to a gimbal manager to set a gimbal attitude. It is possible to set combinations of the values below. E.g. an angle as well as a desired angular rate can be used to get to this angle at a certain angular rate, or an angular rate only will result in continuous turning. NaN is to be used to signal unset. Note: a gimbal is never to react to this command but only the gimbal manager. MAV_CMD_DO_GIMBAL_MANAGER_PITCHYAW MAV_CMD = 1000 // Gimbal configuration to set which sysid/compid is in primary and secondary control. MAV_CMD_DO_GIMBAL_MANAGER_CONFIGURE MAV_CMD = 1001 // Start image capture sequence. Sends CAMERA_IMAGE_CAPTURED after each capture. Use NaN for reserved values. MAV_CMD_IMAGE_START_CAPTURE MAV_CMD = 2000 // Stop image capture sequence Use NaN for reserved values. MAV_CMD_IMAGE_STOP_CAPTURE MAV_CMD = 2001 // Re-request a CAMERA_IMAGE_CAPTURED message. MAV_CMD_REQUEST_CAMERA_IMAGE_CAPTURE MAV_CMD = 2002 // Enable or disable on-board camera triggering system. MAV_CMD_DO_TRIGGER_CONTROL MAV_CMD = 2003 // If the camera supports point visual tracking (CAMERA_CAP_FLAGS_HAS_TRACKING_POINT is set), this command allows to initiate the tracking. MAV_CMD_CAMERA_TRACK_POINT MAV_CMD = 2004 // If the camera supports rectangle visual tracking (CAMERA_CAP_FLAGS_HAS_TRACKING_RECTANGLE is set), this command allows to initiate the tracking. MAV_CMD_CAMERA_TRACK_RECTANGLE MAV_CMD = 2005 // Stops ongoing tracking. MAV_CMD_CAMERA_STOP_TRACKING MAV_CMD = 2010 // Starts video capture (recording). MAV_CMD_VIDEO_START_CAPTURE MAV_CMD = 2500 // Stop the current video capture (recording). MAV_CMD_VIDEO_STOP_CAPTURE MAV_CMD = 2501 // Start video streaming MAV_CMD_VIDEO_START_STREAMING MAV_CMD = 2502 // Stop the given video stream MAV_CMD_VIDEO_STOP_STREAMING MAV_CMD = 2503 // Request video stream information (VIDEO_STREAM_INFORMATION) MAV_CMD_REQUEST_VIDEO_STREAM_INFORMATION MAV_CMD = 2504 // Request video stream status (VIDEO_STREAM_STATUS) MAV_CMD_REQUEST_VIDEO_STREAM_STATUS MAV_CMD = 2505 // Request to start streaming logging data over MAVLink (see also LOGGING_DATA message) MAV_CMD_LOGGING_START MAV_CMD = 2510 // Request to stop streaming log data over MAVLink MAV_CMD_LOGGING_STOP MAV_CMD = 2511 MAV_CMD_AIRFRAME_CONFIGURATION MAV_CMD = 2520 // Request to start/stop transmitting over the high latency telemetry MAV_CMD_CONTROL_HIGH_LATENCY MAV_CMD = 2600 // Create a panorama at the current position MAV_CMD_PANORAMA_CREATE MAV_CMD = 2800 // Request VTOL transition MAV_CMD_DO_VTOL_TRANSITION MAV_CMD = 3000 // Request authorization to arm the vehicle to a external entity, the arm authorizer is responsible to request all data that is needs from the vehicle before authorize or deny the request. If approved the progress of command_ack message should be set with period of time that this authorization is valid in seconds or in case it was denied it should be set with one of the reasons in ARM_AUTH_DENIED_REASON. MAV_CMD_ARM_AUTHORIZATION_REQUEST MAV_CMD = 3001 // This command sets the submode to standard guided when vehicle is in guided mode. The vehicle holds position and altitude and the user can input the desired velocities along all three axes. MAV_CMD_SET_GUIDED_SUBMODE_STANDARD MAV_CMD = 4000 // This command sets submode circle when vehicle is in guided mode. Vehicle flies along a circle facing the center of the circle. The user can input the velocity along the circle and change the radius. If no input is given the vehicle will hold position. MAV_CMD_SET_GUIDED_SUBMODE_CIRCLE MAV_CMD = 4001 // Delay mission state machine until gate has been reached. MAV_CMD_CONDITION_GATE MAV_CMD = 4501 // Fence return point (there can only be one such point in a geofence definition). If rally points are supported they should be used instead. MAV_CMD_NAV_FENCE_RETURN_POINT MAV_CMD = 5000 // Fence vertex for an inclusion polygon (the polygon must not be self-intersecting). The vehicle must stay within this area. Minimum of 3 vertices required. MAV_CMD_NAV_FENCE_POLYGON_VERTEX_INCLUSION MAV_CMD = 5001 // Fence vertex for an exclusion polygon (the polygon must not be self-intersecting). The vehicle must stay outside this area. Minimum of 3 vertices required. MAV_CMD_NAV_FENCE_POLYGON_VERTEX_EXCLUSION MAV_CMD = 5002 // Circular fence area. The vehicle must stay inside this area. MAV_CMD_NAV_FENCE_CIRCLE_INCLUSION MAV_CMD = 5003 // Circular fence area. The vehicle must stay outside this area. MAV_CMD_NAV_FENCE_CIRCLE_EXCLUSION MAV_CMD = 5004 // Rally point. You can have multiple rally points defined. MAV_CMD_NAV_RALLY_POINT MAV_CMD = 5100 // Commands the vehicle to respond with a sequence of messages UAVCAN_NODE_INFO, one message per every UAVCAN node that is online. Note that some of the response messages can be lost, which the receiver can detect easily by checking whether every received UAVCAN_NODE_STATUS has a matching message UAVCAN_NODE_INFO received earlier; if not, this command should be sent again in order to request re-transmission of the node information messages. MAV_CMD_UAVCAN_GET_NODE_INFO MAV_CMD = 5200 // Trigger the start of an ADSB-out IDENT. This should only be used when requested to do so by an Air Traffic Controller in controlled airspace. This starts the IDENT which is then typically held for 18 seconds by the hardware per the Mode A, C, and S transponder spec. MAV_CMD_DO_ADSB_OUT_IDENT MAV_CMD = 10001 // Deploy payload on a Lat / Lon / Alt position. This includes the navigation to reach the required release position and velocity. MAV_CMD_PAYLOAD_PREPARE_DEPLOY MAV_CMD = 30001 // Control the payload deployment. MAV_CMD_PAYLOAD_CONTROL_DEPLOY MAV_CMD = 30002 // Magnetometer calibration based on provided known yaw. This allows for fast calibration using WMM field tables in the vehicle, given only the known yaw of the vehicle. If Latitude and longitude are both zero then use the current vehicle location. MAV_CMD_FIXED_MAG_CAL_YAW MAV_CMD = 42006 // Command to operate winch. MAV_CMD_DO_WINCH MAV_CMD = 42600 // User defined waypoint item. Ground Station will show the Vehicle as flying through this item. MAV_CMD_WAYPOINT_USER_1 MAV_CMD = 31000 // User defined waypoint item. Ground Station will show the Vehicle as flying through this item. MAV_CMD_WAYPOINT_USER_2 MAV_CMD = 31001 // User defined waypoint item. Ground Station will show the Vehicle as flying through this item. MAV_CMD_WAYPOINT_USER_3 MAV_CMD = 31002 // User defined waypoint item. Ground Station will show the Vehicle as flying through this item. MAV_CMD_WAYPOINT_USER_4 MAV_CMD = 31003 // User defined waypoint item. Ground Station will show the Vehicle as flying through this item. MAV_CMD_WAYPOINT_USER_5 MAV_CMD = 31004 // User defined spatial item. Ground Station will not show the Vehicle as flying through this item. Example: ROI item. MAV_CMD_SPATIAL_USER_1 MAV_CMD = 31005 // User defined spatial item. Ground Station will not show the Vehicle as flying through this item. Example: ROI item. MAV_CMD_SPATIAL_USER_2 MAV_CMD = 31006 // User defined spatial item. Ground Station will not show the Vehicle as flying through this item. Example: ROI item. MAV_CMD_SPATIAL_USER_3 MAV_CMD = 31007 // User defined spatial item. Ground Station will not show the Vehicle as flying through this item. Example: ROI item. MAV_CMD_SPATIAL_USER_4 MAV_CMD = 31008 // User defined spatial item. Ground Station will not show the Vehicle as flying through this item. Example: ROI item. MAV_CMD_SPATIAL_USER_5 MAV_CMD = 31009 // User defined command. Ground Station will not show the Vehicle as flying through this item. Example: MAV_CMD_DO_SET_PARAMETER item. MAV_CMD_USER_1 MAV_CMD = 31010 // User defined command. Ground Station will not show the Vehicle as flying through this item. Example: MAV_CMD_DO_SET_PARAMETER item. MAV_CMD_USER_2 MAV_CMD = 31011 // User defined command. Ground Station will not show the Vehicle as flying through this item. Example: MAV_CMD_DO_SET_PARAMETER item. MAV_CMD_USER_3 MAV_CMD = 31012 // User defined command. Ground Station will not show the Vehicle as flying through this item. Example: MAV_CMD_DO_SET_PARAMETER item. MAV_CMD_USER_4 MAV_CMD = 31013 // User defined command. Ground Station will not show the Vehicle as flying through this item. Example: MAV_CMD_DO_SET_PARAMETER item. MAV_CMD_USER_5 MAV_CMD = 31014 // Request forwarding of CAN packets from the given CAN bus to this component. CAN Frames are sent using CAN_FRAME and CANFD_FRAME messages MAV_CMD_CAN_FORWARD MAV_CMD = 32000 // Fly a figure eight path as defined by the parameters. // Set parameters to NaN/INT32_MAX (as appropriate) to use system-default values. // The command is intended for fixed wing vehicles (and VTOL hybrids flying in fixed-wing mode), allowing POI tracking for gimbals that don't support infinite rotation. // This command only defines the flight path. Speed should be set independently (use e.g. MAV_CMD_DO_CHANGE_SPEED). // Yaw and other degrees of freedom are not specified, and will be flight-stack specific (on vehicles where they can be controlled independent of the heading). MAV_CMD_DO_FIGURE_EIGHT MAV_CMD = 35 // Request to start or end a parameter transaction. Multiple kinds of transport layers can be used to exchange parameters in the transaction (param, param_ext and mavftp). The command response can either be a success/failure or an in progress in case the receiving side takes some time to apply the parameters. MAV_CMD_PARAM_TRANSACTION MAV_CMD = 900 // Sets the action on geofence breach. // If sent using the command protocol this sets the system-default geofence action. // As part of a mission protocol plan it sets the fence action for the next complete geofence definition *after* the command. // Note: A fence action defined in a plan will override the default system setting (even if the system-default is `FENCE_ACTION_NONE`). // Note: Every geofence in a plan can have its own action; if no fence action is defined for a particular fence the system-default will be used. // Note: The flight stack should reject a plan or command that uses a geofence action that it does not support and send a STATUSTEXT with the reason. MAV_CMD_SET_FENCE_BREACH_ACTION MAV_CMD = 5010 // Request a target system to start an upgrade of one (or all) of its components. // For example, the command might be sent to a companion computer to cause it to upgrade a connected flight controller. // The system doing the upgrade will report progress using the normal command protocol sequence for a long running operation. // Command protocol information: https://mavlink.io/en/services/command.html. MAV_CMD_DO_UPGRADE MAV_CMD = 247 // Define start of a group of mission items. When control reaches this command a GROUP_START message is emitted. // The end of a group is marked using MAV_CMD_GROUP_END with the same group id. // Group ids are expected, but not required, to iterate sequentially. // Groups can be nested. MAV_CMD_GROUP_START MAV_CMD = 301 // Define end of a group of mission items. When control reaches this command a GROUP_END message is emitted. // The start of the group is marked is marked using MAV_CMD_GROUP_START with the same group id. // Group ids are expected, but not required, to iterate sequentially. // Groups can be nested. MAV_CMD_GROUP_END MAV_CMD = 302 // Enable the specified standard MAVLink mode. // If the mode is not supported the vehicle should ACK with MAV_RESULT_FAILED. MAV_CMD_DO_SET_STANDARD_MODE MAV_CMD = 262 // Allows setting an AT S command of an SiK radio. MAV_CMD_SET_AT_S_PARAM MAV_CMD = 550 )
func (MAV_CMD) MarshalText ¶
MarshalText implements the encoding.TextMarshaler interface.
func (*MAV_CMD) UnmarshalText ¶
UnmarshalText implements the encoding.TextUnmarshaler interface.
type MAV_CMD_ACK ¶
type MAV_CMD_ACK = common.MAV_CMD_ACK
ACK / NACK / ERROR values as a result of MAV_CMDs and for mission item transmission.
const ( // Command / mission item is ok. MAV_CMD_ACK_OK MAV_CMD_ACK = common.MAV_CMD_ACK_OK // Generic error message if none of the other reasons fails or if no detailed error reporting is implemented. MAV_CMD_ACK_ERR_FAIL MAV_CMD_ACK = common.MAV_CMD_ACK_ERR_FAIL // The system is refusing to accept this command from this source / communication partner. MAV_CMD_ACK_ERR_ACCESS_DENIED MAV_CMD_ACK = common.MAV_CMD_ACK_ERR_ACCESS_DENIED // Command or mission item is not supported, other commands would be accepted. MAV_CMD_ACK_ERR_NOT_SUPPORTED MAV_CMD_ACK = common.MAV_CMD_ACK_ERR_NOT_SUPPORTED // The coordinate frame of this command / mission item is not supported. MAV_CMD_ACK_ERR_COORDINATE_FRAME_NOT_SUPPORTED MAV_CMD_ACK = common.MAV_CMD_ACK_ERR_COORDINATE_FRAME_NOT_SUPPORTED // The coordinate frame of this command is ok, but he coordinate values exceed the safety limits of this system. This is a generic error, please use the more specific error messages below if possible. MAV_CMD_ACK_ERR_COORDINATES_OUT_OF_RANGE MAV_CMD_ACK = common.MAV_CMD_ACK_ERR_COORDINATES_OUT_OF_RANGE // The X or latitude value is out of range. MAV_CMD_ACK_ERR_X_LAT_OUT_OF_RANGE MAV_CMD_ACK = common.MAV_CMD_ACK_ERR_X_LAT_OUT_OF_RANGE // The Y or longitude value is out of range. MAV_CMD_ACK_ERR_Y_LON_OUT_OF_RANGE MAV_CMD_ACK = common.MAV_CMD_ACK_ERR_Y_LON_OUT_OF_RANGE // The Z or altitude value is out of range. MAV_CMD_ACK_ERR_Z_ALT_OUT_OF_RANGE MAV_CMD_ACK = common.MAV_CMD_ACK_ERR_Z_ALT_OUT_OF_RANGE )
type MAV_COLLISION_ACTION ¶
type MAV_COLLISION_ACTION = common.MAV_COLLISION_ACTION
Possible actions an aircraft can take to avoid a collision.
const ( // Ignore any potential collisions MAV_COLLISION_ACTION_NONE MAV_COLLISION_ACTION = common.MAV_COLLISION_ACTION_NONE // Report potential collision MAV_COLLISION_ACTION_REPORT MAV_COLLISION_ACTION = common.MAV_COLLISION_ACTION_REPORT // Ascend or Descend to avoid threat MAV_COLLISION_ACTION_ASCEND_OR_DESCEND MAV_COLLISION_ACTION = common.MAV_COLLISION_ACTION_ASCEND_OR_DESCEND // Move horizontally to avoid threat MAV_COLLISION_ACTION_MOVE_HORIZONTALLY MAV_COLLISION_ACTION = common.MAV_COLLISION_ACTION_MOVE_HORIZONTALLY // Aircraft to move perpendicular to the collision's velocity vector MAV_COLLISION_ACTION_MOVE_PERPENDICULAR MAV_COLLISION_ACTION = common.MAV_COLLISION_ACTION_MOVE_PERPENDICULAR // Aircraft to fly directly back to its launch point MAV_COLLISION_ACTION_RTL MAV_COLLISION_ACTION = common.MAV_COLLISION_ACTION_RTL // Aircraft to stop in place MAV_COLLISION_ACTION_HOVER MAV_COLLISION_ACTION = common.MAV_COLLISION_ACTION_HOVER )
type MAV_COLLISION_SRC ¶
type MAV_COLLISION_SRC = common.MAV_COLLISION_SRC
Source of information about this collision.
const ( // ID field references ADSB_VEHICLE packets MAV_COLLISION_SRC_ADSB MAV_COLLISION_SRC = common.MAV_COLLISION_SRC_ADSB // ID field references MAVLink SRC ID MAV_COLLISION_SRC_MAVLINK_GPS_GLOBAL_INT MAV_COLLISION_SRC = common.MAV_COLLISION_SRC_MAVLINK_GPS_GLOBAL_INT )
type MAV_COLLISION_THREAT_LEVEL ¶
type MAV_COLLISION_THREAT_LEVEL = common.MAV_COLLISION_THREAT_LEVEL
Aircraft-rated danger from this threat.
const ( // Not a threat MAV_COLLISION_THREAT_LEVEL_NONE MAV_COLLISION_THREAT_LEVEL = common.MAV_COLLISION_THREAT_LEVEL_NONE // Craft is mildly concerned about this threat MAV_COLLISION_THREAT_LEVEL_LOW MAV_COLLISION_THREAT_LEVEL = common.MAV_COLLISION_THREAT_LEVEL_LOW // Craft is panicking, and may take actions to avoid threat MAV_COLLISION_THREAT_LEVEL_HIGH MAV_COLLISION_THREAT_LEVEL = common.MAV_COLLISION_THREAT_LEVEL_HIGH )
type MAV_COMPONENT ¶
type MAV_COMPONENT = minimal.MAV_COMPONENT
Component ids (values) for the different types and instances of onboard hardware/software that might make up a MAVLink system (autopilot, cameras, servos, GPS systems, avoidance systems etc.). Components must use the appropriate ID in their source address when sending messages. Components can also use IDs to determine if they are the intended recipient of an incoming message. The MAV_COMP_ID_ALL value is used to indicate messages that must be processed by all components. When creating new entries, components that can have multiple instances (e.g. cameras, servos etc.) should be allocated sequential values. An appropriate number of values should be left free after these components to allow the number of instances to be expanded.
const ( // Target id (target_component) used to broadcast messages to all components of the receiving system. Components should attempt to process messages with this component ID and forward to components on any other interfaces. Note: This is not a valid *source* component id for a message. MAV_COMP_ID_ALL MAV_COMPONENT = minimal.MAV_COMP_ID_ALL // System flight controller component ("autopilot"). Only one autopilot is expected in a particular system. MAV_COMP_ID_AUTOPILOT1 MAV_COMPONENT = minimal.MAV_COMP_ID_AUTOPILOT1 // Id for a component on privately managed MAVLink network. Can be used for any purpose but may not be published by components outside of the private network. MAV_COMP_ID_USER1 MAV_COMPONENT = minimal.MAV_COMP_ID_USER1 // Id for a component on privately managed MAVLink network. Can be used for any purpose but may not be published by components outside of the private network. MAV_COMP_ID_USER2 MAV_COMPONENT = minimal.MAV_COMP_ID_USER2 // Id for a component on privately managed MAVLink network. Can be used for any purpose but may not be published by components outside of the private network. MAV_COMP_ID_USER3 MAV_COMPONENT = minimal.MAV_COMP_ID_USER3 // Id for a component on privately managed MAVLink network. Can be used for any purpose but may not be published by components outside of the private network. MAV_COMP_ID_USER4 MAV_COMPONENT = minimal.MAV_COMP_ID_USER4 // Id for a component on privately managed MAVLink network. Can be used for any purpose but may not be published by components outside of the private network. MAV_COMP_ID_USER5 MAV_COMPONENT = minimal.MAV_COMP_ID_USER5 // Id for a component on privately managed MAVLink network. Can be used for any purpose but may not be published by components outside of the private network. MAV_COMP_ID_USER6 MAV_COMPONENT = minimal.MAV_COMP_ID_USER6 // Id for a component on privately managed MAVLink network. Can be used for any purpose but may not be published by components outside of the private network. MAV_COMP_ID_USER7 MAV_COMPONENT = minimal.MAV_COMP_ID_USER7 // Id for a component on privately managed MAVLink network. Can be used for any purpose but may not be published by components outside of the private network. MAV_COMP_ID_USER8 MAV_COMPONENT = minimal.MAV_COMP_ID_USER8 // Id for a component on privately managed MAVLink network. Can be used for any purpose but may not be published by components outside of the private network. MAV_COMP_ID_USER9 MAV_COMPONENT = minimal.MAV_COMP_ID_USER9 // Id for a component on privately managed MAVLink network. Can be used for any purpose but may not be published by components outside of the private network. MAV_COMP_ID_USER10 MAV_COMPONENT = minimal.MAV_COMP_ID_USER10 // Id for a component on privately managed MAVLink network. Can be used for any purpose but may not be published by components outside of the private network. MAV_COMP_ID_USER11 MAV_COMPONENT = minimal.MAV_COMP_ID_USER11 // Id for a component on privately managed MAVLink network. Can be used for any purpose but may not be published by components outside of the private network. MAV_COMP_ID_USER12 MAV_COMPONENT = minimal.MAV_COMP_ID_USER12 // Id for a component on privately managed MAVLink network. Can be used for any purpose but may not be published by components outside of the private network. MAV_COMP_ID_USER13 MAV_COMPONENT = minimal.MAV_COMP_ID_USER13 // Id for a component on privately managed MAVLink network. Can be used for any purpose but may not be published by components outside of the private network. MAV_COMP_ID_USER14 MAV_COMPONENT = minimal.MAV_COMP_ID_USER14 // Id for a component on privately managed MAVLink network. Can be used for any purpose but may not be published by components outside of the private network. MAV_COMP_ID_USER15 MAV_COMPONENT = minimal.MAV_COMP_ID_USER15 // Id for a component on privately managed MAVLink network. Can be used for any purpose but may not be published by components outside of the private network. MAV_COMP_ID_USER16 MAV_COMPONENT = minimal.MAV_COMP_ID_USER16 // Id for a component on privately managed MAVLink network. Can be used for any purpose but may not be published by components outside of the private network. MAV_COMP_ID_USER17 MAV_COMPONENT = minimal.MAV_COMP_ID_USER17 // Id for a component on privately managed MAVLink network. Can be used for any purpose but may not be published by components outside of the private network. MAV_COMP_ID_USER18 MAV_COMPONENT = minimal.MAV_COMP_ID_USER18 // Id for a component on privately managed MAVLink network. Can be used for any purpose but may not be published by components outside of the private network. MAV_COMP_ID_USER19 MAV_COMPONENT = minimal.MAV_COMP_ID_USER19 // Id for a component on privately managed MAVLink network. Can be used for any purpose but may not be published by components outside of the private network. MAV_COMP_ID_USER20 MAV_COMPONENT = minimal.MAV_COMP_ID_USER20 // Id for a component on privately managed MAVLink network. Can be used for any purpose but may not be published by components outside of the private network. MAV_COMP_ID_USER21 MAV_COMPONENT = minimal.MAV_COMP_ID_USER21 // Id for a component on privately managed MAVLink network. Can be used for any purpose but may not be published by components outside of the private network. MAV_COMP_ID_USER22 MAV_COMPONENT = minimal.MAV_COMP_ID_USER22 // Id for a component on privately managed MAVLink network. Can be used for any purpose but may not be published by components outside of the private network. MAV_COMP_ID_USER23 MAV_COMPONENT = minimal.MAV_COMP_ID_USER23 // Id for a component on privately managed MAVLink network. Can be used for any purpose but may not be published by components outside of the private network. MAV_COMP_ID_USER24 MAV_COMPONENT = minimal.MAV_COMP_ID_USER24 // Id for a component on privately managed MAVLink network. Can be used for any purpose but may not be published by components outside of the private network. MAV_COMP_ID_USER25 MAV_COMPONENT = minimal.MAV_COMP_ID_USER25 // Id for a component on privately managed MAVLink network. Can be used for any purpose but may not be published by components outside of the private network. MAV_COMP_ID_USER26 MAV_COMPONENT = minimal.MAV_COMP_ID_USER26 // Id for a component on privately managed MAVLink network. Can be used for any purpose but may not be published by components outside of the private network. MAV_COMP_ID_USER27 MAV_COMPONENT = minimal.MAV_COMP_ID_USER27 // Id for a component on privately managed MAVLink network. Can be used for any purpose but may not be published by components outside of the private network. MAV_COMP_ID_USER28 MAV_COMPONENT = minimal.MAV_COMP_ID_USER28 // Id for a component on privately managed MAVLink network. Can be used for any purpose but may not be published by components outside of the private network. MAV_COMP_ID_USER29 MAV_COMPONENT = minimal.MAV_COMP_ID_USER29 // Id for a component on privately managed MAVLink network. Can be used for any purpose but may not be published by components outside of the private network. MAV_COMP_ID_USER30 MAV_COMPONENT = minimal.MAV_COMP_ID_USER30 // Id for a component on privately managed MAVLink network. Can be used for any purpose but may not be published by components outside of the private network. MAV_COMP_ID_USER31 MAV_COMPONENT = minimal.MAV_COMP_ID_USER31 // Id for a component on privately managed MAVLink network. Can be used for any purpose but may not be published by components outside of the private network. MAV_COMP_ID_USER32 MAV_COMPONENT = minimal.MAV_COMP_ID_USER32 // Id for a component on privately managed MAVLink network. Can be used for any purpose but may not be published by components outside of the private network. MAV_COMP_ID_USER33 MAV_COMPONENT = minimal.MAV_COMP_ID_USER33 // Id for a component on privately managed MAVLink network. Can be used for any purpose but may not be published by components outside of the private network. MAV_COMP_ID_USER34 MAV_COMPONENT = minimal.MAV_COMP_ID_USER34 // Id for a component on privately managed MAVLink network. Can be used for any purpose but may not be published by components outside of the private network. MAV_COMP_ID_USER35 MAV_COMPONENT = minimal.MAV_COMP_ID_USER35 // Id for a component on privately managed MAVLink network. Can be used for any purpose but may not be published by components outside of the private network. MAV_COMP_ID_USER36 MAV_COMPONENT = minimal.MAV_COMP_ID_USER36 // Id for a component on privately managed MAVLink network. Can be used for any purpose but may not be published by components outside of the private network. MAV_COMP_ID_USER37 MAV_COMPONENT = minimal.MAV_COMP_ID_USER37 // Id for a component on privately managed MAVLink network. Can be used for any purpose but may not be published by components outside of the private network. MAV_COMP_ID_USER38 MAV_COMPONENT = minimal.MAV_COMP_ID_USER38 // Id for a component on privately managed MAVLink network. Can be used for any purpose but may not be published by components outside of the private network. MAV_COMP_ID_USER39 MAV_COMPONENT = minimal.MAV_COMP_ID_USER39 // Id for a component on privately managed MAVLink network. Can be used for any purpose but may not be published by components outside of the private network. MAV_COMP_ID_USER40 MAV_COMPONENT = minimal.MAV_COMP_ID_USER40 // Id for a component on privately managed MAVLink network. Can be used for any purpose but may not be published by components outside of the private network. MAV_COMP_ID_USER41 MAV_COMPONENT = minimal.MAV_COMP_ID_USER41 // Id for a component on privately managed MAVLink network. Can be used for any purpose but may not be published by components outside of the private network. MAV_COMP_ID_USER42 MAV_COMPONENT = minimal.MAV_COMP_ID_USER42 // Id for a component on privately managed MAVLink network. Can be used for any purpose but may not be published by components outside of the private network. MAV_COMP_ID_USER43 MAV_COMPONENT = minimal.MAV_COMP_ID_USER43 // Telemetry radio (e.g. SiK radio, or other component that emits RADIO_STATUS messages). MAV_COMP_ID_TELEMETRY_RADIO MAV_COMPONENT = minimal.MAV_COMP_ID_TELEMETRY_RADIO // Id for a component on privately managed MAVLink network. Can be used for any purpose but may not be published by components outside of the private network. MAV_COMP_ID_USER45 MAV_COMPONENT = minimal.MAV_COMP_ID_USER45 // Id for a component on privately managed MAVLink network. Can be used for any purpose but may not be published by components outside of the private network. MAV_COMP_ID_USER46 MAV_COMPONENT = minimal.MAV_COMP_ID_USER46 // Id for a component on privately managed MAVLink network. Can be used for any purpose but may not be published by components outside of the private network. MAV_COMP_ID_USER47 MAV_COMPONENT = minimal.MAV_COMP_ID_USER47 // Id for a component on privately managed MAVLink network. Can be used for any purpose but may not be published by components outside of the private network. MAV_COMP_ID_USER48 MAV_COMPONENT = minimal.MAV_COMP_ID_USER48 // Id for a component on privately managed MAVLink network. Can be used for any purpose but may not be published by components outside of the private network. MAV_COMP_ID_USER49 MAV_COMPONENT = minimal.MAV_COMP_ID_USER49 // Id for a component on privately managed MAVLink network. Can be used for any purpose but may not be published by components outside of the private network. MAV_COMP_ID_USER50 MAV_COMPONENT = minimal.MAV_COMP_ID_USER50 // Id for a component on privately managed MAVLink network. Can be used for any purpose but may not be published by components outside of the private network. MAV_COMP_ID_USER51 MAV_COMPONENT = minimal.MAV_COMP_ID_USER51 // Id for a component on privately managed MAVLink network. Can be used for any purpose but may not be published by components outside of the private network. MAV_COMP_ID_USER52 MAV_COMPONENT = minimal.MAV_COMP_ID_USER52 // Id for a component on privately managed MAVLink network. Can be used for any purpose but may not be published by components outside of the private network. MAV_COMP_ID_USER53 MAV_COMPONENT = minimal.MAV_COMP_ID_USER53 // Id for a component on privately managed MAVLink network. Can be used for any purpose but may not be published by components outside of the private network. MAV_COMP_ID_USER54 MAV_COMPONENT = minimal.MAV_COMP_ID_USER54 // Id for a component on privately managed MAVLink network. Can be used for any purpose but may not be published by components outside of the private network. MAV_COMP_ID_USER55 MAV_COMPONENT = minimal.MAV_COMP_ID_USER55 // Id for a component on privately managed MAVLink network. Can be used for any purpose but may not be published by components outside of the private network. MAV_COMP_ID_USER56 MAV_COMPONENT = minimal.MAV_COMP_ID_USER56 // Id for a component on privately managed MAVLink network. Can be used for any purpose but may not be published by components outside of the private network. MAV_COMP_ID_USER57 MAV_COMPONENT = minimal.MAV_COMP_ID_USER57 // Id for a component on privately managed MAVLink network. Can be used for any purpose but may not be published by components outside of the private network. MAV_COMP_ID_USER58 MAV_COMPONENT = minimal.MAV_COMP_ID_USER58 // Id for a component on privately managed MAVLink network. Can be used for any purpose but may not be published by components outside of the private network. MAV_COMP_ID_USER59 MAV_COMPONENT = minimal.MAV_COMP_ID_USER59 // Id for a component on privately managed MAVLink network. Can be used for any purpose but may not be published by components outside of the private network. MAV_COMP_ID_USER60 MAV_COMPONENT = minimal.MAV_COMP_ID_USER60 // Id for a component on privately managed MAVLink network. Can be used for any purpose but may not be published by components outside of the private network. MAV_COMP_ID_USER61 MAV_COMPONENT = minimal.MAV_COMP_ID_USER61 // Id for a component on privately managed MAVLink network. Can be used for any purpose but may not be published by components outside of the private network. MAV_COMP_ID_USER62 MAV_COMPONENT = minimal.MAV_COMP_ID_USER62 // Id for a component on privately managed MAVLink network. Can be used for any purpose but may not be published by components outside of the private network. MAV_COMP_ID_USER63 MAV_COMPONENT = minimal.MAV_COMP_ID_USER63 // Id for a component on privately managed MAVLink network. Can be used for any purpose but may not be published by components outside of the private network. MAV_COMP_ID_USER64 MAV_COMPONENT = minimal.MAV_COMP_ID_USER64 // Id for a component on privately managed MAVLink network. Can be used for any purpose but may not be published by components outside of the private network. MAV_COMP_ID_USER65 MAV_COMPONENT = minimal.MAV_COMP_ID_USER65 // Id for a component on privately managed MAVLink network. Can be used for any purpose but may not be published by components outside of the private network. MAV_COMP_ID_USER66 MAV_COMPONENT = minimal.MAV_COMP_ID_USER66 // Id for a component on privately managed MAVLink network. Can be used for any purpose but may not be published by components outside of the private network. MAV_COMP_ID_USER67 MAV_COMPONENT = minimal.MAV_COMP_ID_USER67 // Id for a component on privately managed MAVLink network. Can be used for any purpose but may not be published by components outside of the private network. MAV_COMP_ID_USER68 MAV_COMPONENT = minimal.MAV_COMP_ID_USER68 // Id for a component on privately managed MAVLink network. Can be used for any purpose but may not be published by components outside of the private network. MAV_COMP_ID_USER69 MAV_COMPONENT = minimal.MAV_COMP_ID_USER69 // Id for a component on privately managed MAVLink network. Can be used for any purpose but may not be published by components outside of the private network. MAV_COMP_ID_USER70 MAV_COMPONENT = minimal.MAV_COMP_ID_USER70 // Id for a component on privately managed MAVLink network. Can be used for any purpose but may not be published by components outside of the private network. MAV_COMP_ID_USER71 MAV_COMPONENT = minimal.MAV_COMP_ID_USER71 // Id for a component on privately managed MAVLink network. Can be used for any purpose but may not be published by components outside of the private network. MAV_COMP_ID_USER72 MAV_COMPONENT = minimal.MAV_COMP_ID_USER72 // Id for a component on privately managed MAVLink network. Can be used for any purpose but may not be published by components outside of the private network. MAV_COMP_ID_USER73 MAV_COMPONENT = minimal.MAV_COMP_ID_USER73 // Id for a component on privately managed MAVLink network. Can be used for any purpose but may not be published by components outside of the private network. MAV_COMP_ID_USER74 MAV_COMPONENT = minimal.MAV_COMP_ID_USER74 // Id for a component on privately managed MAVLink network. Can be used for any purpose but may not be published by components outside of the private network. MAV_COMP_ID_USER75 MAV_COMPONENT = minimal.MAV_COMP_ID_USER75 // Camera #1. MAV_COMP_ID_CAMERA MAV_COMPONENT = minimal.MAV_COMP_ID_CAMERA // Camera #2. MAV_COMP_ID_CAMERA2 MAV_COMPONENT = minimal.MAV_COMP_ID_CAMERA2 // Camera #3. MAV_COMP_ID_CAMERA3 MAV_COMPONENT = minimal.MAV_COMP_ID_CAMERA3 // Camera #4. MAV_COMP_ID_CAMERA4 MAV_COMPONENT = minimal.MAV_COMP_ID_CAMERA4 // Camera #5. MAV_COMP_ID_CAMERA5 MAV_COMPONENT = minimal.MAV_COMP_ID_CAMERA5 // Camera #6. MAV_COMP_ID_CAMERA6 MAV_COMPONENT = minimal.MAV_COMP_ID_CAMERA6 // Servo #1. MAV_COMP_ID_SERVO1 MAV_COMPONENT = minimal.MAV_COMP_ID_SERVO1 // Servo #2. MAV_COMP_ID_SERVO2 MAV_COMPONENT = minimal.MAV_COMP_ID_SERVO2 // Servo #3. MAV_COMP_ID_SERVO3 MAV_COMPONENT = minimal.MAV_COMP_ID_SERVO3 // Servo #4. MAV_COMP_ID_SERVO4 MAV_COMPONENT = minimal.MAV_COMP_ID_SERVO4 // Servo #5. MAV_COMP_ID_SERVO5 MAV_COMPONENT = minimal.MAV_COMP_ID_SERVO5 // Servo #6. MAV_COMP_ID_SERVO6 MAV_COMPONENT = minimal.MAV_COMP_ID_SERVO6 // Servo #7. MAV_COMP_ID_SERVO7 MAV_COMPONENT = minimal.MAV_COMP_ID_SERVO7 // Servo #8. MAV_COMP_ID_SERVO8 MAV_COMPONENT = minimal.MAV_COMP_ID_SERVO8 // Servo #9. MAV_COMP_ID_SERVO9 MAV_COMPONENT = minimal.MAV_COMP_ID_SERVO9 // Servo #10. MAV_COMP_ID_SERVO10 MAV_COMPONENT = minimal.MAV_COMP_ID_SERVO10 // Servo #11. MAV_COMP_ID_SERVO11 MAV_COMPONENT = minimal.MAV_COMP_ID_SERVO11 // Servo #12. MAV_COMP_ID_SERVO12 MAV_COMPONENT = minimal.MAV_COMP_ID_SERVO12 // Servo #13. MAV_COMP_ID_SERVO13 MAV_COMPONENT = minimal.MAV_COMP_ID_SERVO13 // Servo #14. MAV_COMP_ID_SERVO14 MAV_COMPONENT = minimal.MAV_COMP_ID_SERVO14 // Gimbal #1. MAV_COMP_ID_GIMBAL MAV_COMPONENT = minimal.MAV_COMP_ID_GIMBAL // Logging component. MAV_COMP_ID_LOG MAV_COMPONENT = minimal.MAV_COMP_ID_LOG // Automatic Dependent Surveillance-Broadcast (ADS-B) component. MAV_COMP_ID_ADSB MAV_COMPONENT = minimal.MAV_COMP_ID_ADSB // On Screen Display (OSD) devices for video links. MAV_COMP_ID_OSD MAV_COMPONENT = minimal.MAV_COMP_ID_OSD // Generic autopilot peripheral component ID. Meant for devices that do not implement the parameter microservice. MAV_COMP_ID_PERIPHERAL MAV_COMPONENT = minimal.MAV_COMP_ID_PERIPHERAL // Gimbal ID for QX1. MAV_COMP_ID_QX1_GIMBAL MAV_COMPONENT = minimal.MAV_COMP_ID_QX1_GIMBAL // FLARM collision alert component. MAV_COMP_ID_FLARM MAV_COMPONENT = minimal.MAV_COMP_ID_FLARM // Parachute component. MAV_COMP_ID_PARACHUTE MAV_COMPONENT = minimal.MAV_COMP_ID_PARACHUTE // Winch component. MAV_COMP_ID_WINCH MAV_COMPONENT = minimal.MAV_COMP_ID_WINCH // Gimbal #2. MAV_COMP_ID_GIMBAL2 MAV_COMPONENT = minimal.MAV_COMP_ID_GIMBAL2 // Gimbal #3. MAV_COMP_ID_GIMBAL3 MAV_COMPONENT = minimal.MAV_COMP_ID_GIMBAL3 // Gimbal #4 MAV_COMP_ID_GIMBAL4 MAV_COMPONENT = minimal.MAV_COMP_ID_GIMBAL4 // Gimbal #5. MAV_COMP_ID_GIMBAL5 MAV_COMPONENT = minimal.MAV_COMP_ID_GIMBAL5 // Gimbal #6. MAV_COMP_ID_GIMBAL6 MAV_COMPONENT = minimal.MAV_COMP_ID_GIMBAL6 // Battery #1. MAV_COMP_ID_BATTERY MAV_COMPONENT = minimal.MAV_COMP_ID_BATTERY // Battery #2. MAV_COMP_ID_BATTERY2 MAV_COMPONENT = minimal.MAV_COMP_ID_BATTERY2 // CAN over MAVLink client. MAV_COMP_ID_MAVCAN MAV_COMPONENT = minimal.MAV_COMP_ID_MAVCAN // Component that can generate/supply a mission flight plan (e.g. GCS or developer API). MAV_COMP_ID_MISSIONPLANNER MAV_COMPONENT = minimal.MAV_COMP_ID_MISSIONPLANNER // Component that lives on the onboard computer (companion computer) and has some generic functionalities, such as settings system parameters and monitoring the status of some processes that don't directly speak mavlink and so on. MAV_COMP_ID_ONBOARD_COMPUTER MAV_COMPONENT = minimal.MAV_COMP_ID_ONBOARD_COMPUTER // Component that lives on the onboard computer (companion computer) and has some generic functionalities, such as settings system parameters and monitoring the status of some processes that don't directly speak mavlink and so on. MAV_COMP_ID_ONBOARD_COMPUTER2 MAV_COMPONENT = minimal.MAV_COMP_ID_ONBOARD_COMPUTER2 // Component that lives on the onboard computer (companion computer) and has some generic functionalities, such as settings system parameters and monitoring the status of some processes that don't directly speak mavlink and so on. MAV_COMP_ID_ONBOARD_COMPUTER3 MAV_COMPONENT = minimal.MAV_COMP_ID_ONBOARD_COMPUTER3 // Component that lives on the onboard computer (companion computer) and has some generic functionalities, such as settings system parameters and monitoring the status of some processes that don't directly speak mavlink and so on. MAV_COMP_ID_ONBOARD_COMPUTER4 MAV_COMPONENT = minimal.MAV_COMP_ID_ONBOARD_COMPUTER4 // Component that finds an optimal path between points based on a certain constraint (e.g. minimum snap, shortest path, cost, etc.). MAV_COMP_ID_PATHPLANNER MAV_COMPONENT = minimal.MAV_COMP_ID_PATHPLANNER // Component that plans a collision free path between two points. MAV_COMP_ID_OBSTACLE_AVOIDANCE MAV_COMPONENT = minimal.MAV_COMP_ID_OBSTACLE_AVOIDANCE // Component that provides position estimates using VIO techniques. MAV_COMP_ID_VISUAL_INERTIAL_ODOMETRY MAV_COMPONENT = minimal.MAV_COMP_ID_VISUAL_INERTIAL_ODOMETRY // Component that manages pairing of vehicle and GCS. MAV_COMP_ID_PAIRING_MANAGER MAV_COMPONENT = minimal.MAV_COMP_ID_PAIRING_MANAGER // Inertial Measurement Unit (IMU) #1. MAV_COMP_ID_IMU MAV_COMPONENT = minimal.MAV_COMP_ID_IMU // Inertial Measurement Unit (IMU) #2. MAV_COMP_ID_IMU_2 MAV_COMPONENT = minimal.MAV_COMP_ID_IMU_2 // Inertial Measurement Unit (IMU) #3. MAV_COMP_ID_IMU_3 MAV_COMPONENT = minimal.MAV_COMP_ID_IMU_3 // GPS #1. MAV_COMP_ID_GPS MAV_COMPONENT = minimal.MAV_COMP_ID_GPS // GPS #2. MAV_COMP_ID_GPS2 MAV_COMPONENT = minimal.MAV_COMP_ID_GPS2 // Open Drone ID transmitter/receiver (Bluetooth/WiFi/Internet). MAV_COMP_ID_ODID_TXRX_1 MAV_COMPONENT = minimal.MAV_COMP_ID_ODID_TXRX_1 // Open Drone ID transmitter/receiver (Bluetooth/WiFi/Internet). MAV_COMP_ID_ODID_TXRX_2 MAV_COMPONENT = minimal.MAV_COMP_ID_ODID_TXRX_2 // Open Drone ID transmitter/receiver (Bluetooth/WiFi/Internet). MAV_COMP_ID_ODID_TXRX_3 MAV_COMPONENT = minimal.MAV_COMP_ID_ODID_TXRX_3 // Component to bridge MAVLink to UDP (i.e. from a UART). MAV_COMP_ID_UDP_BRIDGE MAV_COMPONENT = minimal.MAV_COMP_ID_UDP_BRIDGE // Component to bridge to UART (i.e. from UDP). MAV_COMP_ID_UART_BRIDGE MAV_COMPONENT = minimal.MAV_COMP_ID_UART_BRIDGE // Component handling TUNNEL messages (e.g. vendor specific GUI of a component). MAV_COMP_ID_TUNNEL_NODE MAV_COMPONENT = minimal.MAV_COMP_ID_TUNNEL_NODE // Deprecated, don't use. Component for handling system messages (e.g. to ARM, takeoff, etc.). MAV_COMP_ID_SYSTEM_CONTROL MAV_COMPONENT = minimal.MAV_COMP_ID_SYSTEM_CONTROL )
type MAV_DATA_STREAM ¶
type MAV_DATA_STREAM = common.MAV_DATA_STREAM
A data stream is not a fixed set of messages, but rather a recommendation to the autopilot software. Individual autopilots may or may not obey the recommended messages.
const ( // Enable all data streams MAV_DATA_STREAM_ALL MAV_DATA_STREAM = common.MAV_DATA_STREAM_ALL // Enable IMU_RAW, GPS_RAW, GPS_STATUS packets. MAV_DATA_STREAM_RAW_SENSORS MAV_DATA_STREAM = common.MAV_DATA_STREAM_RAW_SENSORS // Enable GPS_STATUS, CONTROL_STATUS, AUX_STATUS MAV_DATA_STREAM_EXTENDED_STATUS MAV_DATA_STREAM = common.MAV_DATA_STREAM_EXTENDED_STATUS // Enable RC_CHANNELS_SCALED, RC_CHANNELS_RAW, SERVO_OUTPUT_RAW MAV_DATA_STREAM_RC_CHANNELS MAV_DATA_STREAM = common.MAV_DATA_STREAM_RC_CHANNELS // Enable ATTITUDE_CONTROLLER_OUTPUT, POSITION_CONTROLLER_OUTPUT, NAV_CONTROLLER_OUTPUT. MAV_DATA_STREAM_RAW_CONTROLLER MAV_DATA_STREAM = common.MAV_DATA_STREAM_RAW_CONTROLLER // Enable LOCAL_POSITION, GLOBAL_POSITION_INT messages. MAV_DATA_STREAM_POSITION MAV_DATA_STREAM = common.MAV_DATA_STREAM_POSITION // Dependent on the autopilot MAV_DATA_STREAM_EXTRA1 MAV_DATA_STREAM = common.MAV_DATA_STREAM_EXTRA1 // Dependent on the autopilot MAV_DATA_STREAM_EXTRA2 MAV_DATA_STREAM = common.MAV_DATA_STREAM_EXTRA2 // Dependent on the autopilot MAV_DATA_STREAM_EXTRA3 MAV_DATA_STREAM = common.MAV_DATA_STREAM_EXTRA3 )
type MAV_DISTANCE_SENSOR ¶
type MAV_DISTANCE_SENSOR = common.MAV_DISTANCE_SENSOR
Enumeration of distance sensor types
const ( // Laser rangefinder, e.g. LightWare SF02/F or PulsedLight units MAV_DISTANCE_SENSOR_LASER MAV_DISTANCE_SENSOR = common.MAV_DISTANCE_SENSOR_LASER // Ultrasound rangefinder, e.g. MaxBotix units MAV_DISTANCE_SENSOR_ULTRASOUND MAV_DISTANCE_SENSOR = common.MAV_DISTANCE_SENSOR_ULTRASOUND // Infrared rangefinder, e.g. Sharp units MAV_DISTANCE_SENSOR_INFRARED MAV_DISTANCE_SENSOR = common.MAV_DISTANCE_SENSOR_INFRARED // Radar type, e.g. uLanding units MAV_DISTANCE_SENSOR_RADAR MAV_DISTANCE_SENSOR = common.MAV_DISTANCE_SENSOR_RADAR // Broken or unknown type, e.g. analog units MAV_DISTANCE_SENSOR_UNKNOWN MAV_DISTANCE_SENSOR = common.MAV_DISTANCE_SENSOR_UNKNOWN )
type MAV_DO_REPOSITION_FLAGS ¶
type MAV_DO_REPOSITION_FLAGS = common.MAV_DO_REPOSITION_FLAGS
Bitmap of options for the MAV_CMD_DO_REPOSITION
const ( // The aircraft should immediately transition into guided. This should not be set for follow me applications MAV_DO_REPOSITION_FLAGS_CHANGE_MODE MAV_DO_REPOSITION_FLAGS = common.MAV_DO_REPOSITION_FLAGS_CHANGE_MODE )
type MAV_ESTIMATOR_TYPE ¶
type MAV_ESTIMATOR_TYPE = common.MAV_ESTIMATOR_TYPE
Enumeration of estimator types
const ( // Unknown type of the estimator. MAV_ESTIMATOR_TYPE_UNKNOWN MAV_ESTIMATOR_TYPE = common.MAV_ESTIMATOR_TYPE_UNKNOWN // This is a naive estimator without any real covariance feedback. MAV_ESTIMATOR_TYPE_NAIVE MAV_ESTIMATOR_TYPE = common.MAV_ESTIMATOR_TYPE_NAIVE // Computer vision based estimate. Might be up to scale. MAV_ESTIMATOR_TYPE_VISION MAV_ESTIMATOR_TYPE = common.MAV_ESTIMATOR_TYPE_VISION // Visual-inertial estimate. MAV_ESTIMATOR_TYPE_VIO MAV_ESTIMATOR_TYPE = common.MAV_ESTIMATOR_TYPE_VIO // Plain GPS estimate. MAV_ESTIMATOR_TYPE_GPS MAV_ESTIMATOR_TYPE = common.MAV_ESTIMATOR_TYPE_GPS // Estimator integrating GPS and inertial sensing. MAV_ESTIMATOR_TYPE_GPS_INS MAV_ESTIMATOR_TYPE = common.MAV_ESTIMATOR_TYPE_GPS_INS // Estimate from external motion capturing system. MAV_ESTIMATOR_TYPE_MOCAP MAV_ESTIMATOR_TYPE = common.MAV_ESTIMATOR_TYPE_MOCAP // Estimator based on lidar sensor input. MAV_ESTIMATOR_TYPE_LIDAR MAV_ESTIMATOR_TYPE = common.MAV_ESTIMATOR_TYPE_LIDAR // Estimator on autopilot. MAV_ESTIMATOR_TYPE_AUTOPILOT MAV_ESTIMATOR_TYPE = common.MAV_ESTIMATOR_TYPE_AUTOPILOT )
type MAV_EVENT_CURRENT_SEQUENCE_FLAGS ¶
type MAV_EVENT_CURRENT_SEQUENCE_FLAGS = common.MAV_EVENT_CURRENT_SEQUENCE_FLAGS
Flags for CURRENT_EVENT_SEQUENCE.
const ( // A sequence reset has happened (e.g. vehicle reboot). MAV_EVENT_CURRENT_SEQUENCE_FLAGS_RESET MAV_EVENT_CURRENT_SEQUENCE_FLAGS = common.MAV_EVENT_CURRENT_SEQUENCE_FLAGS_RESET )
type MAV_EVENT_ERROR_REASON ¶
type MAV_EVENT_ERROR_REASON = common.MAV_EVENT_ERROR_REASON
Reason for an event error response.
const ( // The requested event is not available (anymore). MAV_EVENT_ERROR_REASON_UNAVAILABLE MAV_EVENT_ERROR_REASON = common.MAV_EVENT_ERROR_REASON_UNAVAILABLE )
type MAV_FRAME ¶
Coordinate frames used by MAVLink. Not all frames are supported by all commands, messages, or vehicles. Global frames use the following naming conventions: - "GLOBAL": Global coordinate frame with WGS84 latitude/longitude and altitude positive over mean sea level (MSL) by default. The following modifiers may be used with "GLOBAL": - "RELATIVE_ALT": Altitude is relative to the vehicle home position rather than MSL. - "TERRAIN_ALT": Altitude is relative to ground level rather than MSL. - "INT": Latitude/longitude (in degrees) are scaled by multiplying by 1E7. Local frames use the following naming conventions: - "LOCAL": Origin of local frame is fixed relative to earth. Unless otherwise specified this origin is the origin of the vehicle position-estimator ("EKF"). - "BODY": Origin of local frame travels with the vehicle. NOTE, "BODY" does NOT indicate alignment of frame axis with vehicle attitude. - "OFFSET": Deprecated synonym for "BODY" (origin travels with the vehicle). Not to be used for new frames. Some deprecated frames do not follow these conventions (e.g. MAV_FRAME_BODY_NED and MAV_FRAME_BODY_OFFSET_NED).
const ( // Global (WGS84) coordinate frame + MSL altitude. First value / x: latitude, second value / y: longitude, third value / z: positive altitude over mean sea level (MSL). MAV_FRAME_GLOBAL MAV_FRAME = common.MAV_FRAME_GLOBAL // NED local tangent frame (x: North, y: East, z: Down) with origin fixed relative to earth. MAV_FRAME_LOCAL_NED MAV_FRAME = common.MAV_FRAME_LOCAL_NED // NOT a coordinate frame, indicates a mission command. MAV_FRAME_MISSION MAV_FRAME = common.MAV_FRAME_MISSION // Global (WGS84) coordinate frame + altitude relative to the home position. // First value / x: latitude, second value / y: longitude, third value / z: positive altitude with 0 being at the altitude of the home position. MAV_FRAME_GLOBAL_RELATIVE_ALT MAV_FRAME = common.MAV_FRAME_GLOBAL_RELATIVE_ALT // ENU local tangent frame (x: East, y: North, z: Up) with origin fixed relative to earth. MAV_FRAME_LOCAL_ENU MAV_FRAME = common.MAV_FRAME_LOCAL_ENU // Global (WGS84) coordinate frame (scaled) + MSL altitude. First value / x: latitude in degrees*1E7, second value / y: longitude in degrees*1E7, third value / z: positive altitude over mean sea level (MSL). MAV_FRAME_GLOBAL_INT MAV_FRAME = common.MAV_FRAME_GLOBAL_INT // Global (WGS84) coordinate frame (scaled) + altitude relative to the home position. // First value / x: latitude in degrees*1E7, second value / y: longitude in degrees*1E7, third value / z: positive altitude with 0 being at the altitude of the home position. MAV_FRAME_GLOBAL_RELATIVE_ALT_INT MAV_FRAME = common.MAV_FRAME_GLOBAL_RELATIVE_ALT_INT // NED local tangent frame (x: North, y: East, z: Down) with origin that travels with the vehicle. MAV_FRAME_LOCAL_OFFSET_NED MAV_FRAME = common.MAV_FRAME_LOCAL_OFFSET_NED // Same as MAV_FRAME_LOCAL_NED when used to represent position values. Same as MAV_FRAME_BODY_FRD when used with velocity/acceleration values. MAV_FRAME_BODY_NED MAV_FRAME = common.MAV_FRAME_BODY_NED // This is the same as MAV_FRAME_BODY_FRD. MAV_FRAME_BODY_OFFSET_NED MAV_FRAME = common.MAV_FRAME_BODY_OFFSET_NED // Global (WGS84) coordinate frame with AGL altitude (at the waypoint coordinate). First value / x: latitude in degrees, second value / y: longitude in degrees, third value / z: positive altitude in meters with 0 being at ground level in terrain model. MAV_FRAME_GLOBAL_TERRAIN_ALT MAV_FRAME = common.MAV_FRAME_GLOBAL_TERRAIN_ALT // Global (WGS84) coordinate frame (scaled) with AGL altitude (at the waypoint coordinate). First value / x: latitude in degrees*1E7, second value / y: longitude in degrees*1E7, third value / z: positive altitude in meters with 0 being at ground level in terrain model. MAV_FRAME_GLOBAL_TERRAIN_ALT_INT MAV_FRAME = common.MAV_FRAME_GLOBAL_TERRAIN_ALT_INT // FRD local frame aligned to the vehicle's attitude (x: Forward, y: Right, z: Down) with an origin that travels with vehicle. MAV_FRAME_BODY_FRD MAV_FRAME = common.MAV_FRAME_BODY_FRD // MAV_FRAME_BODY_FLU - Body fixed frame of reference, Z-up (x: Forward, y: Left, z: Up). MAV_FRAME_RESERVED_13 MAV_FRAME = common.MAV_FRAME_RESERVED_13 // MAV_FRAME_MOCAP_NED - Odometry local coordinate frame of data given by a motion capture system, Z-down (x: North, y: East, z: Down). MAV_FRAME_RESERVED_14 MAV_FRAME = common.MAV_FRAME_RESERVED_14 // MAV_FRAME_MOCAP_ENU - Odometry local coordinate frame of data given by a motion capture system, Z-up (x: East, y: North, z: Up). MAV_FRAME_RESERVED_15 MAV_FRAME = common.MAV_FRAME_RESERVED_15 // MAV_FRAME_VISION_NED - Odometry local coordinate frame of data given by a vision estimation system, Z-down (x: North, y: East, z: Down). MAV_FRAME_RESERVED_16 MAV_FRAME = common.MAV_FRAME_RESERVED_16 // MAV_FRAME_VISION_ENU - Odometry local coordinate frame of data given by a vision estimation system, Z-up (x: East, y: North, z: Up). MAV_FRAME_RESERVED_17 MAV_FRAME = common.MAV_FRAME_RESERVED_17 // MAV_FRAME_ESTIM_NED - Odometry local coordinate frame of data given by an estimator running onboard the vehicle, Z-down (x: North, y: East, z: Down). MAV_FRAME_RESERVED_18 MAV_FRAME = common.MAV_FRAME_RESERVED_18 // MAV_FRAME_ESTIM_ENU - Odometry local coordinate frame of data given by an estimator running onboard the vehicle, Z-up (x: East, y: North, z: Up). MAV_FRAME_RESERVED_19 MAV_FRAME = common.MAV_FRAME_RESERVED_19 // FRD local tangent frame (x: Forward, y: Right, z: Down) with origin fixed relative to earth. The forward axis is aligned to the front of the vehicle in the horizontal plane. MAV_FRAME_LOCAL_FRD MAV_FRAME = common.MAV_FRAME_LOCAL_FRD // FLU local tangent frame (x: Forward, y: Left, z: Up) with origin fixed relative to earth. The forward axis is aligned to the front of the vehicle in the horizontal plane. MAV_FRAME_LOCAL_FLU MAV_FRAME = common.MAV_FRAME_LOCAL_FLU )
type MAV_FTP_ERR ¶
type MAV_FTP_ERR = common.MAV_FTP_ERR
MAV FTP error codes (https://mavlink.io/en/services/ftp.html)
const ( // None: No error MAV_FTP_ERR_NONE MAV_FTP_ERR = common.MAV_FTP_ERR_NONE // Fail: Unknown failure MAV_FTP_ERR_FAIL MAV_FTP_ERR = common.MAV_FTP_ERR_FAIL // FailErrno: Command failed, Err number sent back in PayloadHeader.data[1]. // This is a file-system error number understood by the server operating system. MAV_FTP_ERR_FAILERRNO MAV_FTP_ERR = common.MAV_FTP_ERR_FAILERRNO // InvalidDataSize: Payload size is invalid MAV_FTP_ERR_INVALIDDATASIZE MAV_FTP_ERR = common.MAV_FTP_ERR_INVALIDDATASIZE // InvalidSession: Session is not currently open MAV_FTP_ERR_INVALIDSESSION MAV_FTP_ERR = common.MAV_FTP_ERR_INVALIDSESSION // NoSessionsAvailable: All available sessions are already in use MAV_FTP_ERR_NOSESSIONSAVAILABLE MAV_FTP_ERR = common.MAV_FTP_ERR_NOSESSIONSAVAILABLE // EOF: Offset past end of file for ListDirectory and ReadFile commands MAV_FTP_ERR_EOF MAV_FTP_ERR = common.MAV_FTP_ERR_EOF // UnknownCommand: Unknown command / opcode MAV_FTP_ERR_UNKNOWNCOMMAND MAV_FTP_ERR = common.MAV_FTP_ERR_UNKNOWNCOMMAND // FileExists: File/directory already exists MAV_FTP_ERR_FILEEXISTS MAV_FTP_ERR = common.MAV_FTP_ERR_FILEEXISTS // FileProtected: File/directory is write protected MAV_FTP_ERR_FILEPROTECTED MAV_FTP_ERR = common.MAV_FTP_ERR_FILEPROTECTED // FileNotFound: File/directory not found MAV_FTP_ERR_FILENOTFOUND MAV_FTP_ERR = common.MAV_FTP_ERR_FILENOTFOUND )
type MAV_FTP_OPCODE ¶
type MAV_FTP_OPCODE = common.MAV_FTP_OPCODE
MAV FTP opcodes: https://mavlink.io/en/services/ftp.html
const ( // None. Ignored, always ACKed MAV_FTP_OPCODE_NONE MAV_FTP_OPCODE = common.MAV_FTP_OPCODE_NONE // TerminateSession: Terminates open Read session MAV_FTP_OPCODE_TERMINATESESSION MAV_FTP_OPCODE = common.MAV_FTP_OPCODE_TERMINATESESSION // ResetSessions: Terminates all open read sessions MAV_FTP_OPCODE_RESETSESSION MAV_FTP_OPCODE = common.MAV_FTP_OPCODE_RESETSESSION // ListDirectory. List files and directories in path from offset MAV_FTP_OPCODE_LISTDIRECTORY MAV_FTP_OPCODE = common.MAV_FTP_OPCODE_LISTDIRECTORY // OpenFileRO: Opens file at path for reading, returns session MAV_FTP_OPCODE_OPENFILERO MAV_FTP_OPCODE = common.MAV_FTP_OPCODE_OPENFILERO // ReadFile: Reads size bytes from offset in session MAV_FTP_OPCODE_READFILE MAV_FTP_OPCODE = common.MAV_FTP_OPCODE_READFILE // CreateFile: Creates file at path for writing, returns session MAV_FTP_OPCODE_CREATEFILE MAV_FTP_OPCODE = common.MAV_FTP_OPCODE_CREATEFILE // WriteFile: Writes size bytes to offset in session MAV_FTP_OPCODE_WRITEFILE MAV_FTP_OPCODE = common.MAV_FTP_OPCODE_WRITEFILE // RemoveFile: Remove file at path MAV_FTP_OPCODE_REMOVEFILE MAV_FTP_OPCODE = common.MAV_FTP_OPCODE_REMOVEFILE // CreateDirectory: Creates directory at path MAV_FTP_OPCODE_CREATEDIRECTORY MAV_FTP_OPCODE = common.MAV_FTP_OPCODE_CREATEDIRECTORY // RemoveDirectory: Removes directory at path. The directory must be empty. MAV_FTP_OPCODE_REMOVEDIRECTORY MAV_FTP_OPCODE = common.MAV_FTP_OPCODE_REMOVEDIRECTORY // OpenFileWO: Opens file at path for writing, returns session MAV_FTP_OPCODE_OPENFILEWO MAV_FTP_OPCODE = common.MAV_FTP_OPCODE_OPENFILEWO // TruncateFile: Truncate file at path to offset length MAV_FTP_OPCODE_TRUNCATEFILE MAV_FTP_OPCODE = common.MAV_FTP_OPCODE_TRUNCATEFILE // Rename: Rename path1 to path2 MAV_FTP_OPCODE_RENAME MAV_FTP_OPCODE = common.MAV_FTP_OPCODE_RENAME // CalcFileCRC32: Calculate CRC32 for file at path MAV_FTP_OPCODE_CALCFILECRC MAV_FTP_OPCODE = common.MAV_FTP_OPCODE_CALCFILECRC // BurstReadFile: Burst download session file MAV_FTP_OPCODE_BURSTREADFILE MAV_FTP_OPCODE = common.MAV_FTP_OPCODE_BURSTREADFILE // ACK: ACK response MAV_FTP_OPCODE_ACK MAV_FTP_OPCODE = common.MAV_FTP_OPCODE_ACK // NAK: NAK response MAV_FTP_OPCODE_NAK MAV_FTP_OPCODE = common.MAV_FTP_OPCODE_NAK )
type MAV_GENERATOR_STATUS_FLAG ¶
type MAV_GENERATOR_STATUS_FLAG = common.MAV_GENERATOR_STATUS_FLAG
Flags to report status/failure cases for a power generator (used in GENERATOR_STATUS). Note that FAULTS are conditions that cause the generator to fail. Warnings are conditions that require attention before the next use (they indicate the system is not operating properly).
const ( // Generator is off. MAV_GENERATOR_STATUS_FLAG_OFF MAV_GENERATOR_STATUS_FLAG = common.MAV_GENERATOR_STATUS_FLAG_OFF // Generator is ready to start generating power. MAV_GENERATOR_STATUS_FLAG_READY MAV_GENERATOR_STATUS_FLAG = common.MAV_GENERATOR_STATUS_FLAG_READY // Generator is generating power. MAV_GENERATOR_STATUS_FLAG_GENERATING MAV_GENERATOR_STATUS_FLAG = common.MAV_GENERATOR_STATUS_FLAG_GENERATING // Generator is charging the batteries (generating enough power to charge and provide the load). MAV_GENERATOR_STATUS_FLAG_CHARGING MAV_GENERATOR_STATUS_FLAG = common.MAV_GENERATOR_STATUS_FLAG_CHARGING // Generator is operating at a reduced maximum power. MAV_GENERATOR_STATUS_FLAG_REDUCED_POWER MAV_GENERATOR_STATUS_FLAG = common.MAV_GENERATOR_STATUS_FLAG_REDUCED_POWER // Generator is providing the maximum output. MAV_GENERATOR_STATUS_FLAG_MAXPOWER MAV_GENERATOR_STATUS_FLAG = common.MAV_GENERATOR_STATUS_FLAG_MAXPOWER // Generator is near the maximum operating temperature, cooling is insufficient. MAV_GENERATOR_STATUS_FLAG_OVERTEMP_WARNING MAV_GENERATOR_STATUS_FLAG = common.MAV_GENERATOR_STATUS_FLAG_OVERTEMP_WARNING // Generator hit the maximum operating temperature and shutdown. MAV_GENERATOR_STATUS_FLAG_OVERTEMP_FAULT MAV_GENERATOR_STATUS_FLAG = common.MAV_GENERATOR_STATUS_FLAG_OVERTEMP_FAULT // Power electronics are near the maximum operating temperature, cooling is insufficient. MAV_GENERATOR_STATUS_FLAG_ELECTRONICS_OVERTEMP_WARNING MAV_GENERATOR_STATUS_FLAG = common.MAV_GENERATOR_STATUS_FLAG_ELECTRONICS_OVERTEMP_WARNING // Power electronics hit the maximum operating temperature and shutdown. MAV_GENERATOR_STATUS_FLAG_ELECTRONICS_OVERTEMP_FAULT MAV_GENERATOR_STATUS_FLAG = common.MAV_GENERATOR_STATUS_FLAG_ELECTRONICS_OVERTEMP_FAULT // Power electronics experienced a fault and shutdown. MAV_GENERATOR_STATUS_FLAG_ELECTRONICS_FAULT MAV_GENERATOR_STATUS_FLAG = common.MAV_GENERATOR_STATUS_FLAG_ELECTRONICS_FAULT // The power source supplying the generator failed e.g. mechanical generator stopped, tether is no longer providing power, solar cell is in shade, hydrogen reaction no longer happening. MAV_GENERATOR_STATUS_FLAG_POWERSOURCE_FAULT MAV_GENERATOR_STATUS_FLAG = common.MAV_GENERATOR_STATUS_FLAG_POWERSOURCE_FAULT // Generator controller having communication problems. MAV_GENERATOR_STATUS_FLAG_COMMUNICATION_WARNING MAV_GENERATOR_STATUS_FLAG = common.MAV_GENERATOR_STATUS_FLAG_COMMUNICATION_WARNING // Power electronic or generator cooling system error. MAV_GENERATOR_STATUS_FLAG_COOLING_WARNING MAV_GENERATOR_STATUS_FLAG = common.MAV_GENERATOR_STATUS_FLAG_COOLING_WARNING // Generator controller power rail experienced a fault. MAV_GENERATOR_STATUS_FLAG_POWER_RAIL_FAULT MAV_GENERATOR_STATUS_FLAG = common.MAV_GENERATOR_STATUS_FLAG_POWER_RAIL_FAULT // Generator controller exceeded the overcurrent threshold and shutdown to prevent damage. MAV_GENERATOR_STATUS_FLAG_OVERCURRENT_FAULT MAV_GENERATOR_STATUS_FLAG = common.MAV_GENERATOR_STATUS_FLAG_OVERCURRENT_FAULT // Generator controller detected a high current going into the batteries and shutdown to prevent battery damage. MAV_GENERATOR_STATUS_FLAG_BATTERY_OVERCHARGE_CURRENT_FAULT MAV_GENERATOR_STATUS_FLAG = common.MAV_GENERATOR_STATUS_FLAG_BATTERY_OVERCHARGE_CURRENT_FAULT // Generator controller exceeded it's overvoltage threshold and shutdown to prevent it exceeding the voltage rating. MAV_GENERATOR_STATUS_FLAG_OVERVOLTAGE_FAULT MAV_GENERATOR_STATUS_FLAG = common.MAV_GENERATOR_STATUS_FLAG_OVERVOLTAGE_FAULT // Batteries are under voltage (generator will not start). MAV_GENERATOR_STATUS_FLAG_BATTERY_UNDERVOLT_FAULT MAV_GENERATOR_STATUS_FLAG = common.MAV_GENERATOR_STATUS_FLAG_BATTERY_UNDERVOLT_FAULT // Generator start is inhibited by e.g. a safety switch. MAV_GENERATOR_STATUS_FLAG_START_INHIBITED MAV_GENERATOR_STATUS_FLAG = common.MAV_GENERATOR_STATUS_FLAG_START_INHIBITED // Generator requires maintenance. MAV_GENERATOR_STATUS_FLAG_MAINTENANCE_REQUIRED MAV_GENERATOR_STATUS_FLAG = common.MAV_GENERATOR_STATUS_FLAG_MAINTENANCE_REQUIRED // Generator is not ready to generate yet. MAV_GENERATOR_STATUS_FLAG_WARMING_UP MAV_GENERATOR_STATUS_FLAG = common.MAV_GENERATOR_STATUS_FLAG_WARMING_UP // Generator is idle. MAV_GENERATOR_STATUS_FLAG_IDLE MAV_GENERATOR_STATUS_FLAG = common.MAV_GENERATOR_STATUS_FLAG_IDLE )
type MAV_GOTO ¶
Actions that may be specified in MAV_CMD_OVERRIDE_GOTO to override mission execution.
const ( // Hold at the current position. MAV_GOTO_DO_HOLD MAV_GOTO = common.MAV_GOTO_DO_HOLD // Continue with the next item in mission execution. MAV_GOTO_DO_CONTINUE MAV_GOTO = common.MAV_GOTO_DO_CONTINUE // Hold at the current position of the system MAV_GOTO_HOLD_AT_CURRENT_POSITION MAV_GOTO = common.MAV_GOTO_HOLD_AT_CURRENT_POSITION // Hold at the position specified in the parameters of the DO_HOLD action MAV_GOTO_HOLD_AT_SPECIFIED_POSITION MAV_GOTO = common.MAV_GOTO_HOLD_AT_SPECIFIED_POSITION )
type MAV_LANDED_STATE ¶
type MAV_LANDED_STATE = common.MAV_LANDED_STATE
Enumeration of landed detector states
const ( // MAV landed state is unknown MAV_LANDED_STATE_UNDEFINED MAV_LANDED_STATE = common.MAV_LANDED_STATE_UNDEFINED // MAV is landed (on ground) MAV_LANDED_STATE_ON_GROUND MAV_LANDED_STATE = common.MAV_LANDED_STATE_ON_GROUND // MAV is in air MAV_LANDED_STATE_IN_AIR MAV_LANDED_STATE = common.MAV_LANDED_STATE_IN_AIR // MAV currently taking off MAV_LANDED_STATE_TAKEOFF MAV_LANDED_STATE = common.MAV_LANDED_STATE_TAKEOFF // MAV currently landing MAV_LANDED_STATE_LANDING MAV_LANDED_STATE = common.MAV_LANDED_STATE_LANDING )
type MAV_MISSION_RESULT ¶
type MAV_MISSION_RESULT = common.MAV_MISSION_RESULT
Result of mission operation (in a MISSION_ACK message).
const ( // mission accepted OK MAV_MISSION_ACCEPTED MAV_MISSION_RESULT = common.MAV_MISSION_ACCEPTED // Generic error / not accepting mission commands at all right now. MAV_MISSION_ERROR MAV_MISSION_RESULT = common.MAV_MISSION_ERROR // Coordinate frame is not supported. MAV_MISSION_UNSUPPORTED_FRAME MAV_MISSION_RESULT = common.MAV_MISSION_UNSUPPORTED_FRAME // Command is not supported. MAV_MISSION_UNSUPPORTED MAV_MISSION_RESULT = common.MAV_MISSION_UNSUPPORTED // Mission items exceed storage space. MAV_MISSION_NO_SPACE MAV_MISSION_RESULT = common.MAV_MISSION_NO_SPACE // One of the parameters has an invalid value. MAV_MISSION_INVALID MAV_MISSION_RESULT = common.MAV_MISSION_INVALID // param1 has an invalid value. MAV_MISSION_INVALID_PARAM1 MAV_MISSION_RESULT = common.MAV_MISSION_INVALID_PARAM1 // param2 has an invalid value. MAV_MISSION_INVALID_PARAM2 MAV_MISSION_RESULT = common.MAV_MISSION_INVALID_PARAM2 // param3 has an invalid value. MAV_MISSION_INVALID_PARAM3 MAV_MISSION_RESULT = common.MAV_MISSION_INVALID_PARAM3 // param4 has an invalid value. MAV_MISSION_INVALID_PARAM4 MAV_MISSION_RESULT = common.MAV_MISSION_INVALID_PARAM4 // x / param5 has an invalid value. MAV_MISSION_INVALID_PARAM5_X MAV_MISSION_RESULT = common.MAV_MISSION_INVALID_PARAM5_X // y / param6 has an invalid value. MAV_MISSION_INVALID_PARAM6_Y MAV_MISSION_RESULT = common.MAV_MISSION_INVALID_PARAM6_Y // z / param7 has an invalid value. MAV_MISSION_INVALID_PARAM7 MAV_MISSION_RESULT = common.MAV_MISSION_INVALID_PARAM7 // Mission item received out of sequence MAV_MISSION_INVALID_SEQUENCE MAV_MISSION_RESULT = common.MAV_MISSION_INVALID_SEQUENCE // Not accepting any mission commands from this communication partner. MAV_MISSION_DENIED MAV_MISSION_RESULT = common.MAV_MISSION_DENIED // Current mission operation cancelled (e.g. mission upload, mission download). MAV_MISSION_OPERATION_CANCELLED MAV_MISSION_RESULT = common.MAV_MISSION_OPERATION_CANCELLED )
type MAV_MISSION_TYPE ¶
type MAV_MISSION_TYPE = common.MAV_MISSION_TYPE
Type of mission items being requested/sent in mission protocol.
const ( // Items are mission commands for main mission. MAV_MISSION_TYPE_MISSION MAV_MISSION_TYPE = common.MAV_MISSION_TYPE_MISSION // Specifies GeoFence area(s). Items are MAV_CMD_NAV_FENCE_ GeoFence items. MAV_MISSION_TYPE_FENCE MAV_MISSION_TYPE = common.MAV_MISSION_TYPE_FENCE // Specifies the rally points for the vehicle. Rally points are alternative RTL points. Items are MAV_CMD_NAV_RALLY_POINT rally point items. MAV_MISSION_TYPE_RALLY MAV_MISSION_TYPE = common.MAV_MISSION_TYPE_RALLY // Only used in MISSION_CLEAR_ALL to clear all mission types. MAV_MISSION_TYPE_ALL MAV_MISSION_TYPE = common.MAV_MISSION_TYPE_ALL )
type MAV_MODE ¶
These defines are predefined OR-combined mode flags. There is no need to use values from this enum, but it simplifies the use of the mode flags. Note that manual input is enabled in all modes as a safety override.
const ( // System is not ready to fly, booting, calibrating, etc. No flag is set. MAV_MODE_PREFLIGHT MAV_MODE = common.MAV_MODE_PREFLIGHT // System is allowed to be active, under assisted RC control. MAV_MODE_STABILIZE_DISARMED MAV_MODE = common.MAV_MODE_STABILIZE_DISARMED // System is allowed to be active, under assisted RC control. MAV_MODE_STABILIZE_ARMED MAV_MODE = common.MAV_MODE_STABILIZE_ARMED // System is allowed to be active, under manual (RC) control, no stabilization MAV_MODE_MANUAL_DISARMED MAV_MODE = common.MAV_MODE_MANUAL_DISARMED // System is allowed to be active, under manual (RC) control, no stabilization MAV_MODE_MANUAL_ARMED MAV_MODE = common.MAV_MODE_MANUAL_ARMED // System is allowed to be active, under autonomous control, manual setpoint MAV_MODE_GUIDED_DISARMED MAV_MODE = common.MAV_MODE_GUIDED_DISARMED // System is allowed to be active, under autonomous control, manual setpoint MAV_MODE_GUIDED_ARMED MAV_MODE = common.MAV_MODE_GUIDED_ARMED // System is allowed to be active, under autonomous control and navigation (the trajectory is decided onboard and not pre-programmed by waypoints) MAV_MODE_AUTO_DISARMED MAV_MODE = common.MAV_MODE_AUTO_DISARMED // System is allowed to be active, under autonomous control and navigation (the trajectory is decided onboard and not pre-programmed by waypoints) MAV_MODE_AUTO_ARMED MAV_MODE = common.MAV_MODE_AUTO_ARMED // UNDEFINED mode. This solely depends on the autopilot - use with caution, intended for developers only. MAV_MODE_TEST_DISARMED MAV_MODE = common.MAV_MODE_TEST_DISARMED // UNDEFINED mode. This solely depends on the autopilot - use with caution, intended for developers only. MAV_MODE_TEST_ARMED MAV_MODE = common.MAV_MODE_TEST_ARMED )
type MAV_MODE_FLAG ¶
type MAV_MODE_FLAG = minimal.MAV_MODE_FLAG
These flags encode the MAV mode.
const ( // 0b10000000 MAV safety set to armed. Motors are enabled / running / can start. Ready to fly. Additional note: this flag is to be ignore when sent in the command MAV_CMD_DO_SET_MODE and MAV_CMD_COMPONENT_ARM_DISARM shall be used instead. The flag can still be used to report the armed state. MAV_MODE_FLAG_SAFETY_ARMED MAV_MODE_FLAG = minimal.MAV_MODE_FLAG_SAFETY_ARMED // 0b01000000 remote control input is enabled. MAV_MODE_FLAG_MANUAL_INPUT_ENABLED MAV_MODE_FLAG = minimal.MAV_MODE_FLAG_MANUAL_INPUT_ENABLED // 0b00100000 hardware in the loop simulation. All motors / actuators are blocked, but internal software is full operational. MAV_MODE_FLAG_HIL_ENABLED MAV_MODE_FLAG = minimal.MAV_MODE_FLAG_HIL_ENABLED // 0b00010000 system stabilizes electronically its attitude (and optionally position). It needs however further control inputs to move around. MAV_MODE_FLAG_STABILIZE_ENABLED MAV_MODE_FLAG = minimal.MAV_MODE_FLAG_STABILIZE_ENABLED // 0b00001000 guided mode enabled, system flies waypoints / mission items. MAV_MODE_FLAG_GUIDED_ENABLED MAV_MODE_FLAG = minimal.MAV_MODE_FLAG_GUIDED_ENABLED // 0b00000100 autonomous mode enabled, system finds its own goal positions. Guided flag can be set or not, depends on the actual implementation. MAV_MODE_FLAG_AUTO_ENABLED MAV_MODE_FLAG = minimal.MAV_MODE_FLAG_AUTO_ENABLED // 0b00000010 system has a test mode enabled. This flag is intended for temporary system tests and should not be used for stable implementations. MAV_MODE_FLAG_TEST_ENABLED MAV_MODE_FLAG = minimal.MAV_MODE_FLAG_TEST_ENABLED // 0b00000001 Reserved for future use. MAV_MODE_FLAG_CUSTOM_MODE_ENABLED MAV_MODE_FLAG = minimal.MAV_MODE_FLAG_CUSTOM_MODE_ENABLED )
type MAV_MODE_FLAG_DECODE_POSITION ¶
type MAV_MODE_FLAG_DECODE_POSITION = minimal.MAV_MODE_FLAG_DECODE_POSITION
These values encode the bit positions of the decode position. These values can be used to read the value of a flag bit by combining the base_mode variable with AND with the flag position value. The result will be either 0 or 1, depending on if the flag is set or not.
const ( // First bit: 10000000 MAV_MODE_FLAG_DECODE_POSITION_SAFETY MAV_MODE_FLAG_DECODE_POSITION = minimal.MAV_MODE_FLAG_DECODE_POSITION_SAFETY // Second bit: 01000000 MAV_MODE_FLAG_DECODE_POSITION_MANUAL MAV_MODE_FLAG_DECODE_POSITION = minimal.MAV_MODE_FLAG_DECODE_POSITION_MANUAL // Third bit: 00100000 MAV_MODE_FLAG_DECODE_POSITION_HIL MAV_MODE_FLAG_DECODE_POSITION = minimal.MAV_MODE_FLAG_DECODE_POSITION_HIL // Fourth bit: 00010000 MAV_MODE_FLAG_DECODE_POSITION_STABILIZE MAV_MODE_FLAG_DECODE_POSITION = minimal.MAV_MODE_FLAG_DECODE_POSITION_STABILIZE // Fifth bit: 00001000 MAV_MODE_FLAG_DECODE_POSITION_GUIDED MAV_MODE_FLAG_DECODE_POSITION = minimal.MAV_MODE_FLAG_DECODE_POSITION_GUIDED // Sixth bit: 00000100 MAV_MODE_FLAG_DECODE_POSITION_AUTO MAV_MODE_FLAG_DECODE_POSITION = minimal.MAV_MODE_FLAG_DECODE_POSITION_AUTO // Seventh bit: 00000010 MAV_MODE_FLAG_DECODE_POSITION_TEST MAV_MODE_FLAG_DECODE_POSITION = minimal.MAV_MODE_FLAG_DECODE_POSITION_TEST // Eighth bit: 00000001 MAV_MODE_FLAG_DECODE_POSITION_CUSTOM_MODE MAV_MODE_FLAG_DECODE_POSITION = minimal.MAV_MODE_FLAG_DECODE_POSITION_CUSTOM_MODE )
type MAV_MOUNT_MODE ¶
type MAV_MOUNT_MODE = common.MAV_MOUNT_MODE
Enumeration of possible mount operation modes. This message is used by obsolete/deprecated gimbal messages.
const ( // Load and keep safe position (Roll,Pitch,Yaw) from permant memory and stop stabilization MAV_MOUNT_MODE_RETRACT MAV_MOUNT_MODE = common.MAV_MOUNT_MODE_RETRACT // Load and keep neutral position (Roll,Pitch,Yaw) from permanent memory. MAV_MOUNT_MODE_NEUTRAL MAV_MOUNT_MODE = common.MAV_MOUNT_MODE_NEUTRAL // Load neutral position and start MAVLink Roll,Pitch,Yaw control with stabilization MAV_MOUNT_MODE_MAVLINK_TARGETING MAV_MOUNT_MODE = common.MAV_MOUNT_MODE_MAVLINK_TARGETING // Load neutral position and start RC Roll,Pitch,Yaw control with stabilization MAV_MOUNT_MODE_RC_TARGETING MAV_MOUNT_MODE = common.MAV_MOUNT_MODE_RC_TARGETING // Load neutral position and start to point to Lat,Lon,Alt MAV_MOUNT_MODE_GPS_POINT MAV_MOUNT_MODE = common.MAV_MOUNT_MODE_GPS_POINT // Gimbal tracks system with specified system ID MAV_MOUNT_MODE_SYSID_TARGET MAV_MOUNT_MODE = common.MAV_MOUNT_MODE_SYSID_TARGET // Gimbal tracks home position MAV_MOUNT_MODE_HOME_LOCATION MAV_MOUNT_MODE = common.MAV_MOUNT_MODE_HOME_LOCATION )
type MAV_ODID_ARM_STATUS ¶
type MAV_ODID_ARM_STATUS = common.MAV_ODID_ARM_STATUS
const ( // Passing arming checks. MAV_ODID_ARM_STATUS_GOOD_TO_ARM MAV_ODID_ARM_STATUS = common.MAV_ODID_ARM_STATUS_GOOD_TO_ARM // Generic arming failure, see error string for details. MAV_ODID_ARM_STATUS_PRE_ARM_FAIL_GENERIC MAV_ODID_ARM_STATUS = common.MAV_ODID_ARM_STATUS_PRE_ARM_FAIL_GENERIC )
type MAV_ODID_AUTH_TYPE ¶
type MAV_ODID_AUTH_TYPE = common.MAV_ODID_AUTH_TYPE
const ( // No authentication type is specified. MAV_ODID_AUTH_TYPE_NONE MAV_ODID_AUTH_TYPE = common.MAV_ODID_AUTH_TYPE_NONE // Signature for the UAS (Unmanned Aircraft System) ID. MAV_ODID_AUTH_TYPE_UAS_ID_SIGNATURE MAV_ODID_AUTH_TYPE = common.MAV_ODID_AUTH_TYPE_UAS_ID_SIGNATURE // Signature for the Operator ID. MAV_ODID_AUTH_TYPE_OPERATOR_ID_SIGNATURE MAV_ODID_AUTH_TYPE = common.MAV_ODID_AUTH_TYPE_OPERATOR_ID_SIGNATURE // Signature for the entire message set. MAV_ODID_AUTH_TYPE_MESSAGE_SET_SIGNATURE MAV_ODID_AUTH_TYPE = common.MAV_ODID_AUTH_TYPE_MESSAGE_SET_SIGNATURE // Authentication is provided by Network Remote ID. MAV_ODID_AUTH_TYPE_NETWORK_REMOTE_ID MAV_ODID_AUTH_TYPE = common.MAV_ODID_AUTH_TYPE_NETWORK_REMOTE_ID // The exact authentication type is indicated by the first byte of authentication_data and these type values are managed by ICAO. MAV_ODID_AUTH_TYPE_SPECIFIC_AUTHENTICATION MAV_ODID_AUTH_TYPE = common.MAV_ODID_AUTH_TYPE_SPECIFIC_AUTHENTICATION )
type MAV_ODID_CATEGORY_EU ¶
type MAV_ODID_CATEGORY_EU = common.MAV_ODID_CATEGORY_EU
const ( // The category for the UA, according to the EU specification, is undeclared. MAV_ODID_CATEGORY_EU_UNDECLARED MAV_ODID_CATEGORY_EU = common.MAV_ODID_CATEGORY_EU_UNDECLARED // The category for the UA, according to the EU specification, is the Open category. MAV_ODID_CATEGORY_EU_OPEN MAV_ODID_CATEGORY_EU = common.MAV_ODID_CATEGORY_EU_OPEN // The category for the UA, according to the EU specification, is the Specific category. MAV_ODID_CATEGORY_EU_SPECIFIC MAV_ODID_CATEGORY_EU = common.MAV_ODID_CATEGORY_EU_SPECIFIC // The category for the UA, according to the EU specification, is the Certified category. MAV_ODID_CATEGORY_EU_CERTIFIED MAV_ODID_CATEGORY_EU = common.MAV_ODID_CATEGORY_EU_CERTIFIED )
type MAV_ODID_CLASSIFICATION_TYPE ¶
type MAV_ODID_CLASSIFICATION_TYPE = common.MAV_ODID_CLASSIFICATION_TYPE
const ( // The classification type for the UA is undeclared. MAV_ODID_CLASSIFICATION_TYPE_UNDECLARED MAV_ODID_CLASSIFICATION_TYPE = common.MAV_ODID_CLASSIFICATION_TYPE_UNDECLARED // The classification type for the UA follows EU (European Union) specifications. MAV_ODID_CLASSIFICATION_TYPE_EU MAV_ODID_CLASSIFICATION_TYPE = common.MAV_ODID_CLASSIFICATION_TYPE_EU )
type MAV_ODID_CLASS_EU ¶
type MAV_ODID_CLASS_EU = common.MAV_ODID_CLASS_EU
const ( // The class for the UA, according to the EU specification, is undeclared. MAV_ODID_CLASS_EU_UNDECLARED MAV_ODID_CLASS_EU = common.MAV_ODID_CLASS_EU_UNDECLARED // The class for the UA, according to the EU specification, is Class 0. MAV_ODID_CLASS_EU_CLASS_0 MAV_ODID_CLASS_EU = common.MAV_ODID_CLASS_EU_CLASS_0 // The class for the UA, according to the EU specification, is Class 1. MAV_ODID_CLASS_EU_CLASS_1 MAV_ODID_CLASS_EU = common.MAV_ODID_CLASS_EU_CLASS_1 // The class for the UA, according to the EU specification, is Class 2. MAV_ODID_CLASS_EU_CLASS_2 MAV_ODID_CLASS_EU = common.MAV_ODID_CLASS_EU_CLASS_2 // The class for the UA, according to the EU specification, is Class 3. MAV_ODID_CLASS_EU_CLASS_3 MAV_ODID_CLASS_EU = common.MAV_ODID_CLASS_EU_CLASS_3 // The class for the UA, according to the EU specification, is Class 4. MAV_ODID_CLASS_EU_CLASS_4 MAV_ODID_CLASS_EU = common.MAV_ODID_CLASS_EU_CLASS_4 // The class for the UA, according to the EU specification, is Class 5. MAV_ODID_CLASS_EU_CLASS_5 MAV_ODID_CLASS_EU = common.MAV_ODID_CLASS_EU_CLASS_5 // The class for the UA, according to the EU specification, is Class 6. MAV_ODID_CLASS_EU_CLASS_6 MAV_ODID_CLASS_EU = common.MAV_ODID_CLASS_EU_CLASS_6 )
type MAV_ODID_DESC_TYPE ¶
type MAV_ODID_DESC_TYPE = common.MAV_ODID_DESC_TYPE
const ( // Optional free-form text description of the purpose of the flight. MAV_ODID_DESC_TYPE_TEXT MAV_ODID_DESC_TYPE = common.MAV_ODID_DESC_TYPE_TEXT // Optional additional clarification when status == MAV_ODID_STATUS_EMERGENCY. MAV_ODID_DESC_TYPE_EMERGENCY MAV_ODID_DESC_TYPE = common.MAV_ODID_DESC_TYPE_EMERGENCY // Optional additional clarification when status != MAV_ODID_STATUS_EMERGENCY. MAV_ODID_DESC_TYPE_EXTENDED_STATUS MAV_ODID_DESC_TYPE = common.MAV_ODID_DESC_TYPE_EXTENDED_STATUS )
type MAV_ODID_HEIGHT_REF ¶
type MAV_ODID_HEIGHT_REF = common.MAV_ODID_HEIGHT_REF
const ( // The height field is relative to the take-off location. MAV_ODID_HEIGHT_REF_OVER_TAKEOFF MAV_ODID_HEIGHT_REF = common.MAV_ODID_HEIGHT_REF_OVER_TAKEOFF // The height field is relative to ground. MAV_ODID_HEIGHT_REF_OVER_GROUND MAV_ODID_HEIGHT_REF = common.MAV_ODID_HEIGHT_REF_OVER_GROUND )
type MAV_ODID_HOR_ACC ¶
type MAV_ODID_HOR_ACC = common.MAV_ODID_HOR_ACC
const ( // The horizontal accuracy is unknown. MAV_ODID_HOR_ACC_UNKNOWN MAV_ODID_HOR_ACC = common.MAV_ODID_HOR_ACC_UNKNOWN // The horizontal accuracy is smaller than 10 Nautical Miles. 18.52 km. MAV_ODID_HOR_ACC_10NM MAV_ODID_HOR_ACC = common.MAV_ODID_HOR_ACC_10NM // The horizontal accuracy is smaller than 4 Nautical Miles. 7.408 km. MAV_ODID_HOR_ACC_4NM MAV_ODID_HOR_ACC = common.MAV_ODID_HOR_ACC_4NM // The horizontal accuracy is smaller than 2 Nautical Miles. 3.704 km. MAV_ODID_HOR_ACC_2NM MAV_ODID_HOR_ACC = common.MAV_ODID_HOR_ACC_2NM // The horizontal accuracy is smaller than 1 Nautical Miles. 1.852 km. MAV_ODID_HOR_ACC_1NM MAV_ODID_HOR_ACC = common.MAV_ODID_HOR_ACC_1NM // The horizontal accuracy is smaller than 0.5 Nautical Miles. 926 m. MAV_ODID_HOR_ACC_0_5NM MAV_ODID_HOR_ACC = common.MAV_ODID_HOR_ACC_0_5NM // The horizontal accuracy is smaller than 0.3 Nautical Miles. 555.6 m. MAV_ODID_HOR_ACC_0_3NM MAV_ODID_HOR_ACC = common.MAV_ODID_HOR_ACC_0_3NM // The horizontal accuracy is smaller than 0.1 Nautical Miles. 185.2 m. MAV_ODID_HOR_ACC_0_1NM MAV_ODID_HOR_ACC = common.MAV_ODID_HOR_ACC_0_1NM // The horizontal accuracy is smaller than 0.05 Nautical Miles. 92.6 m. MAV_ODID_HOR_ACC_0_05NM MAV_ODID_HOR_ACC = common.MAV_ODID_HOR_ACC_0_05NM // The horizontal accuracy is smaller than 30 meter. MAV_ODID_HOR_ACC_30_METER MAV_ODID_HOR_ACC = common.MAV_ODID_HOR_ACC_30_METER // The horizontal accuracy is smaller than 10 meter. MAV_ODID_HOR_ACC_10_METER MAV_ODID_HOR_ACC = common.MAV_ODID_HOR_ACC_10_METER // The horizontal accuracy is smaller than 3 meter. MAV_ODID_HOR_ACC_3_METER MAV_ODID_HOR_ACC = common.MAV_ODID_HOR_ACC_3_METER // The horizontal accuracy is smaller than 1 meter. MAV_ODID_HOR_ACC_1_METER MAV_ODID_HOR_ACC = common.MAV_ODID_HOR_ACC_1_METER )
type MAV_ODID_ID_TYPE ¶
type MAV_ODID_ID_TYPE = common.MAV_ODID_ID_TYPE
const ( // No type defined. MAV_ODID_ID_TYPE_NONE MAV_ODID_ID_TYPE = common.MAV_ODID_ID_TYPE_NONE // Manufacturer Serial Number (ANSI/CTA-2063 format). MAV_ODID_ID_TYPE_SERIAL_NUMBER MAV_ODID_ID_TYPE = common.MAV_ODID_ID_TYPE_SERIAL_NUMBER // CAA (Civil Aviation Authority) registered ID. Format: [ICAO Country Code].[CAA Assigned ID]. MAV_ODID_ID_TYPE_CAA_REGISTRATION_ID MAV_ODID_ID_TYPE = common.MAV_ODID_ID_TYPE_CAA_REGISTRATION_ID // UTM (Unmanned Traffic Management) assigned UUID (RFC4122). MAV_ODID_ID_TYPE_UTM_ASSIGNED_UUID MAV_ODID_ID_TYPE = common.MAV_ODID_ID_TYPE_UTM_ASSIGNED_UUID // A 20 byte ID for a specific flight/session. The exact ID type is indicated by the first byte of uas_id and these type values are managed by ICAO. MAV_ODID_ID_TYPE_SPECIFIC_SESSION_ID MAV_ODID_ID_TYPE = common.MAV_ODID_ID_TYPE_SPECIFIC_SESSION_ID )
type MAV_ODID_OPERATOR_ID_TYPE ¶
type MAV_ODID_OPERATOR_ID_TYPE = common.MAV_ODID_OPERATOR_ID_TYPE
const ( // CAA (Civil Aviation Authority) registered operator ID. MAV_ODID_OPERATOR_ID_TYPE_CAA MAV_ODID_OPERATOR_ID_TYPE = common.MAV_ODID_OPERATOR_ID_TYPE_CAA )
type MAV_ODID_OPERATOR_LOCATION_TYPE ¶
type MAV_ODID_OPERATOR_LOCATION_TYPE = common.MAV_ODID_OPERATOR_LOCATION_TYPE
const ( // The location/altitude of the operator is the same as the take-off location. MAV_ODID_OPERATOR_LOCATION_TYPE_TAKEOFF MAV_ODID_OPERATOR_LOCATION_TYPE = common.MAV_ODID_OPERATOR_LOCATION_TYPE_TAKEOFF // The location/altitude of the operator is dynamic. E.g. based on live GNSS data. MAV_ODID_OPERATOR_LOCATION_TYPE_LIVE_GNSS MAV_ODID_OPERATOR_LOCATION_TYPE = common.MAV_ODID_OPERATOR_LOCATION_TYPE_LIVE_GNSS // The location/altitude of the operator are fixed values. MAV_ODID_OPERATOR_LOCATION_TYPE_FIXED MAV_ODID_OPERATOR_LOCATION_TYPE = common.MAV_ODID_OPERATOR_LOCATION_TYPE_FIXED )
type MAV_ODID_SPEED_ACC ¶
type MAV_ODID_SPEED_ACC = common.MAV_ODID_SPEED_ACC
const ( // The speed accuracy is unknown. MAV_ODID_SPEED_ACC_UNKNOWN MAV_ODID_SPEED_ACC = common.MAV_ODID_SPEED_ACC_UNKNOWN // The speed accuracy is smaller than 10 meters per second. MAV_ODID_SPEED_ACC_10_METERS_PER_SECOND MAV_ODID_SPEED_ACC = common.MAV_ODID_SPEED_ACC_10_METERS_PER_SECOND // The speed accuracy is smaller than 3 meters per second. MAV_ODID_SPEED_ACC_3_METERS_PER_SECOND MAV_ODID_SPEED_ACC = common.MAV_ODID_SPEED_ACC_3_METERS_PER_SECOND // The speed accuracy is smaller than 1 meters per second. MAV_ODID_SPEED_ACC_1_METERS_PER_SECOND MAV_ODID_SPEED_ACC = common.MAV_ODID_SPEED_ACC_1_METERS_PER_SECOND // The speed accuracy is smaller than 0.3 meters per second. MAV_ODID_SPEED_ACC_0_3_METERS_PER_SECOND MAV_ODID_SPEED_ACC = common.MAV_ODID_SPEED_ACC_0_3_METERS_PER_SECOND )
type MAV_ODID_STATUS ¶
type MAV_ODID_STATUS = common.MAV_ODID_STATUS
const ( // The status of the (UA) Unmanned Aircraft is undefined. MAV_ODID_STATUS_UNDECLARED MAV_ODID_STATUS = common.MAV_ODID_STATUS_UNDECLARED // The UA is on the ground. MAV_ODID_STATUS_GROUND MAV_ODID_STATUS = common.MAV_ODID_STATUS_GROUND // The UA is in the air. MAV_ODID_STATUS_AIRBORNE MAV_ODID_STATUS = common.MAV_ODID_STATUS_AIRBORNE // The UA is having an emergency. MAV_ODID_STATUS_EMERGENCY MAV_ODID_STATUS = common.MAV_ODID_STATUS_EMERGENCY // The remote ID system is failing or unreliable in some way. MAV_ODID_STATUS_REMOTE_ID_SYSTEM_FAILURE MAV_ODID_STATUS = common.MAV_ODID_STATUS_REMOTE_ID_SYSTEM_FAILURE )
type MAV_ODID_TIME_ACC ¶
type MAV_ODID_TIME_ACC = common.MAV_ODID_TIME_ACC
const ( // The timestamp accuracy is unknown. MAV_ODID_TIME_ACC_UNKNOWN MAV_ODID_TIME_ACC = common.MAV_ODID_TIME_ACC_UNKNOWN // The timestamp accuracy is smaller than or equal to 0.1 second. MAV_ODID_TIME_ACC_0_1_SECOND MAV_ODID_TIME_ACC = common.MAV_ODID_TIME_ACC_0_1_SECOND // The timestamp accuracy is smaller than or equal to 0.2 second. MAV_ODID_TIME_ACC_0_2_SECOND MAV_ODID_TIME_ACC = common.MAV_ODID_TIME_ACC_0_2_SECOND // The timestamp accuracy is smaller than or equal to 0.3 second. MAV_ODID_TIME_ACC_0_3_SECOND MAV_ODID_TIME_ACC = common.MAV_ODID_TIME_ACC_0_3_SECOND // The timestamp accuracy is smaller than or equal to 0.4 second. MAV_ODID_TIME_ACC_0_4_SECOND MAV_ODID_TIME_ACC = common.MAV_ODID_TIME_ACC_0_4_SECOND // The timestamp accuracy is smaller than or equal to 0.5 second. MAV_ODID_TIME_ACC_0_5_SECOND MAV_ODID_TIME_ACC = common.MAV_ODID_TIME_ACC_0_5_SECOND // The timestamp accuracy is smaller than or equal to 0.6 second. MAV_ODID_TIME_ACC_0_6_SECOND MAV_ODID_TIME_ACC = common.MAV_ODID_TIME_ACC_0_6_SECOND // The timestamp accuracy is smaller than or equal to 0.7 second. MAV_ODID_TIME_ACC_0_7_SECOND MAV_ODID_TIME_ACC = common.MAV_ODID_TIME_ACC_0_7_SECOND // The timestamp accuracy is smaller than or equal to 0.8 second. MAV_ODID_TIME_ACC_0_8_SECOND MAV_ODID_TIME_ACC = common.MAV_ODID_TIME_ACC_0_8_SECOND // The timestamp accuracy is smaller than or equal to 0.9 second. MAV_ODID_TIME_ACC_0_9_SECOND MAV_ODID_TIME_ACC = common.MAV_ODID_TIME_ACC_0_9_SECOND // The timestamp accuracy is smaller than or equal to 1.0 second. MAV_ODID_TIME_ACC_1_0_SECOND MAV_ODID_TIME_ACC = common.MAV_ODID_TIME_ACC_1_0_SECOND // The timestamp accuracy is smaller than or equal to 1.1 second. MAV_ODID_TIME_ACC_1_1_SECOND MAV_ODID_TIME_ACC = common.MAV_ODID_TIME_ACC_1_1_SECOND // The timestamp accuracy is smaller than or equal to 1.2 second. MAV_ODID_TIME_ACC_1_2_SECOND MAV_ODID_TIME_ACC = common.MAV_ODID_TIME_ACC_1_2_SECOND // The timestamp accuracy is smaller than or equal to 1.3 second. MAV_ODID_TIME_ACC_1_3_SECOND MAV_ODID_TIME_ACC = common.MAV_ODID_TIME_ACC_1_3_SECOND // The timestamp accuracy is smaller than or equal to 1.4 second. MAV_ODID_TIME_ACC_1_4_SECOND MAV_ODID_TIME_ACC = common.MAV_ODID_TIME_ACC_1_4_SECOND // The timestamp accuracy is smaller than or equal to 1.5 second. MAV_ODID_TIME_ACC_1_5_SECOND MAV_ODID_TIME_ACC = common.MAV_ODID_TIME_ACC_1_5_SECOND )
type MAV_ODID_UA_TYPE ¶
type MAV_ODID_UA_TYPE = common.MAV_ODID_UA_TYPE
const ( // No UA (Unmanned Aircraft) type defined. MAV_ODID_UA_TYPE_NONE MAV_ODID_UA_TYPE = common.MAV_ODID_UA_TYPE_NONE // Aeroplane/Airplane. Fixed wing. MAV_ODID_UA_TYPE_AEROPLANE MAV_ODID_UA_TYPE = common.MAV_ODID_UA_TYPE_AEROPLANE // Helicopter or multirotor. MAV_ODID_UA_TYPE_HELICOPTER_OR_MULTIROTOR MAV_ODID_UA_TYPE = common.MAV_ODID_UA_TYPE_HELICOPTER_OR_MULTIROTOR // Gyroplane. MAV_ODID_UA_TYPE_GYROPLANE MAV_ODID_UA_TYPE = common.MAV_ODID_UA_TYPE_GYROPLANE // VTOL (Vertical Take-Off and Landing). Fixed wing aircraft that can take off vertically. MAV_ODID_UA_TYPE_HYBRID_LIFT MAV_ODID_UA_TYPE = common.MAV_ODID_UA_TYPE_HYBRID_LIFT // Ornithopter. MAV_ODID_UA_TYPE_ORNITHOPTER MAV_ODID_UA_TYPE = common.MAV_ODID_UA_TYPE_ORNITHOPTER // Glider. MAV_ODID_UA_TYPE_GLIDER MAV_ODID_UA_TYPE = common.MAV_ODID_UA_TYPE_GLIDER // Kite. MAV_ODID_UA_TYPE_KITE MAV_ODID_UA_TYPE = common.MAV_ODID_UA_TYPE_KITE // Free Balloon. MAV_ODID_UA_TYPE_FREE_BALLOON MAV_ODID_UA_TYPE = common.MAV_ODID_UA_TYPE_FREE_BALLOON // Captive Balloon. MAV_ODID_UA_TYPE_CAPTIVE_BALLOON MAV_ODID_UA_TYPE = common.MAV_ODID_UA_TYPE_CAPTIVE_BALLOON // Airship. E.g. a blimp. MAV_ODID_UA_TYPE_AIRSHIP MAV_ODID_UA_TYPE = common.MAV_ODID_UA_TYPE_AIRSHIP // Free Fall/Parachute (unpowered). MAV_ODID_UA_TYPE_FREE_FALL_PARACHUTE MAV_ODID_UA_TYPE = common.MAV_ODID_UA_TYPE_FREE_FALL_PARACHUTE // Rocket. MAV_ODID_UA_TYPE_ROCKET MAV_ODID_UA_TYPE = common.MAV_ODID_UA_TYPE_ROCKET // Tethered powered aircraft. MAV_ODID_UA_TYPE_TETHERED_POWERED_AIRCRAFT MAV_ODID_UA_TYPE = common.MAV_ODID_UA_TYPE_TETHERED_POWERED_AIRCRAFT // Ground Obstacle. MAV_ODID_UA_TYPE_GROUND_OBSTACLE MAV_ODID_UA_TYPE = common.MAV_ODID_UA_TYPE_GROUND_OBSTACLE // Other type of aircraft not listed earlier. MAV_ODID_UA_TYPE_OTHER MAV_ODID_UA_TYPE = common.MAV_ODID_UA_TYPE_OTHER )
type MAV_ODID_VER_ACC ¶
type MAV_ODID_VER_ACC = common.MAV_ODID_VER_ACC
const ( // The vertical accuracy is unknown. MAV_ODID_VER_ACC_UNKNOWN MAV_ODID_VER_ACC = common.MAV_ODID_VER_ACC_UNKNOWN // The vertical accuracy is smaller than 150 meter. MAV_ODID_VER_ACC_150_METER MAV_ODID_VER_ACC = common.MAV_ODID_VER_ACC_150_METER // The vertical accuracy is smaller than 45 meter. MAV_ODID_VER_ACC_45_METER MAV_ODID_VER_ACC = common.MAV_ODID_VER_ACC_45_METER // The vertical accuracy is smaller than 25 meter. MAV_ODID_VER_ACC_25_METER MAV_ODID_VER_ACC = common.MAV_ODID_VER_ACC_25_METER // The vertical accuracy is smaller than 10 meter. MAV_ODID_VER_ACC_10_METER MAV_ODID_VER_ACC = common.MAV_ODID_VER_ACC_10_METER // The vertical accuracy is smaller than 3 meter. MAV_ODID_VER_ACC_3_METER MAV_ODID_VER_ACC = common.MAV_ODID_VER_ACC_3_METER // The vertical accuracy is smaller than 1 meter. MAV_ODID_VER_ACC_1_METER MAV_ODID_VER_ACC = common.MAV_ODID_VER_ACC_1_METER )
type MAV_PARAM_EXT_TYPE ¶
type MAV_PARAM_EXT_TYPE = common.MAV_PARAM_EXT_TYPE
Specifies the datatype of a MAVLink extended parameter.
const ( // 8-bit unsigned integer MAV_PARAM_EXT_TYPE_UINT8 MAV_PARAM_EXT_TYPE = common.MAV_PARAM_EXT_TYPE_UINT8 // 8-bit signed integer MAV_PARAM_EXT_TYPE_INT8 MAV_PARAM_EXT_TYPE = common.MAV_PARAM_EXT_TYPE_INT8 // 16-bit unsigned integer MAV_PARAM_EXT_TYPE_UINT16 MAV_PARAM_EXT_TYPE = common.MAV_PARAM_EXT_TYPE_UINT16 // 16-bit signed integer MAV_PARAM_EXT_TYPE_INT16 MAV_PARAM_EXT_TYPE = common.MAV_PARAM_EXT_TYPE_INT16 // 32-bit unsigned integer MAV_PARAM_EXT_TYPE_UINT32 MAV_PARAM_EXT_TYPE = common.MAV_PARAM_EXT_TYPE_UINT32 // 32-bit signed integer MAV_PARAM_EXT_TYPE_INT32 MAV_PARAM_EXT_TYPE = common.MAV_PARAM_EXT_TYPE_INT32 // 64-bit unsigned integer MAV_PARAM_EXT_TYPE_UINT64 MAV_PARAM_EXT_TYPE = common.MAV_PARAM_EXT_TYPE_UINT64 // 64-bit signed integer MAV_PARAM_EXT_TYPE_INT64 MAV_PARAM_EXT_TYPE = common.MAV_PARAM_EXT_TYPE_INT64 // 32-bit floating-point MAV_PARAM_EXT_TYPE_REAL32 MAV_PARAM_EXT_TYPE = common.MAV_PARAM_EXT_TYPE_REAL32 // 64-bit floating-point MAV_PARAM_EXT_TYPE_REAL64 MAV_PARAM_EXT_TYPE = common.MAV_PARAM_EXT_TYPE_REAL64 // Custom Type MAV_PARAM_EXT_TYPE_CUSTOM MAV_PARAM_EXT_TYPE = common.MAV_PARAM_EXT_TYPE_CUSTOM )
type MAV_PARAM_TYPE ¶
type MAV_PARAM_TYPE = common.MAV_PARAM_TYPE
Specifies the datatype of a MAVLink parameter.
const ( // 8-bit unsigned integer MAV_PARAM_TYPE_UINT8 MAV_PARAM_TYPE = common.MAV_PARAM_TYPE_UINT8 // 8-bit signed integer MAV_PARAM_TYPE_INT8 MAV_PARAM_TYPE = common.MAV_PARAM_TYPE_INT8 // 16-bit unsigned integer MAV_PARAM_TYPE_UINT16 MAV_PARAM_TYPE = common.MAV_PARAM_TYPE_UINT16 // 16-bit signed integer MAV_PARAM_TYPE_INT16 MAV_PARAM_TYPE = common.MAV_PARAM_TYPE_INT16 // 32-bit unsigned integer MAV_PARAM_TYPE_UINT32 MAV_PARAM_TYPE = common.MAV_PARAM_TYPE_UINT32 // 32-bit signed integer MAV_PARAM_TYPE_INT32 MAV_PARAM_TYPE = common.MAV_PARAM_TYPE_INT32 // 64-bit unsigned integer MAV_PARAM_TYPE_UINT64 MAV_PARAM_TYPE = common.MAV_PARAM_TYPE_UINT64 // 64-bit signed integer MAV_PARAM_TYPE_INT64 MAV_PARAM_TYPE = common.MAV_PARAM_TYPE_INT64 // 32-bit floating-point MAV_PARAM_TYPE_REAL32 MAV_PARAM_TYPE = common.MAV_PARAM_TYPE_REAL32 // 64-bit floating-point MAV_PARAM_TYPE_REAL64 MAV_PARAM_TYPE = common.MAV_PARAM_TYPE_REAL64 )
type MAV_POWER_STATUS ¶
type MAV_POWER_STATUS = common.MAV_POWER_STATUS
Power supply status flags (bitmask)
const ( // main brick power supply valid MAV_POWER_STATUS_BRICK_VALID MAV_POWER_STATUS = common.MAV_POWER_STATUS_BRICK_VALID // main servo power supply valid for FMU MAV_POWER_STATUS_SERVO_VALID MAV_POWER_STATUS = common.MAV_POWER_STATUS_SERVO_VALID // USB power is connected MAV_POWER_STATUS_USB_CONNECTED MAV_POWER_STATUS = common.MAV_POWER_STATUS_USB_CONNECTED // peripheral supply is in over-current state MAV_POWER_STATUS_PERIPH_OVERCURRENT MAV_POWER_STATUS = common.MAV_POWER_STATUS_PERIPH_OVERCURRENT // hi-power peripheral supply is in over-current state MAV_POWER_STATUS_PERIPH_HIPOWER_OVERCURRENT MAV_POWER_STATUS = common.MAV_POWER_STATUS_PERIPH_HIPOWER_OVERCURRENT // Power status has changed since boot MAV_POWER_STATUS_CHANGED MAV_POWER_STATUS = common.MAV_POWER_STATUS_CHANGED )
type MAV_PROTOCOL_CAPABILITY ¶
type MAV_PROTOCOL_CAPABILITY = common.MAV_PROTOCOL_CAPABILITY
Bitmask of (optional) autopilot capabilities (64 bit). If a bit is set, the autopilot supports this capability.
const ( // Autopilot supports the MISSION_ITEM float message type. // Note that MISSION_ITEM is deprecated, and autopilots should use MISSION_INT instead. MAV_PROTOCOL_CAPABILITY_MISSION_FLOAT MAV_PROTOCOL_CAPABILITY = common.MAV_PROTOCOL_CAPABILITY_MISSION_FLOAT // Autopilot supports the new param float message type. MAV_PROTOCOL_CAPABILITY_PARAM_FLOAT MAV_PROTOCOL_CAPABILITY = common.MAV_PROTOCOL_CAPABILITY_PARAM_FLOAT // Autopilot supports MISSION_ITEM_INT scaled integer message type. // 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). MAV_PROTOCOL_CAPABILITY_MISSION_INT MAV_PROTOCOL_CAPABILITY = common.MAV_PROTOCOL_CAPABILITY_MISSION_INT // Autopilot supports COMMAND_INT scaled integer message type. MAV_PROTOCOL_CAPABILITY_COMMAND_INT MAV_PROTOCOL_CAPABILITY = common.MAV_PROTOCOL_CAPABILITY_COMMAND_INT // Parameter protocol uses byte-wise encoding of parameter values into param_value (float) fields: https://mavlink.io/en/services/parameter.html#parameter-encoding. // Note that either this flag or MAV_PROTOCOL_CAPABILITY_PARAM_ENCODE_C_CAST should be set if the parameter protocol is supported. MAV_PROTOCOL_CAPABILITY_PARAM_ENCODE_BYTEWISE MAV_PROTOCOL_CAPABILITY = common.MAV_PROTOCOL_CAPABILITY_PARAM_ENCODE_BYTEWISE // Autopilot supports the File Transfer Protocol v1: https://mavlink.io/en/services/ftp.html. MAV_PROTOCOL_CAPABILITY_FTP MAV_PROTOCOL_CAPABILITY = common.MAV_PROTOCOL_CAPABILITY_FTP // Autopilot supports commanding attitude offboard. MAV_PROTOCOL_CAPABILITY_SET_ATTITUDE_TARGET MAV_PROTOCOL_CAPABILITY = common.MAV_PROTOCOL_CAPABILITY_SET_ATTITUDE_TARGET // Autopilot supports commanding position and velocity targets in local NED frame. MAV_PROTOCOL_CAPABILITY_SET_POSITION_TARGET_LOCAL_NED MAV_PROTOCOL_CAPABILITY = common.MAV_PROTOCOL_CAPABILITY_SET_POSITION_TARGET_LOCAL_NED // Autopilot supports commanding position and velocity targets in global scaled integers. MAV_PROTOCOL_CAPABILITY_SET_POSITION_TARGET_GLOBAL_INT MAV_PROTOCOL_CAPABILITY = common.MAV_PROTOCOL_CAPABILITY_SET_POSITION_TARGET_GLOBAL_INT // Autopilot supports terrain protocol / data handling. MAV_PROTOCOL_CAPABILITY_TERRAIN MAV_PROTOCOL_CAPABILITY = common.MAV_PROTOCOL_CAPABILITY_TERRAIN // Autopilot supports direct actuator control. MAV_PROTOCOL_CAPABILITY_SET_ACTUATOR_TARGET MAV_PROTOCOL_CAPABILITY = common.MAV_PROTOCOL_CAPABILITY_SET_ACTUATOR_TARGET // Autopilot supports the MAV_CMD_DO_FLIGHTTERMINATION command (flight termination). MAV_PROTOCOL_CAPABILITY_FLIGHT_TERMINATION MAV_PROTOCOL_CAPABILITY = common.MAV_PROTOCOL_CAPABILITY_FLIGHT_TERMINATION // Autopilot supports onboard compass calibration. MAV_PROTOCOL_CAPABILITY_COMPASS_CALIBRATION MAV_PROTOCOL_CAPABILITY = common.MAV_PROTOCOL_CAPABILITY_COMPASS_CALIBRATION // Autopilot supports MAVLink version 2. MAV_PROTOCOL_CAPABILITY_MAVLINK2 MAV_PROTOCOL_CAPABILITY = common.MAV_PROTOCOL_CAPABILITY_MAVLINK2 // Autopilot supports mission fence protocol. MAV_PROTOCOL_CAPABILITY_MISSION_FENCE MAV_PROTOCOL_CAPABILITY = common.MAV_PROTOCOL_CAPABILITY_MISSION_FENCE // Autopilot supports mission rally point protocol. MAV_PROTOCOL_CAPABILITY_MISSION_RALLY MAV_PROTOCOL_CAPABILITY = common.MAV_PROTOCOL_CAPABILITY_MISSION_RALLY // Reserved for future use. MAV_PROTOCOL_CAPABILITY_RESERVED2 MAV_PROTOCOL_CAPABILITY = common.MAV_PROTOCOL_CAPABILITY_RESERVED2 // Parameter protocol uses C-cast of parameter values to set the param_value (float) fields: https://mavlink.io/en/services/parameter.html#parameter-encoding. // Note that either this flag or MAV_PROTOCOL_CAPABILITY_PARAM_ENCODE_BYTEWISE should be set if the parameter protocol is supported. MAV_PROTOCOL_CAPABILITY_PARAM_ENCODE_C_CAST MAV_PROTOCOL_CAPABILITY = common.MAV_PROTOCOL_CAPABILITY_PARAM_ENCODE_C_CAST )
type MAV_RESULT ¶
type MAV_RESULT = common.MAV_RESULT
Result from a MAVLink command (MAV_CMD)
const ( // Command is valid (is supported and has valid parameters), and was executed. MAV_RESULT_ACCEPTED MAV_RESULT = common.MAV_RESULT_ACCEPTED // Command is valid, but cannot be executed at this time. This is used to indicate a problem that should be fixed just by waiting (e.g. a state machine is busy, can't arm because have not got GPS lock, etc.). Retrying later should work. MAV_RESULT_TEMPORARILY_REJECTED MAV_RESULT = common.MAV_RESULT_TEMPORARILY_REJECTED // Command is invalid (is supported but has invalid parameters). Retrying same command and parameters will not work. MAV_RESULT_DENIED MAV_RESULT = common.MAV_RESULT_DENIED // Command is not supported (unknown). MAV_RESULT_UNSUPPORTED MAV_RESULT = common.MAV_RESULT_UNSUPPORTED // Command is valid, but execution has failed. This is used to indicate any non-temporary or unexpected problem, i.e. any problem that must be fixed before the command can succeed/be retried. For example, attempting to write a file when out of memory, attempting to arm when sensors are not calibrated, etc. MAV_RESULT_FAILED MAV_RESULT = common.MAV_RESULT_FAILED // Command is valid and is being executed. This will be followed by further progress updates, i.e. the component may send further COMMAND_ACK messages with result MAV_RESULT_IN_PROGRESS (at a rate decided by the implementation), and must terminate by sending a COMMAND_ACK message with final result of the operation. The COMMAND_ACK.progress field can be used to indicate the progress of the operation. MAV_RESULT_IN_PROGRESS MAV_RESULT = common.MAV_RESULT_IN_PROGRESS // Command has been cancelled (as a result of receiving a COMMAND_CANCEL message). MAV_RESULT_CANCELLED MAV_RESULT = common.MAV_RESULT_CANCELLED )
type MAV_ROI ¶
The ROI (region of interest) for the vehicle. This can be be used by the vehicle for camera/vehicle attitude alignment (see MAV_CMD_NAV_ROI).
const ( // No region of interest. MAV_ROI_NONE MAV_ROI = common.MAV_ROI_NONE // Point toward next waypoint, with optional pitch/roll/yaw offset. MAV_ROI_WPNEXT MAV_ROI = common.MAV_ROI_WPNEXT // Point toward given waypoint. MAV_ROI_WPINDEX MAV_ROI = common.MAV_ROI_WPINDEX // Point toward fixed location. MAV_ROI_LOCATION MAV_ROI = common.MAV_ROI_LOCATION // Point toward of given id. MAV_ROI_TARGET MAV_ROI = common.MAV_ROI_TARGET )
type MAV_SENSOR_ORIENTATION ¶
type MAV_SENSOR_ORIENTATION = common.MAV_SENSOR_ORIENTATION
Enumeration of sensor orientation, according to its rotations
const ( // Roll: 0, Pitch: 0, Yaw: 0 MAV_SENSOR_ROTATION_NONE MAV_SENSOR_ORIENTATION = common.MAV_SENSOR_ROTATION_NONE // Roll: 0, Pitch: 0, Yaw: 45 MAV_SENSOR_ROTATION_YAW_45 MAV_SENSOR_ORIENTATION = common.MAV_SENSOR_ROTATION_YAW_45 // Roll: 0, Pitch: 0, Yaw: 90 MAV_SENSOR_ROTATION_YAW_90 MAV_SENSOR_ORIENTATION = common.MAV_SENSOR_ROTATION_YAW_90 // Roll: 0, Pitch: 0, Yaw: 135 MAV_SENSOR_ROTATION_YAW_135 MAV_SENSOR_ORIENTATION = common.MAV_SENSOR_ROTATION_YAW_135 // Roll: 0, Pitch: 0, Yaw: 180 MAV_SENSOR_ROTATION_YAW_180 MAV_SENSOR_ORIENTATION = common.MAV_SENSOR_ROTATION_YAW_180 // Roll: 0, Pitch: 0, Yaw: 225 MAV_SENSOR_ROTATION_YAW_225 MAV_SENSOR_ORIENTATION = common.MAV_SENSOR_ROTATION_YAW_225 // Roll: 0, Pitch: 0, Yaw: 270 MAV_SENSOR_ROTATION_YAW_270 MAV_SENSOR_ORIENTATION = common.MAV_SENSOR_ROTATION_YAW_270 // Roll: 0, Pitch: 0, Yaw: 315 MAV_SENSOR_ROTATION_YAW_315 MAV_SENSOR_ORIENTATION = common.MAV_SENSOR_ROTATION_YAW_315 // Roll: 180, Pitch: 0, Yaw: 0 MAV_SENSOR_ROTATION_ROLL_180 MAV_SENSOR_ORIENTATION = common.MAV_SENSOR_ROTATION_ROLL_180 // Roll: 180, Pitch: 0, Yaw: 45 MAV_SENSOR_ROTATION_ROLL_180_YAW_45 MAV_SENSOR_ORIENTATION = common.MAV_SENSOR_ROTATION_ROLL_180_YAW_45 // Roll: 180, Pitch: 0, Yaw: 90 MAV_SENSOR_ROTATION_ROLL_180_YAW_90 MAV_SENSOR_ORIENTATION = common.MAV_SENSOR_ROTATION_ROLL_180_YAW_90 // Roll: 180, Pitch: 0, Yaw: 135 MAV_SENSOR_ROTATION_ROLL_180_YAW_135 MAV_SENSOR_ORIENTATION = common.MAV_SENSOR_ROTATION_ROLL_180_YAW_135 // Roll: 0, Pitch: 180, Yaw: 0 MAV_SENSOR_ROTATION_PITCH_180 MAV_SENSOR_ORIENTATION = common.MAV_SENSOR_ROTATION_PITCH_180 // Roll: 180, Pitch: 0, Yaw: 225 MAV_SENSOR_ROTATION_ROLL_180_YAW_225 MAV_SENSOR_ORIENTATION = common.MAV_SENSOR_ROTATION_ROLL_180_YAW_225 // Roll: 180, Pitch: 0, Yaw: 270 MAV_SENSOR_ROTATION_ROLL_180_YAW_270 MAV_SENSOR_ORIENTATION = common.MAV_SENSOR_ROTATION_ROLL_180_YAW_270 // Roll: 180, Pitch: 0, Yaw: 315 MAV_SENSOR_ROTATION_ROLL_180_YAW_315 MAV_SENSOR_ORIENTATION = common.MAV_SENSOR_ROTATION_ROLL_180_YAW_315 // Roll: 90, Pitch: 0, Yaw: 0 MAV_SENSOR_ROTATION_ROLL_90 MAV_SENSOR_ORIENTATION = common.MAV_SENSOR_ROTATION_ROLL_90 // Roll: 90, Pitch: 0, Yaw: 45 MAV_SENSOR_ROTATION_ROLL_90_YAW_45 MAV_SENSOR_ORIENTATION = common.MAV_SENSOR_ROTATION_ROLL_90_YAW_45 // Roll: 90, Pitch: 0, Yaw: 90 MAV_SENSOR_ROTATION_ROLL_90_YAW_90 MAV_SENSOR_ORIENTATION = common.MAV_SENSOR_ROTATION_ROLL_90_YAW_90 // Roll: 90, Pitch: 0, Yaw: 135 MAV_SENSOR_ROTATION_ROLL_90_YAW_135 MAV_SENSOR_ORIENTATION = common.MAV_SENSOR_ROTATION_ROLL_90_YAW_135 // Roll: 270, Pitch: 0, Yaw: 0 MAV_SENSOR_ROTATION_ROLL_270 MAV_SENSOR_ORIENTATION = common.MAV_SENSOR_ROTATION_ROLL_270 // Roll: 270, Pitch: 0, Yaw: 45 MAV_SENSOR_ROTATION_ROLL_270_YAW_45 MAV_SENSOR_ORIENTATION = common.MAV_SENSOR_ROTATION_ROLL_270_YAW_45 // Roll: 270, Pitch: 0, Yaw: 90 MAV_SENSOR_ROTATION_ROLL_270_YAW_90 MAV_SENSOR_ORIENTATION = common.MAV_SENSOR_ROTATION_ROLL_270_YAW_90 // Roll: 270, Pitch: 0, Yaw: 135 MAV_SENSOR_ROTATION_ROLL_270_YAW_135 MAV_SENSOR_ORIENTATION = common.MAV_SENSOR_ROTATION_ROLL_270_YAW_135 // Roll: 0, Pitch: 90, Yaw: 0 MAV_SENSOR_ROTATION_PITCH_90 MAV_SENSOR_ORIENTATION = common.MAV_SENSOR_ROTATION_PITCH_90 // Roll: 0, Pitch: 270, Yaw: 0 MAV_SENSOR_ROTATION_PITCH_270 MAV_SENSOR_ORIENTATION = common.MAV_SENSOR_ROTATION_PITCH_270 // Roll: 0, Pitch: 180, Yaw: 90 MAV_SENSOR_ROTATION_PITCH_180_YAW_90 MAV_SENSOR_ORIENTATION = common.MAV_SENSOR_ROTATION_PITCH_180_YAW_90 // Roll: 0, Pitch: 180, Yaw: 270 MAV_SENSOR_ROTATION_PITCH_180_YAW_270 MAV_SENSOR_ORIENTATION = common.MAV_SENSOR_ROTATION_PITCH_180_YAW_270 // Roll: 90, Pitch: 90, Yaw: 0 MAV_SENSOR_ROTATION_ROLL_90_PITCH_90 MAV_SENSOR_ORIENTATION = common.MAV_SENSOR_ROTATION_ROLL_90_PITCH_90 // Roll: 180, Pitch: 90, Yaw: 0 MAV_SENSOR_ROTATION_ROLL_180_PITCH_90 MAV_SENSOR_ORIENTATION = common.MAV_SENSOR_ROTATION_ROLL_180_PITCH_90 // Roll: 270, Pitch: 90, Yaw: 0 MAV_SENSOR_ROTATION_ROLL_270_PITCH_90 MAV_SENSOR_ORIENTATION = common.MAV_SENSOR_ROTATION_ROLL_270_PITCH_90 // Roll: 90, Pitch: 180, Yaw: 0 MAV_SENSOR_ROTATION_ROLL_90_PITCH_180 MAV_SENSOR_ORIENTATION = common.MAV_SENSOR_ROTATION_ROLL_90_PITCH_180 // Roll: 270, Pitch: 180, Yaw: 0 MAV_SENSOR_ROTATION_ROLL_270_PITCH_180 MAV_SENSOR_ORIENTATION = common.MAV_SENSOR_ROTATION_ROLL_270_PITCH_180 // Roll: 90, Pitch: 270, Yaw: 0 MAV_SENSOR_ROTATION_ROLL_90_PITCH_270 MAV_SENSOR_ORIENTATION = common.MAV_SENSOR_ROTATION_ROLL_90_PITCH_270 // Roll: 180, Pitch: 270, Yaw: 0 MAV_SENSOR_ROTATION_ROLL_180_PITCH_270 MAV_SENSOR_ORIENTATION = common.MAV_SENSOR_ROTATION_ROLL_180_PITCH_270 // Roll: 270, Pitch: 270, Yaw: 0 MAV_SENSOR_ROTATION_ROLL_270_PITCH_270 MAV_SENSOR_ORIENTATION = common.MAV_SENSOR_ROTATION_ROLL_270_PITCH_270 // Roll: 90, Pitch: 180, Yaw: 90 MAV_SENSOR_ROTATION_ROLL_90_PITCH_180_YAW_90 MAV_SENSOR_ORIENTATION = common.MAV_SENSOR_ROTATION_ROLL_90_PITCH_180_YAW_90 // Roll: 90, Pitch: 0, Yaw: 270 MAV_SENSOR_ROTATION_ROLL_90_YAW_270 MAV_SENSOR_ORIENTATION = common.MAV_SENSOR_ROTATION_ROLL_90_YAW_270 // Roll: 90, Pitch: 68, Yaw: 293 MAV_SENSOR_ROTATION_ROLL_90_PITCH_68_YAW_293 MAV_SENSOR_ORIENTATION = common.MAV_SENSOR_ROTATION_ROLL_90_PITCH_68_YAW_293 // Pitch: 315 MAV_SENSOR_ROTATION_PITCH_315 MAV_SENSOR_ORIENTATION = common.MAV_SENSOR_ROTATION_PITCH_315 // Roll: 90, Pitch: 315 MAV_SENSOR_ROTATION_ROLL_90_PITCH_315 MAV_SENSOR_ORIENTATION = common.MAV_SENSOR_ROTATION_ROLL_90_PITCH_315 // Custom orientation MAV_SENSOR_ROTATION_CUSTOM MAV_SENSOR_ORIENTATION = common.MAV_SENSOR_ROTATION_CUSTOM )
type MAV_SEVERITY ¶
type MAV_SEVERITY = common.MAV_SEVERITY
Indicates the severity level, generally used for status messages to indicate their relative urgency. Based on RFC-5424 using expanded definitions at: http://www.kiwisyslog.com/kb/info:-syslog-message-levels/.
const ( // System is unusable. This is a "panic" condition. MAV_SEVERITY_EMERGENCY MAV_SEVERITY = common.MAV_SEVERITY_EMERGENCY // Action should be taken immediately. Indicates error in non-critical systems. MAV_SEVERITY_ALERT MAV_SEVERITY = common.MAV_SEVERITY_ALERT // Action must be taken immediately. Indicates failure in a primary system. MAV_SEVERITY_CRITICAL MAV_SEVERITY = common.MAV_SEVERITY_CRITICAL // Indicates an error in secondary/redundant systems. MAV_SEVERITY_ERROR MAV_SEVERITY = common.MAV_SEVERITY_ERROR // Indicates about a possible future error if this is not resolved within a given timeframe. Example would be a low battery warning. MAV_SEVERITY_WARNING MAV_SEVERITY = common.MAV_SEVERITY_WARNING // An unusual event has occurred, though not an error condition. This should be investigated for the root cause. MAV_SEVERITY_NOTICE MAV_SEVERITY = common.MAV_SEVERITY_NOTICE // Normal operational messages. Useful for logging. No action is required for these messages. MAV_SEVERITY_INFO MAV_SEVERITY = common.MAV_SEVERITY_INFO // Useful non-operational messages that can assist in debugging. These should not occur during normal operation. MAV_SEVERITY_DEBUG MAV_SEVERITY = common.MAV_SEVERITY_DEBUG )
type MAV_STANDARD_MODE ¶
type MAV_STANDARD_MODE uint32
Standard modes with a well understood meaning across flight stacks and vehicle types. For example, most flight stack have the concept of a "return" or "RTL" mode that takes a vehicle to safety, even though the precise mechanics of this mode may differ. Modes may be set using MAV_CMD_DO_SET_STANDARD_MODE.
const ( // Non standard mode. // This may be used when reporting the mode if the current flight mode is not a standard mode. MAV_STANDARD_MODE_NON_STANDARD MAV_STANDARD_MODE = 0 // Position mode (manual). // Position-controlled and stabilized manual mode. // When sticks are released vehicles return to their level-flight orientation and hold both position and altitude against wind and external forces. // This mode can only be set by vehicles that can hold a fixed position. // Multicopter (MC) vehicles actively brake and hold both position and altitude against wind and external forces. // Hybrid MC/FW ("VTOL") vehicles first transition to multicopter mode (if needed) but otherwise behave in the same way as MC vehicles. // Fixed-wing (FW) vehicles must not support this mode. // Other vehicle types must not support this mode (this may be revisited through the PR process). MAV_STANDARD_MODE_POSITION_HOLD MAV_STANDARD_MODE = 1 // Orbit (manual). // Position-controlled and stabilized manual mode. // The vehicle circles around a fixed setpoint in the horizontal plane at a particular radius, altitude, and direction. // Flight stacks may further allow manual control over the setpoint position, radius, direction, speed, and/or altitude of the circle, but this is not mandated. // Flight stacks may support the [MAV_CMD_DO_ORBIT](https://mavlink.io/en/messages/common.html#MAV_CMD_DO_ORBIT) for changing the orbit parameters. // MC and FW vehicles may support this mode. // Hybrid MC/FW ("VTOL") vehicles may support this mode in MC/FW or both modes; if the mode is not supported by the current configuration the vehicle should transition to the supported configuration. // Other vehicle types must not support this mode (this may be revisited through the PR process). MAV_STANDARD_MODE_ORBIT MAV_STANDARD_MODE = 2 // Cruise mode (manual). // Position-controlled and stabilized manual mode. // When sticks are released vehicles return to their level-flight orientation and hold their original track against wind and external forces. // Fixed-wing (FW) vehicles level orientation and maintain current track and altitude against wind and external forces. // Hybrid MC/FW ("VTOL") vehicles first transition to FW mode (if needed) but otherwise behave in the same way as MC vehicles. // Multicopter (MC) vehicles must not support this mode. // Other vehicle types must not support this mode (this may be revisited through the PR process). MAV_STANDARD_MODE_CRUISE MAV_STANDARD_MODE = 3 // Altitude hold (manual). // Altitude-controlled and stabilized manual mode. // When sticks are released vehicles return to their level-flight orientation and hold their altitude. // MC vehicles continue with existing momentum and may move with wind (or other external forces). // FW vehicles continue with current heading, but may be moved off-track by wind. // Hybrid MC/FW ("VTOL") vehicles behave according to their current configuration/mode (FW or MC). // Other vehicle types must not support this mode (this may be revisited through the PR process). MAV_STANDARD_MODE_ALTITUDE_HOLD MAV_STANDARD_MODE = 4 // Return home mode (auto). // Automatic mode that returns vehicle to home via a safe flight path. // It may also automatically land the vehicle (i.e. RTL). // The precise flight path and landing behaviour depend on vehicle configuration and type. MAV_STANDARD_MODE_RETURN_HOME MAV_STANDARD_MODE = 5 // Safe recovery mode (auto). // Automatic mode that takes vehicle to a predefined safe location via a safe flight path (rally point or mission defined landing) . // It may also automatically land the vehicle. // The precise return location, flight path, and landing behaviour depend on vehicle configuration and type. MAV_STANDARD_MODE_SAFE_RECOVERY MAV_STANDARD_MODE = 6 // Mission mode (automatic). // Automatic mode that executes MAVLink missions. // Missions are executed from the current waypoint as soon as the mode is enabled. MAV_STANDARD_MODE_MISSION MAV_STANDARD_MODE = 7 // Land mode (auto). // Automatic mode that lands the vehicle at the current location. // The precise landing behaviour depends on vehicle configuration and type. MAV_STANDARD_MODE_LAND MAV_STANDARD_MODE = 8 // Takeoff mode (auto). // Automatic takeoff mode. // The precise takeoff behaviour depends on vehicle configuration and type. MAV_STANDARD_MODE_TAKEOFF MAV_STANDARD_MODE = 9 )
func (MAV_STANDARD_MODE) MarshalText ¶
func (e MAV_STANDARD_MODE) MarshalText() ([]byte, error)
MarshalText implements the encoding.TextMarshaler interface.
func (MAV_STANDARD_MODE) String ¶
func (e MAV_STANDARD_MODE) String() string
String implements the fmt.Stringer interface.
func (*MAV_STANDARD_MODE) UnmarshalText ¶
func (e *MAV_STANDARD_MODE) UnmarshalText(text []byte) error
UnmarshalText implements the encoding.TextUnmarshaler interface.
type MAV_STATE ¶
const ( // Uninitialized system, state is unknown. MAV_STATE_UNINIT MAV_STATE = minimal.MAV_STATE_UNINIT // System is booting up. MAV_STATE_BOOT MAV_STATE = minimal.MAV_STATE_BOOT // System is calibrating and not flight-ready. MAV_STATE_CALIBRATING MAV_STATE = minimal.MAV_STATE_CALIBRATING // System is grounded and on standby. It can be launched any time. MAV_STATE_STANDBY MAV_STATE = minimal.MAV_STATE_STANDBY // System is active and might be already airborne. Motors are engaged. MAV_STATE_ACTIVE MAV_STATE = minimal.MAV_STATE_ACTIVE // System is in a non-normal flight mode. It can however still navigate. MAV_STATE_CRITICAL MAV_STATE = minimal.MAV_STATE_CRITICAL // System is in a non-normal flight mode. It lost control over parts or over the whole airframe. It is in mayday and going down. MAV_STATE_EMERGENCY MAV_STATE = minimal.MAV_STATE_EMERGENCY // System just initialized its power-down sequence, will shut down now. MAV_STATE_POWEROFF MAV_STATE = minimal.MAV_STATE_POWEROFF // System is terminating itself. MAV_STATE_FLIGHT_TERMINATION MAV_STATE = minimal.MAV_STATE_FLIGHT_TERMINATION )
type MAV_SYS_STATUS_SENSOR ¶
type MAV_SYS_STATUS_SENSOR = common.MAV_SYS_STATUS_SENSOR
These encode the sensors whose status is sent as part of the SYS_STATUS message.
const ( // 0x01 3D gyro MAV_SYS_STATUS_SENSOR_3D_GYRO MAV_SYS_STATUS_SENSOR = common.MAV_SYS_STATUS_SENSOR_3D_GYRO // 0x02 3D accelerometer MAV_SYS_STATUS_SENSOR_3D_ACCEL MAV_SYS_STATUS_SENSOR = common.MAV_SYS_STATUS_SENSOR_3D_ACCEL // 0x04 3D magnetometer MAV_SYS_STATUS_SENSOR_3D_MAG MAV_SYS_STATUS_SENSOR = common.MAV_SYS_STATUS_SENSOR_3D_MAG // 0x08 absolute pressure MAV_SYS_STATUS_SENSOR_ABSOLUTE_PRESSURE MAV_SYS_STATUS_SENSOR = common.MAV_SYS_STATUS_SENSOR_ABSOLUTE_PRESSURE // 0x10 differential pressure MAV_SYS_STATUS_SENSOR_DIFFERENTIAL_PRESSURE MAV_SYS_STATUS_SENSOR = common.MAV_SYS_STATUS_SENSOR_DIFFERENTIAL_PRESSURE // 0x20 GPS MAV_SYS_STATUS_SENSOR_GPS MAV_SYS_STATUS_SENSOR = common.MAV_SYS_STATUS_SENSOR_GPS // 0x40 optical flow MAV_SYS_STATUS_SENSOR_OPTICAL_FLOW MAV_SYS_STATUS_SENSOR = common.MAV_SYS_STATUS_SENSOR_OPTICAL_FLOW // 0x80 computer vision position MAV_SYS_STATUS_SENSOR_VISION_POSITION MAV_SYS_STATUS_SENSOR = common.MAV_SYS_STATUS_SENSOR_VISION_POSITION // 0x100 laser based position MAV_SYS_STATUS_SENSOR_LASER_POSITION MAV_SYS_STATUS_SENSOR = common.MAV_SYS_STATUS_SENSOR_LASER_POSITION // 0x200 external ground truth (Vicon or Leica) MAV_SYS_STATUS_SENSOR_EXTERNAL_GROUND_TRUTH MAV_SYS_STATUS_SENSOR = common.MAV_SYS_STATUS_SENSOR_EXTERNAL_GROUND_TRUTH // 0x400 3D angular rate control MAV_SYS_STATUS_SENSOR_ANGULAR_RATE_CONTROL MAV_SYS_STATUS_SENSOR = common.MAV_SYS_STATUS_SENSOR_ANGULAR_RATE_CONTROL // 0x800 attitude stabilization MAV_SYS_STATUS_SENSOR_ATTITUDE_STABILIZATION MAV_SYS_STATUS_SENSOR = common.MAV_SYS_STATUS_SENSOR_ATTITUDE_STABILIZATION // 0x1000 yaw position MAV_SYS_STATUS_SENSOR_YAW_POSITION MAV_SYS_STATUS_SENSOR = common.MAV_SYS_STATUS_SENSOR_YAW_POSITION // 0x2000 z/altitude control MAV_SYS_STATUS_SENSOR_Z_ALTITUDE_CONTROL MAV_SYS_STATUS_SENSOR = common.MAV_SYS_STATUS_SENSOR_Z_ALTITUDE_CONTROL // 0x4000 x/y position control MAV_SYS_STATUS_SENSOR_XY_POSITION_CONTROL MAV_SYS_STATUS_SENSOR = common.MAV_SYS_STATUS_SENSOR_XY_POSITION_CONTROL // 0x8000 motor outputs / control MAV_SYS_STATUS_SENSOR_MOTOR_OUTPUTS MAV_SYS_STATUS_SENSOR = common.MAV_SYS_STATUS_SENSOR_MOTOR_OUTPUTS // 0x10000 rc receiver MAV_SYS_STATUS_SENSOR_RC_RECEIVER MAV_SYS_STATUS_SENSOR = common.MAV_SYS_STATUS_SENSOR_RC_RECEIVER // 0x20000 2nd 3D gyro MAV_SYS_STATUS_SENSOR_3D_GYRO2 MAV_SYS_STATUS_SENSOR = common.MAV_SYS_STATUS_SENSOR_3D_GYRO2 // 0x40000 2nd 3D accelerometer MAV_SYS_STATUS_SENSOR_3D_ACCEL2 MAV_SYS_STATUS_SENSOR = common.MAV_SYS_STATUS_SENSOR_3D_ACCEL2 // 0x80000 2nd 3D magnetometer MAV_SYS_STATUS_SENSOR_3D_MAG2 MAV_SYS_STATUS_SENSOR = common.MAV_SYS_STATUS_SENSOR_3D_MAG2 // 0x100000 geofence MAV_SYS_STATUS_GEOFENCE MAV_SYS_STATUS_SENSOR = common.MAV_SYS_STATUS_GEOFENCE // 0x200000 AHRS subsystem health MAV_SYS_STATUS_AHRS MAV_SYS_STATUS_SENSOR = common.MAV_SYS_STATUS_AHRS // 0x400000 Terrain subsystem health MAV_SYS_STATUS_TERRAIN MAV_SYS_STATUS_SENSOR = common.MAV_SYS_STATUS_TERRAIN // 0x800000 Motors are reversed MAV_SYS_STATUS_REVERSE_MOTOR MAV_SYS_STATUS_SENSOR = common.MAV_SYS_STATUS_REVERSE_MOTOR // 0x1000000 Logging MAV_SYS_STATUS_LOGGING MAV_SYS_STATUS_SENSOR = common.MAV_SYS_STATUS_LOGGING // 0x2000000 Battery MAV_SYS_STATUS_SENSOR_BATTERY MAV_SYS_STATUS_SENSOR = common.MAV_SYS_STATUS_SENSOR_BATTERY // 0x4000000 Proximity MAV_SYS_STATUS_SENSOR_PROXIMITY MAV_SYS_STATUS_SENSOR = common.MAV_SYS_STATUS_SENSOR_PROXIMITY // 0x8000000 Satellite Communication MAV_SYS_STATUS_SENSOR_SATCOM MAV_SYS_STATUS_SENSOR = common.MAV_SYS_STATUS_SENSOR_SATCOM // 0x10000000 pre-arm check status. Always healthy when armed MAV_SYS_STATUS_PREARM_CHECK MAV_SYS_STATUS_SENSOR = common.MAV_SYS_STATUS_PREARM_CHECK // 0x20000000 Avoidance/collision prevention MAV_SYS_STATUS_OBSTACLE_AVOIDANCE MAV_SYS_STATUS_SENSOR = common.MAV_SYS_STATUS_OBSTACLE_AVOIDANCE // 0x40000000 propulsion (actuator, esc, motor or propellor) MAV_SYS_STATUS_SENSOR_PROPULSION MAV_SYS_STATUS_SENSOR = common.MAV_SYS_STATUS_SENSOR_PROPULSION // 0x80000000 Extended bit-field are used for further sensor status bits (needs to be set in onboard_control_sensors_present only) MAV_SYS_STATUS_EXTENSION_USED MAV_SYS_STATUS_SENSOR = common.MAV_SYS_STATUS_EXTENSION_USED )
type MAV_SYS_STATUS_SENSOR_EXTENDED ¶
type MAV_SYS_STATUS_SENSOR_EXTENDED = common.MAV_SYS_STATUS_SENSOR_EXTENDED
These encode the sensors whose status is sent as part of the SYS_STATUS message in the extended fields.
const ( // 0x01 Recovery system (parachute, balloon, retracts etc) MAV_SYS_STATUS_RECOVERY_SYSTEM MAV_SYS_STATUS_SENSOR_EXTENDED = common.MAV_SYS_STATUS_RECOVERY_SYSTEM )
type MAV_TUNNEL_PAYLOAD_TYPE ¶
type MAV_TUNNEL_PAYLOAD_TYPE = common.MAV_TUNNEL_PAYLOAD_TYPE
const ( // Encoding of payload unknown. MAV_TUNNEL_PAYLOAD_TYPE_UNKNOWN MAV_TUNNEL_PAYLOAD_TYPE = common.MAV_TUNNEL_PAYLOAD_TYPE_UNKNOWN // Registered for STorM32 gimbal controller. MAV_TUNNEL_PAYLOAD_TYPE_STORM32_RESERVED0 MAV_TUNNEL_PAYLOAD_TYPE = common.MAV_TUNNEL_PAYLOAD_TYPE_STORM32_RESERVED0 // Registered for STorM32 gimbal controller. MAV_TUNNEL_PAYLOAD_TYPE_STORM32_RESERVED1 MAV_TUNNEL_PAYLOAD_TYPE = common.MAV_TUNNEL_PAYLOAD_TYPE_STORM32_RESERVED1 // Registered for STorM32 gimbal controller. MAV_TUNNEL_PAYLOAD_TYPE_STORM32_RESERVED2 MAV_TUNNEL_PAYLOAD_TYPE = common.MAV_TUNNEL_PAYLOAD_TYPE_STORM32_RESERVED2 // Registered for STorM32 gimbal controller. MAV_TUNNEL_PAYLOAD_TYPE_STORM32_RESERVED3 MAV_TUNNEL_PAYLOAD_TYPE = common.MAV_TUNNEL_PAYLOAD_TYPE_STORM32_RESERVED3 // Registered for STorM32 gimbal controller. MAV_TUNNEL_PAYLOAD_TYPE_STORM32_RESERVED4 MAV_TUNNEL_PAYLOAD_TYPE = common.MAV_TUNNEL_PAYLOAD_TYPE_STORM32_RESERVED4 // Registered for STorM32 gimbal controller. MAV_TUNNEL_PAYLOAD_TYPE_STORM32_RESERVED5 MAV_TUNNEL_PAYLOAD_TYPE = common.MAV_TUNNEL_PAYLOAD_TYPE_STORM32_RESERVED5 // Registered for STorM32 gimbal controller. MAV_TUNNEL_PAYLOAD_TYPE_STORM32_RESERVED6 MAV_TUNNEL_PAYLOAD_TYPE = common.MAV_TUNNEL_PAYLOAD_TYPE_STORM32_RESERVED6 // Registered for STorM32 gimbal controller. MAV_TUNNEL_PAYLOAD_TYPE_STORM32_RESERVED7 MAV_TUNNEL_PAYLOAD_TYPE = common.MAV_TUNNEL_PAYLOAD_TYPE_STORM32_RESERVED7 // Registered for STorM32 gimbal controller. MAV_TUNNEL_PAYLOAD_TYPE_STORM32_RESERVED8 MAV_TUNNEL_PAYLOAD_TYPE = common.MAV_TUNNEL_PAYLOAD_TYPE_STORM32_RESERVED8 // Registered for STorM32 gimbal controller. MAV_TUNNEL_PAYLOAD_TYPE_STORM32_RESERVED9 MAV_TUNNEL_PAYLOAD_TYPE = common.MAV_TUNNEL_PAYLOAD_TYPE_STORM32_RESERVED9 )
type MAV_TYPE ¶
MAVLINK component type reported in HEARTBEAT message. Flight controllers must report the type of the vehicle on which they are mounted (e.g. MAV_TYPE_OCTOROTOR). All other components must report a value appropriate for their type (e.g. a camera must use MAV_TYPE_CAMERA).
const ( // Generic micro air vehicle MAV_TYPE_GENERIC MAV_TYPE = minimal.MAV_TYPE_GENERIC // Fixed wing aircraft. MAV_TYPE_FIXED_WING MAV_TYPE = minimal.MAV_TYPE_FIXED_WING // Quadrotor MAV_TYPE_QUADROTOR MAV_TYPE = minimal.MAV_TYPE_QUADROTOR // Coaxial helicopter MAV_TYPE_COAXIAL MAV_TYPE = minimal.MAV_TYPE_COAXIAL // Normal helicopter with tail rotor. MAV_TYPE_HELICOPTER MAV_TYPE = minimal.MAV_TYPE_HELICOPTER // Ground installation MAV_TYPE_ANTENNA_TRACKER MAV_TYPE = minimal.MAV_TYPE_ANTENNA_TRACKER // Operator control unit / ground control station MAV_TYPE_GCS MAV_TYPE = minimal.MAV_TYPE_GCS // Airship, controlled MAV_TYPE_AIRSHIP MAV_TYPE = minimal.MAV_TYPE_AIRSHIP // Free balloon, uncontrolled MAV_TYPE_FREE_BALLOON MAV_TYPE = minimal.MAV_TYPE_FREE_BALLOON // Rocket MAV_TYPE_ROCKET MAV_TYPE = minimal.MAV_TYPE_ROCKET // Ground rover MAV_TYPE_GROUND_ROVER MAV_TYPE = minimal.MAV_TYPE_GROUND_ROVER // Surface vessel, boat, ship MAV_TYPE_SURFACE_BOAT MAV_TYPE = minimal.MAV_TYPE_SURFACE_BOAT // Submarine MAV_TYPE_SUBMARINE MAV_TYPE = minimal.MAV_TYPE_SUBMARINE // Hexarotor MAV_TYPE_HEXAROTOR MAV_TYPE = minimal.MAV_TYPE_HEXAROTOR // Octorotor MAV_TYPE_OCTOROTOR MAV_TYPE = minimal.MAV_TYPE_OCTOROTOR // Tricopter MAV_TYPE_TRICOPTER MAV_TYPE = minimal.MAV_TYPE_TRICOPTER // Flapping wing MAV_TYPE_FLAPPING_WING MAV_TYPE = minimal.MAV_TYPE_FLAPPING_WING // Kite MAV_TYPE_KITE MAV_TYPE = minimal.MAV_TYPE_KITE // Onboard companion controller MAV_TYPE_ONBOARD_CONTROLLER MAV_TYPE = minimal.MAV_TYPE_ONBOARD_CONTROLLER // Two-rotor Tailsitter VTOL that additionally uses control surfaces in vertical operation. Note, value previously named MAV_TYPE_VTOL_DUOROTOR. MAV_TYPE_VTOL_TAILSITTER_DUOROTOR MAV_TYPE = minimal.MAV_TYPE_VTOL_TAILSITTER_DUOROTOR // Quad-rotor Tailsitter VTOL using a V-shaped quad config in vertical operation. Note: value previously named MAV_TYPE_VTOL_QUADROTOR. MAV_TYPE_VTOL_TAILSITTER_QUADROTOR MAV_TYPE = minimal.MAV_TYPE_VTOL_TAILSITTER_QUADROTOR // Tiltrotor VTOL. Fuselage and wings stay (nominally) horizontal in all flight phases. It able to tilt (some) rotors to provide thrust in cruise flight. MAV_TYPE_VTOL_TILTROTOR MAV_TYPE = minimal.MAV_TYPE_VTOL_TILTROTOR // VTOL with separate fixed rotors for hover and cruise flight. Fuselage and wings stay (nominally) horizontal in all flight phases. MAV_TYPE_VTOL_FIXEDROTOR MAV_TYPE = minimal.MAV_TYPE_VTOL_FIXEDROTOR // Tailsitter VTOL. Fuselage and wings orientation changes depending on flight phase: vertical for hover, horizontal for cruise. Use more specific VTOL MAV_TYPE_VTOL_DUOROTOR or MAV_TYPE_VTOL_QUADROTOR if appropriate. MAV_TYPE_VTOL_TAILSITTER MAV_TYPE = minimal.MAV_TYPE_VTOL_TAILSITTER // Tiltwing VTOL. Fuselage stays horizontal in all flight phases. The whole wing, along with any attached engine, can tilt between vertical and horizontal mode. MAV_TYPE_VTOL_TILTWING MAV_TYPE = minimal.MAV_TYPE_VTOL_TILTWING // VTOL reserved 5 MAV_TYPE_VTOL_RESERVED5 MAV_TYPE = minimal.MAV_TYPE_VTOL_RESERVED5 // Gimbal MAV_TYPE_GIMBAL MAV_TYPE = minimal.MAV_TYPE_GIMBAL // ADSB system MAV_TYPE_ADSB MAV_TYPE = minimal.MAV_TYPE_ADSB // Steerable, nonrigid airfoil MAV_TYPE_PARAFOIL MAV_TYPE = minimal.MAV_TYPE_PARAFOIL // Dodecarotor MAV_TYPE_DODECAROTOR MAV_TYPE = minimal.MAV_TYPE_DODECAROTOR // Camera MAV_TYPE_CAMERA MAV_TYPE = minimal.MAV_TYPE_CAMERA // Charging station MAV_TYPE_CHARGING_STATION MAV_TYPE = minimal.MAV_TYPE_CHARGING_STATION // FLARM collision avoidance system MAV_TYPE_FLARM MAV_TYPE = minimal.MAV_TYPE_FLARM // Servo MAV_TYPE_SERVO MAV_TYPE = minimal.MAV_TYPE_SERVO // Open Drone ID. See https://mavlink.io/en/services/opendroneid.html. MAV_TYPE_ODID MAV_TYPE = minimal.MAV_TYPE_ODID // Decarotor MAV_TYPE_DECAROTOR MAV_TYPE = minimal.MAV_TYPE_DECAROTOR // Battery MAV_TYPE_BATTERY MAV_TYPE = minimal.MAV_TYPE_BATTERY // Parachute MAV_TYPE_PARACHUTE MAV_TYPE = minimal.MAV_TYPE_PARACHUTE // Log MAV_TYPE_LOG MAV_TYPE = minimal.MAV_TYPE_LOG // OSD MAV_TYPE_OSD MAV_TYPE = minimal.MAV_TYPE_OSD // IMU MAV_TYPE_IMU MAV_TYPE = minimal.MAV_TYPE_IMU // GPS MAV_TYPE_GPS MAV_TYPE = minimal.MAV_TYPE_GPS // Winch MAV_TYPE_WINCH MAV_TYPE = minimal.MAV_TYPE_WINCH )
type MAV_VTOL_STATE ¶
type MAV_VTOL_STATE = common.MAV_VTOL_STATE
Enumeration of VTOL states
const ( // MAV is not configured as VTOL MAV_VTOL_STATE_UNDEFINED MAV_VTOL_STATE = common.MAV_VTOL_STATE_UNDEFINED // VTOL is in transition from multicopter to fixed-wing MAV_VTOL_STATE_TRANSITION_TO_FW MAV_VTOL_STATE = common.MAV_VTOL_STATE_TRANSITION_TO_FW // VTOL is in transition from fixed-wing to multicopter MAV_VTOL_STATE_TRANSITION_TO_MC MAV_VTOL_STATE = common.MAV_VTOL_STATE_TRANSITION_TO_MC // VTOL is in multicopter state MAV_VTOL_STATE_MC MAV_VTOL_STATE = common.MAV_VTOL_STATE_MC // VTOL is in fixed-wing state MAV_VTOL_STATE_FW MAV_VTOL_STATE = common.MAV_VTOL_STATE_FW )
type MAV_WINCH_STATUS_FLAG ¶
type MAV_WINCH_STATUS_FLAG = common.MAV_WINCH_STATUS_FLAG
Winch status flags used in WINCH_STATUS
const ( // Winch is healthy MAV_WINCH_STATUS_HEALTHY MAV_WINCH_STATUS_FLAG = common.MAV_WINCH_STATUS_HEALTHY // Winch line is fully retracted MAV_WINCH_STATUS_FULLY_RETRACTED MAV_WINCH_STATUS_FLAG = common.MAV_WINCH_STATUS_FULLY_RETRACTED // Winch motor is moving MAV_WINCH_STATUS_MOVING MAV_WINCH_STATUS_FLAG = common.MAV_WINCH_STATUS_MOVING // Winch clutch is engaged allowing motor to move freely. MAV_WINCH_STATUS_CLUTCH_ENGAGED MAV_WINCH_STATUS_FLAG = common.MAV_WINCH_STATUS_CLUTCH_ENGAGED // Winch is locked by locking mechanism. MAV_WINCH_STATUS_LOCKED MAV_WINCH_STATUS_FLAG = common.MAV_WINCH_STATUS_LOCKED // Winch is gravity dropping payload. MAV_WINCH_STATUS_DROPPING MAV_WINCH_STATUS_FLAG = common.MAV_WINCH_STATUS_DROPPING // Winch is arresting payload descent. MAV_WINCH_STATUS_ARRESTING MAV_WINCH_STATUS_FLAG = common.MAV_WINCH_STATUS_ARRESTING // Winch is using torque measurements to sense the ground. MAV_WINCH_STATUS_GROUND_SENSE MAV_WINCH_STATUS_FLAG = common.MAV_WINCH_STATUS_GROUND_SENSE // Winch is returning to the fully retracted position. MAV_WINCH_STATUS_RETRACTING MAV_WINCH_STATUS_FLAG = common.MAV_WINCH_STATUS_RETRACTING // Winch is redelivering the payload. This is a failover state if the line tension goes above a threshold during RETRACTING. MAV_WINCH_STATUS_REDELIVER MAV_WINCH_STATUS_FLAG = common.MAV_WINCH_STATUS_REDELIVER // Winch is abandoning the line and possibly payload. Winch unspools the entire calculated line length. This is a failover state from REDELIVER if the number of attempts exceeds a threshold. MAV_WINCH_STATUS_ABANDON_LINE MAV_WINCH_STATUS_FLAG = common.MAV_WINCH_STATUS_ABANDON_LINE // Winch is engaging the locking mechanism. MAV_WINCH_STATUS_LOCKING MAV_WINCH_STATUS_FLAG = common.MAV_WINCH_STATUS_LOCKING // Winch is spooling on line. MAV_WINCH_STATUS_LOAD_LINE MAV_WINCH_STATUS_FLAG = common.MAV_WINCH_STATUS_LOAD_LINE // Winch is loading a payload. MAV_WINCH_STATUS_LOAD_PAYLOAD MAV_WINCH_STATUS_FLAG = common.MAV_WINCH_STATUS_LOAD_PAYLOAD )
type MISSION_STATE ¶
type MISSION_STATE = common.MISSION_STATE
States of the mission state machine. Note that these states are independent of whether the mission is in a mode that can execute mission items or not (is suspended). They may not all be relevant on all vehicles.
const ( // The mission status reporting is not supported. MISSION_STATE_UNKNOWN MISSION_STATE = common.MISSION_STATE_UNKNOWN // No mission on the vehicle. MISSION_STATE_NO_MISSION MISSION_STATE = common.MISSION_STATE_NO_MISSION // Mission has not started. This is the case after a mission has uploaded but not yet started executing. MISSION_STATE_NOT_STARTED MISSION_STATE = common.MISSION_STATE_NOT_STARTED // Mission is active, and will execute mission items when in auto mode. MISSION_STATE_ACTIVE MISSION_STATE = common.MISSION_STATE_ACTIVE // Mission is paused when in auto mode. MISSION_STATE_PAUSED MISSION_STATE = common.MISSION_STATE_PAUSED // Mission has executed all mission items. MISSION_STATE_COMPLETE MISSION_STATE = common.MISSION_STATE_COMPLETE )
type MOTOR_TEST_ORDER ¶
type MOTOR_TEST_ORDER = common.MOTOR_TEST_ORDER
Sequence that motors are tested when using MAV_CMD_DO_MOTOR_TEST.
const ( // Default autopilot motor test method. MOTOR_TEST_ORDER_DEFAULT MOTOR_TEST_ORDER = common.MOTOR_TEST_ORDER_DEFAULT // Motor numbers are specified as their index in a predefined vehicle-specific sequence. MOTOR_TEST_ORDER_SEQUENCE MOTOR_TEST_ORDER = common.MOTOR_TEST_ORDER_SEQUENCE // Motor numbers are specified as the output as labeled on the board. MOTOR_TEST_ORDER_BOARD MOTOR_TEST_ORDER = common.MOTOR_TEST_ORDER_BOARD )
type MOTOR_TEST_THROTTLE_TYPE ¶
type MOTOR_TEST_THROTTLE_TYPE = common.MOTOR_TEST_THROTTLE_TYPE
Defines how throttle value is represented in MAV_CMD_DO_MOTOR_TEST.
const ( // Throttle as a percentage (0 ~ 100) MOTOR_TEST_THROTTLE_PERCENT MOTOR_TEST_THROTTLE_TYPE = common.MOTOR_TEST_THROTTLE_PERCENT // Throttle as an absolute PWM value (normally in range of 1000~2000). MOTOR_TEST_THROTTLE_PWM MOTOR_TEST_THROTTLE_TYPE = common.MOTOR_TEST_THROTTLE_PWM // Throttle pass-through from pilot's transmitter. MOTOR_TEST_THROTTLE_PILOT MOTOR_TEST_THROTTLE_TYPE = common.MOTOR_TEST_THROTTLE_PILOT // Per-motor compass calibration test. MOTOR_TEST_COMPASS_CAL MOTOR_TEST_THROTTLE_TYPE = common.MOTOR_TEST_COMPASS_CAL )
type MessageActuatorControlTarget ¶
type MessageActuatorControlTarget = common.MessageActuatorControlTarget
Set the vehicle attitude and body angular rates.
type MessageActuatorOutputStatus ¶
type MessageActuatorOutputStatus = common.MessageActuatorOutputStatus
The raw values of the actuator outputs (e.g. on Pixhawk, from MAIN, AUX ports). This message supersedes SERVO_OUTPUT_RAW.
type MessageAdsbVehicle ¶
type MessageAdsbVehicle = common.MessageAdsbVehicle
The location and information of an ADSB vehicle
type MessageAirspeed ¶
type MessageAirspeed struct { // Sensor ID. Id uint8 // Calibrated airspeed (CAS). Airspeed float32 // Temperature. INT16_MAX for value unknown/not supplied. Temperature int16 // Raw differential pressure. NaN for value unknown/not supplied. RawPress float32 // Airspeed sensor flags. Flags AIRSPEED_SENSOR_FLAGS `mavenum:"uint8"` }
Airspeed information from a sensor.
func (*MessageAirspeed) GetID ¶
func (*MessageAirspeed) GetID() uint32
GetID implements the message.Message interface.
type MessageAisVessel ¶
type MessageAisVessel = common.MessageAisVessel
The location and information of an AIS vessel
type MessageAttPosMocap ¶
type MessageAttPosMocap = common.MessageAttPosMocap
Motion capture attitude and position
type MessageAttitude ¶
type MessageAttitude = common.MessageAttitude
The attitude in the aeronautical frame (right-handed, Z-down, Y-right, X-front, ZYX, intrinsic).
type MessageAttitudeQuaternion ¶
type MessageAttitudeQuaternion = common.MessageAttitudeQuaternion
The attitude in the aeronautical frame (right-handed, Z-down, X-front, Y-right), expressed as quaternion. Quaternion order is w, x, y, z and a zero rotation would be expressed as (1 0 0 0).
type MessageAttitudeQuaternionCov ¶
type MessageAttitudeQuaternionCov = common.MessageAttitudeQuaternionCov
The attitude in the aeronautical frame (right-handed, Z-down, X-front, Y-right), expressed as quaternion. Quaternion order is w, x, y, z and a zero rotation would be expressed as (1 0 0 0).
type MessageAttitudeTarget ¶
type MessageAttitudeTarget = common.MessageAttitudeTarget
Reports the current commanded attitude of the vehicle as specified by the autopilot. This should match the commands sent in a SET_ATTITUDE_TARGET message if the vehicle is being controlled this way.
type MessageAuthKey ¶
type MessageAuthKey = common.MessageAuthKey
Emit an encrypted signature / key identifying this system. PLEASE NOTE: This protocol has been kept simple, so transmitting the key requires an encrypted channel for true safety.
type MessageAutopilotStateForGimbalDevice ¶
type MessageAutopilotStateForGimbalDevice = common.MessageAutopilotStateForGimbalDevice
Low level message containing autopilot state relevant for a gimbal device. This message is to be sent from the autopilot to the gimbal device component. The data of this message are for the gimbal device's estimator corrections, in particular horizon compensation, as well as indicates autopilot control intentions, e.g. feed forward angular control in the z-axis.
type MessageAutopilotVersion ¶
type MessageAutopilotVersion = common.MessageAutopilotVersion
Version and capability of autopilot software. This should be emitted in response to a request with MAV_CMD_REQUEST_MESSAGE.
type MessageAvailableModes ¶
type MessageAvailableModes struct { // The total number of available modes for the current vehicle type. NumberModes uint8 // The current mode index within number_modes, indexed from 1. ModeIndex uint8 // Standard mode. StandardMode MAV_STANDARD_MODE `mavenum:"uint8"` // System mode bitmap. BaseMode MAV_MODE_FLAG `mavenum:"uint8"` // A bitfield for use for autopilot-specific flags CustomMode uint32 // Name of custom mode, with null termination character. Should be omitted for standard modes. ModeName string `mavlen:"50"` }
Get information about a particular flight modes. The message can be enumerated or requested for a particular mode using MAV_CMD_REQUEST_MESSAGE. Specify 0 in param2 to request that the message is emitted for all available modes or the specific index for just one mode. The modes must be available/settable for the current vehicle/frame type. Each modes should only be emitted once (even if it is both standard and custom).
func (*MessageAvailableModes) GetID ¶
func (*MessageAvailableModes) GetID() uint32
GetID implements the message.Message interface.
type MessageBatteryStatus ¶
type MessageBatteryStatus = common.MessageBatteryStatus
Battery information. Updates GCS with flight controller battery status. Smart batteries also use this message, but may additionally send SMART_BATTERY_INFO.
type MessageBatteryStatusV2 ¶ added in v1.1.0
type MessageBatteryStatusV2 struct { // Battery ID Id uint8 // Temperature of the whole battery pack (not internal electronics). INT16_MAX field not provided. Temperature int16 // Battery voltage (total). NaN: field not provided. Voltage float32 // Battery current (through all cells/loads). Positive value when discharging and negative if charging. NaN: field not provided. Current float32 // Consumed charge. NaN: field not provided. This is either the consumption since power-on or since the battery was full, depending on the value of MAV_BATTERY_STATUS_FLAGS_CAPACITY_RELATIVE_TO_FULL. CapacityConsumed float32 // Remaining charge (until empty). UINT32_MAX: field not provided. Note: If MAV_BATTERY_STATUS_FLAGS_CAPACITY_RELATIVE_TO_FULL is unset, this value is based on the assumption the battery was full when the system was powered. CapacityRemaining float32 // Remaining battery energy. Values: [0-100], UINT8_MAX: field not provided. PercentRemaining uint8 // Fault, health, readiness, and other status indications. StatusFlags MAV_BATTERY_STATUS_FLAGS `mavenum:"uint32"` }
Battery dynamic information. This should be streamed (nominally at 1Hz). Static/invariant battery information is sent in SMART_BATTERY_INFO. Note that smart batteries should set the MAV_BATTERY_STATUS_FLAGS_CAPACITY_RELATIVE_TO_FULL bit to indicate that supplied capacity values are relative to a battery that is known to be full. Power monitors would not set this bit, indicating that capacity_consumed is relative to drone power-on, and that other values are estimated based on the assumption that the battery was full on power-on.
func (*MessageBatteryStatusV2) GetID ¶ added in v1.1.0
func (*MessageBatteryStatusV2) GetID() uint32
GetID implements the message.Message interface.
type MessageButtonChange ¶
type MessageButtonChange = common.MessageButtonChange
Report button state change.
type MessageCameraCaptureStatus ¶
type MessageCameraCaptureStatus = common.MessageCameraCaptureStatus
Information about the status of a capture. Can be requested with a MAV_CMD_REQUEST_MESSAGE command.
type MessageCameraFovStatus ¶
type MessageCameraFovStatus = common.MessageCameraFovStatus
Information about the field of view of a camera. Can be requested with a MAV_CMD_REQUEST_MESSAGE command.
type MessageCameraImageCaptured ¶
type MessageCameraImageCaptured = common.MessageCameraImageCaptured
Information about a captured image. This is emitted every time a message is captured. MAV_CMD_REQUEST_MESSAGE can be used to (re)request this message for a specific sequence number or range of sequence numbers: MAV_CMD_REQUEST_MESSAGE.param2 indicates the sequence number the first image to send, or set to -1 to send the message for all sequence numbers. MAV_CMD_REQUEST_MESSAGE.param3 is used to specify a range of messages to send: set to 0 (default) to send just the the message for the sequence number in param 2, set to -1 to send the message for the sequence number in param 2 and all the following sequence numbers, set to the sequence number of the final message in the range.
type MessageCameraInformation ¶
type MessageCameraInformation = common.MessageCameraInformation
Information about a camera. Can be requested with a MAV_CMD_REQUEST_MESSAGE command.
type MessageCameraSettings ¶
type MessageCameraSettings = common.MessageCameraSettings
Settings of a camera. Can be requested with a MAV_CMD_REQUEST_MESSAGE command.
type MessageCameraTrackingGeoStatus ¶
type MessageCameraTrackingGeoStatus = common.MessageCameraTrackingGeoStatus
Camera tracking status, sent while in active tracking. Use MAV_CMD_SET_MESSAGE_INTERVAL to define message interval.
type MessageCameraTrackingImageStatus ¶
type MessageCameraTrackingImageStatus = common.MessageCameraTrackingImageStatus
Camera tracking status, sent while in active tracking. Use MAV_CMD_SET_MESSAGE_INTERVAL to define message interval.
type MessageCameraTrigger ¶
type MessageCameraTrigger = common.MessageCameraTrigger
Camera-IMU triggering and synchronisation message.
type MessageCanFilterModify ¶
type MessageCanFilterModify = common.MessageCanFilterModify
Modify the filter of what CAN messages to forward over the mavlink. This can be used to make CAN forwarding work well on low bandwidth links. The filtering is applied on bits 8 to 24 of the CAN id (2nd and 3rd bytes) which corresponds to the DroneCAN message ID for DroneCAN. Filters with more than 16 IDs can be constructed by sending multiple CAN_FILTER_MODIFY messages.
type MessageCanFrame ¶
type MessageCanFrame = common.MessageCanFrame
A forwarded CAN frame as requested by MAV_CMD_CAN_FORWARD.
type MessageCanfdFrame ¶
type MessageCanfdFrame = common.MessageCanfdFrame
A forwarded CANFD frame as requested by MAV_CMD_CAN_FORWARD. These are separated from CAN_FRAME as they need different handling (eg. TAO handling)
type MessageCellularConfig ¶
type MessageCellularConfig = common.MessageCellularConfig
Configure cellular modems. This message is re-emitted as an acknowledgement by the modem. The message may also be explicitly requested using MAV_CMD_REQUEST_MESSAGE.
type MessageCellularStatus ¶
type MessageCellularStatus = common.MessageCellularStatus
Report current used cellular network status
type MessageChangeOperatorControl ¶
type MessageChangeOperatorControl = common.MessageChangeOperatorControl
Request to control this MAV
type MessageChangeOperatorControlAck ¶
type MessageChangeOperatorControlAck = common.MessageChangeOperatorControlAck
Accept / deny control of this MAV
type MessageCollision ¶
type MessageCollision = common.MessageCollision
Information about a potential collision
type MessageCommandAck ¶
type MessageCommandAck = common.MessageCommandAck
Report status of a command. Includes feedback whether the command was executed. The command microservice is documented at https://mavlink.io/en/services/command.html
type MessageCommandCancel ¶
type MessageCommandCancel = common.MessageCommandCancel
Cancel a long running command. The target system should respond with a COMMAND_ACK to the original command with result=MAV_RESULT_CANCELLED if the long running process was cancelled. If it has already completed, the cancel action can be ignored. The cancel action can be retried until some sort of acknowledgement to the original command has been received. The command microservice is documented at https://mavlink.io/en/services/command.html
type MessageCommandInt ¶
type MessageCommandInt = common.MessageCommandInt
Send a command with up to seven parameters to the MAV, where params 5 and 6 are integers and the other values are floats. This is preferred over COMMAND_LONG when sending positional data in params 5 and 6, as it allows for greater precision when sending latitudes/longitudes. Param 5 and 6 encode positional data as scaled integers, where the scaling depends on the actual command value. NaN or INT32_MAX may be used in float/integer params (respectively) to indicate optional/default values (e.g. to use the component's current latitude, yaw rather than a specific value). The command microservice is documented at https://mavlink.io/en/services/command.html
type MessageCommandLong ¶
type MessageCommandLong = common.MessageCommandLong
Send a command with up to seven parameters to the MAV. COMMAND_INT is generally preferred when sending MAV_CMD commands where param 5 and param 6 contain latitude/longitude data, as sending these in floats can result in a significant loss of precision. COMMAND_LONG is required for commands that mandate float values in params 5 and 6. The command microservice is documented at https://mavlink.io/en/services/command.html
type MessageComponentInformation ¶
type MessageComponentInformation = common.MessageComponentInformation
Component information message, which may be requested using MAV_CMD_REQUEST_MESSAGE.
type MessageComponentInformationBasic ¶
type MessageComponentInformationBasic struct { // Timestamp (time since system boot). TimeBootMs uint32 // Component capability flags Capabilities MAV_PROTOCOL_CAPABILITY `mavenum:"uint64"` // Name of the component vendor. Needs to be zero terminated. The field is optional and can be empty/all zeros. VendorName string `mavlen:"32"` // Name of the component model. Needs to be zero terminated. The field is optional and can be empty/all zeros. ModelName string `mavlen:"32"` // Software version. The recommended format is SEMVER: 'major.minor.patch' (any format may be used). The field must be zero terminated if it has a value. The field is optional and can be empty/all zeros. SoftwareVersion string `mavlen:"24"` // Hardware version. The recommended format is SEMVER: 'major.minor.patch' (any format may be used). The field must be zero terminated if it has a value. The field is optional and can be empty/all zeros. HardwareVersion string `mavlen:"24"` // Hardware serial number. The field must be zero terminated if it has a value. The field is optional and can be empty/all zeros. SerialNumber string `mavlen:"32"` }
Basic component information data. Should be requested using MAV_CMD_REQUEST_MESSAGE on startup, or when required.
func (*MessageComponentInformationBasic) GetID ¶
func (*MessageComponentInformationBasic) GetID() uint32
GetID implements the message.Message interface.
type MessageComponentMetadata ¶
type MessageComponentMetadata = common.MessageComponentMetadata
Component metadata message, which may be requested using MAV_CMD_REQUEST_MESSAGE. This contains the MAVLink FTP URI and CRC for the component's general metadata file. The file must be hosted on the component, and may be xz compressed. The file CRC can be used for file caching. The general metadata file can be read to get the locations of other metadata files (COMP_METADATA_TYPE) and translations, which may be hosted either on the vehicle or the internet. For more information see: https://mavlink.io/en/services/component_information.html. Note: Camera components should use CAMERA_INFORMATION instead, and autopilots may use both this message and AUTOPILOT_VERSION.
type MessageControlSystemState ¶
type MessageControlSystemState = common.MessageControlSystemState
The smoothed, monotonic system state used to feed the control loops of the system.
type MessageCurrentEventSequence ¶
type MessageCurrentEventSequence = common.MessageCurrentEventSequence
Regular broadcast for the current latest event sequence number for a component. This is used to check for dropped events.
type MessageCurrentMode ¶
type MessageCurrentMode struct { // Standard mode. StandardMode MAV_STANDARD_MODE `mavenum:"uint8"` // System mode bitmap. BaseMode MAV_MODE_FLAG `mavenum:"uint8"` // A bitfield for use for autopilot-specific flags CustomMode uint32 }
Get the current mode. This should be emitted on any mode change, and broadcast at low rate (nominally 0.5 Hz). It may be requested using MAV_CMD_REQUEST_MESSAGE.
func (*MessageCurrentMode) GetID ¶
func (*MessageCurrentMode) GetID() uint32
GetID implements the message.Message interface.
type MessageDataStream ¶
type MessageDataStream = common.MessageDataStream
Data stream status information.
type MessageDataTransmissionHandshake ¶
type MessageDataTransmissionHandshake = common.MessageDataTransmissionHandshake
Handshake message to initiate, control and stop image streaming when using the Image Transmission Protocol: https://mavlink.io/en/services/image_transmission.html.
type MessageDebug ¶
type MessageDebug = common.MessageDebug
Send a debug value. The index is used to discriminate between values. These values show up in the plot of QGroundControl as DEBUG N.
type MessageDebugFloatArray ¶
type MessageDebugFloatArray = common.MessageDebugFloatArray
Large debug/prototyping array. The message uses the maximum available payload for data. The array_id and name fields are used to discriminate between messages in code and in user interfaces (respectively). Do not use in production code.
type MessageDebugVect ¶
type MessageDebugVect = common.MessageDebugVect
To debug something using a named 3D vector.
type MessageDistanceSensor ¶
type MessageDistanceSensor = common.MessageDistanceSensor
Distance sensor information for an onboard rangefinder.
type MessageEncapsulatedData ¶
type MessageEncapsulatedData = common.MessageEncapsulatedData
Data packet for images sent using the Image Transmission Protocol: https://mavlink.io/en/services/image_transmission.html.
type MessageEscInfo ¶
type MessageEscInfo = common.MessageEscInfo
ESC information for lower rate streaming. Recommended streaming rate 1Hz. See ESC_STATUS for higher-rate ESC data.
type MessageEscStatus ¶
type MessageEscStatus = common.MessageEscStatus
ESC information for higher rate streaming. Recommended streaming rate is ~10 Hz. Information that changes more slowly is sent in ESC_INFO. It should typically only be streamed on high-bandwidth links (i.e. to a companion computer).
type MessageEstimatorStatus ¶
type MessageEstimatorStatus = common.MessageEstimatorStatus
Estimator status message including flags, innovation test ratios and estimated accuracies. The flags message is an integer bitmask containing information on which EKF outputs are valid. See the ESTIMATOR_STATUS_FLAGS enum definition for further information. The innovation test ratios show the magnitude of the sensor innovation divided by the innovation check threshold. Under normal operation the innovation test ratios should be below 0.5 with occasional values up to 1.0. Values greater than 1.0 should be rare under normal operation and indicate that a measurement has been rejected by the filter. The user should be notified if an innovation test ratio greater than 1.0 is recorded. Notifications for values in the range between 0.5 and 1.0 should be optional and controllable by the user.
type MessageEvent ¶
type MessageEvent = common.MessageEvent
Event message. Each new event from a particular component gets a new sequence number. The same message might be sent multiple times if (re-)requested. Most events are broadcast, some can be specific to a target component (as receivers keep track of the sequence for missed events, all events need to be broadcast. Thus we use destination_component instead of target_component).
type MessageExtendedSysState ¶
type MessageExtendedSysState = common.MessageExtendedSysState
Provides state for additional features
type MessageFenceStatus ¶
type MessageFenceStatus = common.MessageFenceStatus
Status of geo-fencing. Sent in extended status stream when fencing enabled.
type MessageFigureEightExecutionStatus ¶
type MessageFigureEightExecutionStatus struct { // Timestamp (UNIX Epoch time or time since system boot). The receiving end can infer timestamp format (since 1.1.1970 or since system boot) by checking for the magnitude of the number. TimeUsec uint64 // Major axis radius of the figure eight. Positive: orbit the north circle clockwise. Negative: orbit the north circle counter-clockwise. MajorRadius float32 // Minor axis radius of the figure eight. Defines the radius of two circles that make up the figure. MinorRadius float32 // Orientation of the figure eight major axis with respect to true north in [-pi,pi). Orientation float32 // The coordinate system of the fields: x, y, z. Frame MAV_FRAME `mavenum:"uint8"` // X coordinate of center point. Coordinate system depends on frame field. X int32 // Y coordinate of center point. Coordinate system depends on frame field. Y int32 // Altitude of center point. Coordinate system depends on frame field. Z float32 }
Vehicle status report that is sent out while figure eight execution is in progress (see MAV_CMD_DO_FIGURE_EIGHT). This may typically send at low rates: of the order of 2Hz.
func (*MessageFigureEightExecutionStatus) GetID ¶
func (*MessageFigureEightExecutionStatus) GetID() uint32
GetID implements the message.Message interface.
type MessageFileTransferProtocol ¶
type MessageFileTransferProtocol = common.MessageFileTransferProtocol
File transfer protocol message: https://mavlink.io/en/services/ftp.html.
type MessageFlightInformation ¶
type MessageFlightInformation = common.MessageFlightInformation
Information about flight since last arming. This can be requested using MAV_CMD_REQUEST_MESSAGE.
type MessageFollowTarget ¶
type MessageFollowTarget = common.MessageFollowTarget
Current motion information from a designated system
type MessageGeneratorStatus ¶
type MessageGeneratorStatus = common.MessageGeneratorStatus
Telemetry of power generation system. Alternator or mechanical generator.
type MessageGimbalDeviceAttitudeStatus ¶
type MessageGimbalDeviceAttitudeStatus = common.MessageGimbalDeviceAttitudeStatus
Message reporting the status of a gimbal device. This message should be broadcast by a gimbal device component at a low regular rate (e.g. 5 Hz). For the angles encoded in the quaternion and the angular velocities holds: If the flag GIMBAL_DEVICE_FLAGS_YAW_IN_VEHICLE_FRAME is set, then they are relative to the vehicle heading (vehicle frame). If the flag GIMBAL_DEVICE_FLAGS_YAW_IN_EARTH_FRAME is set, then they are relative to absolute North (earth frame). If neither of these flags are set, then (for backwards compatibility) it holds: If the flag GIMBAL_DEVICE_FLAGS_YAW_LOCK is set, then they are relative to absolute North (earth frame), else they are relative to the vehicle heading (vehicle frame). Other conditions of the flags are not allowed. The quaternion and angular velocities in the other frame can be calculated from delta_yaw and delta_yaw_velocity as q_earth = q_delta_yaw * q_vehicle and w_earth = w_delta_yaw_velocity + w_vehicle (if not NaN). If neither the GIMBAL_DEVICE_FLAGS_YAW_IN_VEHICLE_FRAME nor the GIMBAL_DEVICE_FLAGS_YAW_IN_EARTH_FRAME flag is set, then (for backwards compatibility) the data in the delta_yaw and delta_yaw_velocity fields are to be ignored. New implementations should always set either GIMBAL_DEVICE_FLAGS_YAW_IN_VEHICLE_FRAME or GIMBAL_DEVICE_FLAGS_YAW_IN_EARTH_FRAME, and always should set delta_yaw and delta_yaw_velocity either to the proper value or NaN.
type MessageGimbalDeviceInformation ¶
type MessageGimbalDeviceInformation = common.MessageGimbalDeviceInformation
Information about a low level gimbal. This message should be requested by the gimbal manager or a ground station using MAV_CMD_REQUEST_MESSAGE. The maximum angles and rates are the limits by hardware. However, the limits by software used are likely different/smaller and dependent on mode/settings/etc..
type MessageGimbalDeviceSetAttitude ¶
type MessageGimbalDeviceSetAttitude = common.MessageGimbalDeviceSetAttitude
Low level message to control a gimbal device's attitude. This message is to be sent from the gimbal manager to the gimbal device component. The quaternion and angular velocities can be set to NaN according to use case. For the angles encoded in the quaternion and the angular velocities holds: If the flag GIMBAL_DEVICE_FLAGS_YAW_IN_VEHICLE_FRAME is set, then they are relative to the vehicle heading (vehicle frame). If the flag GIMBAL_DEVICE_FLAGS_YAW_IN_EARTH_FRAME is set, then they are relative to absolute North (earth frame). If neither of these flags are set, then (for backwards compatibility) it holds: If the flag GIMBAL_DEVICE_FLAGS_YAW_LOCK is set, then they are relative to absolute North (earth frame), else they are relative to the vehicle heading (vehicle frame). Setting both GIMBAL_DEVICE_FLAGS_YAW_IN_VEHICLE_FRAME and GIMBAL_DEVICE_FLAGS_YAW_IN_EARTH_FRAME is not allowed. These rules are to ensure backwards compatibility. New implementations should always set either GIMBAL_DEVICE_FLAGS_YAW_IN_VEHICLE_FRAME or GIMBAL_DEVICE_FLAGS_YAW_IN_EARTH_FRAME.
type MessageGimbalManagerInformation ¶
type MessageGimbalManagerInformation = common.MessageGimbalManagerInformation
Information about a high level gimbal manager. This message should be requested by a ground station using MAV_CMD_REQUEST_MESSAGE.
type MessageGimbalManagerSetAttitude ¶
type MessageGimbalManagerSetAttitude = common.MessageGimbalManagerSetAttitude
High level message to control a gimbal's attitude. This message is to be sent to the gimbal manager (e.g. from a ground station). Angles and rates can be set to NaN according to use case.
type MessageGimbalManagerSetManualControl ¶
type MessageGimbalManagerSetManualControl = common.MessageGimbalManagerSetManualControl
High level message to control a gimbal manually. The angles or angular rates are unitless; the actual rates will depend on internal gimbal manager settings/configuration (e.g. set by parameters). This message is to be sent to the gimbal manager (e.g. from a ground station). Angles and rates can be set to NaN according to use case.
type MessageGimbalManagerSetPitchyaw ¶
type MessageGimbalManagerSetPitchyaw = common.MessageGimbalManagerSetPitchyaw
High level message to control a gimbal's pitch and yaw angles. This message is to be sent to the gimbal manager (e.g. from a ground station). Angles and rates can be set to NaN according to use case.
type MessageGimbalManagerStatus ¶
type MessageGimbalManagerStatus = common.MessageGimbalManagerStatus
Current status about a high level gimbal manager. This message should be broadcast at a low regular rate (e.g. 5Hz).
type MessageGlobalPositionInt ¶
type MessageGlobalPositionInt = common.MessageGlobalPositionInt
The filtered global position (e.g. fused GPS and accelerometers). The position is in GPS-frame (right-handed, Z-up). It is designed as scaled integer message since the resolution of float is not sufficient.
type MessageGlobalPositionIntCov ¶
type MessageGlobalPositionIntCov = common.MessageGlobalPositionIntCov
The filtered global position (e.g. fused GPS and accelerometers). The position is in GPS-frame (right-handed, Z-up). It is designed as scaled integer message since the resolution of float is not sufficient. NOTE: This message is intended for onboard networks / companion computers and higher-bandwidth links and optimized for accuracy and completeness. Please use the GLOBAL_POSITION_INT message for a minimal subset.
type MessageGlobalVisionPositionEstimate ¶
type MessageGlobalVisionPositionEstimate = common.MessageGlobalVisionPositionEstimate
Global position/attitude estimate from a vision source.
type MessageGps2Rtk ¶
type MessageGps2Rtk = common.MessageGps2Rtk
RTK GPS data. Gives information on the relative baseline calculation the GPS is reporting
type MessageGpsGlobalOrigin ¶
type MessageGpsGlobalOrigin = common.MessageGpsGlobalOrigin
Publishes the GPS coordinates of the vehicle local origin (0,0,0) position. Emitted whenever a new GPS-Local position mapping is requested or set - e.g. following SET_GPS_GLOBAL_ORIGIN message.
type MessageGpsInjectData ¶
type MessageGpsInjectData = common.MessageGpsInjectData
Data for injecting into the onboard GPS (used for DGPS)
type MessageGpsInput ¶
type MessageGpsInput = common.MessageGpsInput
GPS sensor input message. This is a raw sensor value sent by the GPS. This is NOT the global position estimate of the system.
type MessageGpsRawInt ¶
type MessageGpsRawInt = common.MessageGpsRawInt
The global position, as returned by the Global Positioning System (GPS). This is NOT the global position estimate of the system, but rather a RAW sensor value. See message GLOBAL_POSITION_INT for the global position estimate.
type MessageGpsRtcmData ¶
type MessageGpsRtcmData = common.MessageGpsRtcmData
RTCM message for injecting into the onboard GPS (used for DGPS)
type MessageGpsRtk ¶
type MessageGpsRtk = common.MessageGpsRtk
RTK GPS data. Gives information on the relative baseline calculation the GPS is reporting
type MessageGpsStatus ¶
type MessageGpsStatus = common.MessageGpsStatus
The positioning status, as reported by GPS. This message is intended to display status information about each satellite visible to the receiver. See message GLOBAL_POSITION_INT for the global position estimate. This message can contain information for up to 20 satellites.
type MessageGroupEnd ¶
type MessageGroupEnd struct { // Mission-unique group id (from MAV_CMD_GROUP_END). GroupId uint32 // CRC32 checksum of current plan for MAV_MISSION_TYPE_ALL. As defined in MISSION_CHECKSUM message. MissionChecksum uint32 // Timestamp (UNIX Epoch time or time since system boot). // The receiving end can infer timestamp format (since 1.1.1970 or since system boot) by checking for the magnitude of the number. TimeUsec uint64 }
Emitted during mission execution when control reaches MAV_CMD_GROUP_END.
func (*MessageGroupEnd) GetID ¶
func (*MessageGroupEnd) GetID() uint32
GetID implements the message.Message interface.
type MessageGroupStart ¶
type MessageGroupStart struct { // Mission-unique group id (from MAV_CMD_GROUP_START). GroupId uint32 // CRC32 checksum of current plan for MAV_MISSION_TYPE_ALL. As defined in MISSION_CHECKSUM message. MissionChecksum uint32 // Timestamp (UNIX Epoch time or time since system boot). // The receiving end can infer timestamp format (since 1.1.1970 or since system boot) by checking for the magnitude of the number. TimeUsec uint64 }
Emitted during mission execution when control reaches MAV_CMD_GROUP_START.
func (*MessageGroupStart) GetID ¶
func (*MessageGroupStart) GetID() uint32
GetID implements the message.Message interface.
type MessageHeartbeat ¶
type MessageHeartbeat = minimal.MessageHeartbeat
The heartbeat message shows that a system or component is present and responding. The type and autopilot fields (along with the message component id), allow the receiving system to treat further messages from this system appropriately (e.g. by laying out the user interface based on the autopilot). This microservice is documented at https://mavlink.io/en/services/heartbeat.html
type MessageHighLatency ¶
type MessageHighLatency = common.MessageHighLatency
Message appropriate for high latency connections like Iridium
type MessageHighLatency2 ¶
type MessageHighLatency2 = common.MessageHighLatency2
Message appropriate for high latency connections like Iridium (version 2)
type MessageHighresImu ¶
type MessageHighresImu = common.MessageHighresImu
The IMU readings in SI units in NED body frame
type MessageHilActuatorControls ¶
type MessageHilActuatorControls = common.MessageHilActuatorControls
Sent from autopilot to simulation. Hardware in the loop control outputs (replacement for HIL_CONTROLS)
type MessageHilControls ¶
type MessageHilControls = common.MessageHilControls
Sent from autopilot to simulation. Hardware in the loop control outputs
type MessageHilGps ¶
type MessageHilGps = common.MessageHilGps
The global position, as returned by the Global Positioning System (GPS). This is NOT the global position estimate of the system, but rather a RAW sensor value. See message GLOBAL_POSITION_INT for the global position estimate.
type MessageHilOpticalFlow ¶
type MessageHilOpticalFlow = common.MessageHilOpticalFlow
Simulated optical flow from a flow sensor (e.g. PX4FLOW or optical mouse sensor)
type MessageHilRcInputsRaw ¶
type MessageHilRcInputsRaw = common.MessageHilRcInputsRaw
Sent from simulation to autopilot. The RAW values of the RC channels received. The standard PPM modulation is as follows: 1000 microseconds: 0%, 2000 microseconds: 100%. Individual receivers/transmitters might violate this specification.
type MessageHilSensor ¶
type MessageHilSensor = common.MessageHilSensor
The IMU readings in SI units in NED body frame
type MessageHilState ¶
type MessageHilState = common.MessageHilState
Sent from simulation to autopilot. This packet is useful for high throughput applications such as hardware in the loop simulations.
type MessageHilStateQuaternion ¶
type MessageHilStateQuaternion = common.MessageHilStateQuaternion
Sent from simulation to autopilot, avoids in contrast to HIL_STATE singularities. This packet is useful for high throughput applications such as hardware in the loop simulations.
type MessageHomePosition ¶
type MessageHomePosition = common.MessageHomePosition
Contains the home position. The home position is the default position that the system will return to and land on. The position must be set automatically by the system during the takeoff, and may also be explicitly set using MAV_CMD_DO_SET_HOME. The global and local positions encode the position in the respective coordinate frames, while the q parameter encodes the orientation of the surface. Under normal conditions it describes the heading and terrain slope, which can be used by the aircraft to adjust the approach. The approach 3D vector describes the point to which the system should fly in normal flight mode and then perform a landing sequence along the vector. Note: this message can be requested by sending the MAV_CMD_REQUEST_MESSAGE with param1=242 (or the deprecated MAV_CMD_GET_HOME_POSITION command).
type MessageHygrometerSensor ¶
type MessageHygrometerSensor = common.MessageHygrometerSensor
Temperature and humidity from hygrometer.
type MessageIsbdLinkStatus ¶
type MessageIsbdLinkStatus = common.MessageIsbdLinkStatus
Status of the Iridium SBD link.
type MessageLandingTarget ¶
type MessageLandingTarget = common.MessageLandingTarget
The location of a landing target. See: https://mavlink.io/en/services/landing_target.html
type MessageLinkNodeStatus ¶
type MessageLinkNodeStatus = common.MessageLinkNodeStatus
Status generated in each node in the communication chain and injected into MAVLink stream.
type MessageLocalPositionNed ¶
type MessageLocalPositionNed = common.MessageLocalPositionNed
The filtered local position (e.g. fused computer vision and accelerometers). Coordinate frame is right-handed, Z-axis down (aeronautical frame, NED / north-east-down convention)
type MessageLocalPositionNedCov ¶
type MessageLocalPositionNedCov = common.MessageLocalPositionNedCov
The filtered local position (e.g. fused computer vision and accelerometers). Coordinate frame is right-handed, Z-axis down (aeronautical frame, NED / north-east-down convention)
type MessageLocalPositionNedSystemGlobalOffset ¶
type MessageLocalPositionNedSystemGlobalOffset = common.MessageLocalPositionNedSystemGlobalOffset
The offset in X, Y, Z and yaw between the LOCAL_POSITION_NED messages of MAV X and the global coordinate frame in NED coordinates. Coordinate frame is right-handed, Z-axis down (aeronautical frame, NED / north-east-down convention)
type MessageLogRequestData ¶
type MessageLogRequestData = common.MessageLogRequestData
Request a chunk of a log
type MessageLogRequestEnd ¶
type MessageLogRequestEnd = common.MessageLogRequestEnd
Stop log transfer and resume normal logging
type MessageLogRequestList ¶
type MessageLogRequestList = common.MessageLogRequestList
Request a list of available logs. On some systems calling this may stop on-board logging until LOG_REQUEST_END is called. If there are no log files available this request shall be answered with one LOG_ENTRY message with id = 0 and num_logs = 0.
type MessageLoggingAck ¶
type MessageLoggingAck = common.MessageLoggingAck
An ack for a LOGGING_DATA_ACKED message
type MessageLoggingData ¶
type MessageLoggingData = common.MessageLoggingData
A message containing logged data (see also MAV_CMD_LOGGING_START)
type MessageLoggingDataAcked ¶
type MessageLoggingDataAcked = common.MessageLoggingDataAcked
A message containing logged data which requires a LOGGING_ACK to be sent back
type MessageMagCalReport ¶
type MessageMagCalReport = common.MessageMagCalReport
Reports results of completed compass calibration. Sent until MAG_CAL_ACK received.
type MessageManualControl ¶
type MessageManualControl = common.MessageManualControl
This message provides an API for manually controlling the vehicle using standard joystick axes nomenclature, along with a joystick-like input device. Unused axes can be disabled and buttons states are transmitted as individual on/off bits of a bitmask
type MessageManualSetpoint ¶
type MessageManualSetpoint = common.MessageManualSetpoint
Setpoint in roll, pitch, yaw and thrust from the operator
type MessageMemoryVect ¶
type MessageMemoryVect = common.MessageMemoryVect
Send raw controller memory. The use of this message is discouraged for normal packets, but a quite efficient way for testing new messages and getting experimental debug output.
type MessageMessageInterval ¶
type MessageMessageInterval = common.MessageMessageInterval
The interval between messages for a particular MAVLink message ID. This message is sent in response to the MAV_CMD_REQUEST_MESSAGE command with param1=244 (this message) and param2=message_id (the id of the message for which the interval is required). It may also be sent in response to MAV_CMD_GET_MESSAGE_INTERVAL. This interface replaces DATA_STREAM.
type MessageMissionAck ¶
type MessageMissionAck = common.MessageMissionAck
Acknowledgment message during waypoint handling. The type field states if this message is a positive ack (type=0) or if an error happened (type=non-zero).
type MessageMissionChecksum ¶
type MessageMissionChecksum struct { // Mission type. MissionType MAV_MISSION_TYPE `mavenum:"uint8"` // CRC32 checksum of current plan for specified type. Checksum uint32 }
Checksum for the current mission, rally point or geofence plan, or for the "combined" plan (a GCS can use these checksums to determine if it has matching plans). This message must be broadcast with the appropriate checksum following any change to a mission, geofence or rally point definition (immediately after the MISSION_ACK that completes the upload sequence). It may also be requested using MAV_CMD_REQUEST_MESSAGE, where param 2 indicates the plan type for which the checksum is required. The checksum must be calculated on the autopilot, but may also be calculated by the GCS. The checksum uses the same CRC32 algorithm as MAVLink FTP (https://mavlink.io/en/services/ftp.html#crc32-implementation). The checksum for a mission, geofence or rally point definition is run over each item in the plan in seq order (excluding the home location if present in the plan), and covers the following fields (in order): frame, command, autocontinue, param1, param2, param3, param4, param5, param6, param7. The checksum for the whole plan (MAV_MISSION_TYPE_ALL) is calculated using the same approach, running over each sub-plan in the following order: mission, geofence then rally point.
func (*MessageMissionChecksum) GetID ¶
func (*MessageMissionChecksum) GetID() uint32
GetID implements the message.Message interface.
type MessageMissionClearAll ¶
type MessageMissionClearAll = common.MessageMissionClearAll
Delete all mission items at once.
type MessageMissionCount ¶
type MessageMissionCount = common.MessageMissionCount
This message is emitted as response to MISSION_REQUEST_LIST by the MAV and to initiate a write transaction. The GCS can then request the individual mission item based on the knowledge of the total number of waypoints.
type MessageMissionCurrent ¶
type MessageMissionCurrent = common.MessageMissionCurrent
Message that announces the sequence number of the current target mission item (that the system will fly towards/execute when the mission is running). This message should be streamed all the time (nominally at 1Hz). This message should be emitted following a call to MAV_CMD_DO_SET_MISSION_CURRENT or SET_MISSION_CURRENT.
type MessageMissionItem ¶
type MessageMissionItem = common.MessageMissionItem
Message encoding a mission item. This message is emitted to announce the presence of a mission item and to set a mission item on the system. The mission item can be either in x, y, z meters (type: LOCAL) or x:lat, y:lon, z:altitude. Local frame is Z-down, right handed (NED), global frame is Z-up, right handed (ENU). NaN may be used to indicate an optional/default value (e.g. to use the system's current latitude or yaw rather than a specific value). See also https://mavlink.io/en/services/mission.html.
type MessageMissionItemInt ¶
type MessageMissionItemInt = common.MessageMissionItemInt
Message encoding a mission item. This message is emitted to announce the presence of a mission item and to set a mission item on the system. The mission item can be either in x, y, z meters (type: LOCAL) or x:lat, y:lon, z:altitude. Local frame is Z-down, right handed (NED), global frame is Z-up, right handed (ENU). NaN or INT32_MAX may be used in float/integer params (respectively) to indicate optional/default values (e.g. to use the component's current latitude, yaw rather than a specific value). See also https://mavlink.io/en/services/mission.html.
type MessageMissionItemReached ¶
type MessageMissionItemReached = common.MessageMissionItemReached
A certain mission item has been reached. The system will either hold this position (or circle on the orbit) or (if the autocontinue on the WP was set) continue to the next waypoint.
type MessageMissionRequest ¶
type MessageMissionRequest = common.MessageMissionRequest
Request the information of the mission item with the sequence number seq. The response of the system to this message should be a MISSION_ITEM message. https://mavlink.io/en/services/mission.html
type MessageMissionRequestInt ¶
type MessageMissionRequestInt = common.MessageMissionRequestInt
Request the information of the mission item with the sequence number seq. The response of the system to this message should be a MISSION_ITEM_INT message. https://mavlink.io/en/services/mission.html
type MessageMissionRequestList ¶
type MessageMissionRequestList = common.MessageMissionRequestList
Request the overall list of mission items from the system/component.
type MessageMissionRequestPartialList ¶
type MessageMissionRequestPartialList = common.MessageMissionRequestPartialList
Request a partial list of mission items from the system/component. https://mavlink.io/en/services/mission.html. If start and end index are the same, just send one waypoint.
type MessageMissionSetCurrent ¶
type MessageMissionSetCurrent = common.MessageMissionSetCurrent
Set the mission item with sequence number seq as the current item and emit MISSION_CURRENT (whether or not the mission number changed). If a mission is currently being executed, the system will continue to this new mission item on the shortest path, skipping any intermediate mission items. Note that mission jump repeat counters are not reset (see MAV_CMD_DO_JUMP param2). This message may trigger a mission state-machine change on some systems: for example from MISSION_STATE_NOT_STARTED or MISSION_STATE_PAUSED to MISSION_STATE_ACTIVE. If the system is in mission mode, on those systems this command might therefore start, restart or resume the mission. If the system is not in mission mode this message must not trigger a switch to mission mode.
type MessageMissionWritePartialList ¶
type MessageMissionWritePartialList = common.MessageMissionWritePartialList
This message is sent to the MAV to write a partial list. If start index == end index, only one item will be transmitted / updated. If the start index is NOT 0 and above the current list size, this request should be REJECTED!
type MessageMountOrientation ¶
type MessageMountOrientation = common.MessageMountOrientation
Orientation of a mount
type MessageNamedValueFloat ¶
type MessageNamedValueFloat = common.MessageNamedValueFloat
Send a key-value pair as float. The use of this message is discouraged for normal packets, but a quite efficient way for testing new messages and getting experimental debug output.
type MessageNamedValueInt ¶
type MessageNamedValueInt = common.MessageNamedValueInt
Send a key-value pair as integer. The use of this message is discouraged for normal packets, but a quite efficient way for testing new messages and getting experimental debug output.
type MessageNavControllerOutput ¶
type MessageNavControllerOutput = common.MessageNavControllerOutput
The state of the navigation and position controller.
type MessageObstacleDistance ¶
type MessageObstacleDistance = common.MessageObstacleDistance
Obstacle distances in front of the sensor, starting from the left in increment degrees to the right
type MessageOdometry ¶
type MessageOdometry = common.MessageOdometry
Odometry message to communicate odometry information with an external interface. Fits ROS REP 147 standard for aerial vehicles (http://www.ros.org/reps/rep-0147.html).
type MessageOnboardComputerStatus ¶
type MessageOnboardComputerStatus = common.MessageOnboardComputerStatus
Hardware status sent by an onboard computer.
type MessageOpenDroneIdArmStatus ¶
type MessageOpenDroneIdArmStatus = common.MessageOpenDroneIdArmStatus
Transmitter (remote ID system) is enabled and ready to start sending location and other required information. This is streamed by transmitter. A flight controller uses it as a condition to arm.
type MessageOpenDroneIdAuthentication ¶
type MessageOpenDroneIdAuthentication = common.MessageOpenDroneIdAuthentication
Data for filling the OpenDroneID Authentication message. The Authentication Message defines a field that can provide a means of authenticity for the identity of the UAS (Unmanned Aircraft System). The Authentication message can have two different formats. For data page 0, the fields PageCount, Length and TimeStamp are present and AuthData is only 17 bytes. For data page 1 through 15, PageCount, Length and TimeStamp are not present and the size of AuthData is 23 bytes.
type MessageOpenDroneIdBasicId ¶
type MessageOpenDroneIdBasicId = common.MessageOpenDroneIdBasicId
Data for filling the OpenDroneID Basic ID message. This and the below messages are primarily meant for feeding data to/from an OpenDroneID implementation. E.g. https://github.com/opendroneid/opendroneid-core-c. These messages are compatible with the ASTM F3411 Remote ID standard and the ASD-STAN prEN 4709-002 Direct Remote ID standard. Additional information and usage of these messages is documented at https://mavlink.io/en/services/opendroneid.html.
type MessageOpenDroneIdLocation ¶
type MessageOpenDroneIdLocation = common.MessageOpenDroneIdLocation
Data for filling the OpenDroneID Location message. The float data types are 32-bit IEEE 754. The Location message provides the location, altitude, direction and speed of the aircraft.
type MessageOpenDroneIdMessagePack ¶
type MessageOpenDroneIdMessagePack = common.MessageOpenDroneIdMessagePack
An OpenDroneID message pack is a container for multiple encoded OpenDroneID messages (i.e. not in the format given for the above message descriptions but after encoding into the compressed OpenDroneID byte format). Used e.g. when transmitting on Bluetooth 5.0 Long Range/Extended Advertising or on WiFi Neighbor Aware Networking or on WiFi Beacon.
type MessageOpenDroneIdOperatorId ¶
type MessageOpenDroneIdOperatorId = common.MessageOpenDroneIdOperatorId
Data for filling the OpenDroneID Operator ID message, which contains the CAA (Civil Aviation Authority) issued operator ID.
type MessageOpenDroneIdSelfId ¶
type MessageOpenDroneIdSelfId = common.MessageOpenDroneIdSelfId
Data for filling the OpenDroneID Self ID message. The Self ID Message is an opportunity for the operator to (optionally) declare their identity and purpose of the flight. This message can provide additional information that could reduce the threat profile of a UA (Unmanned Aircraft) flying in a particular area or manner. This message can also be used to provide optional additional clarification in an emergency/remote ID system failure situation.
type MessageOpenDroneIdSystem ¶
type MessageOpenDroneIdSystem = common.MessageOpenDroneIdSystem
Data for filling the OpenDroneID System message. The System Message contains general system information including the operator location/altitude and possible aircraft group and/or category/class information.
type MessageOpenDroneIdSystemUpdate ¶
type MessageOpenDroneIdSystemUpdate = common.MessageOpenDroneIdSystemUpdate
Update the data in the OPEN_DRONE_ID_SYSTEM message with new location information. This can be sent to update the location information for the operator when no other information in the SYSTEM message has changed. This message allows for efficient operation on radio links which have limited uplink bandwidth while meeting requirements for update frequency of the operator location.
type MessageOpticalFlow ¶
type MessageOpticalFlow = common.MessageOpticalFlow
Optical flow from a flow sensor (e.g. optical mouse sensor)
type MessageOpticalFlowRad ¶
type MessageOpticalFlowRad = common.MessageOpticalFlowRad
Optical flow from an angular rate flow sensor (e.g. PX4FLOW or mouse sensor)
type MessageOrbitExecutionStatus ¶
type MessageOrbitExecutionStatus = common.MessageOrbitExecutionStatus
Vehicle status report that is sent out while orbit execution is in progress (see MAV_CMD_DO_ORBIT).
type MessageParamAckTransaction ¶
type MessageParamAckTransaction struct { // Id of system that sent PARAM_SET message. TargetSystem uint8 // Id of system that sent PARAM_SET message. TargetComponent uint8 // Parameter id, terminated by NULL if the length is less than 16 human-readable chars and WITHOUT null termination (NULL) byte if the length is exactly 16 chars - applications have to provide 16+1 bytes storage if the ID is stored as string ParamId string `mavlen:"16"` // Parameter value (new value if PARAM_ACCEPTED, current value otherwise) ParamValue float32 // Parameter type. ParamType MAV_PARAM_TYPE `mavenum:"uint8"` // Result code. ParamResult PARAM_ACK `mavenum:"uint8"` }
Response from a PARAM_SET message when it is used in a transaction.
func (*MessageParamAckTransaction) GetID ¶
func (*MessageParamAckTransaction) GetID() uint32
GetID implements the message.Message interface.
type MessageParamExtAck ¶
type MessageParamExtAck = common.MessageParamExtAck
Response from a PARAM_EXT_SET message.
type MessageParamExtRequestList ¶
type MessageParamExtRequestList = common.MessageParamExtRequestList
Request all parameters of this component. All parameters should be emitted in response as PARAM_EXT_VALUE.
type MessageParamExtRequestRead ¶
type MessageParamExtRequestRead = common.MessageParamExtRequestRead
Request to read the value of a parameter with either the param_id string id or param_index. PARAM_EXT_VALUE should be emitted in response.
type MessageParamExtSet ¶
type MessageParamExtSet = common.MessageParamExtSet
Set a parameter value. In order to deal with message loss (and retransmission of PARAM_EXT_SET), when setting a parameter value and the new value is the same as the current value, you will immediately get a PARAM_ACK_ACCEPTED response. If the current state is PARAM_ACK_IN_PROGRESS, you will accordingly receive a PARAM_ACK_IN_PROGRESS in response.
type MessageParamExtValue ¶
type MessageParamExtValue = common.MessageParamExtValue
Emit the value of a parameter. The inclusion of param_count and param_index in the message allows the recipient to keep track of received parameters and allows them to re-request missing parameters after a loss or timeout.
type MessageParamMapRc ¶
type MessageParamMapRc = common.MessageParamMapRc
Bind a RC channel to a parameter. The parameter should change according to the RC channel value.
type MessageParamRequestList ¶
type MessageParamRequestList = common.MessageParamRequestList
Request all parameters of this component. After this request, all parameters are emitted. The parameter microservice is documented at https://mavlink.io/en/services/parameter.html
type MessageParamRequestRead ¶
type MessageParamRequestRead = common.MessageParamRequestRead
Request to read the onboard parameter with the param_id string id. Onboard parameters are stored as key[const char*] -> value[float]. This allows to send a parameter to any other component (such as the GCS) without the need of previous knowledge of possible parameter names. Thus the same GCS can store different parameters for different autopilots. See also https://mavlink.io/en/services/parameter.html for a full documentation of QGroundControl and IMU code.
type MessageParamSet ¶
type MessageParamSet = common.MessageParamSet
Set a parameter value (write new value to permanent storage). The receiving component should acknowledge the new parameter value by broadcasting a PARAM_VALUE message (broadcasting ensures that multiple GCS all have an up-to-date list of all parameters). If the sending GCS did not receive a PARAM_VALUE within its timeout time, it should re-send the PARAM_SET message. The parameter microservice is documented at https://mavlink.io/en/services/parameter.html. PARAM_SET may also be called within the context of a transaction (started with MAV_CMD_PARAM_TRANSACTION). Within a transaction the receiving component should respond with PARAM_ACK_TRANSACTION to the setter component (instead of broadcasting PARAM_VALUE), and PARAM_SET should be re-sent if this is ACK not received.
type MessageParamValue ¶
type MessageParamValue = common.MessageParamValue
Emit the value of a onboard parameter. The inclusion of param_count and param_index in the message allows the recipient to keep track of received parameters and allows him to re-request missing parameters after a loss or timeout. The parameter microservice is documented at https://mavlink.io/en/services/parameter.html
type MessagePing ¶
type MessagePing = common.MessagePing
A ping message either requesting or responding to a ping. This allows to measure the system latencies, including serial port, radio modem and UDP connections. The ping microservice is documented at https://mavlink.io/en/services/ping.html
type MessagePlayTune ¶
type MessagePlayTune = common.MessagePlayTune
Control vehicle tone generation (buzzer).
type MessagePlayTuneV2 ¶
type MessagePlayTuneV2 = common.MessagePlayTuneV2
Play vehicle tone/tune (buzzer). Supersedes message PLAY_TUNE.
type MessagePositionTargetGlobalInt ¶
type MessagePositionTargetGlobalInt = common.MessagePositionTargetGlobalInt
Reports the current commanded vehicle position, velocity, and acceleration as specified by the autopilot. This should match the commands sent in SET_POSITION_TARGET_GLOBAL_INT if the vehicle is being controlled this way.
type MessagePositionTargetLocalNed ¶
type MessagePositionTargetLocalNed = common.MessagePositionTargetLocalNed
Reports the current commanded vehicle position, velocity, and acceleration as specified by the autopilot. This should match the commands sent in SET_POSITION_TARGET_LOCAL_NED if the vehicle is being controlled this way.
type MessageProtocolVersion ¶
type MessageProtocolVersion = minimal.MessageProtocolVersion
Version and capability of protocol version. This message can be requested with MAV_CMD_REQUEST_MESSAGE and is used as part of the handshaking to establish which MAVLink version should be used on the network. Every node should respond to a request for PROTOCOL_VERSION to enable the handshaking. Library implementers should consider adding this into the default decoding state machine to allow the protocol core to respond directly.
type MessageRadioStatus ¶
type MessageRadioStatus = common.MessageRadioStatus
Status generated by radio and injected into MAVLink stream.
type MessageRawImu ¶
type MessageRawImu = common.MessageRawImu
The RAW IMU readings for a 9DOF sensor, which is identified by the id (default IMU1). This message should always contain the true raw values without any scaling to allow data capture and system debugging.
type MessageRawPressure ¶
type MessageRawPressure = common.MessageRawPressure
The RAW pressure readings for the typical setup of one absolute pressure and one differential pressure sensor. The sensor values should be the raw, UNSCALED ADC values.
type MessageRcChannels ¶
type MessageRcChannels = common.MessageRcChannels
The PPM values of the RC channels received. The standard PPM modulation is as follows: 1000 microseconds: 0%, 2000 microseconds: 100%. A value of UINT16_MAX implies the channel is unused. Individual receivers/transmitters might violate this specification.
type MessageRcChannelsOverride ¶
type MessageRcChannelsOverride = common.MessageRcChannelsOverride
The RAW values of the RC channels sent to the MAV to override info received from the RC radio. The standard PPM modulation is as follows: 1000 microseconds: 0%, 2000 microseconds: 100%. Individual receivers/transmitters might violate this specification. Note carefully the semantic differences between the first 8 channels and the subsequent channels
type MessageRcChannelsRaw ¶
type MessageRcChannelsRaw = common.MessageRcChannelsRaw
The RAW values of the RC channels received. The standard PPM modulation is as follows: 1000 microseconds: 0%, 2000 microseconds: 100%. A value of UINT16_MAX implies the channel is unused. Individual receivers/transmitters might violate this specification.
type MessageRcChannelsScaled ¶
type MessageRcChannelsScaled = common.MessageRcChannelsScaled
The scaled values of the RC channels received: (-100%) -10000, (0%) 0, (100%) 10000. Channels that are inactive should be set to UINT16_MAX.
type MessageRequestDataStream ¶
type MessageRequestDataStream = common.MessageRequestDataStream
Request a data stream.
type MessageRequestEvent ¶
type MessageRequestEvent = common.MessageRequestEvent
Request one or more events to be (re-)sent. If first_sequence==last_sequence, only a single event is requested. Note that first_sequence can be larger than last_sequence (because the sequence number can wrap). Each sequence will trigger an EVENT or EVENT_ERROR response.
type MessageResourceRequest ¶
type MessageResourceRequest = common.MessageResourceRequest
The autopilot is requesting a resource (file, binary, other type of data)
type MessageResponseEventError ¶
type MessageResponseEventError = common.MessageResponseEventError
Response to a REQUEST_EVENT in case of an error (e.g. the event is not available anymore).
type MessageSafetyAllowedArea ¶
type MessageSafetyAllowedArea = common.MessageSafetyAllowedArea
Read out the safety zone the MAV currently assumes.
type MessageSafetySetAllowedArea ¶
type MessageSafetySetAllowedArea = common.MessageSafetySetAllowedArea
Set a safety zone (volume), which is defined by two corners of a cube. This message can be used to tell the MAV which setpoints/waypoints to accept and which to reject. Safety areas are often enforced by national or competition regulations.
type MessageScaledImu ¶
type MessageScaledImu = common.MessageScaledImu
The RAW IMU readings for the usual 9DOF sensor setup. This message should contain the scaled values to the described units
type MessageScaledImu2 ¶
type MessageScaledImu2 = common.MessageScaledImu2
The RAW IMU readings for secondary 9DOF sensor setup. This message should contain the scaled values to the described units
type MessageScaledImu3 ¶
type MessageScaledImu3 = common.MessageScaledImu3
The RAW IMU readings for 3rd 9DOF sensor setup. This message should contain the scaled values to the described units
type MessageScaledPressure ¶
type MessageScaledPressure = common.MessageScaledPressure
The pressure readings for the typical setup of one absolute and differential pressure sensor. The units are as specified in each field.
type MessageScaledPressure2 ¶
type MessageScaledPressure2 = common.MessageScaledPressure2
Barometer readings for 2nd barometer
type MessageScaledPressure3 ¶
type MessageScaledPressure3 = common.MessageScaledPressure3
Barometer readings for 3rd barometer
type MessageSerialControl ¶
type MessageSerialControl = common.MessageSerialControl
Control a serial port. This can be used for raw access to an onboard serial peripheral such as a GPS or telemetry radio. It is designed to make it possible to update the devices firmware via MAVLink messages or change the devices settings. A message with zero bytes can be used to change just the baudrate.
type MessageServoOutputRaw ¶
type MessageServoOutputRaw = common.MessageServoOutputRaw
Superseded by ACTUATOR_OUTPUT_STATUS. The RAW values of the servo outputs (for RC input from the remote, use the RC_CHANNELS messages). The standard PPM modulation is as follows: 1000 microseconds: 0%, 2000 microseconds: 100%.
type MessageSetActuatorControlTarget ¶
type MessageSetActuatorControlTarget = common.MessageSetActuatorControlTarget
Set the vehicle attitude and body angular rates.
type MessageSetAttitudeTarget ¶
type MessageSetAttitudeTarget = common.MessageSetAttitudeTarget
Sets a desired vehicle attitude. Used by an external controller to command the vehicle (manual controller or other system).
type MessageSetGpsGlobalOrigin ¶
type MessageSetGpsGlobalOrigin = common.MessageSetGpsGlobalOrigin
Sets the GPS coordinates of the vehicle local origin (0,0,0) position. Vehicle should emit GPS_GLOBAL_ORIGIN irrespective of whether the origin is changed. This enables transform between the local coordinate frame and the global (GPS) coordinate frame, which may be necessary when (for example) indoor and outdoor settings are connected and the MAV should move from in- to outdoor.
type MessageSetHomePosition ¶
type MessageSetHomePosition = common.MessageSetHomePosition
Sets the home position. The home position is the default position that the system will return to and land on. The position is set automatically by the system during the takeoff (and may also be set using this message). The global and local positions encode the position in the respective coordinate frames, while the q parameter encodes the orientation of the surface. Under normal conditions it describes the heading and terrain slope, which can be used by the aircraft to adjust the approach. The approach 3D vector describes the point to which the system should fly in normal flight mode and then perform a landing sequence along the vector. Note: the current home position may be emitted in a HOME_POSITION message on request (using MAV_CMD_REQUEST_MESSAGE with param1=242).
type MessageSetMode ¶
type MessageSetMode = common.MessageSetMode
Set the system mode, as defined by enum MAV_MODE. There is no target component id as the mode is by definition for the overall aircraft, not only for one component.
type MessageSetPositionTargetGlobalInt ¶
type MessageSetPositionTargetGlobalInt = common.MessageSetPositionTargetGlobalInt
Sets a desired vehicle position, velocity, and/or acceleration in a global coordinate system (WGS84). Used by an external controller to command the vehicle (manual controller or other system).
type MessageSetPositionTargetLocalNed ¶
type MessageSetPositionTargetLocalNed = common.MessageSetPositionTargetLocalNed
Sets a desired vehicle position in a local north-east-down coordinate frame. Used by an external controller to command the vehicle (manual controller or other system).
type MessageSetupSigning ¶
type MessageSetupSigning = common.MessageSetupSigning
Setup a MAVLink2 signing key. If called with secret_key of all zero and zero initial_timestamp will disable signing
type MessageSimState ¶
type MessageSimState = common.MessageSimState
Status of simulation environment, if used
type MessageSmartBatteryInfo ¶
type MessageSmartBatteryInfo = common.MessageSmartBatteryInfo
Smart Battery information (static/infrequent update). Use for updates from: smart battery to flight stack, flight stack to GCS. Use BATTERY_STATUS for smart battery frequent updates.
type MessageStatustext ¶
type MessageStatustext = common.MessageStatustext
Status text message. These messages are printed in yellow in the COMM console of QGroundControl. WARNING: They consume quite some bandwidth, so use only for important status and error messages. If implemented wisely, these messages are buffered on the MCU and sent only at a limited rate (e.g. 10 Hz).
type MessageStorageInformation ¶
type MessageStorageInformation = common.MessageStorageInformation
Information about a storage medium. This message is sent in response to a request with MAV_CMD_REQUEST_MESSAGE and whenever the status of the storage changes (STORAGE_STATUS). Use MAV_CMD_REQUEST_MESSAGE.param2 to indicate the index/id of requested storage: 0 for all, 1 for first, 2 for second, etc.
type MessageSupportedTunes ¶
type MessageSupportedTunes = common.MessageSupportedTunes
Tune formats supported by vehicle. This should be emitted as response to MAV_CMD_REQUEST_MESSAGE.
type MessageSysStatus ¶
type MessageSysStatus = common.MessageSysStatus
The general system state. If the system is following the MAVLink standard, the system state is mainly defined by three orthogonal states/modes: The system mode, which is either LOCKED (motors shut down and locked), MANUAL (system under RC control), GUIDED (system with autonomous position control, position setpoint controlled manually) or AUTO (system guided by path/waypoint planner). The NAV_MODE defined the current flight state: LIFTOFF (often an open-loop maneuver), LANDING, WAYPOINTS or VECTOR. This represents the internal navigation state machine. The system status shows whether the system is currently active or not and if an emergency occurred. During the CRITICAL and EMERGENCY states the MAV is still considered to be active, but should start emergency procedures autonomously. After a failure occurred it should first move from active to critical to allow manual intervention and then move to emergency after a certain timeout.
type MessageSystemTime ¶
type MessageSystemTime = common.MessageSystemTime
The system time is the time of the master clock, typically the computer clock of the main onboard computer.
type MessageTerrainCheck ¶
type MessageTerrainCheck = common.MessageTerrainCheck
Request that the vehicle report terrain height at the given location (expected response is a TERRAIN_REPORT). Used by GCS to check if vehicle has all terrain data needed for a mission.
type MessageTerrainData ¶
type MessageTerrainData = common.MessageTerrainData
Terrain data sent from GCS. The lat/lon and grid_spacing must be the same as a lat/lon from a TERRAIN_REQUEST. See terrain protocol docs: https://mavlink.io/en/services/terrain.html
type MessageTerrainReport ¶
type MessageTerrainReport = common.MessageTerrainReport
Streamed from drone to report progress of terrain map download (initiated by TERRAIN_REQUEST), or sent as a response to a TERRAIN_CHECK request. See terrain protocol docs: https://mavlink.io/en/services/terrain.html
type MessageTerrainRequest ¶
type MessageTerrainRequest = common.MessageTerrainRequest
Request for terrain data and terrain status. See terrain protocol docs: https://mavlink.io/en/services/terrain.html
type MessageTimeEstimateToTarget ¶
type MessageTimeEstimateToTarget = common.MessageTimeEstimateToTarget
Time/duration estimates for various events and actions given the current vehicle state and position.
type MessageTimesync ¶
type MessageTimesync = common.MessageTimesync
Time synchronization message. The message is used for both timesync requests and responses. The request is sent with `ts1=syncing component timestamp` and `tc1=0`, and may be broadcast or targeted to a specific system/component. The response is sent with `ts1=syncing component timestamp` (mirror back unchanged), and `tc1=responding component timestamp`, with the `target_system` and `target_component` set to ids of the original request. Systems can determine if they are receiving a request or response based on the value of `tc`. If the response has `target_system==target_component==0` the remote system has not been updated to use the component IDs and cannot reliably timesync; the requestor may report an error. Timestamps are UNIX Epoch time or time since system boot in nanoseconds (the timestamp format can be inferred by checking for the magnitude of the number; generally it doesn't matter as only the offset is used). The message sequence is repeated numerous times with results being filtered/averaged to estimate the offset.
type MessageTrajectoryRepresentationBezier ¶
type MessageTrajectoryRepresentationBezier = common.MessageTrajectoryRepresentationBezier
Describe a trajectory using an array of up-to 5 bezier control points in the local frame (MAV_FRAME_LOCAL_NED).
type MessageTrajectoryRepresentationWaypoints ¶
type MessageTrajectoryRepresentationWaypoints = common.MessageTrajectoryRepresentationWaypoints
Describe a trajectory using an array of up-to 5 waypoints in the local frame (MAV_FRAME_LOCAL_NED).
type MessageTunnel ¶
type MessageTunnel = common.MessageTunnel
Message for transporting "arbitrary" variable-length data from one component to another (broadcast is not forbidden, but discouraged). The encoding of the data is usually extension specific, i.e. determined by the source, and is usually not documented as part of the MAVLink specification.
type MessageUavcanNodeInfo ¶
type MessageUavcanNodeInfo = common.MessageUavcanNodeInfo
General information describing a particular UAVCAN node. Please refer to the definition of the UAVCAN service "uavcan.protocol.GetNodeInfo" for the background information. This message should be emitted by the system whenever a new node appears online, or an existing node reboots. Additionally, it can be emitted upon request from the other end of the MAVLink channel (see MAV_CMD_UAVCAN_GET_NODE_INFO). It is also not prohibited to emit this message unconditionally at a low frequency. The UAVCAN specification is available at http://uavcan.org.
type MessageUavcanNodeStatus ¶
type MessageUavcanNodeStatus = common.MessageUavcanNodeStatus
General status information of an UAVCAN node. Please refer to the definition of the UAVCAN message "uavcan.protocol.NodeStatus" for the background information. The UAVCAN specification is available at http://uavcan.org.
type MessageUtmGlobalPosition ¶
type MessageUtmGlobalPosition = common.MessageUtmGlobalPosition
The global position resulting from GPS and sensor fusion.
type MessageV2Extension ¶
type MessageV2Extension = common.MessageV2Extension
Message implementing parts of the V2 payload specs in V1 frames for transitional support.
type MessageVfrHud ¶
type MessageVfrHud = common.MessageVfrHud
Metrics typically displayed on a HUD for fixed wing aircraft.
type MessageVibration ¶
type MessageVibration = common.MessageVibration
Vibration levels and accelerometer clipping
type MessageViconPositionEstimate ¶
type MessageViconPositionEstimate = common.MessageViconPositionEstimate
Global position estimate from a Vicon motion system source.
type MessageVideoStreamInformation ¶
type MessageVideoStreamInformation = common.MessageVideoStreamInformation
Information about video stream. It may be requested using MAV_CMD_REQUEST_MESSAGE, where param2 indicates the video stream id: 0 for all streams, 1 for first, 2 for second, etc.
type MessageVideoStreamStatus ¶
type MessageVideoStreamStatus = common.MessageVideoStreamStatus
Information about the status of a video stream. It may be requested using MAV_CMD_REQUEST_MESSAGE.
type MessageVisionPositionEstimate ¶
type MessageVisionPositionEstimate = common.MessageVisionPositionEstimate
Local position/attitude estimate from a vision source.
type MessageVisionSpeedEstimate ¶
type MessageVisionSpeedEstimate = common.MessageVisionSpeedEstimate
Speed estimate from a vision source.
type MessageWheelDistance ¶
type MessageWheelDistance = common.MessageWheelDistance
Cumulative distance traveled for each reported wheel.
type MessageWifiConfigAp ¶
type MessageWifiConfigAp = common.MessageWifiConfigAp
Configure WiFi AP SSID, password, and mode. This message is re-emitted as an acknowledgement by the AP. The message may also be explicitly requested using MAV_CMD_REQUEST_MESSAGE
type MessageWifiNetworkInfo ¶
type MessageWifiNetworkInfo struct { // Name of Wi-Fi network (SSID). Ssid string `mavlen:"32"` // WiFi network operating channel ID. Set to 0 if unknown or unidentified. ChannelId uint8 // WiFi network signal quality. SignalQuality uint8 // WiFi network data rate. Set to UINT16_MAX if data_rate information is not supplied. DataRate uint16 // WiFi network security type. Security WIFI_NETWORK_SECURITY `mavenum:"uint8"` }
Detected WiFi network status information. This message is sent per each WiFi network detected in range with known SSID and general status parameters.
func (*MessageWifiNetworkInfo) GetID ¶
func (*MessageWifiNetworkInfo) GetID() uint32
GetID implements the message.Message interface.
type MessageWindCov ¶
type MessageWindCov = common.MessageWindCov
Wind estimate from vehicle. Note that despite the name, this message does not actually contain any covariances but instead variability and accuracy fields in terms of standard deviation (1-STD).
type NAV_VTOL_LAND_OPTIONS ¶
type NAV_VTOL_LAND_OPTIONS = common.NAV_VTOL_LAND_OPTIONS
const ( // Default autopilot landing behaviour. NAV_VTOL_LAND_OPTIONS_DEFAULT NAV_VTOL_LAND_OPTIONS = common.NAV_VTOL_LAND_OPTIONS_DEFAULT // Descend in fixed wing mode, transitioning to multicopter mode for vertical landing when close to the ground. // The fixed wing descent pattern is at the discretion of the vehicle (e.g. transition altitude, loiter direction, radius, and speed, etc.). NAV_VTOL_LAND_OPTIONS_FW_DESCENT NAV_VTOL_LAND_OPTIONS = common.NAV_VTOL_LAND_OPTIONS_FW_DESCENT // Land in multicopter mode on reaching the landing coordinates (the whole landing is by "hover descent"). NAV_VTOL_LAND_OPTIONS_HOVER_DESCENT NAV_VTOL_LAND_OPTIONS = common.NAV_VTOL_LAND_OPTIONS_HOVER_DESCENT )
type ORBIT_YAW_BEHAVIOUR ¶
type ORBIT_YAW_BEHAVIOUR = common.ORBIT_YAW_BEHAVIOUR
Yaw behaviour during orbit flight.
const ( // Vehicle front points to the center (default). ORBIT_YAW_BEHAVIOUR_HOLD_FRONT_TO_CIRCLE_CENTER ORBIT_YAW_BEHAVIOUR = common.ORBIT_YAW_BEHAVIOUR_HOLD_FRONT_TO_CIRCLE_CENTER // Vehicle front holds heading when message received. ORBIT_YAW_BEHAVIOUR_HOLD_INITIAL_HEADING ORBIT_YAW_BEHAVIOUR = common.ORBIT_YAW_BEHAVIOUR_HOLD_INITIAL_HEADING // Yaw uncontrolled. ORBIT_YAW_BEHAVIOUR_UNCONTROLLED ORBIT_YAW_BEHAVIOUR = common.ORBIT_YAW_BEHAVIOUR_UNCONTROLLED // Vehicle front follows flight path (tangential to circle). ORBIT_YAW_BEHAVIOUR_HOLD_FRONT_TANGENT_TO_CIRCLE ORBIT_YAW_BEHAVIOUR = common.ORBIT_YAW_BEHAVIOUR_HOLD_FRONT_TANGENT_TO_CIRCLE // Yaw controlled by RC input. ORBIT_YAW_BEHAVIOUR_RC_CONTROLLED ORBIT_YAW_BEHAVIOUR = common.ORBIT_YAW_BEHAVIOUR_RC_CONTROLLED )
type PARACHUTE_ACTION ¶
type PARACHUTE_ACTION = common.PARACHUTE_ACTION
Parachute actions. Trigger release and enable/disable auto-release.
const ( // Disable auto-release of parachute (i.e. release triggered by crash detectors). PARACHUTE_DISABLE PARACHUTE_ACTION = common.PARACHUTE_DISABLE // Enable auto-release of parachute. PARACHUTE_ENABLE PARACHUTE_ACTION = common.PARACHUTE_ENABLE // Release parachute and kill motors. PARACHUTE_RELEASE PARACHUTE_ACTION = common.PARACHUTE_RELEASE )
type PARAM_ACK ¶
Result from PARAM_EXT_SET message (or a PARAM_SET within a transaction).
const ( // Parameter value ACCEPTED and SET PARAM_ACK_ACCEPTED PARAM_ACK = common.PARAM_ACK_ACCEPTED // Parameter value UNKNOWN/UNSUPPORTED PARAM_ACK_VALUE_UNSUPPORTED PARAM_ACK = common.PARAM_ACK_VALUE_UNSUPPORTED // Parameter failed to set PARAM_ACK_FAILED PARAM_ACK = common.PARAM_ACK_FAILED // Parameter value received but not yet set/accepted. A subsequent PARAM_ACK_TRANSACTION or PARAM_EXT_ACK with the final result will follow once operation is completed. This is returned immediately for parameters that take longer to set, indicating that the the parameter was received and does not need to be resent. PARAM_ACK_IN_PROGRESS PARAM_ACK = common.PARAM_ACK_IN_PROGRESS )
type PARAM_TRANSACTION_ACTION ¶
type PARAM_TRANSACTION_ACTION uint32
Possible parameter transaction actions.
const ( // Commit the current parameter transaction. PARAM_TRANSACTION_ACTION_START PARAM_TRANSACTION_ACTION = 0 // Commit the current parameter transaction. PARAM_TRANSACTION_ACTION_COMMIT PARAM_TRANSACTION_ACTION = 1 // Cancel the current parameter transaction. PARAM_TRANSACTION_ACTION_CANCEL PARAM_TRANSACTION_ACTION = 2 )
func (PARAM_TRANSACTION_ACTION) MarshalText ¶
func (e PARAM_TRANSACTION_ACTION) MarshalText() ([]byte, error)
MarshalText implements the encoding.TextMarshaler interface.
func (PARAM_TRANSACTION_ACTION) String ¶
func (e PARAM_TRANSACTION_ACTION) String() string
String implements the fmt.Stringer interface.
func (*PARAM_TRANSACTION_ACTION) UnmarshalText ¶
func (e *PARAM_TRANSACTION_ACTION) UnmarshalText(text []byte) error
UnmarshalText implements the encoding.TextUnmarshaler interface.
type PARAM_TRANSACTION_TRANSPORT ¶
type PARAM_TRANSACTION_TRANSPORT uint32
Possible transport layers to set and get parameters via mavlink during a parameter transaction.
const ( // Transaction over param transport. PARAM_TRANSACTION_TRANSPORT_PARAM PARAM_TRANSACTION_TRANSPORT = 0 // Transaction over param_ext transport. PARAM_TRANSACTION_TRANSPORT_PARAM_EXT PARAM_TRANSACTION_TRANSPORT = 1 )
func (PARAM_TRANSACTION_TRANSPORT) MarshalText ¶
func (e PARAM_TRANSACTION_TRANSPORT) MarshalText() ([]byte, error)
MarshalText implements the encoding.TextMarshaler interface.
func (PARAM_TRANSACTION_TRANSPORT) String ¶
func (e PARAM_TRANSACTION_TRANSPORT) String() string
String implements the fmt.Stringer interface.
func (*PARAM_TRANSACTION_TRANSPORT) UnmarshalText ¶
func (e *PARAM_TRANSACTION_TRANSPORT) UnmarshalText(text []byte) error
UnmarshalText implements the encoding.TextUnmarshaler interface.
type POSITION_TARGET_TYPEMASK ¶
type POSITION_TARGET_TYPEMASK = common.POSITION_TARGET_TYPEMASK
Bitmap to indicate which dimensions should be ignored by the vehicle: a value of 0b0000000000000000 or 0b0000001000000000 indicates that none of the setpoint dimensions should be ignored. If bit 9 is set the floats afx afy afz should be interpreted as force instead of acceleration.
const ( // Ignore position x POSITION_TARGET_TYPEMASK_X_IGNORE POSITION_TARGET_TYPEMASK = common.POSITION_TARGET_TYPEMASK_X_IGNORE // Ignore position y POSITION_TARGET_TYPEMASK_Y_IGNORE POSITION_TARGET_TYPEMASK = common.POSITION_TARGET_TYPEMASK_Y_IGNORE // Ignore position z POSITION_TARGET_TYPEMASK_Z_IGNORE POSITION_TARGET_TYPEMASK = common.POSITION_TARGET_TYPEMASK_Z_IGNORE // Ignore velocity x POSITION_TARGET_TYPEMASK_VX_IGNORE POSITION_TARGET_TYPEMASK = common.POSITION_TARGET_TYPEMASK_VX_IGNORE // Ignore velocity y POSITION_TARGET_TYPEMASK_VY_IGNORE POSITION_TARGET_TYPEMASK = common.POSITION_TARGET_TYPEMASK_VY_IGNORE // Ignore velocity z POSITION_TARGET_TYPEMASK_VZ_IGNORE POSITION_TARGET_TYPEMASK = common.POSITION_TARGET_TYPEMASK_VZ_IGNORE // Ignore acceleration x POSITION_TARGET_TYPEMASK_AX_IGNORE POSITION_TARGET_TYPEMASK = common.POSITION_TARGET_TYPEMASK_AX_IGNORE // Ignore acceleration y POSITION_TARGET_TYPEMASK_AY_IGNORE POSITION_TARGET_TYPEMASK = common.POSITION_TARGET_TYPEMASK_AY_IGNORE // Ignore acceleration z POSITION_TARGET_TYPEMASK_AZ_IGNORE POSITION_TARGET_TYPEMASK = common.POSITION_TARGET_TYPEMASK_AZ_IGNORE // Use force instead of acceleration POSITION_TARGET_TYPEMASK_FORCE_SET POSITION_TARGET_TYPEMASK = common.POSITION_TARGET_TYPEMASK_FORCE_SET // Ignore yaw POSITION_TARGET_TYPEMASK_YAW_IGNORE POSITION_TARGET_TYPEMASK = common.POSITION_TARGET_TYPEMASK_YAW_IGNORE // Ignore yaw rate POSITION_TARGET_TYPEMASK_YAW_RATE_IGNORE POSITION_TARGET_TYPEMASK = common.POSITION_TARGET_TYPEMASK_YAW_RATE_IGNORE )
type PRECISION_LAND_MODE ¶
type PRECISION_LAND_MODE = common.PRECISION_LAND_MODE
Precision land modes (used in MAV_CMD_NAV_LAND).
const ( // Normal (non-precision) landing. PRECISION_LAND_MODE_DISABLED PRECISION_LAND_MODE = common.PRECISION_LAND_MODE_DISABLED // Use precision landing if beacon detected when land command accepted, otherwise land normally. PRECISION_LAND_MODE_OPPORTUNISTIC PRECISION_LAND_MODE = common.PRECISION_LAND_MODE_OPPORTUNISTIC // Use precision landing, searching for beacon if not found when land command accepted (land normally if beacon cannot be found). PRECISION_LAND_MODE_REQUIRED PRECISION_LAND_MODE = common.PRECISION_LAND_MODE_REQUIRED )
type PREFLIGHT_STORAGE_MISSION_ACTION ¶
type PREFLIGHT_STORAGE_MISSION_ACTION = common.PREFLIGHT_STORAGE_MISSION_ACTION
Actions for reading and writing plan information (mission, rally points, geofence) between persistent and volatile storage when using MAV_CMD_PREFLIGHT_STORAGE. (Commonly missions are loaded from persistent storage (flash/EEPROM) into volatile storage (RAM) on startup and written back when they are changed.)
const ( // Read current mission data from persistent storage MISSION_READ_PERSISTENT PREFLIGHT_STORAGE_MISSION_ACTION = common.MISSION_READ_PERSISTENT // Write current mission data to persistent storage MISSION_WRITE_PERSISTENT PREFLIGHT_STORAGE_MISSION_ACTION = common.MISSION_WRITE_PERSISTENT // Erase all mission data stored on the vehicle (both persistent and volatile storage) MISSION_RESET_DEFAULT PREFLIGHT_STORAGE_MISSION_ACTION = common.MISSION_RESET_DEFAULT )
type PREFLIGHT_STORAGE_PARAMETER_ACTION ¶
type PREFLIGHT_STORAGE_PARAMETER_ACTION = common.PREFLIGHT_STORAGE_PARAMETER_ACTION
Actions for reading/writing parameters between persistent and volatile storage when using MAV_CMD_PREFLIGHT_STORAGE. (Commonly parameters are loaded from persistent storage (flash/EEPROM) into volatile storage (RAM) on startup and written back when they are changed.)
const ( // Read all parameters from persistent storage. Replaces values in volatile storage. PARAM_READ_PERSISTENT PREFLIGHT_STORAGE_PARAMETER_ACTION = common.PARAM_READ_PERSISTENT // Write all parameter values to persistent storage (flash/EEPROM) PARAM_WRITE_PERSISTENT PREFLIGHT_STORAGE_PARAMETER_ACTION = common.PARAM_WRITE_PERSISTENT // Reset all user configurable parameters to their default value (including airframe selection, sensor calibration data, safety settings, and so on). Does not reset values that contain operation counters and vehicle computed statistics. PARAM_RESET_CONFIG_DEFAULT PREFLIGHT_STORAGE_PARAMETER_ACTION = common.PARAM_RESET_CONFIG_DEFAULT // Reset only sensor calibration parameters to factory defaults (or firmware default if not available) PARAM_RESET_SENSOR_DEFAULT PREFLIGHT_STORAGE_PARAMETER_ACTION = common.PARAM_RESET_SENSOR_DEFAULT // Reset all parameters, including operation counters, to default values PARAM_RESET_ALL_DEFAULT PREFLIGHT_STORAGE_PARAMETER_ACTION = common.PARAM_RESET_ALL_DEFAULT )
type RC_TYPE ¶
RC type
const ( // Spektrum DSM2 RC_TYPE_SPEKTRUM_DSM2 RC_TYPE = common.RC_TYPE_SPEKTRUM_DSM2 // Spektrum DSMX RC_TYPE_SPEKTRUM_DSMX RC_TYPE = common.RC_TYPE_SPEKTRUM_DSMX )
type RTK_BASELINE_COORDINATE_SYSTEM ¶
type RTK_BASELINE_COORDINATE_SYSTEM = common.RTK_BASELINE_COORDINATE_SYSTEM
RTK GPS baseline coordinate system, used for RTK corrections
const ( // Earth-centered, Earth-fixed RTK_BASELINE_COORDINATE_SYSTEM_ECEF RTK_BASELINE_COORDINATE_SYSTEM = common.RTK_BASELINE_COORDINATE_SYSTEM_ECEF // RTK basestation centered, north, east, down RTK_BASELINE_COORDINATE_SYSTEM_NED RTK_BASELINE_COORDINATE_SYSTEM = common.RTK_BASELINE_COORDINATE_SYSTEM_NED )
type SERIAL_CONTROL_DEV ¶
type SERIAL_CONTROL_DEV = common.SERIAL_CONTROL_DEV
SERIAL_CONTROL device types
const ( // First telemetry port SERIAL_CONTROL_DEV_TELEM1 SERIAL_CONTROL_DEV = common.SERIAL_CONTROL_DEV_TELEM1 // Second telemetry port SERIAL_CONTROL_DEV_TELEM2 SERIAL_CONTROL_DEV = common.SERIAL_CONTROL_DEV_TELEM2 // First GPS port SERIAL_CONTROL_DEV_GPS1 SERIAL_CONTROL_DEV = common.SERIAL_CONTROL_DEV_GPS1 // Second GPS port SERIAL_CONTROL_DEV_GPS2 SERIAL_CONTROL_DEV = common.SERIAL_CONTROL_DEV_GPS2 // system shell SERIAL_CONTROL_DEV_SHELL SERIAL_CONTROL_DEV = common.SERIAL_CONTROL_DEV_SHELL // SERIAL0 SERIAL_CONTROL_SERIAL0 SERIAL_CONTROL_DEV = common.SERIAL_CONTROL_SERIAL0 // SERIAL1 SERIAL_CONTROL_SERIAL1 SERIAL_CONTROL_DEV = common.SERIAL_CONTROL_SERIAL1 // SERIAL2 SERIAL_CONTROL_SERIAL2 SERIAL_CONTROL_DEV = common.SERIAL_CONTROL_SERIAL2 // SERIAL3 SERIAL_CONTROL_SERIAL3 SERIAL_CONTROL_DEV = common.SERIAL_CONTROL_SERIAL3 // SERIAL4 SERIAL_CONTROL_SERIAL4 SERIAL_CONTROL_DEV = common.SERIAL_CONTROL_SERIAL4 // SERIAL5 SERIAL_CONTROL_SERIAL5 SERIAL_CONTROL_DEV = common.SERIAL_CONTROL_SERIAL5 // SERIAL6 SERIAL_CONTROL_SERIAL6 SERIAL_CONTROL_DEV = common.SERIAL_CONTROL_SERIAL6 // SERIAL7 SERIAL_CONTROL_SERIAL7 SERIAL_CONTROL_DEV = common.SERIAL_CONTROL_SERIAL7 // SERIAL8 SERIAL_CONTROL_SERIAL8 SERIAL_CONTROL_DEV = common.SERIAL_CONTROL_SERIAL8 // SERIAL9 SERIAL_CONTROL_SERIAL9 SERIAL_CONTROL_DEV = common.SERIAL_CONTROL_SERIAL9 )
type SERIAL_CONTROL_FLAG ¶
type SERIAL_CONTROL_FLAG = common.SERIAL_CONTROL_FLAG
SERIAL_CONTROL flags (bitmask)
const ( // Set if this is a reply SERIAL_CONTROL_FLAG_REPLY SERIAL_CONTROL_FLAG = common.SERIAL_CONTROL_FLAG_REPLY // Set if the sender wants the receiver to send a response as another SERIAL_CONTROL message SERIAL_CONTROL_FLAG_RESPOND SERIAL_CONTROL_FLAG = common.SERIAL_CONTROL_FLAG_RESPOND // Set if access to the serial port should be removed from whatever driver is currently using it, giving exclusive access to the SERIAL_CONTROL protocol. The port can be handed back by sending a request without this flag set SERIAL_CONTROL_FLAG_EXCLUSIVE SERIAL_CONTROL_FLAG = common.SERIAL_CONTROL_FLAG_EXCLUSIVE // Block on writes to the serial port SERIAL_CONTROL_FLAG_BLOCKING SERIAL_CONTROL_FLAG = common.SERIAL_CONTROL_FLAG_BLOCKING // Send multiple replies until port is drained SERIAL_CONTROL_FLAG_MULTI SERIAL_CONTROL_FLAG = common.SERIAL_CONTROL_FLAG_MULTI )
type SET_FOCUS_TYPE ¶
type SET_FOCUS_TYPE = common.SET_FOCUS_TYPE
Focus types for MAV_CMD_SET_CAMERA_FOCUS
const ( // Focus one step increment (-1 for focusing in, 1 for focusing out towards infinity). FOCUS_TYPE_STEP SET_FOCUS_TYPE = common.FOCUS_TYPE_STEP // Continuous focus up/down until stopped (-1 for focusing in, 1 for focusing out towards infinity, 0 to stop focusing) FOCUS_TYPE_CONTINUOUS SET_FOCUS_TYPE = common.FOCUS_TYPE_CONTINUOUS // Focus value as proportion of full camera focus range (a value between 0.0 and 100.0) FOCUS_TYPE_RANGE SET_FOCUS_TYPE = common.FOCUS_TYPE_RANGE // Focus value in metres. Note that there is no message to get the valid focus range of the camera, so this can type can only be used for cameras where the range is known (implying that this cannot reliably be used in a GCS for an arbitrary camera). FOCUS_TYPE_METERS SET_FOCUS_TYPE = common.FOCUS_TYPE_METERS // Focus automatically. FOCUS_TYPE_AUTO SET_FOCUS_TYPE = common.FOCUS_TYPE_AUTO // Single auto focus. Mainly used for still pictures. Usually abbreviated as AF-S. FOCUS_TYPE_AUTO_SINGLE SET_FOCUS_TYPE = common.FOCUS_TYPE_AUTO_SINGLE // Continuous auto focus. Mainly used for dynamic scenes. Abbreviated as AF-C. FOCUS_TYPE_AUTO_CONTINUOUS SET_FOCUS_TYPE = common.FOCUS_TYPE_AUTO_CONTINUOUS )
type STORAGE_STATUS ¶
type STORAGE_STATUS = common.STORAGE_STATUS
Flags to indicate the status of camera storage.
const ( // Storage is missing (no microSD card loaded for example.) STORAGE_STATUS_EMPTY STORAGE_STATUS = common.STORAGE_STATUS_EMPTY // Storage present but unformatted. STORAGE_STATUS_UNFORMATTED STORAGE_STATUS = common.STORAGE_STATUS_UNFORMATTED // Storage present and ready. STORAGE_STATUS_READY STORAGE_STATUS = common.STORAGE_STATUS_READY // Camera does not supply storage status information. Capacity information in STORAGE_INFORMATION fields will be ignored. STORAGE_STATUS_NOT_SUPPORTED STORAGE_STATUS = common.STORAGE_STATUS_NOT_SUPPORTED )
type STORAGE_TYPE ¶
type STORAGE_TYPE = common.STORAGE_TYPE
Flags to indicate the type of storage.
const ( // Storage type is not known. STORAGE_TYPE_UNKNOWN STORAGE_TYPE = common.STORAGE_TYPE_UNKNOWN // Storage type is USB device. STORAGE_TYPE_USB_STICK STORAGE_TYPE = common.STORAGE_TYPE_USB_STICK // Storage type is SD card. STORAGE_TYPE_SD STORAGE_TYPE = common.STORAGE_TYPE_SD // Storage type is microSD card. STORAGE_TYPE_MICROSD STORAGE_TYPE = common.STORAGE_TYPE_MICROSD // Storage type is CFast. STORAGE_TYPE_CF STORAGE_TYPE = common.STORAGE_TYPE_CF // Storage type is CFexpress. STORAGE_TYPE_CFE STORAGE_TYPE = common.STORAGE_TYPE_CFE // Storage type is XQD. STORAGE_TYPE_XQD STORAGE_TYPE = common.STORAGE_TYPE_XQD // Storage type is HD mass storage type. STORAGE_TYPE_HD STORAGE_TYPE = common.STORAGE_TYPE_HD // Storage type is other, not listed type. STORAGE_TYPE_OTHER STORAGE_TYPE = common.STORAGE_TYPE_OTHER )
type STORAGE_USAGE_FLAG ¶
type STORAGE_USAGE_FLAG = common.STORAGE_USAGE_FLAG
Flags to indicate usage for a particular storage (see STORAGE_INFORMATION.storage_usage and MAV_CMD_SET_STORAGE_USAGE).
const ( // Always set to 1 (indicates STORAGE_INFORMATION.storage_usage is supported). STORAGE_USAGE_FLAG_SET STORAGE_USAGE_FLAG = common.STORAGE_USAGE_FLAG_SET // Storage for saving photos. STORAGE_USAGE_FLAG_PHOTO STORAGE_USAGE_FLAG = common.STORAGE_USAGE_FLAG_PHOTO // Storage for saving videos. STORAGE_USAGE_FLAG_VIDEO STORAGE_USAGE_FLAG = common.STORAGE_USAGE_FLAG_VIDEO // Storage for saving logs. STORAGE_USAGE_FLAG_LOGS STORAGE_USAGE_FLAG = common.STORAGE_USAGE_FLAG_LOGS )
type TUNE_FORMAT ¶
type TUNE_FORMAT = common.TUNE_FORMAT
Tune formats (used for vehicle buzzer/tone generation).
const ( // Format is QBasic 1.1 Play: https://www.qbasic.net/en/reference/qb11/Statement/PLAY-006.htm. TUNE_FORMAT_QBASIC1_1 TUNE_FORMAT = common.TUNE_FORMAT_QBASIC1_1 // Format is Modern Music Markup Language (MML): https://en.wikipedia.org/wiki/Music_Macro_Language#Modern_MML. TUNE_FORMAT_MML_MODERN TUNE_FORMAT = common.TUNE_FORMAT_MML_MODERN )
type UAVCAN_NODE_HEALTH ¶
type UAVCAN_NODE_HEALTH = common.UAVCAN_NODE_HEALTH
Generalized UAVCAN node health
const ( // The node is functioning properly. UAVCAN_NODE_HEALTH_OK UAVCAN_NODE_HEALTH = common.UAVCAN_NODE_HEALTH_OK // A critical parameter went out of range or the node has encountered a minor failure. UAVCAN_NODE_HEALTH_WARNING UAVCAN_NODE_HEALTH = common.UAVCAN_NODE_HEALTH_WARNING // The node has encountered a major failure. UAVCAN_NODE_HEALTH_ERROR UAVCAN_NODE_HEALTH = common.UAVCAN_NODE_HEALTH_ERROR // The node has suffered a fatal malfunction. UAVCAN_NODE_HEALTH_CRITICAL UAVCAN_NODE_HEALTH = common.UAVCAN_NODE_HEALTH_CRITICAL )
type UAVCAN_NODE_MODE ¶
type UAVCAN_NODE_MODE = common.UAVCAN_NODE_MODE
Generalized UAVCAN node mode
const ( // The node is performing its primary functions. UAVCAN_NODE_MODE_OPERATIONAL UAVCAN_NODE_MODE = common.UAVCAN_NODE_MODE_OPERATIONAL // The node is initializing; this mode is entered immediately after startup. UAVCAN_NODE_MODE_INITIALIZATION UAVCAN_NODE_MODE = common.UAVCAN_NODE_MODE_INITIALIZATION // The node is under maintenance. UAVCAN_NODE_MODE_MAINTENANCE UAVCAN_NODE_MODE = common.UAVCAN_NODE_MODE_MAINTENANCE // The node is in the process of updating its software. UAVCAN_NODE_MODE_SOFTWARE_UPDATE UAVCAN_NODE_MODE = common.UAVCAN_NODE_MODE_SOFTWARE_UPDATE // The node is no longer available online. UAVCAN_NODE_MODE_OFFLINE UAVCAN_NODE_MODE = common.UAVCAN_NODE_MODE_OFFLINE )
type UTM_DATA_AVAIL_FLAGS ¶
type UTM_DATA_AVAIL_FLAGS = common.UTM_DATA_AVAIL_FLAGS
Flags for the global position report.
const ( // The field time contains valid data. UTM_DATA_AVAIL_FLAGS_TIME_VALID UTM_DATA_AVAIL_FLAGS = common.UTM_DATA_AVAIL_FLAGS_TIME_VALID // The field uas_id contains valid data. UTM_DATA_AVAIL_FLAGS_UAS_ID_AVAILABLE UTM_DATA_AVAIL_FLAGS = common.UTM_DATA_AVAIL_FLAGS_UAS_ID_AVAILABLE // The fields lat, lon and h_acc contain valid data. UTM_DATA_AVAIL_FLAGS_POSITION_AVAILABLE UTM_DATA_AVAIL_FLAGS = common.UTM_DATA_AVAIL_FLAGS_POSITION_AVAILABLE // The fields alt and v_acc contain valid data. UTM_DATA_AVAIL_FLAGS_ALTITUDE_AVAILABLE UTM_DATA_AVAIL_FLAGS = common.UTM_DATA_AVAIL_FLAGS_ALTITUDE_AVAILABLE // The field relative_alt contains valid data. UTM_DATA_AVAIL_FLAGS_RELATIVE_ALTITUDE_AVAILABLE UTM_DATA_AVAIL_FLAGS = common.UTM_DATA_AVAIL_FLAGS_RELATIVE_ALTITUDE_AVAILABLE // The fields vx and vy contain valid data. UTM_DATA_AVAIL_FLAGS_HORIZONTAL_VELO_AVAILABLE UTM_DATA_AVAIL_FLAGS = common.UTM_DATA_AVAIL_FLAGS_HORIZONTAL_VELO_AVAILABLE // The field vz contains valid data. UTM_DATA_AVAIL_FLAGS_VERTICAL_VELO_AVAILABLE UTM_DATA_AVAIL_FLAGS = common.UTM_DATA_AVAIL_FLAGS_VERTICAL_VELO_AVAILABLE // The fields next_lat, next_lon and next_alt contain valid data. UTM_DATA_AVAIL_FLAGS_NEXT_WAYPOINT_AVAILABLE UTM_DATA_AVAIL_FLAGS = common.UTM_DATA_AVAIL_FLAGS_NEXT_WAYPOINT_AVAILABLE )
type UTM_FLIGHT_STATE ¶
type UTM_FLIGHT_STATE = common.UTM_FLIGHT_STATE
Airborne status of UAS.
const ( // The flight state can't be determined. UTM_FLIGHT_STATE_UNKNOWN UTM_FLIGHT_STATE = common.UTM_FLIGHT_STATE_UNKNOWN // UAS on ground. UTM_FLIGHT_STATE_GROUND UTM_FLIGHT_STATE = common.UTM_FLIGHT_STATE_GROUND // UAS airborne. UTM_FLIGHT_STATE_AIRBORNE UTM_FLIGHT_STATE = common.UTM_FLIGHT_STATE_AIRBORNE // UAS is in an emergency flight state. UTM_FLIGHT_STATE_EMERGENCY UTM_FLIGHT_STATE = common.UTM_FLIGHT_STATE_EMERGENCY // UAS has no active controls. UTM_FLIGHT_STATE_NOCTRL UTM_FLIGHT_STATE = common.UTM_FLIGHT_STATE_NOCTRL )
type VIDEO_STREAM_STATUS_FLAGS ¶
type VIDEO_STREAM_STATUS_FLAGS = common.VIDEO_STREAM_STATUS_FLAGS
Stream status flags (Bitmap)
const ( // Stream is active (running) VIDEO_STREAM_STATUS_FLAGS_RUNNING VIDEO_STREAM_STATUS_FLAGS = common.VIDEO_STREAM_STATUS_FLAGS_RUNNING // Stream is thermal imaging VIDEO_STREAM_STATUS_FLAGS_THERMAL VIDEO_STREAM_STATUS_FLAGS = common.VIDEO_STREAM_STATUS_FLAGS_THERMAL )
type VIDEO_STREAM_TYPE ¶
type VIDEO_STREAM_TYPE = common.VIDEO_STREAM_TYPE
Video stream types
const ( // Stream is RTSP VIDEO_STREAM_TYPE_RTSP VIDEO_STREAM_TYPE = common.VIDEO_STREAM_TYPE_RTSP // Stream is RTP UDP (URI gives the port number) VIDEO_STREAM_TYPE_RTPUDP VIDEO_STREAM_TYPE = common.VIDEO_STREAM_TYPE_RTPUDP // Stream is MPEG on TCP VIDEO_STREAM_TYPE_TCP_MPEG VIDEO_STREAM_TYPE = common.VIDEO_STREAM_TYPE_TCP_MPEG // Stream is h.264 on MPEG TS (URI gives the port number) VIDEO_STREAM_TYPE_MPEG_TS_H264 VIDEO_STREAM_TYPE = common.VIDEO_STREAM_TYPE_MPEG_TS_H264 )
type VTOL_TRANSITION_HEADING ¶
type VTOL_TRANSITION_HEADING = common.VTOL_TRANSITION_HEADING
Direction of VTOL transition
const ( // Respect the heading configuration of the vehicle. VTOL_TRANSITION_HEADING_VEHICLE_DEFAULT VTOL_TRANSITION_HEADING = common.VTOL_TRANSITION_HEADING_VEHICLE_DEFAULT // Use the heading pointing towards the next waypoint. VTOL_TRANSITION_HEADING_NEXT_WAYPOINT VTOL_TRANSITION_HEADING = common.VTOL_TRANSITION_HEADING_NEXT_WAYPOINT // Use the heading on takeoff (while sitting on the ground). VTOL_TRANSITION_HEADING_TAKEOFF VTOL_TRANSITION_HEADING = common.VTOL_TRANSITION_HEADING_TAKEOFF // Use the specified heading in parameter 4. VTOL_TRANSITION_HEADING_SPECIFIED VTOL_TRANSITION_HEADING = common.VTOL_TRANSITION_HEADING_SPECIFIED // Use the current heading when reaching takeoff altitude (potentially facing the wind when weather-vaning is active). VTOL_TRANSITION_HEADING_ANY VTOL_TRANSITION_HEADING = common.VTOL_TRANSITION_HEADING_ANY )
type WIFI_CONFIG_AP_MODE ¶
type WIFI_CONFIG_AP_MODE = common.WIFI_CONFIG_AP_MODE
WiFi Mode.
const ( // WiFi mode is undefined. WIFI_CONFIG_AP_MODE_UNDEFINED WIFI_CONFIG_AP_MODE = common.WIFI_CONFIG_AP_MODE_UNDEFINED // WiFi configured as an access point. WIFI_CONFIG_AP_MODE_AP WIFI_CONFIG_AP_MODE = common.WIFI_CONFIG_AP_MODE_AP // WiFi configured as a station connected to an existing local WiFi network. WIFI_CONFIG_AP_MODE_STATION WIFI_CONFIG_AP_MODE = common.WIFI_CONFIG_AP_MODE_STATION // WiFi disabled. WIFI_CONFIG_AP_MODE_DISABLED WIFI_CONFIG_AP_MODE = common.WIFI_CONFIG_AP_MODE_DISABLED )
type WIFI_CONFIG_AP_RESPONSE ¶
type WIFI_CONFIG_AP_RESPONSE = common.WIFI_CONFIG_AP_RESPONSE
Possible responses from a WIFI_CONFIG_AP message.
const ( // Undefined response. Likely an indicative of a system that doesn't support this request. WIFI_CONFIG_AP_RESPONSE_UNDEFINED WIFI_CONFIG_AP_RESPONSE = common.WIFI_CONFIG_AP_RESPONSE_UNDEFINED // Changes accepted. WIFI_CONFIG_AP_RESPONSE_ACCEPTED WIFI_CONFIG_AP_RESPONSE = common.WIFI_CONFIG_AP_RESPONSE_ACCEPTED // Changes rejected. WIFI_CONFIG_AP_RESPONSE_REJECTED WIFI_CONFIG_AP_RESPONSE = common.WIFI_CONFIG_AP_RESPONSE_REJECTED // Invalid Mode. WIFI_CONFIG_AP_RESPONSE_MODE_ERROR WIFI_CONFIG_AP_RESPONSE = common.WIFI_CONFIG_AP_RESPONSE_MODE_ERROR // Invalid SSID. WIFI_CONFIG_AP_RESPONSE_SSID_ERROR WIFI_CONFIG_AP_RESPONSE = common.WIFI_CONFIG_AP_RESPONSE_SSID_ERROR // Invalid Password. WIFI_CONFIG_AP_RESPONSE_PASSWORD_ERROR WIFI_CONFIG_AP_RESPONSE = common.WIFI_CONFIG_AP_RESPONSE_PASSWORD_ERROR )
type WIFI_NETWORK_SECURITY ¶
type WIFI_NETWORK_SECURITY uint32
WiFi wireless security protocols.
const ( // Undefined or unknown security protocol. WIFI_NETWORK_SECURITY_UNDEFINED WIFI_NETWORK_SECURITY = 0 // Open network, no security. WIFI_NETWORK_SECURITY_OPEN WIFI_NETWORK_SECURITY = 1 // WEP. WIFI_NETWORK_SECURITY_WEP WIFI_NETWORK_SECURITY = 2 // WPA1. WIFI_NETWORK_SECURITY_WPA1 WIFI_NETWORK_SECURITY = 3 // WPA2. WIFI_NETWORK_SECURITY_WPA2 WIFI_NETWORK_SECURITY = 4 // WPA3. WIFI_NETWORK_SECURITY_WPA3 WIFI_NETWORK_SECURITY = 5 )
func (WIFI_NETWORK_SECURITY) MarshalText ¶
func (e WIFI_NETWORK_SECURITY) MarshalText() ([]byte, error)
MarshalText implements the encoding.TextMarshaler interface.
func (WIFI_NETWORK_SECURITY) String ¶
func (e WIFI_NETWORK_SECURITY) String() string
String implements the fmt.Stringer interface.
func (*WIFI_NETWORK_SECURITY) UnmarshalText ¶
func (e *WIFI_NETWORK_SECURITY) UnmarshalText(text []byte) error
UnmarshalText implements the encoding.TextUnmarshaler interface.
type WINCH_ACTIONS ¶
type WINCH_ACTIONS = common.WINCH_ACTIONS
Winch actions.
const ( // Allow motor to freewheel. WINCH_RELAXED WINCH_ACTIONS = common.WINCH_RELAXED // Wind or unwind specified length of line, optionally using specified rate. WINCH_RELATIVE_LENGTH_CONTROL WINCH_ACTIONS = common.WINCH_RELATIVE_LENGTH_CONTROL // Wind or unwind line at specified rate. WINCH_RATE_CONTROL WINCH_ACTIONS = common.WINCH_RATE_CONTROL // Perform the locking sequence to relieve motor while in the fully retracted position. Only action and instance command parameters are used, others are ignored. WINCH_LOCK WINCH_ACTIONS = common.WINCH_LOCK // Sequence of drop, slow down, touch down, reel up, lock. Only action and instance command parameters are used, others are ignored. WINCH_DELIVER WINCH_ACTIONS = common.WINCH_DELIVER // Engage motor and hold current position. Only action and instance command parameters are used, others are ignored. WINCH_HOLD WINCH_ACTIONS = common.WINCH_HOLD // Return the reel to the fully retracted position. Only action and instance command parameters are used, others are ignored. WINCH_RETRACT WINCH_ACTIONS = common.WINCH_RETRACT // Load the reel with line. The winch will calculate the total loaded length and stop when the tension exceeds a threshold. Only action and instance command parameters are used, others are ignored. WINCH_LOAD_LINE WINCH_ACTIONS = common.WINCH_LOAD_LINE // Spool out the entire length of the line. Only action and instance command parameters are used, others are ignored. WINCH_ABANDON_LINE WINCH_ACTIONS = common.WINCH_ABANDON_LINE // Spools out just enough to present the hook to the user to load the payload. Only action and instance command parameters are used, others are ignored WINCH_LOAD_PAYLOAD WINCH_ACTIONS = common.WINCH_LOAD_PAYLOAD )
Source Files ¶
- dialect.go
- enum_actuator_configuration.go
- enum_actuator_output_function.go
- enum_adsb_altitude_type.go
- enum_adsb_emitter_type.go
- enum_adsb_flags.go
- enum_airspeed_sensor_flags.go
- enum_ais_flags.go
- enum_ais_nav_status.go
- enum_ais_type.go
- enum_attitude_target_typemask.go
- enum_autotune_axis.go
- enum_camera_cap_flags.go
- enum_camera_mode.go
- enum_camera_tracking_mode.go
- enum_camera_tracking_status_flags.go
- enum_camera_tracking_target_data.go
- enum_camera_zoom_type.go
- enum_can_filter_op.go
- enum_cellular_config_response.go
- enum_cellular_network_failed_reason.go
- enum_cellular_network_radio_type.go
- enum_cellular_status_flag.go
- enum_comp_metadata_type.go
- enum_esc_connection_type.go
- enum_esc_failure_flags.go
- enum_estimator_status_flags.go
- enum_failure_type.go
- enum_failure_unit.go
- enum_fence_action.go
- enum_fence_breach.go
- enum_fence_mitigate.go
- enum_firmware_version_type.go
- enum_gimbal_device_cap_flags.go
- enum_gimbal_device_error_flags.go
- enum_gimbal_device_flags.go
- enum_gimbal_manager_cap_flags.go
- enum_gimbal_manager_flags.go
- enum_gps_fix_type.go
- enum_gps_input_ignore_flags.go
- enum_gripper_actions.go
- enum_highres_imu_updated_flags.go
- enum_hil_sensor_updated_flags.go
- enum_hl_failure_flag.go
- enum_landing_target_type.go
- enum_mag_cal_status.go
- enum_mav_arm_auth_denied_reason.go
- enum_mav_autopilot.go
- enum_mav_battery_charge_state.go
- enum_mav_battery_fault.go
- enum_mav_battery_function.go
- enum_mav_battery_mode.go
- enum_mav_battery_status_flags.go
- enum_mav_battery_type.go
- enum_mav_cmd.go
- enum_mav_cmd_ack.go
- enum_mav_collision_action.go
- enum_mav_collision_src.go
- enum_mav_collision_threat_level.go
- enum_mav_component.go
- enum_mav_data_stream.go
- enum_mav_distance_sensor.go
- enum_mav_do_reposition_flags.go
- enum_mav_estimator_type.go
- enum_mav_event_current_sequence_flags.go
- enum_mav_event_error_reason.go
- enum_mav_frame.go
- enum_mav_ftp_err.go
- enum_mav_ftp_opcode.go
- enum_mav_generator_status_flag.go
- enum_mav_goto.go
- enum_mav_landed_state.go
- enum_mav_mission_result.go
- enum_mav_mission_type.go
- enum_mav_mode.go
- enum_mav_mode_flag.go
- enum_mav_mode_flag_decode_position.go
- enum_mav_mount_mode.go
- enum_mav_odid_arm_status.go
- enum_mav_odid_auth_type.go
- enum_mav_odid_category_eu.go
- enum_mav_odid_class_eu.go
- enum_mav_odid_classification_type.go
- enum_mav_odid_desc_type.go
- enum_mav_odid_height_ref.go
- enum_mav_odid_hor_acc.go
- enum_mav_odid_id_type.go
- enum_mav_odid_operator_id_type.go
- enum_mav_odid_operator_location_type.go
- enum_mav_odid_speed_acc.go
- enum_mav_odid_status.go
- enum_mav_odid_time_acc.go
- enum_mav_odid_ua_type.go
- enum_mav_odid_ver_acc.go
- enum_mav_param_ext_type.go
- enum_mav_param_type.go
- enum_mav_power_status.go
- enum_mav_protocol_capability.go
- enum_mav_result.go
- enum_mav_roi.go
- enum_mav_sensor_orientation.go
- enum_mav_severity.go
- enum_mav_standard_mode.go
- enum_mav_state.go
- enum_mav_sys_status_sensor.go
- enum_mav_sys_status_sensor_extended.go
- enum_mav_tunnel_payload_type.go
- enum_mav_type.go
- enum_mav_vtol_state.go
- enum_mav_winch_status_flag.go
- enum_mavlink_data_stream_type.go
- enum_mission_state.go
- enum_motor_test_order.go
- enum_motor_test_throttle_type.go
- enum_nav_vtol_land_options.go
- enum_orbit_yaw_behaviour.go
- enum_parachute_action.go
- enum_param_ack.go
- enum_param_transaction_action.go
- enum_param_transaction_transport.go
- enum_position_target_typemask.go
- enum_precision_land_mode.go
- enum_preflight_storage_mission_action.go
- enum_preflight_storage_parameter_action.go
- enum_rc_type.go
- enum_rtk_baseline_coordinate_system.go
- enum_serial_control_dev.go
- enum_serial_control_flag.go
- enum_set_focus_type.go
- enum_storage_status.go
- enum_storage_type.go
- enum_storage_usage_flag.go
- enum_tune_format.go
- enum_uavcan_node_health.go
- enum_uavcan_node_mode.go
- enum_utm_data_avail_flags.go
- enum_utm_flight_state.go
- enum_video_stream_status_flags.go
- enum_video_stream_type.go
- enum_vtol_transition_heading.go
- enum_wifi_config_ap_mode.go
- enum_wifi_config_ap_response.go
- enum_wifi_network_security.go
- enum_winch_actions.go
- message_actuator_control_target.go
- message_actuator_output_status.go
- message_adsb_vehicle.go
- message_airspeed.go
- message_ais_vessel.go
- message_altitude.go
- message_att_pos_mocap.go
- message_attitude.go
- message_attitude_quaternion.go
- message_attitude_quaternion_cov.go
- message_attitude_target.go
- message_auth_key.go
- message_autopilot_state_for_gimbal_device.go
- message_autopilot_version.go
- message_available_modes.go
- message_battery_status.go
- message_battery_status_v2.go
- message_button_change.go
- message_camera_capture_status.go
- message_camera_fov_status.go
- message_camera_image_captured.go
- message_camera_information.go
- message_camera_settings.go
- message_camera_tracking_geo_status.go
- message_camera_tracking_image_status.go
- message_camera_trigger.go
- message_can_filter_modify.go
- message_can_frame.go
- message_canfd_frame.go
- message_cellular_config.go
- message_cellular_status.go
- message_change_operator_control.go
- message_change_operator_control_ack.go
- message_collision.go
- message_command_ack.go
- message_command_cancel.go
- message_command_int.go
- message_command_long.go
- message_component_information.go
- message_component_information_basic.go
- message_component_metadata.go
- message_control_system_state.go
- message_current_event_sequence.go
- message_current_mode.go
- message_data_stream.go
- message_data_transmission_handshake.go
- message_debug.go
- message_debug_float_array.go
- message_debug_vect.go
- message_distance_sensor.go
- message_efi_status.go
- message_encapsulated_data.go
- message_esc_info.go
- message_esc_status.go
- message_estimator_status.go
- message_event.go
- message_extended_sys_state.go
- message_fence_status.go
- message_figure_eight_execution_status.go
- message_file_transfer_protocol.go
- message_flight_information.go
- message_follow_target.go
- message_generator_status.go
- message_gimbal_device_attitude_status.go
- message_gimbal_device_information.go
- message_gimbal_device_set_attitude.go
- message_gimbal_manager_information.go
- message_gimbal_manager_set_attitude.go
- message_gimbal_manager_set_manual_control.go
- message_gimbal_manager_set_pitchyaw.go
- message_gimbal_manager_status.go
- message_global_position_int.go
- message_global_position_int_cov.go
- message_global_vision_position_estimate.go
- message_gps2_raw.go
- message_gps2_rtk.go
- message_gps_global_origin.go
- message_gps_inject_data.go
- message_gps_input.go
- message_gps_raw_int.go
- message_gps_rtcm_data.go
- message_gps_rtk.go
- message_gps_status.go
- message_group_end.go
- message_group_start.go
- message_heartbeat.go
- message_high_latency.go
- message_high_latency2.go
- message_highres_imu.go
- message_hil_actuator_controls.go
- message_hil_controls.go
- message_hil_gps.go
- message_hil_optical_flow.go
- message_hil_rc_inputs_raw.go
- message_hil_sensor.go
- message_hil_state.go
- message_hil_state_quaternion.go
- message_home_position.go
- message_hygrometer_sensor.go
- message_isbd_link_status.go
- message_landing_target.go
- message_link_node_status.go
- message_local_position_ned.go
- message_local_position_ned_cov.go
- message_local_position_ned_system_global_offset.go
- message_log_data.go
- message_log_entry.go
- message_log_erase.go
- message_log_request_data.go
- message_log_request_end.go
- message_log_request_list.go
- message_logging_ack.go
- message_logging_data.go
- message_logging_data_acked.go
- message_mag_cal_report.go
- message_manual_control.go
- message_manual_setpoint.go
- message_memory_vect.go
- message_message_interval.go
- message_mission_ack.go
- message_mission_checksum.go
- message_mission_clear_all.go
- message_mission_count.go
- message_mission_current.go
- message_mission_item.go
- message_mission_item_int.go
- message_mission_item_reached.go
- message_mission_request.go
- message_mission_request_int.go
- message_mission_request_list.go
- message_mission_request_partial_list.go
- message_mission_set_current.go
- message_mission_write_partial_list.go
- message_mount_orientation.go
- message_named_value_float.go
- message_named_value_int.go
- message_nav_controller_output.go
- message_obstacle_distance.go
- message_odometry.go
- message_onboard_computer_status.go
- message_open_drone_id_arm_status.go
- message_open_drone_id_authentication.go
- message_open_drone_id_basic_id.go
- message_open_drone_id_location.go
- message_open_drone_id_message_pack.go
- message_open_drone_id_operator_id.go
- message_open_drone_id_self_id.go
- message_open_drone_id_system.go
- message_open_drone_id_system_update.go
- message_optical_flow.go
- message_optical_flow_rad.go
- message_orbit_execution_status.go
- message_param_ack_transaction.go
- message_param_ext_ack.go
- message_param_ext_request_list.go
- message_param_ext_request_read.go
- message_param_ext_set.go
- message_param_ext_value.go
- message_param_map_rc.go
- message_param_request_list.go
- message_param_request_read.go
- message_param_set.go
- message_param_value.go
- message_ping.go
- message_play_tune.go
- message_play_tune_v2.go
- message_position_target_global_int.go
- message_position_target_local_ned.go
- message_power_status.go
- message_protocol_version.go
- message_radio_status.go
- message_raw_imu.go
- message_raw_pressure.go
- message_raw_rpm.go
- message_rc_channels.go
- message_rc_channels_override.go
- message_rc_channels_raw.go
- message_rc_channels_scaled.go
- message_request_data_stream.go
- message_request_event.go
- message_resource_request.go
- message_response_event_error.go
- message_safety_allowed_area.go
- message_safety_set_allowed_area.go
- message_scaled_imu.go
- message_scaled_imu2.go
- message_scaled_imu3.go
- message_scaled_pressure.go
- message_scaled_pressure2.go
- message_scaled_pressure3.go
- message_serial_control.go
- message_servo_output_raw.go
- message_set_actuator_control_target.go
- message_set_attitude_target.go
- message_set_gps_global_origin.go
- message_set_home_position.go
- message_set_mode.go
- message_set_position_target_global_int.go
- message_set_position_target_local_ned.go
- message_setup_signing.go
- message_sim_state.go
- message_smart_battery_info.go
- message_statustext.go
- message_storage_information.go
- message_supported_tunes.go
- message_sys_status.go
- message_system_time.go
- message_terrain_check.go
- message_terrain_data.go
- message_terrain_report.go
- message_terrain_request.go
- message_time_estimate_to_target.go
- message_timesync.go
- message_trajectory_representation_bezier.go
- message_trajectory_representation_waypoints.go
- message_tunnel.go
- message_uavcan_node_info.go
- message_uavcan_node_status.go
- message_utm_global_position.go
- message_v2_extension.go
- message_vfr_hud.go
- message_vibration.go
- message_vicon_position_estimate.go
- message_video_stream_information.go
- message_video_stream_status.go
- message_vision_position_estimate.go
- message_vision_speed_estimate.go
- message_wheel_distance.go
- message_wifi_config_ap.go
- message_wifi_network_info.go
- message_winch_status.go
- message_wind_cov.go