common

package
v0.13.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jun 27, 2024 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

View Source
const (
	/*MavAutopilotGeneric - Generic autopilot, full support for everything */
	MavAutopilotGeneric = 0
	/*MavAutopilotReserved - Reserved for future use. */
	MavAutopilotReserved = 1
	/*MavAutopilotSlugs - SLUGS autopilot, http://slugsuav.soe.ucsc.edu */
	MavAutopilotSlugs = 2
	/*MavAutopilotArdupilotmega - ArduPilot - Plane/Copter/Rover/Sub/Tracker, http://ardupilot.org */
	MavAutopilotArdupilotmega = 3
	/*MavAutopilotOpenpilot - OpenPilot, http://openpilot.org */
	MavAutopilotOpenpilot = 4
	/*MavAutopilotGenericWaypointsOnly - Generic autopilot only supporting simple waypoints */
	MavAutopilotGenericWaypointsOnly = 5
	/*MavAutopilotGenericWaypointsAndSimpleNAVigationOnly - Generic autopilot supporting waypoints and other simple navigation commands */
	MavAutopilotGenericWaypointsAndSimpleNAVigationOnly = 6
	/*MavAutopilotGenericMissionFull - Generic autopilot supporting the full mission command set */
	MavAutopilotGenericMissionFull = 7
	/*MavAutopilotInvalID - No valid autopilot, e.g. a GCS or other MAVLink component */
	MavAutopilotInvalID = 8
	/*MavAutopilotPpz - PPZ UAV - http://nongnu.org/paparazzi */
	MavAutopilotPpz = 9
	/*MavAutopilotUdb - UAV Dev Board */
	MavAutopilotUdb = 10
	/*MavAutopilotFp - FlexiPilot */
	MavAutopilotFp = 11
	/*MavAutopilotPx4 - PX4 Autopilot - http://px4.io/ */
	MavAutopilotPx4 = 12
	/*MavAutopilotSmaccmpilot - SMACCMPilot - http://smaccmpilot.org */
	MavAutopilotSmaccmpilot = 13
	/*MavAutopilotAutoquad - AutoQuad -- http://autoquad.org */
	MavAutopilotAutoquad = 14
	/*MavAutopilotArmazila - Armazila -- http://armazila.com */
	MavAutopilotArmazila = 15
	/*MavAutopilotAerob - Aerob -- http://aerob.ru */
	MavAutopilotAerob = 16
	/*MavAutopilotAsluav - ASLUAV autopilot -- http://www.asl.ethz.ch */
	MavAutopilotAsluav = 17
	/*MavAutopilotSmartap - SmartAP Autopilot - http://sky-drones.com */
	MavAutopilotSmartap = 18
	/*MavAutopilotAirrails - AirRails - http://uaventure.com */
	MavAutopilotAirrails = 19
	/*MavAutopilotEnumEnd -  */
	MavAutopilotEnumEnd = 20
)

MAV_AUTOPILOT - Micro air vehicle / autopilot classes. This identifies the individual model.

View Source
const (
	/*MavTypeGeneric - Generic micro air vehicle */
	MavTypeGeneric = 0
	/*MavTypeFixedWing - Fixed wing aircraft. */
	MavTypeFixedWing = 1
	/*MavTypeQuadrotor - Quadrotor */
	MavTypeQuadrotor = 2
	/*MavTypeCoaxial - Coaxial helicopter */
	MavTypeCoaxial = 3
	/*MavTypeHelicopter - Normal helicopter with tail rotor. */
	MavTypeHelicopter = 4
	/*MavTypeAntennaTracker - Ground installation */
	MavTypeAntennaTracker = 5
	/*MavTypeGcs - Operator control unit / ground control station */
	MavTypeGcs = 6
	/*MavTypeAirship - Airship, controlled */
	MavTypeAirship = 7
	/*MavTypeFreeBalloon - Free balloon, uncontrolled */
	MavTypeFreeBalloon = 8
	/*MavTypeRocket - Rocket */
	MavTypeRocket = 9
	/*MavTypeGroundRover - Ground rover */
	MavTypeGroundRover = 10
	/*MavTypeSurfaceBoat - Surface vessel, boat, ship */
	MavTypeSurfaceBoat = 11
	/*MavTypeSubmarine - Submarine */
	MavTypeSubmarine = 12
	/*MavTypeHexarotor - Hexarotor */
	MavTypeHexarotor = 13
	/*MavTypeOctorotor - Octorotor */
	MavTypeOctorotor = 14
	/*MavTypeTricopter - Tricopter */
	MavTypeTricopter = 15
	/*MavTypeFlappingWing - Flapping wing */
	MavTypeFlappingWing = 16
	/*MavTypeKite - Kite */
	MavTypeKite = 17
	/*MavTypeOnboardController - Onboard companion controller */
	MavTypeOnboardController = 18
	/*MavTypeVtolDuorotor - Two-rotor VTOL using control surfaces in vertical operation in addition. Tailsitter. */
	MavTypeVtolDuorotor = 19
	/*MavTypeVtolQuadrotor - Quad-rotor VTOL using a V-shaped quad config in vertical operation. Tailsitter. */
	MavTypeVtolQuadrotor = 20
	/*MavTypeVtolTiltrotor - Tiltrotor VTOL */
	MavTypeVtolTiltrotor = 21
	/*MavTypeVtolReserved2 - VTOL reserved 2 */
	MavTypeVtolReserved2 = 22
	/*MavTypeVtolReserved3 - VTOL reserved 3 */
	MavTypeVtolReserved3 = 23
	/*MavTypeVtolReserved4 - VTOL reserved 4 */
	MavTypeVtolReserved4 = 24
	/*MavTypeVtolReserved5 - VTOL reserved 5 */
	MavTypeVtolReserved5 = 25
	/*MavTypeGimbal - Gimbal */
	MavTypeGimbal = 26
	/*MavTypeAdsb - ADSB system */
	MavTypeAdsb = 27
	/*MavTypeParafoil - Steerable, nonrigid airfoil */
	MavTypeParafoil = 28
	/*MavTypeDodecarotor - Dodecarotor */
	MavTypeDodecarotor = 29
	/*MavTypeCamera - Camera */
	MavTypeCamera = 30
	/*MavTypeChargingStation - Charging station */
	MavTypeChargingStation = 31
	/*MavTypeFlarm - FLARM collision avoidance system */
	MavTypeFlarm = 32
	/*MavTypeServo - Servo */
	MavTypeServo = 33
	/*MavTypeEnumEnd -  */
	MavTypeEnumEnd = 34
)

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).

View Source
const (
	/*FirmwareVersionTypeDev - development release */
	FirmwareVersionTypeDev = 0
	/*FirmwareVersionTypeAlpha - alpha release */
	FirmwareVersionTypeAlpha = 64
	/*FirmwareVersionTypeBeta - beta release */
	FirmwareVersionTypeBeta = 128
	/*FirmwareVersionTypeRC - release candidate */
	FirmwareVersionTypeRC = 192
	/*FirmwareVersionTypeOfficial - official stable release */
	FirmwareVersionTypeOfficial = 255
	/*FirmwareVersionTypeEnumEnd -  */
	FirmwareVersionTypeEnumEnd = 256
)

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.

View Source
const (
	/*HlFailureFlagGPS - GPS failure. */
	HlFailureFlagGPS = 1
	/*HlFailureFlagDifferentialPressure - Differential pressure sensor failure. */
	HlFailureFlagDifferentialPressure = 2
	/*HlFailureFlagAbsolutePressure - Absolute pressure sensor failure. */
	HlFailureFlagAbsolutePressure = 4
	/*HlFailureFlag3DAccel - Accelerometer sensor failure. */
	HlFailureFlag3DAccel = 8
	/*HlFailureFlag3DGyro - Gyroscope sensor failure. */
	HlFailureFlag3DGyro = 16
	/*HlFailureFlag3DMag - Magnetometer sensor failure. */
	HlFailureFlag3DMag = 32
	/*HlFailureFlagTerrain - Terrain subsystem failure. */
	HlFailureFlagTerrain = 64
	/*HlFailureFlagBattery - Battery failure/critical low battery. */
	HlFailureFlagBattery = 128
	/*HlFailureFlagRCReceiver - RC receiver failure/no rc connection. */
	HlFailureFlagRCReceiver = 256
	/*HlFailureFlagOffboardLink - Offboard link failure. */
	HlFailureFlagOffboardLink = 512
	/*HlFailureFlagEngine - Engine failure. */
	HlFailureFlagEngine = 1024
	/*HlFailureFlagGeofence - Geofence violation. */
	HlFailureFlagGeofence = 2048
	/*HlFailureFlagEstimator - Estimator failure, for example measurement rejection or large variances. */
	HlFailureFlagEstimator = 4096
	/*HlFailureFlagMission - Mission failure. */
	HlFailureFlagMission = 8192
	/*HlFailureFlagEnumEnd -  */
	HlFailureFlagEnumEnd = 8193
)

HL_FAILURE_FLAG - Flags to report failure cases over the high latency telemtry.

View Source
const (
	/*MavModeFlagCustomModeEnabled - 0b00000001 Reserved for future use. */
	MavModeFlagCustomModeEnabled = 1
	/*MavModeFlagTestEnabled - 0b00000010 system has a test mode enabled. This flag is intended for temporary system tests and should not be used for stable implementations. */
	MavModeFlagTestEnabled = 2
	/*MavModeFlagAutoEnabled - 0b00000100 autonomous mode enabled, system finds its own goal positions. Guided flag can be set or not, depends on the actual implementation. */
	MavModeFlagAutoEnabled = 4
	/*MavModeFlagGUIDedEnabled - 0b00001000 guided mode enabled, system flies waypoints / mission items. */
	MavModeFlagGUIDedEnabled = 8
	/*MavModeFlagStabilizeEnabled - 0b00010000 system stabilizes electronically its attitude (and optionally position). It needs however further control inputs to move around. */
	MavModeFlagStabilizeEnabled = 16
	/*MavModeFlagHilEnabled - 0b00100000 hardware in the loop simulation. All motors / actuators are blocked, but internal software is full operational. */
	MavModeFlagHilEnabled = 32
	/*MavModeFlagManualInputEnabled - 0b01000000 remote control input is enabled. */
	MavModeFlagManualInputEnabled = 64
	/*MavModeFlagSafetyArmed - 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. */
	MavModeFlagSafetyArmed = 128
	/*MavModeFlagEnumEnd -  */
	MavModeFlagEnumEnd = 129
)

MAV_MODE_FLAG - These flags encode the MAV mode.

View Source
const (
	/*MavModeFlagDecodePositionCustomMode - Eighth bit: 00000001 */
	MavModeFlagDecodePositionCustomMode = 1
	/*MavModeFlagDecodePositionTest - Seventh bit: 00000010 */
	MavModeFlagDecodePositionTest = 2
	/*MavModeFlagDecodePositionAuto - Sixth bit:   00000100 */
	MavModeFlagDecodePositionAuto = 4
	/*MavModeFlagDecodePositionGUIDed - Fifth bit:  00001000 */
	MavModeFlagDecodePositionGUIDed = 8
	/*MavModeFlagDecodePositionStabilize - Fourth bit: 00010000 */
	MavModeFlagDecodePositionStabilize = 16
	/*MavModeFlagDecodePositionHil - Third bit:  00100000 */
	MavModeFlagDecodePositionHil = 32
	/*MavModeFlagDecodePositionManual - Second bit: 01000000 */
	MavModeFlagDecodePositionManual = 64
	/*MavModeFlagDecodePositionSafety - First bit:  10000000 */
	MavModeFlagDecodePositionSafety = 128
	/*MavModeFlagDecodePositionEnumEnd -  */
	MavModeFlagDecodePositionEnumEnd = 129
)

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.

View Source
const (
	/*MavGotoDoHold - Hold at the current position. */
	MavGotoDoHold = 0
	/*MavGotoDoContinue - Continue with the next item in mission execution. */
	MavGotoDoContinue = 1
	/*MavGotoHoldAtCurrentPosition - Hold at the current position of the system */
	MavGotoHoldAtCurrentPosition = 2
	/*MavGotoHoldAtSpecifiedPosition - Hold at the position specified in the parameters of the DO_HOLD action */
	MavGotoHoldAtSpecifiedPosition = 3
	/*MavGotoEnumEnd -  */
	MavGotoEnumEnd = 4
)

MAV_GOTO - Actions that may be specified in MAV_CMD_OVERRIDE_GOTO to override mission execution.

View Source
const (
	/*MavModePreflight - System is not ready to fly, booting, calibrating, etc. No flag is set. */
	MavModePreflight = 0
	/*MavModeManualDisarmed - System is allowed to be active, under manual (RC) control, no stabilization */
	MavModeManualDisarmed = 64
	/*MavModeTestDisarmed - UNDEFINED mode. This solely depends on the autopilot - use with caution, intended for developers only. */
	MavModeTestDisarmed = 66
	/*MavModeStabilizeDisarmed - System is allowed to be active, under assisted RC control. */
	MavModeStabilizeDisarmed = 80
	/*MavModeGUIDedDisarmed - System is allowed to be active, under autonomous control, manual setpoint */
	MavModeGUIDedDisarmed = 88
	/*MavModeAutoDisarmed - System is allowed to be active, under autonomous control and navigation (the trajectory is decided onboard and not pre-programmed by waypoints) */
	MavModeAutoDisarmed = 92
	/*MavModeManualArmed - System is allowed to be active, under manual (RC) control, no stabilization */
	MavModeManualArmed = 192
	/*MavModeTestArmed - UNDEFINED mode. This solely depends on the autopilot - use with caution, intended for developers only. */
	MavModeTestArmed = 194
	/*MavModeStabilizeArmed - System is allowed to be active, under assisted RC control. */
	MavModeStabilizeArmed = 208
	/*MavModeGUIDedArmed - System is allowed to be active, under autonomous control, manual setpoint */
	MavModeGUIDedArmed = 216
	/*MavModeAutoArmed - System is allowed to be active, under autonomous control and navigation (the trajectory is decided onboard and not pre-programmed by waypoints) */
	MavModeAutoArmed = 220
	/*MavModeEnumEnd -  */
	MavModeEnumEnd = 221
)

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.
View Source
const (
	/*MavStateUninit - Uninitialized system, state is unknown. */
	MavStateUninit = 0
	/*MavStateBoot - System is booting up. */
	MavStateBoot = 1
	/*MavStateCalibrating - System is calibrating and not flight-ready. */
	MavStateCalibrating = 2
	/*MavStateStandby - System is grounded and on standby. It can be launched any time. */
	MavStateStandby = 3
	/*MavStateActive - System is active and might be already airborne. Motors are engaged. */
	MavStateActive = 4
	/*MavStateCritical - System is in a non-normal flight mode. It can however still navigate. */
	MavStateCritical = 5
	/*MavStateEmergency - 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. */
	MavStateEmergency = 6
	/*MavStatePoweroff - System just initialized its power-down sequence, will shut down now. */
	MavStatePoweroff = 7
	/*MavStateFlightTermination - System is terminating itself. */
	MavStateFlightTermination = 8
	/*MavStateEnumEnd -  */
	MavStateEnumEnd = 9
)

MAV_STATE -

View Source
const (
	/*MavCompIDAll - 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. */
	MavCompIDAll = 0
	/*MavCompIDAutopilot1 - System flight controller component ("autopilot"). Only one autopilot is expected in a particular system. */
	MavCompIDAutopilot1 = 1
	/*MavCompIDUser1 - 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. */
	MavCompIDUser1 = 25
	/*MavCompIDUser2 - 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. */
	MavCompIDUser2 = 26
	/*MavCompIDUser3 - 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. */
	MavCompIDUser3 = 27
	/*MavCompIDUser4 - 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. */
	MavCompIDUser4 = 28
	/*MavCompIDUser5 - 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. */
	MavCompIDUser5 = 29
	/*MavCompIDUser6 - 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. */
	MavCompIDUser6 = 30
	/*MavCompIDUser7 - 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. */
	MavCompIDUser7 = 31
	/*MavCompIDUser8 - 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. */
	MavCompIDUser8 = 32
	/*MavCompIDUser9 - 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. */
	MavCompIDUser9 = 33
	/*MavCompIDUser10 - 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. */
	MavCompIDUser10 = 34
	/*MavCompIDUser11 - 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. */
	MavCompIDUser11 = 35
	/*MavCompIDUser12 - 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. */
	MavCompIDUser12 = 36
	/*MavCompIDUser13 - 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. */
	MavCompIDUser13 = 37
	/*MavCompIDUser14 - 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. */
	MavCompIDUser14 = 38
	/*MavCompIDUser15 - 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. */
	MavCompIDUser15 = 39
	/*MavCompIDUse16 - 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. */
	MavCompIDUse16 = 40
	/*MavCompIDUser17 - 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. */
	MavCompIDUser17 = 41
	/*MavCompIDUser18 - 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. */
	MavCompIDUser18 = 42
	/*MavCompIDUser19 - 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. */
	MavCompIDUser19 = 43
	/*MavCompIDUser20 - 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. */
	MavCompIDUser20 = 44
	/*MavCompIDUser21 - 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. */
	MavCompIDUser21 = 45
	/*MavCompIDUser22 - 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. */
	MavCompIDUser22 = 46
	/*MavCompIDUser23 - 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. */
	MavCompIDUser23 = 47
	/*MavCompIDUser24 - 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. */
	MavCompIDUser24 = 48
	/*MavCompIDUser25 - 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. */
	MavCompIDUser25 = 49
	/*MavCompIDUser26 - 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. */
	MavCompIDUser26 = 50
	/*MavCompIDUser27 - 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. */
	MavCompIDUser27 = 51
	/*MavCompIDUser28 - 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. */
	MavCompIDUser28 = 52
	/*MavCompIDUser29 - 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. */
	MavCompIDUser29 = 53
	/*MavCompIDUser30 - 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. */
	MavCompIDUser30 = 54
	/*MavCompIDUser31 - 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. */
	MavCompIDUser31 = 55
	/*MavCompIDUser32 - 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. */
	MavCompIDUser32 = 56
	/*MavCompIDUser33 - 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. */
	MavCompIDUser33 = 57
	/*MavCompIDUser34 - 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. */
	MavCompIDUser34 = 58
	/*MavCompIDUser35 - 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. */
	MavCompIDUser35 = 59
	/*MavCompIDUser36 - 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. */
	MavCompIDUser36 = 60
	/*MavCompIDUser37 - 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. */
	MavCompIDUser37 = 61
	/*MavCompIDUser38 - 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. */
	MavCompIDUser38 = 62
	/*MavCompIDUser39 - 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. */
	MavCompIDUser39 = 63
	/*MavCompIDUser40 - 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. */
	MavCompIDUser40 = 64
	/*MavCompIDUser41 - 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. */
	MavCompIDUser41 = 65
	/*MavCompIDUser42 - 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. */
	MavCompIDUser42 = 66
	/*MavCompIDUser43 - 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. */
	MavCompIDUser43 = 67
	/*MavCompIDUser44 - 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. */
	MavCompIDUser44 = 68
	/*MavCompIDUser45 - 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. */
	MavCompIDUser45 = 69
	/*MavCompIDUser46 - 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. */
	MavCompIDUser46 = 70
	/*MavCompIDUser47 - 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. */
	MavCompIDUser47 = 71
	/*MavCompIDUser48 - 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. */
	MavCompIDUser48 = 72
	/*MavCompIDUser49 - 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. */
	MavCompIDUser49 = 73
	/*MavCompIDUser50 - 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. */
	MavCompIDUser50 = 74
	/*MavCompIDUser51 - 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. */
	MavCompIDUser51 = 75
	/*MavCompIDUser52 - 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. */
	MavCompIDUser52 = 76
	/*MavCompIDUser53 - 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. */
	MavCompIDUser53 = 77
	/*MavCompIDUser54 - 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. */
	MavCompIDUser54 = 78
	/*MavCompIDUser55 - 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. */
	MavCompIDUser55 = 79
	/*MavCompIDUser56 - 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. */
	MavCompIDUser56 = 80
	/*MavCompIDUser57 - 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. */
	MavCompIDUser57 = 81
	/*MavCompIDUser58 - 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. */
	MavCompIDUser58 = 82
	/*MavCompIDUser59 - 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. */
	MavCompIDUser59 = 83
	/*MavCompIDUser60 - 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. */
	MavCompIDUser60 = 84
	/*MavCompIDUser61 - 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. */
	MavCompIDUser61 = 85
	/*MavCompIDUser62 - 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. */
	MavCompIDUser62 = 86
	/*MavCompIDUser63 - 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. */
	MavCompIDUser63 = 87
	/*MavCompIDUser64 - 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. */
	MavCompIDUser64 = 88
	/*MavCompIDUser65 - 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. */
	MavCompIDUser65 = 89
	/*MavCompIDUser66 - 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. */
	MavCompIDUser66 = 90
	/*MavCompIDUser67 - 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. */
	MavCompIDUser67 = 91
	/*MavCompIDUser68 - 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. */
	MavCompIDUser68 = 92
	/*MavCompIDUser69 - 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. */
	MavCompIDUser69 = 93
	/*MavCompIDUser70 - 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. */
	MavCompIDUser70 = 94
	/*MavCompIDUser71 - 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. */
	MavCompIDUser71 = 95
	/*MavCompIDUser72 - 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. */
	MavCompIDUser72 = 96
	/*MavCompIDUser73 - 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. */
	MavCompIDUser73 = 97
	/*MavCompIDUser74 - 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. */
	MavCompIDUser74 = 98
	/*MavCompIDUser75 - 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. */
	MavCompIDUser75 = 99
	/*MavCompIDCamera - Camera #1. */
	MavCompIDCamera = 100
	/*MavCompIDCamera2 - Camera #2. */
	MavCompIDCamera2 = 101
	/*MavCompIDCamera3 - Camera #3. */
	MavCompIDCamera3 = 102
	/*MavCompIDCamera4 - Camera #4. */
	MavCompIDCamera4 = 103
	/*MavCompIDCamera5 - Camera #5. */
	MavCompIDCamera5 = 104
	/*MavCompIDCamera6 - Camera #6. */
	MavCompIDCamera6 = 105
	/*MavCompIDServo1 - Servo #1. */
	MavCompIDServo1 = 140
	/*MavCompIDServo2 - Servo #2. */
	MavCompIDServo2 = 141
	/*MavCompIDServo3 - Servo #3. */
	MavCompIDServo3 = 142
	/*MavCompIDServo4 - Servo #4. */
	MavCompIDServo4 = 143
	/*MavCompIDServo5 - Servo #5. */
	MavCompIDServo5 = 144
	/*MavCompIDServo6 - Servo #6. */
	MavCompIDServo6 = 145
	/*MavCompIDServo7 - Servo #7. */
	MavCompIDServo7 = 146
	/*MavCompIDServo8 - Servo #8. */
	MavCompIDServo8 = 147
	/*MavCompIDServo9 - Servo #9. */
	MavCompIDServo9 = 148
	/*MavCompIDServo10 - Servo #10. */
	MavCompIDServo10 = 149
	/*MavCompIDServo11 - Servo #11. */
	MavCompIDServo11 = 150
	/*MavCompIDServo12 - Servo #12. */
	MavCompIDServo12 = 151
	/*MavCompIDServo13 - Servo #13. */
	MavCompIDServo13 = 152
	/*MavCompIDServo14 - Servo #14. */
	MavCompIDServo14 = 153
	/*MavCompIDGimbal - Gimbal #1. */
	MavCompIDGimbal = 154
	/*MavCompIDLog - Logging component. */
	MavCompIDLog = 155
	/*MavCompIDAdsb - Automatic Dependent Surveillance-Broadcast (ADS-B) component. */
	MavCompIDAdsb = 156
	/*MavCompIDOsd - On Screen Display (OSD) devices for video links. */
	MavCompIDOsd = 157
	/*MavCompIDPeripheral - Generic autopilot peripheral component ID. Meant for devices that do not implement the parameter microservice. */
	MavCompIDPeripheral = 158
	/*MavCompIDQx1Gimbal - Gimbal ID for QX1. */
	MavCompIDQx1Gimbal = 159
	/*MavCompIDFlarm - FLARM collision alert component. */
	MavCompIDFlarm = 160
	/*MavCompIDGimbal2 - Gimbal #2. */
	MavCompIDGimbal2 = 171
	/*MavCompIDGimbal3 - Gimbal #3. */
	MavCompIDGimbal3 = 172
	/*MavCompIDGimbal4 - Gimbal #4 */
	MavCompIDGimbal4 = 173
	/*MavCompIDGimbal5 - Gimbal #5. */
	MavCompIDGimbal5 = 174
	/*MavCompIDGimbal6 - Gimbal #6. */
	MavCompIDGimbal6 = 175
	/*MavCompIDMissionplanner - Component that can generate/supply a mission flight plan (e.g. GCS or developer API). */
	MavCompIDMissionplanner = 190
	/*MavCompIDPathplanner - Component that finds an optimal path between points based on a certain constraint (e.g. minimum snap, shortest path, cost, etc.). */
	MavCompIDPathplanner = 195
	/*MavCompIDObstacleAvoIDance - Component that plans a collision free path between two points. */
	MavCompIDObstacleAvoIDance = 196
	/*MavCompIDVisualInertialOdometry - Component that provides position estimates using VIO techniques. */
	MavCompIDVisualInertialOdometry = 197
	/*MavCompIDPairingManager - Component that manages pairing of vehicle and GCS. */
	MavCompIDPairingManager = 198
	/*MavCompIDIMU - Inertial Measurement Unit (IMU) #1. */
	MavCompIDIMU = 200
	/*MavCompIDIMU2 - Inertial Measurement Unit (IMU) #2. */
	MavCompIDIMU2 = 201
	/*MavCompIDIMU3 - Inertial Measurement Unit (IMU) #3. */
	MavCompIDIMU3 = 202
	/*MavCompIDGPS - GPS #1. */
	MavCompIDGPS = 220
	/*MavCompIDGPS2 - GPS #2. */
	MavCompIDGPS2 = 221
	/*MavCompIDUDPBrIDge - Component to bridge MAVLink to UDP (i.e. from a UART). */
	MavCompIDUDPBrIDge = 240
	/*MavCompIDUartBrIDge - Component to bridge to UART (i.e. from UDP). */
	MavCompIDUartBrIDge = 241
	/*MavCompIDTunnelNode - Component handling TUNNEL messages (e.g. vendor specific GUI of a component). */
	MavCompIDTunnelNode = 242
	/*MavCompIDSystemControl - Component for handling system messages (e.g. to ARM, takeoff, etc.). */
	MavCompIDSystemControl = 250
	/*MavComponentEnumEnd -  */
	MavComponentEnumEnd = 251
)

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.
View Source
const (
	/*MavSysStatusSensor3DGyro - 0x01 3D gyro */
	MavSysStatusSensor3DGyro = 1
	/*MavSysStatusSensor3DAccel - 0x02 3D accelerometer */
	MavSysStatusSensor3DAccel = 2
	/*MavSysStatusSensor3DMag - 0x04 3D magnetometer */
	MavSysStatusSensor3DMag = 4
	/*MavSysStatusSensorAbsolutePressure - 0x08 absolute pressure */
	MavSysStatusSensorAbsolutePressure = 8
	/*MavSysStatusSensorDifferentialPressure - 0x10 differential pressure */
	MavSysStatusSensorDifferentialPressure = 16
	/*MavSysStatusSensorGPS - 0x20 GPS */
	MavSysStatusSensorGPS = 32
	/*MavSysStatusSensorOpticalFlow - 0x40 optical flow */
	MavSysStatusSensorOpticalFlow = 64
	/*MavSysStatusSensorVisionPosition - 0x80 computer vision position */
	MavSysStatusSensorVisionPosition = 128
	/*MavSysStatusSensorLaserPosition - 0x100 laser based position */
	MavSysStatusSensorLaserPosition = 256
	/*MavSysStatusSensorExternalGroundTruth - 0x200 external ground truth (Vicon or Leica) */
	MavSysStatusSensorExternalGroundTruth = 512
	/*MavSysStatusSensorAngularRateControl - 0x400 3D angular rate control */
	MavSysStatusSensorAngularRateControl = 1024
	/*MavSysStatusSensorAttitudeStabilization - 0x800 attitude stabilization */
	MavSysStatusSensorAttitudeStabilization = 2048
	/*MavSysStatusSensorYawPosition - 0x1000 yaw position */
	MavSysStatusSensorYawPosition = 4096
	/*MavSysStatusSensorZAltitudeControl - 0x2000 z/altitude control */
	MavSysStatusSensorZAltitudeControl = 8192
	/*MavSysStatusSensorXyPositionControl - 0x4000 x/y position control */
	MavSysStatusSensorXyPositionControl = 16384
	/*MavSysStatusSensorMotorOutputs - 0x8000 motor outputs / control */
	MavSysStatusSensorMotorOutputs = 32768
	/*MavSysStatusSensorRCReceiver - 0x10000 rc receiver */
	MavSysStatusSensorRCReceiver = 65536
	/*MavSysStatusSensor3DGyro2 - 0x20000 2nd 3D gyro */
	MavSysStatusSensor3DGyro2 = 131072
	/*MavSysStatusSensor3DAccel2 - 0x40000 2nd 3D accelerometer */
	MavSysStatusSensor3DAccel2 = 262144
	/*MavSysStatusSensor3DMag2 - 0x80000 2nd 3D magnetometer */
	MavSysStatusSensor3DMag2 = 524288
	/*MavSysStatusGeofence - 0x100000 geofence */
	MavSysStatusGeofence = 1048576
	/*MavSysStatusAHRS - 0x200000 AHRS subsystem health */
	MavSysStatusAHRS = 2097152
	/*MavSysStatusTerrain - 0x400000 Terrain subsystem health */
	MavSysStatusTerrain = 4194304
	/*MavSysStatusReverseMotor - 0x800000 Motors are reversed */
	MavSysStatusReverseMotor = 8388608
	/*MavSysStatusLogging - 0x1000000 Logging */
	MavSysStatusLogging = 16777216
	/*MavSysStatusSensorBattery - 0x2000000 Battery */
	MavSysStatusSensorBattery = 33554432
	/*MavSysStatusSensorProximity - 0x4000000 Proximity */
	MavSysStatusSensorProximity = 67108864
	/*MavSysStatusSensorSatcom - 0x8000000 Satellite Communication  */
	MavSysStatusSensorSatcom = 134217728
	/*MavSysStatusSensorEnumEnd -  */
	MavSysStatusSensorEnumEnd = 134217729
)

MAV_SYS_STATUS_SENSOR - These encode the sensors whose status is sent as part of the SYS_STATUS message.

View Source
const (
	/*MavFrameGlobal - Global (WGS84) coordinate frame + MSL altitude. First value / x: latitude, second value / y: longitude, third value / z: positive altitude over mean sea level (MSL). */
	MavFrameGlobal = 0
	/*MavFrameLocalNed - Local coordinate frame, Z-down (x: north, y: east, z: down). */
	MavFrameLocalNed = 1
	/*MavFrameMission - NOT a coordinate frame, indicates a mission command. */
	MavFrameMission = 2
	/*MavFrameGlobalRelativeAlt - 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 location. */
	MavFrameGlobalRelativeAlt = 3
	/*MavFrameLocalEnu - Local coordinate frame, Z-up (x: east, y: north, z: up). */
	MavFrameLocalEnu = 4
	/*MavFrameGlobalInt - Global (WGS84) coordinate frame (scaled) + MSL altitude. First value / x: latitude in degrees*1.0e-7, second value / y: longitude in degrees*1.0e-7, third value / z: positive altitude over mean sea level (MSL). */
	MavFrameGlobalInt = 5
	/*MavFrameGlobalRelativeAltInt - Global (WGS84) coordinate frame (scaled) + altitude relative to the home position. First value / x: latitude in degrees*10e-7, second value / y: longitude in degrees*10e-7, third value / z: positive altitude with 0 being at the altitude of the home location. */
	MavFrameGlobalRelativeAltInt = 6
	/*MavFrameLocalOffsetNed - Offset to the current local frame. Anything expressed in this frame should be added to the current local frame position. */
	MavFrameLocalOffsetNed = 7
	/*MavFrameBodyNed - Setpoint in body NED frame. This makes sense if all position control is externalized - e.g. useful to command 2 m/s^2 acceleration to the right. */
	MavFrameBodyNed = 8
	/*MavFrameBodyOffsetNed - Offset in body NED frame. This makes sense if adding setpoints to the current flight path, to avoid an obstacle - e.g. useful to command 2 m/s^2 acceleration to the east. */
	MavFrameBodyOffsetNed = 9
	/*MavFrameGlobalTerrainAlt - 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. */
	MavFrameGlobalTerrainAlt = 10
	/*MavFrameGlobalTerrainAltInt - Global (WGS84) coordinate frame (scaled) with AGL altitude (at the waypoint coordinate). First value / x: latitude in degrees*10e-7, second value / y: longitude in degrees*10e-7, third value / z: positive altitude in meters with 0 being at ground level in terrain model. */
	MavFrameGlobalTerrainAltInt = 11
	/*MavFrameBodyFrd - Body fixed frame of reference, Z-down (x: forward, y: right, z: down). */
	MavFrameBodyFrd = 12
	/*MavFrameBodyFlu - Body fixed frame of reference, Z-up (x: forward, y: left, z: up). */
	MavFrameBodyFlu = 13
	/*MavFrameMocapNed - Odometry local coordinate frame of data given by a motion capture system, Z-down (x: north, y: east, z: down). */
	MavFrameMocapNed = 14
	/*MavFrameMocapEnu - Odometry local coordinate frame of data given by a motion capture system, Z-up (x: east, y: north, z: up). */
	MavFrameMocapEnu = 15
	/*MavFrameVisionNed - Odometry local coordinate frame of data given by a vision estimation system, Z-down (x: north, y: east, z: down). */
	MavFrameVisionNed = 16
	/*MavFrameVisionEnu - Odometry local coordinate frame of data given by a vision estimation system, Z-up (x: east, y: north, z: up). */
	MavFrameVisionEnu = 17
	/*MavFrameEstimNed - Odometry local coordinate frame of data given by an estimator running onboard the vehicle, Z-down (x: north, y: east, z: down). */
	MavFrameEstimNed = 18
	/*MavFrameEstimEnu - Odometry local coordinate frame of data given by an estimator running onboard the vehicle, Z-up (x: east, y: noth, z: up). */
	MavFrameEstimEnu = 19
	/*MavFrameLocalFrd - Forward, Right, Down coordinate frame. This is a local frame with Z-down and arbitrary F/R alignment (i.e. not aligned with NED/earth frame). */
	MavFrameLocalFrd = 20
	/*MavFrameLocalFlu - Forward, Left, Up coordinate frame. This is a local frame with Z-up and arbitrary F/L alignment (i.e. not aligned with ENU/earth frame). */
	MavFrameLocalFlu = 21
	/*MavFrameEnumEnd -  */
	MavFrameEnumEnd = 22
)

MAV_FRAME -

View Source
const (
	/*MavlinkDataStreamImgJpeg -  */
	MavlinkDataStreamImgJpeg = 1
	/*MavlinkDataStreamImgBmp -  */
	MavlinkDataStreamImgBmp = 2
	/*MavlinkDataStreamImgRaw8U -  */
	MavlinkDataStreamImgRaw8U = 3
	/*MavlinkDataStreamImgRaw32U -  */
	MavlinkDataStreamImgRaw32U = 4
	/*MavlinkDataStreamImgPgm -  */
	MavlinkDataStreamImgPgm = 5
	/*MavlinkDataStreamImgPng -  */
	MavlinkDataStreamImgPng = 6
	/*MavlinkDataStreamTypeEnumEnd -  */
	MavlinkDataStreamTypeEnumEnd = 7
)

MAVLINK_DATA_STREAM_TYPE -

View Source
const (
	/*FenceActionNone - Disable fenced mode */
	FenceActionNone = 0
	/*FenceActionGUIDed - Switched to guided mode to return point (fence point 0) */
	FenceActionGUIDed = 1
	/*FenceActionReport - Report fence breach, but don't take action */
	FenceActionReport = 2
	/*FenceActionGUIDedThrPass - Switched to guided mode to return point (fence point 0) with manual throttle control */
	FenceActionGUIDedThrPass = 3
	/*FenceActionRtl - Switch to RTL (return to launch) mode and head for the return point. */
	FenceActionRtl = 4
	/*FenceActionEnumEnd -  */
	FenceActionEnumEnd = 5
)

FENCE_ACTION -

View Source
const (
	/*FenceBreachNone - No last fence breach */
	FenceBreachNone = 0
	/*FenceBreachMinalt - Breached minimum altitude */
	FenceBreachMinalt = 1
	/*FenceBreachMaxalt - Breached maximum altitude */
	FenceBreachMaxalt = 2
	/*FenceBreachBoundary - Breached fence boundary */
	FenceBreachBoundary = 3
	/*FenceBreachEnumEnd -  */
	FenceBreachEnumEnd = 4
)

FENCE_BREACH -

View Source
const (
	/*FenceMitigateUnknown - Unknown */
	FenceMitigateUnknown = 0
	/*FenceMitigateNone - No actions being taken */
	FenceMitigateNone = 1
	/*FenceMitigateVelLimit - Velocity limiting active to prevent breach */
	FenceMitigateVelLimit = 2
	/*FenceMitigateEnumEnd -  */
	FenceMitigateEnumEnd = 3
)

FENCE_MITIGATE - Actions being taken to mitigate/prevent fence breach

View Source
const (
	/*MavMountModeRetract - Load and keep safe position (Roll,Pitch,Yaw) from permant memory and stop stabilization */
	MavMountModeRetract = 0
	/*MavMountModeNeutral - Load and keep neutral position (Roll,Pitch,Yaw) from permanent memory. */
	MavMountModeNeutral = 1
	/*MavMountModeMavlinkTargeting - Load neutral position and start MAVLink Roll,Pitch,Yaw control with stabilization */
	MavMountModeMavlinkTargeting = 2
	/*MavMountModeRCTargeting - Load neutral position and start RC Roll,Pitch,Yaw control with stabilization */
	MavMountModeRCTargeting = 3
	/*MavMountModeGPSPoint - Load neutral position and start to point to Lat,Lon,Alt */
	MavMountModeGPSPoint = 4
	/*MavMountModeSysIDTarget - Gimbal tracks system with specified system ID */
	MavMountModeSysIDTarget = 5
	/*MavMountModeEnumEnd -  */
	MavMountModeEnumEnd = 6
)

MAV_MOUNT_MODE - Enumeration of possible mount operation modes

View Source
const (
	/*UavcanNodeHealthOk - The node is functioning properly. */
	UavcanNodeHealthOk = 0
	/*UavcanNodeHealthWarning - A critical parameter went out of range or the node has encountered a minor failure. */
	UavcanNodeHealthWarning = 1
	/*UavcanNodeHealthError - The node has encountered a major failure. */
	UavcanNodeHealthError = 2
	/*UavcanNodeHealthCritical - The node has suffered a fatal malfunction. */
	UavcanNodeHealthCritical = 3
	/*UavcanNodeHealthEnumEnd -  */
	UavcanNodeHealthEnumEnd = 4
)

UAVCAN_NODE_HEALTH - Generalized UAVCAN node health

View Source
const (
	/*UavcanNodeModeOperational - The node is performing its primary functions. */
	UavcanNodeModeOperational = 0
	/*UavcanNodeModeInitialization - The node is initializing; this mode is entered immediately after startup. */
	UavcanNodeModeInitialization = 1
	/*UavcanNodeModeMaintenance - The node is under maintenance. */
	UavcanNodeModeMaintenance = 2
	/*UavcanNodeModeSoftwareUpdate - The node is in the process of updating its software. */
	UavcanNodeModeSoftwareUpdate = 3
	/*UavcanNodeModeOffline - The node is no longer available online. */
	UavcanNodeModeOffline = 7
	/*UavcanNodeModeEnumEnd -  */
	UavcanNodeModeEnumEnd = 8
)

UAVCAN_NODE_MODE - Generalized UAVCAN node mode

View Source
const (
	/*StorageStatusEmpty - Storage is missing (no microSD card loaded for example.) */
	StorageStatusEmpty = 0
	/*StorageStatusUnformatted - Storage present but unformatted. */
	StorageStatusUnformatted = 1
	/*StorageStatusReady - Storage present and ready. */
	StorageStatusReady = 2
	/*StorageStatusNotSupported - Camera does not supply storage status information. Capacity information in STORAGE_INFORMATION fields will be ignored. */
	StorageStatusNotSupported = 3
	/*StorageStatusEnumEnd -  */
	StorageStatusEnumEnd = 4
)

STORAGE_STATUS - Flags to indicate the status of camera storage.

View Source
const (
	/*OrbitYawBehaviourHoldFrontToCiRCleCenter - Vehicle front points to the center (default). */
	OrbitYawBehaviourHoldFrontToCiRCleCenter = 0
	/*OrbitYawBehaviourHoldInitialHeading - Vehicle front holds heading when message received. */
	OrbitYawBehaviourHoldInitialHeading = 1
	/*OrbitYawBehaviourUncontrolled - Yaw uncontrolled. */
	OrbitYawBehaviourUncontrolled = 2
	/*OrbitYawBehaviourHoldFrontTangentToCiRCle - Vehicle front follows flight path (tangential to circle). */
	OrbitYawBehaviourHoldFrontTangentToCiRCle = 3
	/*OrbitYawBehaviourRCControlled - Yaw controlled by RC input. */
	OrbitYawBehaviourRCControlled = 4
	/*OrbitYawBehaviourEnumEnd -  */
	OrbitYawBehaviourEnumEnd = 5
)

ORBIT_YAW_BEHAVIOUR - Yaw behaviour during orbit flight.

View Source
const (
	/*MavCmdNAVWaypoint - Navigate to waypoint. */
	MavCmdNAVWaypoint = 16
	/*MavCmdNAVLoiterUnlim - Loiter around this waypoint an unlimited amount of time */
	MavCmdNAVLoiterUnlim = 17
	/*MavCmdNAVLoiterTurns - Loiter around this waypoint for X turns */
	MavCmdNAVLoiterTurns = 18
	/*MavCmdNAVLoiterTime - Loiter around this waypoint for X seconds */
	MavCmdNAVLoiterTime = 19
	/*MavCmdNAVReturnToLaunch - Return to launch location */
	MavCmdNAVReturnToLaunch = 20
	/*MavCmdNAVLand - Land at location. */
	MavCmdNAVLand = 21
	/*MavCmdNAVTakeoff - Takeoff from ground / hand */
	MavCmdNAVTakeoff = 22
	/*MavCmdNAVLandLocal - Land at local position (local frame only) */
	MavCmdNAVLandLocal = 23
	/*MavCmdNAVTakeoffLocal - Takeoff from local position (local frame only) */
	MavCmdNAVTakeoffLocal = 24
	/*MavCmdNAVFollow - Vehicle following, i.e. this waypoint represents the position of a moving vehicle */
	MavCmdNAVFollow = 25
	/*MavCmdNAVContinueAndChangeAlt - 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. */
	MavCmdNAVContinueAndChangeAlt = 30
	/*MavCmdNAVLoiterToAlt - 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. */
	MavCmdNAVLoiterToAlt = 31
	/*MavCmdDoFollow - Begin following a target */
	MavCmdDoFollow = 32
	/*MavCmdDoFollowReposition - Reposition the MAV after a follow target command has been sent */
	MavCmdDoFollowReposition = 33
	/*MavCmdDoOrbit - Start orbiting on the circumference of a circle defined by the parameters. Setting any value NaN results in using defaults. */
	MavCmdDoOrbit = 34
	/*MavCmdNAVRoi - Sets the region of interest (ROI) for a sensor set or the vehicle itself. This can then be used by the vehicles control system to control the vehicle attitude and the attitude of various sensors such as cameras. */
	MavCmdNAVRoi = 80
	/*MavCmdNAVPathplanning - Control autonomous path planning on the MAV. */
	MavCmdNAVPathplanning = 81
	/*MavCmdNAVSplineWaypoint - Navigate to waypoint using a spline path. */
	MavCmdNAVSplineWaypoint = 82
	/*MavCmdNAVVtolTakeoff - Takeoff from ground using VTOL mode, and transition to forward flight with specified heading. */
	MavCmdNAVVtolTakeoff = 84
	/*MavCmdNAVVtolLand - Land using VTOL mode */
	MavCmdNAVVtolLand = 85
	/*MavCmdNAVGUIDedEnable - hand control over to an external controller */
	MavCmdNAVGUIDedEnable = 92
	/*MavCmdNAVDelay - Delay the next navigation command a number of seconds or until a specified time */
	MavCmdNAVDelay = 93
	/*MavCmdNAVPayloadPlace - 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. */
	MavCmdNAVPayloadPlace = 94
	/*MavCmdNAVLast - NOP - This command is only used to mark the upper limit of the NAV/ACTION commands in the enumeration */
	MavCmdNAVLast = 95
	/*MavCmdConditionDelay - Delay mission state machine. */
	MavCmdConditionDelay = 112
	/*MavCmdConditionChangeAlt - Ascend/descend at rate.  Delay mission state machine until desired altitude reached. */
	MavCmdConditionChangeAlt = 113
	/*MavCmdConditionDistance - Delay mission state machine until within desired distance of next NAV point. */
	MavCmdConditionDistance = 114
	/*MavCmdConditionYaw - Reach a certain target angle. */
	MavCmdConditionYaw = 115
	/*MavCmdConditionLast - NOP - This command is only used to mark the upper limit of the CONDITION commands in the enumeration */
	MavCmdConditionLast = 159
	/*MavCmdDoSetMode - Set system mode. */
	MavCmdDoSetMode = 176
	/*MavCmdDoJump - Jump to the desired command in the mission list.  Repeat this action only the specified number of times */
	MavCmdDoJump = 177
	/*MavCmdDoChangeSpeed - Change speed and/or throttle set points. */
	MavCmdDoChangeSpeed = 178
	/*MavCmdDoSetHome - Changes the home location either to the current location or a specified location. */
	MavCmdDoSetHome = 179
	/*MavCmdDoSetParameter - Set a system parameter.  Caution!  Use of this command requires knowledge of the numeric enumeration value of the parameter. */
	MavCmdDoSetParameter = 180
	/*MavCmdDoSetRelay - Set a relay to a condition. */
	MavCmdDoSetRelay = 181
	/*MavCmdDoRepeatRelay - Cycle a relay on and off for a desired number of cycles with a desired period. */
	MavCmdDoRepeatRelay = 182
	/*MavCmdDoSetServo - Set a servo to a desired PWM value. */
	MavCmdDoSetServo = 183
	/*MavCmdDoRepeatServo - Cycle a between its nominal setting and a desired PWM for a desired number of cycles with a desired period. */
	MavCmdDoRepeatServo = 184
	/*MavCmdDoFlighttermination - Terminate flight immediately */
	MavCmdDoFlighttermination = 185
	/*MavCmdDoChangeAltitude - Change altitude set point. */
	MavCmdDoChangeAltitude = 186
	/*MavCmdDoLandStart - 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 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. */
	MavCmdDoLandStart = 189
	/*MavCmdDoRallyLand - Mission command to perform a landing from a rally point. */
	MavCmdDoRallyLand = 190
	/*MavCmdDoGoAround - Mission command to safely abort an autonomous landing. */
	MavCmdDoGoAround = 191
	/*MavCmdDoReposition - Reposition the vehicle to a specific WGS84 global position. */
	MavCmdDoReposition = 192
	/*MavCmdDoPauseContinue - If in a GPS controlled position mode, hold the current position or continue. */
	MavCmdDoPauseContinue = 193
	/*MavCmdDoSetReverse - Set moving direction to forward or reverse. */
	MavCmdDoSetReverse = 194
	/*MavCmdDoSetRoiLocation - Sets the region of interest (ROI) to a location. This can then be used by the vehicles control system to control the vehicle attitude and the attitude of various sensors such as cameras. */
	MavCmdDoSetRoiLocation = 195
	/*MavCmdDoSetRoiWpnextOffset - Sets the region of interest (ROI) to be toward next waypoint, with optional pitch/roll/yaw offset. This can then be used by the vehicles control system to control the vehicle attitude and the attitude of various sensors such as cameras. */
	MavCmdDoSetRoiWpnextOffset = 196
	/*MavCmdDoSetRoiNone - Cancels any previous ROI command returning the vehicle/sensors to default flight characteristics. This can then be used by the vehicles control system to control the vehicle attitude and the attitude of various sensors such as cameras. */
	MavCmdDoSetRoiNone = 197
	/*MavCmdDoSetRoiSysID - Mount tracks system with specified system ID. Determination of target vehicle position may be done with GLOBAL_POSITION_INT or any other means. */
	MavCmdDoSetRoiSysID = 198
	/*MavCmdDoControlVIDeo - Control onboard camera system. */
	MavCmdDoControlVIDeo = 200
	/*MavCmdDoSetRoi - Sets the region of interest (ROI) for a sensor set or the vehicle itself. This can then be used by the vehicles control system to control the vehicle attitude and the attitude of various sensors such as cameras. */
	MavCmdDoSetRoi = 201
	/*MavCmdDoDigicamConfigure - 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 ). */
	MavCmdDoDigicamConfigure = 202
	/*MavCmdDoDigicamControl - 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 ). */
	MavCmdDoDigicamControl = 203
	/*MavCmdDoMountConfigure - Mission command to configure a camera or antenna mount */
	MavCmdDoMountConfigure = 204
	/*MavCmdDoMountControl - Mission command to control a camera or antenna mount */
	MavCmdDoMountControl = 205
	/*MavCmdDoSetCamTriggDist - 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. */
	MavCmdDoSetCamTriggDist = 206
	/*MavCmdDoFenceEnable - Mission command to enable the geofence */
	MavCmdDoFenceEnable = 207
	/*MavCmdDoParachute - Mission command to trigger a parachute */
	MavCmdDoParachute = 208
	/*MavCmdDoMotorTest - Mission command to perform motor test. */
	MavCmdDoMotorTest = 209
	/*MavCmdDoInvertedFlight - Change to/from inverted flight. */
	MavCmdDoInvertedFlight = 210
	/*MavCmdNAVSetYawSpeed - Sets a desired vehicle turn angle and speed change. */
	MavCmdNAVSetYawSpeed = 213
	/*MavCmdDoSetCamTriggInterval - 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. */
	MavCmdDoSetCamTriggInterval = 214
	/*MavCmdDoMountControlQuat - Mission command to control a camera or antenna mount, using a quaternion as reference. */
	MavCmdDoMountControlQuat = 220
	/*MavCmdDoGUIDedMaster - set id of master controller */
	MavCmdDoGUIDedMaster = 221
	/*MavCmdDoGUIDedLimits - Set limits for external control */
	MavCmdDoGUIDedLimits = 222
	/*MavCmdDoEngineControl - 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 */
	MavCmdDoEngineControl = 223
	/*MavCmdDoSetMissionCurrent - Set the mission item with sequence number seq as current item. This means that the MAV will continue to this mission item on the shortest path (not following the mission items in-between). */
	MavCmdDoSetMissionCurrent = 224
	/*MavCmdDoLast - NOP - This command is only used to mark the upper limit of the DO commands in the enumeration */
	MavCmdDoLast = 240
	/*MavCmdPreflightCalibration - 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. */
	MavCmdPreflightCalibration = 241
	/*MavCmdPreflightSetSensorOffsets - Set sensor offsets. This command will be only accepted if in pre-flight mode. */
	MavCmdPreflightSetSensorOffsets = 242
	/*MavCmdPreflightUavcan - Trigger UAVCAN config. This command will be only accepted if in pre-flight mode. */
	MavCmdPreflightUavcan = 243
	/*MavCmdPreflightStorage - Request storage of different parameter values and logs. This command will be only accepted if in pre-flight mode. */
	MavCmdPreflightStorage = 245
	/*MavCmdPreflightRebootShutdown - Request the reboot or shutdown of system components. */
	MavCmdPreflightRebootShutdown = 246
	/*MavCmdOverrIDeGoto - 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. */
	MavCmdOverrIDeGoto = 252
	/*MavCmdMissionStart - start running a mission */
	MavCmdMissionStart = 300
	/*MavCmdComponentArmDisarm - Arms / Disarms a component */
	MavCmdComponentArmDisarm = 400
	/*MavCmdIlluminatorOnOff - 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). */
	MavCmdIlluminatorOnOff = 405
	/*MavCmdGetHomePosition - Request the home position from the vehicle. */
	MavCmdGetHomePosition = 410
	/*MavCmdStartRxPair - Starts receiver pairing. */
	MavCmdStartRxPair = 500
	/*MavCmdGetMessageInterval - 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. */
	MavCmdGetMessageInterval = 510
	/*MavCmdSetMessageInterval - Set the interval between messages for a particular MAVLink message ID. This interface replaces REQUEST_DATA_STREAM. */
	MavCmdSetMessageInterval = 511
	/*MavCmdRequestMessage - 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). */
	MavCmdRequestMessage = 512
	/*MavCmdRequestProtocolVersion - Request MAVLink protocol version compatibility */
	MavCmdRequestProtocolVersion = 519
	/*MavCmdRequestAutopilotCapabilities - Request autopilot capabilities. The receiver should ACK the command and then emit its capabilities in an AUTOPILOT_VERSION message */
	MavCmdRequestAutopilotCapabilities = 520
	/*MavCmdRequestCameraInformation - Request camera information (CAMERA_INFORMATION). */
	MavCmdRequestCameraInformation = 521
	/*MavCmdRequestCameraSettings - Request camera settings (CAMERA_SETTINGS). */
	MavCmdRequestCameraSettings = 522
	/*MavCmdRequestStorageInformation - Request storage information (STORAGE_INFORMATION). Use the command's target_component to target a specific component's storage. */
	MavCmdRequestStorageInformation = 525
	/*MavCmdStorageFormat - 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. */
	MavCmdStorageFormat = 526
	/*MavCmdRequestCameraCaptureStatus - Request camera capture status (CAMERA_CAPTURE_STATUS) */
	MavCmdRequestCameraCaptureStatus = 527
	/*MavCmdRequestFlightInformation - Request flight information (FLIGHT_INFORMATION) */
	MavCmdRequestFlightInformation = 528
	/*MavCmdResetCameraSettings - Reset all camera settings to Factory Default */
	MavCmdResetCameraSettings = 529
	/*MavCmdSetCameraMode - 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. */
	MavCmdSetCameraMode = 530
	/*MavCmdSetCameraZoom - Set camera zoom. Camera must respond with a CAMERA_SETTINGS message (on success). Use NaN for reserved values. */
	MavCmdSetCameraZoom = 531
	/*MavCmdSetCameraFocus - Set camera focus. Camera must respond with a CAMERA_SETTINGS message (on success). Use NaN for reserved values. */
	MavCmdSetCameraFocus = 532
	/*MavCmdJumpTag - Tagged jump target. Can be jumped to with MAV_CMD_DO_JUMP_TAG. */
	MavCmdJumpTag = 600
	/*MavCmdDoJumpTag - 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. */
	MavCmdDoJumpTag = 601
	/*MavCmdImageStartCapture - Start image capture sequence. Sends CAMERA_IMAGE_CAPTURED after each capture. Use NaN for reserved values. */
	MavCmdImageStartCapture = 2000
	/*MavCmdImageStopCapture - Stop image capture sequence Use NaN for reserved values. */
	MavCmdImageStopCapture = 2001
	/*MavCmdRequestCameraImageCapture - Re-request a CAMERA_IMAGE_CAPTURE message. Use NaN for reserved values. */
	MavCmdRequestCameraImageCapture = 2002
	/*MavCmdDoTriggerControl - Enable or disable on-board camera triggering system. */
	MavCmdDoTriggerControl = 2003
	/*MavCmdVIDeoStartCapture - Starts video capture (recording). Use NaN for reserved values. */
	MavCmdVIDeoStartCapture = 2500
	/*MavCmdVIDeoStopCapture - Stop the current video capture (recording). Use NaN for reserved values. */
	MavCmdVIDeoStopCapture = 2501
	/*MavCmdVIDeoStartStreaming - Start video streaming */
	MavCmdVIDeoStartStreaming = 2502
	/*MavCmdVIDeoStopStreaming - Stop the given video stream */
	MavCmdVIDeoStopStreaming = 2503
	/*MavCmdRequestVIDeoStreamInformation - Request video stream information (VIDEO_STREAM_INFORMATION) */
	MavCmdRequestVIDeoStreamInformation = 2504
	/*MavCmdRequestVIDeoStreamStatus - Request video stream status (VIDEO_STREAM_STATUS) */
	MavCmdRequestVIDeoStreamStatus = 2505
	/*MavCmdLoggingStart - Request to start streaming logging data over MAVLink (see also LOGGING_DATA message) */
	MavCmdLoggingStart = 2510
	/*MavCmdLoggingStop - Request to stop streaming log data over MAVLink */
	MavCmdLoggingStop = 2511
	/*MavCmdAirframeConfiguration -  */
	MavCmdAirframeConfiguration = 2520
	/*MavCmdControlHighLatency - Request to start/stop transmitting over the high latency telemetry */
	MavCmdControlHighLatency = 2600
	/*MavCmdPanoramaCreate - Create a panorama at the current position */
	MavCmdPanoramaCreate = 2800
	/*MavCmdDoVtolTransition - Request VTOL transition */
	MavCmdDoVtolTransition = 3000
	/*MavCmdArmAuthorizationRequest - 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.
	 */
	MavCmdArmAuthorizationRequest = 3001
	/*MavCmdSetGUIDedSubmodeStandard - 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.
	 */
	MavCmdSetGUIDedSubmodeStandard = 4000
	/*MavCmdSetGUIDedSubmodeCiRCle - 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.
	 */
	MavCmdSetGUIDedSubmodeCiRCle = 4001
	/*MavCmdConditionGate - Delay mission state machine until gate has been reached. */
	MavCmdConditionGate = 4501
	/*MavCmdNAVFenceReturnPoint - Fence return point. There can only be one fence return point.
	 */
	MavCmdNAVFenceReturnPoint = 5000
	/*MavCmdNAVFencePolygonVertexInclusion - 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.
	 */
	MavCmdNAVFencePolygonVertexInclusion = 5001
	/*MavCmdNAVFencePolygonVertexExclusion - 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.
	 */
	MavCmdNAVFencePolygonVertexExclusion = 5002
	/*MavCmdNAVFenceCiRCleInclusion - Circular fence area. The vehicle must stay inside this area.
	 */
	MavCmdNAVFenceCiRCleInclusion = 5003
	/*MavCmdNAVFenceCiRCleExclusion - Circular fence area. The vehicle must stay outside this area.
	 */
	MavCmdNAVFenceCiRCleExclusion = 5004
	/*MavCmdNAVRallyPoint - Rally point. You can have multiple rally points defined.
	 */
	MavCmdNAVRallyPoint = 5100
	/*MavCmdUavcanGetNodeInfo - 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. */
	MavCmdUavcanGetNodeInfo = 5200
	/*MavCmdPayloadPrepareDeploy - Deploy payload on a Lat / Lon / Alt position. This includes the navigation to reach the required release position and velocity. */
	MavCmdPayloadPrepareDeploy = 30001
	/*MavCmdPayloadControlDeploy - Control the payload deployment. */
	MavCmdPayloadControlDeploy = 30002
	/*MavCmdWaypointUser1 - User defined waypoint item. Ground Station will show the Vehicle as flying through this item. */
	MavCmdWaypointUser1 = 31000
	/*MavCmdWaypointUser2 - User defined waypoint item. Ground Station will show the Vehicle as flying through this item. */
	MavCmdWaypointUser2 = 31001
	/*MavCmdWaypointUser3 - User defined waypoint item. Ground Station will show the Vehicle as flying through this item. */
	MavCmdWaypointUser3 = 31002
	/*MavCmdWaypointUser4 - User defined waypoint item. Ground Station will show the Vehicle as flying through this item. */
	MavCmdWaypointUser4 = 31003
	/*MavCmdWaypointUser5 - User defined waypoint item. Ground Station will show the Vehicle as flying through this item. */
	MavCmdWaypointUser5 = 31004
	/*MavCmdSpatialUser1 - User defined spatial item. Ground Station will not show the Vehicle as flying through this item. Example: ROI item. */
	MavCmdSpatialUser1 = 31005
	/*MavCmdSpatialUser2 - User defined spatial item. Ground Station will not show the Vehicle as flying through this item. Example: ROI item. */
	MavCmdSpatialUser2 = 31006
	/*MavCmdSpatialUser3 - User defined spatial item. Ground Station will not show the Vehicle as flying through this item. Example: ROI item. */
	MavCmdSpatialUser3 = 31007
	/*MavCmdSpatialUser4 - User defined spatial item. Ground Station will not show the Vehicle as flying through this item. Example: ROI item. */
	MavCmdSpatialUser4 = 31008
	/*MavCmdSpatialUser5 - User defined spatial item. Ground Station will not show the Vehicle as flying through this item. Example: ROI item. */
	MavCmdSpatialUser5 = 31009
	/*MavCmdUser1 - User defined command. Ground Station will not show the Vehicle as flying through this item. Example: MAV_CMD_DO_SET_PARAMETER item. */
	MavCmdUser1 = 31010
	/*MavCmdUser2 - User defined command. Ground Station will not show the Vehicle as flying through this item. Example: MAV_CMD_DO_SET_PARAMETER item. */
	MavCmdUser2 = 31011
	/*MavCmdUser3 - User defined command. Ground Station will not show the Vehicle as flying through this item. Example: MAV_CMD_DO_SET_PARAMETER item. */
	MavCmdUser3 = 31012
	/*MavCmdUser4 - User defined command. Ground Station will not show the Vehicle as flying through this item. Example: MAV_CMD_DO_SET_PARAMETER item. */
	MavCmdUser4 = 31013
	/*MavCmdUser5 - User defined command. Ground Station will not show the Vehicle as flying through this item. Example: MAV_CMD_DO_SET_PARAMETER item. */
	MavCmdUser5 = 31014
	/*MavCmdEnumEnd -  */
	MavCmdEnumEnd = 31015
)

MAV_CMD - 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. See https://mavlink.io/en/guide/xml_schema.html#MAV_CMD for information about the structure of the MAV_CMD entries

View Source
const (
	/*MavDataStreamAll - Enable all data streams */
	MavDataStreamAll = 0
	/*MavDataStreamRawSensors - Enable IMU_RAW, GPS_RAW, GPS_STATUS packets. */
	MavDataStreamRawSensors = 1
	/*MavDataStreamExtendedStatus - Enable GPS_STATUS, CONTROL_STATUS, AUX_STATUS */
	MavDataStreamExtendedStatus = 2
	/*MavDataStreamRCChannels - Enable RC_CHANNELS_SCALED, RC_CHANNELS_RAW, SERVO_OUTPUT_RAW */
	MavDataStreamRCChannels = 3
	/*MavDataStreamRawController - Enable ATTITUDE_CONTROLLER_OUTPUT, POSITION_CONTROLLER_OUTPUT, NAV_CONTROLLER_OUTPUT. */
	MavDataStreamRawController = 4
	/*MavDataStreamPosition - Enable LOCAL_POSITION, GLOBAL_POSITION/GLOBAL_POSITION_INT messages. */
	MavDataStreamPosition = 6
	/*MavDataStreamExtra1 - Dependent on the autopilot */
	MavDataStreamExtra1 = 10
	/*MavDataStreamExtra2 - Dependent on the autopilot */
	MavDataStreamExtra2 = 11
	/*MavDataStreamExtra3 - Dependent on the autopilot */
	MavDataStreamExtra3 = 12
	/*MavDataStreamEnumEnd -  */
	MavDataStreamEnumEnd = 13
)

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.
View Source
const (
	/*MavRoiNone - No region of interest. */
	MavRoiNone = 0
	/*MavRoiWpnext - Point toward next waypoint, with optional pitch/roll/yaw offset. */
	MavRoiWpnext = 1
	/*MavRoiWpindex - Point toward given waypoint. */
	MavRoiWpindex = 2
	/*MavRoiLocation - Point toward fixed location. */
	MavRoiLocation = 3
	/*MavRoiTarget - Point toward of given id. */
	MavRoiTarget = 4
	/*MavRoiEnumEnd -  */
	MavRoiEnumEnd = 5
)

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).
View Source
const (
	/*MavCmdAckOk - Command / mission item is ok. */
	MavCmdAckOk = 1
	/*MavCmdAckErrFail - Generic error message if none of the other reasons fails or if no detailed error reporting is implemented. */
	MavCmdAckErrFail = 2
	/*MavCmdAckErrAccessDenied - The system is refusing to accept this command from this source / communication partner. */
	MavCmdAckErrAccessDenied = 3
	/*MavCmdAckErrNotSupported - Command or mission item is not supported, other commands would be accepted. */
	MavCmdAckErrNotSupported = 4
	/*MavCmdAckErrCoordinateFrameNotSupported - The coordinate frame of this command / mission item is not supported. */
	MavCmdAckErrCoordinateFrameNotSupported = 5
	/*MavCmdAckErrCoordinatesOutOfRange - 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. */
	MavCmdAckErrCoordinatesOutOfRange = 6
	/*MavCmdAckErrXLatOutOfRange - The X or latitude value is out of range. */
	MavCmdAckErrXLatOutOfRange = 7
	/*MavCmdAckErrYLonOutOfRange - The Y or longitude value is out of range. */
	MavCmdAckErrYLonOutOfRange = 8
	/*MavCmdAckErrZAltOutOfRange - The Z or altitude value is out of range. */
	MavCmdAckErrZAltOutOfRange = 9
	/*MavCmdAckEnumEnd -  */
	MavCmdAckEnumEnd = 10
)

MAV_CMD_ACK - ACK / NACK / ERROR values as a result of MAV_CMDs and for mission item transmission.

View Source
const (
	/*MavParamTypeUint8 - 8-bit unsigned integer */
	MavParamTypeUint8 = 1
	/*MavParamTypeInt8 - 8-bit signed integer */
	MavParamTypeInt8 = 2
	/*MavParamTypeUint16 - 16-bit unsigned integer */
	MavParamTypeUint16 = 3
	/*MavParamTypeInt16 - 16-bit signed integer */
	MavParamTypeInt16 = 4
	/*MavParamTypeUint32 - 32-bit unsigned integer */
	MavParamTypeUint32 = 5
	/*MavParamTypeInt32 - 32-bit signed integer */
	MavParamTypeInt32 = 6
	/*MavParamTypeUint64 - 64-bit unsigned integer */
	MavParamTypeUint64 = 7
	/*MavParamTypeInt64 - 64-bit signed integer */
	MavParamTypeInt64 = 8
	/*MavParamTypeReal32 - 32-bit floating-point */
	MavParamTypeReal32 = 9
	/*MavParamTypeReal64 - 64-bit floating-point */
	MavParamTypeReal64 = 10
	/*MavParamTypeEnumEnd -  */
	MavParamTypeEnumEnd = 11
)

MAV_PARAM_TYPE - Specifies the datatype of a MAVLink parameter.

View Source
const (
	/*MavParamExtTypeUint8 - 8-bit unsigned integer */
	MavParamExtTypeUint8 = 1
	/*MavParamExtTypeInt8 - 8-bit signed integer */
	MavParamExtTypeInt8 = 2
	/*MavParamExtTypeUint16 - 16-bit unsigned integer */
	MavParamExtTypeUint16 = 3
	/*MavParamExtTypeInt16 - 16-bit signed integer */
	MavParamExtTypeInt16 = 4
	/*MavParamExtTypeUint32 - 32-bit unsigned integer */
	MavParamExtTypeUint32 = 5
	/*MavParamExtTypeInt32 - 32-bit signed integer */
	MavParamExtTypeInt32 = 6
	/*MavParamExtTypeUint64 - 64-bit unsigned integer */
	MavParamExtTypeUint64 = 7
	/*MavParamExtTypeInt64 - 64-bit signed integer */
	MavParamExtTypeInt64 = 8
	/*MavParamExtTypeReal32 - 32-bit floating-point */
	MavParamExtTypeReal32 = 9
	/*MavParamExtTypeReal64 - 64-bit floating-point */
	MavParamExtTypeReal64 = 10
	/*MavParamExtTypeCustom - Custom Type */
	MavParamExtTypeCustom = 11
	/*MavParamExtTypeEnumEnd -  */
	MavParamExtTypeEnumEnd = 12
)

MAV_PARAM_EXT_TYPE - Specifies the datatype of a MAVLink extended parameter.

View Source
const (
	/*MavResultAccepted - Command is valid (is supported and has valid parameters), and was executed. */
	MavResultAccepted = 0
	/*MavResultTemporarilyRejected - 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. */
	MavResultTemporarilyRejected = 1
	/*MavResultDenied - Command is invalid (is supported but has invalid parameters). Retrying same command and parameters will not work. */
	MavResultDenied = 2
	/*MavResultUnsupported - Command is not supported (unknown). */
	MavResultUnsupported = 3
	/*MavResultFailed - 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. */
	MavResultFailed = 4
	/*MavResultInProgress - 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. There is no need for the sender to retry the command, but if done during execution, the component will return MAV_RESULT_IN_PROGRESS with an updated progress. */
	MavResultInProgress = 5
	/*MavResultEnumEnd -  */
	MavResultEnumEnd = 6
)

MAV_RESULT - Result from a MAVLink command (MAV_CMD)

View Source
const (
	/*MavMissionAccepted - mission accepted OK */
	MavMissionAccepted = 0
	/*MavMissionError - Generic error / not accepting mission commands at all right now. */
	MavMissionError = 1
	/*MavMissionUnsupportedFrame - Coordinate frame is not supported. */
	MavMissionUnsupportedFrame = 2
	/*MavMissionUnsupported - Command is not supported. */
	MavMissionUnsupported = 3
	/*MavMissionNoSpace - Mission item exceeds storage space. */
	MavMissionNoSpace = 4
	/*MavMissionInvalID - One of the parameters has an invalid value. */
	MavMissionInvalID = 5
	/*MavMissionInvalIDParam1 - param1 has an invalid value. */
	MavMissionInvalIDParam1 = 6
	/*MavMissionInvalIDParam2 - param2 has an invalid value. */
	MavMissionInvalIDParam2 = 7
	/*MavMissionInvalIDParam3 - param3 has an invalid value. */
	MavMissionInvalIDParam3 = 8
	/*MavMissionInvalIDParam4 - param4 has an invalid value. */
	MavMissionInvalIDParam4 = 9
	/*MavMissionInvalIDParam5X - x / param5 has an invalid value. */
	MavMissionInvalIDParam5X = 10
	/*MavMissionInvalIDParam6Y - y / param6 has an invalid value. */
	MavMissionInvalIDParam6Y = 11
	/*MavMissionInvalIDParam7 - z / param7 has an invalid value. */
	MavMissionInvalIDParam7 = 12
	/*MavMissionInvalIDSequence - Mission item received out of sequence */
	MavMissionInvalIDSequence = 13
	/*MavMissionDenied - Not accepting any mission commands from this communication partner. */
	MavMissionDenied = 14
	/*MavMissionOperationCancelled - Current mission operation cancelled (e.g. mission upload, mission download). */
	MavMissionOperationCancelled = 15
	/*MavMissionResultEnumEnd -  */
	MavMissionResultEnumEnd = 16
)

MAV_MISSION_RESULT - Result of mission operation (in a MISSION_ACK message).

View Source
const (
	/*MavSeverityEmergency - System is unusable. This is a "panic" condition. */
	MavSeverityEmergency = 0
	/*MavSeverityAlert - Action should be taken immediately. Indicates error in non-critical systems. */
	MavSeverityAlert = 1
	/*MavSeverityCritical - Action must be taken immediately. Indicates failure in a primary system. */
	MavSeverityCritical = 2
	/*MavSeverityError - Indicates an error in secondary/redundant systems. */
	MavSeverityError = 3
	/*MavSeverityWarning - Indicates about a possible future error if this is not resolved within a given timeframe. Example would be a low battery warning. */
	MavSeverityWarning = 4
	/*MavSeverityNotice - An unusual event has occurred, though not an error condition. This should be investigated for the root cause. */
	MavSeverityNotice = 5
	/*MavSeverityInfo - Normal operational messages. Useful for logging. No action is required for these messages. */
	MavSeverityInfo = 6
	/*MavSeverityDebug - Useful non-operational messages that can assist in debugging. These should not occur during normal operation. */
	MavSeverityDebug = 7
	/*MavSeverityEnumEnd -  */
	MavSeverityEnumEnd = 8
)

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/.

View Source
const (
	/*MavPowerStatusBrickValID - main brick power supply valid */
	MavPowerStatusBrickValID = 1
	/*MavPowerStatusServoValID - main servo power supply valid for FMU */
	MavPowerStatusServoValID = 2
	/*MavPowerStatusUsbConnected - USB power is connected */
	MavPowerStatusUsbConnected = 4
	/*MavPowerStatusPeriphOveRCurrent - peripheral supply is in over-current state */
	MavPowerStatusPeriphOveRCurrent = 8
	/*MavPowerStatusPeriphHipowerOveRCurrent - hi-power peripheral supply is in over-current state */
	MavPowerStatusPeriphHipowerOveRCurrent = 16
	/*MavPowerStatusChanged - Power status has changed since boot */
	MavPowerStatusChanged = 32
	/*MavPowerStatusEnumEnd -  */
	MavPowerStatusEnumEnd = 33
)

MAV_POWER_STATUS - Power supply status flags (bitmask)

View Source
const (
	/*SerialControlDevTelem1 - First telemetry port */
	SerialControlDevTelem1 = 0
	/*SerialControlDevTelem2 - Second telemetry port */
	SerialControlDevTelem2 = 1
	/*SerialControlDevGPS1 - First GPS port */
	SerialControlDevGPS1 = 2
	/*SerialControlDevGPS2 - Second GPS port */
	SerialControlDevGPS2 = 3
	/*SerialControlDevShell - system shell */
	SerialControlDevShell = 10
	/*SerialControlSerial0 - SERIAL0 */
	SerialControlSerial0 = 100
	/*SerialControlSerial1 - SERIAL1 */
	SerialControlSerial1 = 101
	/*SerialControlSerial2 - SERIAL2 */
	SerialControlSerial2 = 102
	/*SerialControlSerial3 - SERIAL3 */
	SerialControlSerial3 = 103
	/*SerialControlSerial4 - SERIAL4 */
	SerialControlSerial4 = 104
	/*SerialControlSerial5 - SERIAL5 */
	SerialControlSerial5 = 105
	/*SerialControlSerial6 - SERIAL6 */
	SerialControlSerial6 = 106
	/*SerialControlSerial7 - SERIAL7 */
	SerialControlSerial7 = 107
	/*SerialControlSerial8 - SERIAL8 */
	SerialControlSerial8 = 108
	/*SerialControlSerial9 - SERIAL9 */
	SerialControlSerial9 = 109
	/*SerialControlDevEnumEnd -  */
	SerialControlDevEnumEnd = 110
)

SERIAL_CONTROL_DEV - SERIAL_CONTROL device types

View Source
const (
	/*SerialControlFlagReply - Set if this is a reply */
	SerialControlFlagReply = 1
	/*SerialControlFlagRespond - Set if the sender wants the receiver to send a response as another SERIAL_CONTROL message */
	SerialControlFlagRespond = 2
	/*SerialControlFlagExclusive - 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 */
	SerialControlFlagExclusive = 4
	/*SerialControlFlagBlocking - Block on writes to the serial port */
	SerialControlFlagBlocking = 8
	/*SerialControlFlagMulti - Send multiple replies until port is drained */
	SerialControlFlagMulti = 16
	/*SerialControlFlagEnumEnd -  */
	SerialControlFlagEnumEnd = 17
)

SERIAL_CONTROL_FLAG - SERIAL_CONTROL flags (bitmask)

View Source
const (
	/*MavDistanceSensorLaser - Laser rangefinder, e.g. LightWare SF02/F or PulsedLight units */
	MavDistanceSensorLaser = 0
	/*MavDistanceSensorUltrasound - Ultrasound rangefinder, e.g. MaxBotix units */
	MavDistanceSensorUltrasound = 1
	/*MavDistanceSensorInfrared - Infrared rangefinder, e.g. Sharp units */
	MavDistanceSensorInfrared = 2
	/*MavDistanceSensorRadar - Radar type, e.g. uLanding units */
	MavDistanceSensorRadar = 3
	/*MavDistanceSensorUnknown - Broken or unknown type, e.g. analog units */
	MavDistanceSensorUnknown = 4
	/*MavDistanceSensorEnumEnd -  */
	MavDistanceSensorEnumEnd = 5
)

MAV_DISTANCE_SENSOR - Enumeration of distance sensor types

View Source
const (
	/*MavSensorRotationNone - Roll: 0, Pitch: 0, Yaw: 0 */
	MavSensorRotationNone = 0
	/*MavSensorRotationYaw45 - Roll: 0, Pitch: 0, Yaw: 45 */
	MavSensorRotationYaw45 = 1
	/*MavSensorRotationYaw90 - Roll: 0, Pitch: 0, Yaw: 90 */
	MavSensorRotationYaw90 = 2
	/*MavSensorRotationYaw135 - Roll: 0, Pitch: 0, Yaw: 135 */
	MavSensorRotationYaw135 = 3
	/*MavSensorRotationYaw180 - Roll: 0, Pitch: 0, Yaw: 180 */
	MavSensorRotationYaw180 = 4
	/*MavSensorRotationYaw225 - Roll: 0, Pitch: 0, Yaw: 225 */
	MavSensorRotationYaw225 = 5
	/*MavSensorRotationYaw270 - Roll: 0, Pitch: 0, Yaw: 270 */
	MavSensorRotationYaw270 = 6
	/*MavSensorRotationYaw315 - Roll: 0, Pitch: 0, Yaw: 315 */
	MavSensorRotationYaw315 = 7
	/*MavSensorRotationRoll180 - Roll: 180, Pitch: 0, Yaw: 0 */
	MavSensorRotationRoll180 = 8
	/*MavSensorRotationRoll180Yaw45 - Roll: 180, Pitch: 0, Yaw: 45 */
	MavSensorRotationRoll180Yaw45 = 9
	/*MavSensorRotationRoll180Yaw90 - Roll: 180, Pitch: 0, Yaw: 90 */
	MavSensorRotationRoll180Yaw90 = 10
	/*MavSensorRotationRoll180Yaw135 - Roll: 180, Pitch: 0, Yaw: 135 */
	MavSensorRotationRoll180Yaw135 = 11
	/*MavSensorRotationPitch180 - Roll: 0, Pitch: 180, Yaw: 0 */
	MavSensorRotationPitch180 = 12
	/*MavSensorRotationRoll180Yaw225 - Roll: 180, Pitch: 0, Yaw: 225 */
	MavSensorRotationRoll180Yaw225 = 13
	/*MavSensorRotationRoll180Yaw270 - Roll: 180, Pitch: 0, Yaw: 270 */
	MavSensorRotationRoll180Yaw270 = 14
	/*MavSensorRotationRoll180Yaw315 - Roll: 180, Pitch: 0, Yaw: 315 */
	MavSensorRotationRoll180Yaw315 = 15
	/*MavSensorRotationRoll90 - Roll: 90, Pitch: 0, Yaw: 0 */
	MavSensorRotationRoll90 = 16
	/*MavSensorRotationRoll90Yaw45 - Roll: 90, Pitch: 0, Yaw: 45 */
	MavSensorRotationRoll90Yaw45 = 17
	/*MavSensorRotationRoll90Yaw90 - Roll: 90, Pitch: 0, Yaw: 90 */
	MavSensorRotationRoll90Yaw90 = 18
	/*MavSensorRotationRoll90Yaw135 - Roll: 90, Pitch: 0, Yaw: 135 */
	MavSensorRotationRoll90Yaw135 = 19
	/*MavSensorRotationRoll270 - Roll: 270, Pitch: 0, Yaw: 0 */
	MavSensorRotationRoll270 = 20
	/*MavSensorRotationRoll270Yaw45 - Roll: 270, Pitch: 0, Yaw: 45 */
	MavSensorRotationRoll270Yaw45 = 21
	/*MavSensorRotationRoll270Yaw90 - Roll: 270, Pitch: 0, Yaw: 90 */
	MavSensorRotationRoll270Yaw90 = 22
	/*MavSensorRotationRoll270Yaw135 - Roll: 270, Pitch: 0, Yaw: 135 */
	MavSensorRotationRoll270Yaw135 = 23
	/*MavSensorRotationPitch90 - Roll: 0, Pitch: 90, Yaw: 0 */
	MavSensorRotationPitch90 = 24
	/*MavSensorRotationPitch270 - Roll: 0, Pitch: 270, Yaw: 0 */
	MavSensorRotationPitch270 = 25
	/*MavSensorRotationPitch180Yaw90 - Roll: 0, Pitch: 180, Yaw: 90 */
	MavSensorRotationPitch180Yaw90 = 26
	/*MavSensorRotationPitch180Yaw270 - Roll: 0, Pitch: 180, Yaw: 270 */
	MavSensorRotationPitch180Yaw270 = 27
	/*MavSensorRotationRoll90Pitch90 - Roll: 90, Pitch: 90, Yaw: 0 */
	MavSensorRotationRoll90Pitch90 = 28
	/*MavSensorRotationRoll180Pitch90 - Roll: 180, Pitch: 90, Yaw: 0 */
	MavSensorRotationRoll180Pitch90 = 29
	/*MavSensorRotationRoll270Pitch90 - Roll: 270, Pitch: 90, Yaw: 0 */
	MavSensorRotationRoll270Pitch90 = 30
	/*MavSensorRotationRoll90Pitch180 - Roll: 90, Pitch: 180, Yaw: 0 */
	MavSensorRotationRoll90Pitch180 = 31
	/*MavSensorRotationRoll270Pitch180 - Roll: 270, Pitch: 180, Yaw: 0 */
	MavSensorRotationRoll270Pitch180 = 32
	/*MavSensorRotationRoll90Pitch270 - Roll: 90, Pitch: 270, Yaw: 0 */
	MavSensorRotationRoll90Pitch270 = 33
	/*MavSensorRotationRoll180Pitch270 - Roll: 180, Pitch: 270, Yaw: 0 */
	MavSensorRotationRoll180Pitch270 = 34
	/*MavSensorRotationRoll270Pitch270 - Roll: 270, Pitch: 270, Yaw: 0 */
	MavSensorRotationRoll270Pitch270 = 35
	/*MavSensorRotationRoll90Pitch180Yaw90 - Roll: 90, Pitch: 180, Yaw: 90 */
	MavSensorRotationRoll90Pitch180Yaw90 = 36
	/*MavSensorRotationRoll90Yaw270 - Roll: 90, Pitch: 0, Yaw: 270 */
	MavSensorRotationRoll90Yaw270 = 37
	/*MavSensorRotationRoll90Pitch68Yaw293 - Roll: 90, Pitch: 68, Yaw: 293 */
	MavSensorRotationRoll90Pitch68Yaw293 = 38
	/*MavSensorRotationPitch315 - Pitch: 315 */
	MavSensorRotationPitch315 = 39
	/*MavSensorRotationRoll90Pitch315 - Roll: 90, Pitch: 315 */
	MavSensorRotationRoll90Pitch315 = 40
	/*MavSensorRotationCustom - Custom orientation */
	MavSensorRotationCustom = 100
	/*MavSensorOrientationEnumEnd -  */
	MavSensorOrientationEnumEnd = 101
)

MAV_SENSOR_ORIENTATION - Enumeration of sensor orientation, according to its rotations

View Source
const (
	/*MavProtocolCapabilityMissionFloat - Autopilot supports MISSION float message type. */
	MavProtocolCapabilityMissionFloat = 1
	/*MavProtocolCapabilityParamFloat - Autopilot supports the new param float message type. */
	MavProtocolCapabilityParamFloat = 2
	/*MavProtocolCapabilityMissionInt - Autopilot supports MISSION_INT scaled integer message type. */
	MavProtocolCapabilityMissionInt = 4
	/*MavProtocolCapabilityCommandInt - Autopilot supports COMMAND_INT scaled integer message type. */
	MavProtocolCapabilityCommandInt = 8
	/*MavProtocolCapabilityParamUnion - Autopilot supports the new param union message type. */
	MavProtocolCapabilityParamUnion = 16
	/*MavProtocolCapabilityFtp - Autopilot supports the new FILE_TRANSFER_PROTOCOL message type. */
	MavProtocolCapabilityFtp = 32
	/*MavProtocolCapabilitySetAttitudeTarget - Autopilot supports commanding attitude offboard. */
	MavProtocolCapabilitySetAttitudeTarget = 64
	/*MavProtocolCapabilitySetPositionTargetLocalNed - Autopilot supports commanding position and velocity targets in local NED frame. */
	MavProtocolCapabilitySetPositionTargetLocalNed = 128
	/*MavProtocolCapabilitySetPositionTargetGlobalInt - Autopilot supports commanding position and velocity targets in global scaled integers. */
	MavProtocolCapabilitySetPositionTargetGlobalInt = 256
	/*MavProtocolCapabilityTerrain - Autopilot supports terrain protocol / data handling. */
	MavProtocolCapabilityTerrain = 512
	/*MavProtocolCapabilitySetActuatorTarget - Autopilot supports direct actuator control. */
	MavProtocolCapabilitySetActuatorTarget = 1024
	/*MavProtocolCapabilityFlightTermination - Autopilot supports the flight termination command. */
	MavProtocolCapabilityFlightTermination = 2048
	/*MavProtocolCapabilityCompassCalibration - Autopilot supports onboard compass calibration. */
	MavProtocolCapabilityCompassCalibration = 4096
	/*MavProtocolCapabilityMavlink2 - Autopilot supports MAVLink version 2. */
	MavProtocolCapabilityMavlink2 = 8192
	/*MavProtocolCapabilityMissionFence - Autopilot supports mission fence protocol. */
	MavProtocolCapabilityMissionFence = 16384
	/*MavProtocolCapabilityMissionRally - Autopilot supports mission rally point protocol. */
	MavProtocolCapabilityMissionRally = 32768
	/*MavProtocolCapabilityFlightInformation - Autopilot supports the flight information protocol. */
	MavProtocolCapabilityFlightInformation = 65536
	/*MavProtocolCapabilityEnumEnd -  */
	MavProtocolCapabilityEnumEnd = 65537
)

MAV_PROTOCOL_CAPABILITY - Bitmask of (optional) autopilot capabilities (64 bit). If a bit is set, the autopilot supports this capability.

View Source
const (
	/*MavMissionTypeMission - Items are mission commands for main mission. */
	MavMissionTypeMission = 0
	/*MavMissionTypeFence - Specifies GeoFence area(s). Items are MAV_CMD_NAV_FENCE_ GeoFence items. */
	MavMissionTypeFence = 1
	/*MavMissionTypeRally - Specifies the rally points for the vehicle. Rally points are alternative RTL points. Items are MAV_CMD_NAV_RALLY_POINT rally point items. */
	MavMissionTypeRally = 2
	/*MavMissionTypeAll - Only used in MISSION_CLEAR_ALL to clear all mission types. */
	MavMissionTypeAll = 255
	/*MavMissionTypeEnumEnd -  */
	MavMissionTypeEnumEnd = 256
)

MAV_MISSION_TYPE - Type of mission items being requested/sent in mission protocol.

View Source
const (
	/*MavEstimatorTypeUnknown - Unknown type of the estimator. */
	MavEstimatorTypeUnknown = 0
	/*MavEstimatorTypeNaive - This is a naive estimator without any real covariance feedback. */
	MavEstimatorTypeNaive = 1
	/*MavEstimatorTypeVision - Computer vision based estimate. Might be up to scale. */
	MavEstimatorTypeVision = 2
	/*MavEstimatorTypeVio - Visual-inertial estimate. */
	MavEstimatorTypeVio = 3
	/*MavEstimatorTypeGPS - Plain GPS estimate. */
	MavEstimatorTypeGPS = 4
	/*MavEstimatorTypeGPSIns - Estimator integrating GPS and inertial sensing. */
	MavEstimatorTypeGPSIns = 5
	/*MavEstimatorTypeMocap - Estimate from external motion capturing system. */
	MavEstimatorTypeMocap = 6
	/*MavEstimatorTypeLIDar - Estimator based on lidar sensor input. */
	MavEstimatorTypeLIDar = 7
	/*MavEstimatorTypeAutopilot - Estimator on autopilot. */
	MavEstimatorTypeAutopilot = 8
	/*MavEstimatorTypeEnumEnd -  */
	MavEstimatorTypeEnumEnd = 9
)

MAV_ESTIMATOR_TYPE - Enumeration of estimator types

View Source
const (
	/*MavBatteryTypeUnknown - Not specified. */
	MavBatteryTypeUnknown = 0
	/*MavBatteryTypeLipo - Lithium polymer battery */
	MavBatteryTypeLipo = 1
	/*MavBatteryTypeLife - Lithium-iron-phosphate battery */
	MavBatteryTypeLife = 2
	/*MavBatteryTypeLion - Lithium-ION battery */
	MavBatteryTypeLion = 3
	/*MavBatteryTypeNimh - Nickel metal hydride battery */
	MavBatteryTypeNimh = 4
	/*MavBatteryTypeEnumEnd -  */
	MavBatteryTypeEnumEnd = 5
)

MAV_BATTERY_TYPE - Enumeration of battery types

View Source
const (
	/*MavBatteryFunctionUnknown - Battery function is unknown */
	MavBatteryFunctionUnknown = 0
	/*MavBatteryFunctionAll - Battery supports all flight systems */
	MavBatteryFunctionAll = 1
	/*MavBatteryFunctionPropulsion - Battery for the propulsion system */
	MavBatteryFunctionPropulsion = 2
	/*MavBatteryFunctionAvionics - Avionics battery */
	MavBatteryFunctionAvionics = 3
	/*MavBatteryTypePayload - Payload battery */
	MavBatteryTypePayload = 4
	/*MavBatteryFunctionEnumEnd -  */
	MavBatteryFunctionEnumEnd = 5
)

MAV_BATTERY_FUNCTION - Enumeration of battery functions

View Source
const (
	/*MavBatteryChargeStateUndefined - Low battery state is not provided */
	MavBatteryChargeStateUndefined = 0
	/*MavBatteryChargeStateOk - Battery is not in low state. Normal operation. */
	MavBatteryChargeStateOk = 1
	/*MavBatteryChargeStateLow - Battery state is low, warn and monitor close. */
	MavBatteryChargeStateLow = 2
	/*MavBatteryChargeStateCritical - Battery state is critical, return or abort immediately. */
	MavBatteryChargeStateCritical = 3
	/*MavBatteryChargeStateEmergency - Battery state is too low for ordinary abort sequence. Perform fastest possible emergency stop to prevent damage. */
	MavBatteryChargeStateEmergency = 4
	/*MavBatteryChargeStateFailed - Battery failed, damage unavoidable. */
	MavBatteryChargeStateFailed = 5
	/*MavBatteryChargeStateUnhealthy - Battery is diagnosed to be defective or an error occurred, usage is discouraged / prohibited. */
	MavBatteryChargeStateUnhealthy = 6
	/*MavBatteryChargeStateCharging - Battery is charging. */
	MavBatteryChargeStateCharging = 7
	/*MavBatteryChargeStateEnumEnd -  */
	MavBatteryChargeStateEnumEnd = 8
)

MAV_BATTERY_CHARGE_STATE - Enumeration for battery charge states.

View Source
const (
	/*MavSmartBatteryFaultDeepDischarge - Battery has deep discharged. */
	MavSmartBatteryFaultDeepDischarge = 1
	/*MavSmartBatteryFaultSpikes - Voltage spikes. */
	MavSmartBatteryFaultSpikes = 2
	/*MavSmartBatteryFaultSingleCellFail - Single cell has failed. */
	MavSmartBatteryFaultSingleCellFail = 4
	/*MavSmartBatteryFaultOverCurrent - Over-current fault. */
	MavSmartBatteryFaultOverCurrent = 8
	/*MavSmartBatteryFaultOverTemperature - Over-temperature fault. */
	MavSmartBatteryFaultOverTemperature = 16
	/*MavSmartBatteryFaultUnderTemperature - Under-temperature fault. */
	MavSmartBatteryFaultUnderTemperature = 32
	/*MavSmartBatteryFaultEnumEnd -  */
	MavSmartBatteryFaultEnumEnd = 33
)

MAV_SMART_BATTERY_FAULT - Smart battery supply status/fault flags (bitmask) for health indication.

View Source
const (
	/*MavVtolStateUndefined - MAV is not configured as VTOL */
	MavVtolStateUndefined = 0
	/*MavVtolStateTransitionToFw - VTOL is in transition from multicopter to fixed-wing */
	MavVtolStateTransitionToFw = 1
	/*MavVtolStateTransitionToMc - VTOL is in transition from fixed-wing to multicopter */
	MavVtolStateTransitionToMc = 2
	/*MavVtolStateMc - VTOL is in multicopter state */
	MavVtolStateMc = 3
	/*MavVtolStateFw - VTOL is in fixed-wing state */
	MavVtolStateFw = 4
	/*MavVtolStateEnumEnd -  */
	MavVtolStateEnumEnd = 5
)

MAV_VTOL_STATE - Enumeration of VTOL states

View Source
const (
	/*MavLandedStateUndefined - MAV landed state is unknown */
	MavLandedStateUndefined = 0
	/*MavLandedStateOnGround - MAV is landed (on ground) */
	MavLandedStateOnGround = 1
	/*MavLandedStateInAir - MAV is in air */
	MavLandedStateInAir = 2
	/*MavLandedStateTakeoff - MAV currently taking off */
	MavLandedStateTakeoff = 3
	/*MavLandedStateLanding - MAV currently landing */
	MavLandedStateLanding = 4
	/*MavLandedStateEnumEnd -  */
	MavLandedStateEnumEnd = 5
)

MAV_LANDED_STATE - Enumeration of landed detector states

View Source
const (
	/*AdsbAltitudeTypePressureQnh - Altitude reported from a Baro source using QNH reference */
	AdsbAltitudeTypePressureQnh = 0
	/*AdsbAltitudeTypeGeometric - Altitude reported from a GNSS source */
	AdsbAltitudeTypeGeometric = 1
	/*AdsbAltitudeTypeEnumEnd -  */
	AdsbAltitudeTypeEnumEnd = 2
)

ADSB_ALTITUDE_TYPE - Enumeration of the ADSB altimeter types

View Source
const (
	/*AdsbEmitterTypeNoInfo -  */
	AdsbEmitterTypeNoInfo = 0
	/*AdsbEmitterTypeLight -  */
	AdsbEmitterTypeLight = 1
	/*AdsbEmitterTypeSmall -  */
	AdsbEmitterTypeSmall = 2
	/*AdsbEmitterTypeLarge -  */
	AdsbEmitterTypeLarge = 3
	/*AdsbEmitterTypeHighVortexLarge -  */
	AdsbEmitterTypeHighVortexLarge = 4
	/*AdsbEmitterTypeHeavy -  */
	AdsbEmitterTypeHeavy = 5
	/*AdsbEmitterTypeHighlyManuv -  */
	AdsbEmitterTypeHighlyManuv = 6
	/*AdsbEmitterTypeRotocraft -  */
	AdsbEmitterTypeRotocraft = 7
	/*AdsbEmitterTypeUnassigned -  */
	AdsbEmitterTypeUnassigned = 8
	/*AdsbEmitterTypeGlIDer -  */
	AdsbEmitterTypeGlIDer = 9
	/*AdsbEmitterTypeLighterAir -  */
	AdsbEmitterTypeLighterAir = 10
	/*AdsbEmitterTypeParachute -  */
	AdsbEmitterTypeParachute = 11
	/*AdsbEmitterTypeUltraLight -  */
	AdsbEmitterTypeUltraLight = 12
	/*AdsbEmitterTypeUnassigned2 -  */
	AdsbEmitterTypeUnassigned2 = 13
	/*AdsbEmitterTypeUav -  */
	AdsbEmitterTypeUav = 14
	/*AdsbEmitterTypeSpace -  */
	AdsbEmitterTypeSpace = 15
	/*AdsbEmitterTypeUnassgined3 -  */
	AdsbEmitterTypeUnassgined3 = 16
	/*AdsbEmitterTypeEmergencySurface -  */
	AdsbEmitterTypeEmergencySurface = 17
	/*AdsbEmitterTypeServiceSurface -  */
	AdsbEmitterTypeServiceSurface = 18
	/*AdsbEmitterTypePointObstacle -  */
	AdsbEmitterTypePointObstacle = 19
	/*AdsbEmitterTypeEnumEnd -  */
	AdsbEmitterTypeEnumEnd = 20
)

ADSB_EMITTER_TYPE - ADSB classification for the type of vehicle emitting the transponder signal

View Source
const (
	/*AdsbFlagsValIDCoords -  */
	AdsbFlagsValIDCoords = 1
	/*AdsbFlagsValIDAltitude -  */
	AdsbFlagsValIDAltitude = 2
	/*AdsbFlagsValIDHeading -  */
	AdsbFlagsValIDHeading = 4
	/*AdsbFlagsValIDVelocity -  */
	AdsbFlagsValIDVelocity = 8
	/*AdsbFlagsValIDCallsign -  */
	AdsbFlagsValIDCallsign = 16
	/*AdsbFlagsValIDSquawk -  */
	AdsbFlagsValIDSquawk = 32
	/*AdsbFlagsSIMUlated -  */
	AdsbFlagsSIMUlated = 64
	/*AdsbFlagsVerticalVelocityValID -  */
	AdsbFlagsVerticalVelocityValID = 128
	/*AdsbFlagsBaroValID -  */
	AdsbFlagsBaroValID = 256
	/*AdsbFlagsSouRCeUat -  */
	AdsbFlagsSouRCeUat = 32768
	/*AdsbFlagsEnumEnd -  */
	AdsbFlagsEnumEnd = 32769
)

ADSB_FLAGS - These flags indicate status such as data validity of each data source. Set = data valid

View Source
const (
	/*MavDoRepositionFlagsChangeMode - The aircraft should immediately transition into guided. This should not be set for follow me applications */
	MavDoRepositionFlagsChangeMode = 1
	/*MavDoRepositionFlagsEnumEnd -  */
	MavDoRepositionFlagsEnumEnd = 2
)

MAV_DO_REPOSITION_FLAGS - Bitmap of options for the MAV_CMD_DO_REPOSITION

View Source
const (
	/*EstimatorAttitude - True if the attitude estimate is good */
	EstimatorAttitude = 1
	/*EstimatorVelocityHoriz - True if the horizontal velocity estimate is good */
	EstimatorVelocityHoriz = 2
	/*EstimatorVelocityVert - True if the  vertical velocity estimate is good */
	EstimatorVelocityVert = 4
	/*EstimatorPosHorizRel - True if the horizontal position (relative) estimate is good */
	EstimatorPosHorizRel = 8
	/*EstimatorPosHorizAbs - True if the horizontal position (absolute) estimate is good */
	EstimatorPosHorizAbs = 16
	/*EstimatorPosVertAbs - True if the vertical position (absolute) estimate is good */
	EstimatorPosVertAbs = 32
	/*EstimatorPosVertAgl - True if the vertical position (above ground) estimate is good */
	EstimatorPosVertAgl = 64
	/*EstimatorConstPosMode - True if the EKF is in a constant position mode and is not using external measurements (eg GPS or optical flow) */
	EstimatorConstPosMode = 128
	/*EstimatorPredPosHorizRel - True if the EKF has sufficient data to enter a mode that will provide a (relative) position estimate */
	EstimatorPredPosHorizRel = 256
	/*EstimatorPredPosHorizAbs - True if the EKF has sufficient data to enter a mode that will provide a (absolute) position estimate */
	EstimatorPredPosHorizAbs = 512
	/*EstimatorGPSGlitch - True if the EKF has detected a GPS glitch */
	EstimatorGPSGlitch = 1024
	/*EstimatorAccelError - True if the EKF has detected bad accelerometer data */
	EstimatorAccelError = 2048
	/*EstimatorStatusFlagsEnumEnd -  */
	EstimatorStatusFlagsEnumEnd = 2049
)

ESTIMATOR_STATUS_FLAGS - Flags in EKF_STATUS message

View Source
const (
	/*MotorTestOrderDefault - default autopilot motor test method */
	MotorTestOrderDefault = 0
	/*MotorTestOrderSequence - motor numbers are specified as their index in a predefined vehicle-specific sequence */
	MotorTestOrderSequence = 1
	/*MotorTestOrderBoard - motor numbers are specified as the output as labeled on the board */
	MotorTestOrderBoard = 2
	/*MotorTestOrderEnumEnd -  */
	MotorTestOrderEnumEnd = 3
)

MOTOR_TEST_ORDER -

View Source
const (
	/*MotorTestThrottlePeRCent - throttle as a percentage from 0 ~ 100 */
	MotorTestThrottlePeRCent = 0
	/*MotorTestThrottlePwm - throttle as an absolute PWM value (normally in range of 1000~2000) */
	MotorTestThrottlePwm = 1
	/*MotorTestThrottlePilot - throttle pass-through from pilot's transmitter */
	MotorTestThrottlePilot = 2
	/*MotorTestCompassCal - per-motor compass calibration test */
	MotorTestCompassCal = 3
	/*MotorTestThrottleTypeEnumEnd -  */
	MotorTestThrottleTypeEnumEnd = 4
)

MOTOR_TEST_THROTTLE_TYPE -

View Source
const (
	/*GPSInputIgnoreFlagAlt - ignore altitude field */
	GPSInputIgnoreFlagAlt = 1
	/*GPSInputIgnoreFlagHdop - ignore hdop field */
	GPSInputIgnoreFlagHdop = 2
	/*GPSInputIgnoreFlagVdop - ignore vdop field */
	GPSInputIgnoreFlagVdop = 4
	/*GPSInputIgnoreFlagVelHoriz - ignore horizontal velocity field (vn and ve) */
	GPSInputIgnoreFlagVelHoriz = 8
	/*GPSInputIgnoreFlagVelVert - ignore vertical velocity field (vd) */
	GPSInputIgnoreFlagVelVert = 16
	/*GPSInputIgnoreFlagSpeedAccuracy - ignore speed accuracy field */
	GPSInputIgnoreFlagSpeedAccuracy = 32
	/*GPSInputIgnoreFlagHorizontalAccuracy - ignore horizontal accuracy field */
	GPSInputIgnoreFlagHorizontalAccuracy = 64
	/*GPSInputIgnoreFlagVerticalAccuracy - ignore vertical accuracy field */
	GPSInputIgnoreFlagVerticalAccuracy = 128
	/*GPSInputIgnoreFlagsEnumEnd -  */
	GPSInputIgnoreFlagsEnumEnd = 129
)

GPS_INPUT_IGNORE_FLAGS -

View Source
const (
	/*MavCollisionActionNone - Ignore any potential collisions */
	MavCollisionActionNone = 0
	/*MavCollisionActionReport - Report potential collision */
	MavCollisionActionReport = 1
	/*MavCollisionActionAscendOrDescend - Ascend or Descend to avoid threat */
	MavCollisionActionAscendOrDescend = 2
	/*MavCollisionActionMoveHorizontally - Move horizontally to avoid threat */
	MavCollisionActionMoveHorizontally = 3
	/*MavCollisionActionMovePerpendicular - Aircraft to move perpendicular to the collision's velocity vector */
	MavCollisionActionMovePerpendicular = 4
	/*MavCollisionActionRtl - Aircraft to fly directly back to its launch point */
	MavCollisionActionRtl = 5
	/*MavCollisionActionHover - Aircraft to stop in place */
	MavCollisionActionHover = 6
	/*MavCollisionActionEnumEnd -  */
	MavCollisionActionEnumEnd = 7
)

MAV_COLLISION_ACTION - Possible actions an aircraft can take to avoid a collision.

View Source
const (
	/*MavCollisionThreatLevelNone - Not a threat */
	MavCollisionThreatLevelNone = 0
	/*MavCollisionThreatLevelLow - Craft is mildly concerned about this threat */
	MavCollisionThreatLevelLow = 1
	/*MavCollisionThreatLevelHigh - Craft is panicking, and may take actions to avoid threat */
	MavCollisionThreatLevelHigh = 2
	/*MavCollisionThreatLevelEnumEnd -  */
	MavCollisionThreatLevelEnumEnd = 3
)

MAV_COLLISION_THREAT_LEVEL - Aircraft-rated danger from this threat.

View Source
const (
	/*MavCollisionSRCAdsb - ID field references ADSB_VEHICLE packets */
	MavCollisionSRCAdsb = 0
	/*MavCollisionSRCMavlinkGPSGlobalInt - ID field references MAVLink SRC ID */
	MavCollisionSRCMavlinkGPSGlobalInt = 1
	/*MavCollisionSRCEnumEnd -  */
	MavCollisionSRCEnumEnd = 2
)

MAV_COLLISION_SRC - Source of information about this collision.

View Source
const (
	/*GPSFixTypeNoGPS - No GPS connected */
	GPSFixTypeNoGPS = 0
	/*GPSFixTypeNoFix - No position information, GPS is connected */
	GPSFixTypeNoFix = 1
	/*GPSFixType2DFix - 2D position */
	GPSFixType2DFix = 2
	/*GPSFixType3DFix - 3D position */
	GPSFixType3DFix = 3
	/*GPSFixTypeDGPS - DGPS/SBAS aided 3D position */
	GPSFixTypeDGPS = 4
	/*GPSFixTypeRtkFloat - RTK float, 3D position */
	GPSFixTypeRtkFloat = 5
	/*GPSFixTypeRtkFixed - RTK Fixed, 3D position */
	GPSFixTypeRtkFixed = 6
	/*GPSFixTypeStatic - Static fixed, typically used for base stations */
	GPSFixTypeStatic = 7
	/*GPSFixTypePpp - PPP, 3D position. */
	GPSFixTypePpp = 8
	/*GPSFixTypeEnumEnd -  */
	GPSFixTypeEnumEnd = 9
)

GPS_FIX_TYPE - Type of GPS fix

View Source
const (
	/*RtkBaselineCoordinateSystemEcef - Earth-centered, Earth-fixed */
	RtkBaselineCoordinateSystemEcef = 0
	/*RtkBaselineCoordinateSystemNed - RTK basestation centered, north, east, down */
	RtkBaselineCoordinateSystemNed = 1
	/*RtkBaselineCoordinateSystemEnumEnd -  */
	RtkBaselineCoordinateSystemEnumEnd = 2
)

RTK_BASELINE_COORDINATE_SYSTEM - RTK GPS baseline coordinate system, used for RTK corrections

View Source
const (
	/*LandingTargetTypeLightBeacon - Landing target signaled by light beacon (ex: IR-LOCK) */
	LandingTargetTypeLightBeacon = 0
	/*LandingTargetTypeRadioBeacon - Landing target signaled by radio beacon (ex: ILS, NDB) */
	LandingTargetTypeRadioBeacon = 1
	/*LandingTargetTypeVisionFIDucial - Landing target represented by a fiducial marker (ex: ARTag) */
	LandingTargetTypeVisionFIDucial = 2
	/*LandingTargetTypeVisionOther - Landing target represented by a pre-defined visual shape/feature (ex: X-marker, H-marker, square) */
	LandingTargetTypeVisionOther = 3
	/*LandingTargetTypeEnumEnd -  */
	LandingTargetTypeEnumEnd = 4
)

LANDING_TARGET_TYPE - Type of landing target

View Source
const (
	/*VtolTransitionHeadingVehicleDefault - Respect the heading configuration of the vehicle. */
	VtolTransitionHeadingVehicleDefault = 0
	/*VtolTransitionHeadingNextWaypoint - Use the heading pointing towards the next waypoint. */
	VtolTransitionHeadingNextWaypoint = 1
	/*VtolTransitionHeadingTakeoff - Use the heading on takeoff (while sitting on the ground). */
	VtolTransitionHeadingTakeoff = 2
	/*VtolTransitionHeadingSpecified - Use the specified heading in parameter 4. */
	VtolTransitionHeadingSpecified = 3
	/*VtolTransitionHeadingAny - Use the current heading when reaching takeoff altitude (potentially facing the wind when weather-vaning is active). */
	VtolTransitionHeadingAny = 4
	/*VtolTransitionHeadingEnumEnd -  */
	VtolTransitionHeadingEnumEnd = 5
)

VTOL_TRANSITION_HEADING - Direction of VTOL transition

View Source
const (
	/*CameraCapFlagsCaptureVIDeo - Camera is able to record video */
	CameraCapFlagsCaptureVIDeo = 1
	/*CameraCapFlagsCaptureImage - Camera is able to capture images */
	CameraCapFlagsCaptureImage = 2
	/*CameraCapFlagsHasModes - Camera has separate Video and Image/Photo modes (MAV_CMD_SET_CAMERA_MODE) */
	CameraCapFlagsHasModes = 4
	/*CameraCapFlagsCanCaptureImageInVIDeoMode - Camera can capture images while in video mode */
	CameraCapFlagsCanCaptureImageInVIDeoMode = 8
	/*CameraCapFlagsCanCaptureVIDeoInImageMode - Camera can capture videos while in Photo/Image mode */
	CameraCapFlagsCanCaptureVIDeoInImageMode = 16
	/*CameraCapFlagsHasImageSurveyMode - Camera has image survey mode (MAV_CMD_SET_CAMERA_MODE) */
	CameraCapFlagsHasImageSurveyMode = 32
	/*CameraCapFlagsHasBasicZoom - Camera has basic zoom control (MAV_CMD_SET_CAMERA_ZOOM) */
	CameraCapFlagsHasBasicZoom = 64
	/*CameraCapFlagsHasBasicFocus - Camera has basic focus control (MAV_CMD_SET_CAMERA_FOCUS) */
	CameraCapFlagsHasBasicFocus = 128
	/*CameraCapFlagsHasVIDeoStream - Camera has video streaming capabilities (use MAV_CMD_REQUEST_VIDEO_STREAM_INFORMATION for video streaming info) */
	CameraCapFlagsHasVIDeoStream = 256
	/*CameraCapFlagsEnumEnd -  */
	CameraCapFlagsEnumEnd = 257
)

CAMERA_CAP_FLAGS - Camera capability flags (Bitmap)

View Source
const (
	/*VIDeoStreamStatusFlagsRunning - Stream is active (running) */
	VIDeoStreamStatusFlagsRunning = 1
	/*VIDeoStreamStatusFlagsThermal - Stream is thermal imaging */
	VIDeoStreamStatusFlagsThermal = 2
	/*VIDeoStreamStatusFlagsEnumEnd -  */
	VIDeoStreamStatusFlagsEnumEnd = 3
)

VIDEO_STREAM_STATUS_FLAGS - Stream status flags (Bitmap)

View Source
const (
	/*VIDeoStreamTypeRtsp - Stream is RTSP */
	VIDeoStreamTypeRtsp = 0
	/*VIDeoStreamTypeRtpUDP - Stream is RTP UDP (URI gives the port number) */
	VIDeoStreamTypeRtpUDP = 1
	/*VIDeoStreamTypeTCPMPEG - Stream is MPEG on TCP */
	VIDeoStreamTypeTCPMPEG = 2
	/*VIDeoStreamTypeMPEGTsH264 - Stream is h.264 on MPEG TS (URI gives the port number) */
	VIDeoStreamTypeMPEGTsH264 = 3
	/*VIDeoStreamTypeEnumEnd -  */
	VIDeoStreamTypeEnumEnd = 4
)

VIDEO_STREAM_TYPE - Video stream types

View Source
const (
	/*ZoomTypeStep - Zoom one step increment (-1 for wide, 1 for tele) */
	ZoomTypeStep = 0
	/*ZoomTypeContinuous - Continuous zoom up/down until stopped (-1 for wide, 1 for tele, 0 to stop zooming) */
	ZoomTypeContinuous = 1
	/*ZoomTypeRange - Zoom value as proportion of full camera range (a value between 0.0 and 100.0) */
	ZoomTypeRange = 2
	/*ZoomTypeFocalLength - Zoom value/variable focal length in milimetres. 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) */
	ZoomTypeFocalLength = 3
	/*CameraZoomTypeEnumEnd -  */
	CameraZoomTypeEnumEnd = 4
)

CAMERA_ZOOM_TYPE - Zoom types for MAV_CMD_SET_CAMERA_ZOOM

View Source
const (
	/*FocusTypeStep - Focus one step increment (-1 for focusing in, 1 for focusing out towards infinity). */
	FocusTypeStep = 0
	/*FocusTypeContinuous - Continuous focus up/down until stopped (-1 for focusing in, 1 for focusing out towards infinity, 0 to stop focusing) */
	FocusTypeContinuous = 1
	/*FocusTypeRange - Focus value as proportion of full camera focus range (a value between 0.0 and 100.0) */
	FocusTypeRange = 2
	/*FocusTypeMeters - 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). */
	FocusTypeMeters = 3
	/*SetFocusTypeEnumEnd -  */
	SetFocusTypeEnumEnd = 4
)

SET_FOCUS_TYPE - Focus types for MAV_CMD_SET_CAMERA_FOCUS

View Source
const (
	/*ParamAckAccepted - Parameter value ACCEPTED and SET */
	ParamAckAccepted = 0
	/*ParamAckValueUnsupported - Parameter value UNKNOWN/UNSUPPORTED */
	ParamAckValueUnsupported = 1
	/*ParamAckFailed - Parameter failed to set */
	ParamAckFailed = 2
	/*ParamAckInProgress - Parameter value received but not yet validated or set. A subsequent PARAM_EXT_ACK will follow once operation is completed with the actual result. These are for parameters that may take longer to set. Instead of waiting for an ACK and potentially timing out, you will immediately receive this response to let you know it was received. */
	ParamAckInProgress = 3
	/*ParamAckEnumEnd -  */
	ParamAckEnumEnd = 4
)

PARAM_ACK - Result from a PARAM_EXT_SET message.

View Source
const (
	/*CameraModeImage - Camera is in image/photo capture mode. */
	CameraModeImage = 0
	/*CameraModeVIDeo - Camera is in video capture mode. */
	CameraModeVIDeo = 1
	/*CameraModeImageSurvey - Camera is in image survey capture mode. It allows for camera controller to do specific settings for surveys. */
	CameraModeImageSurvey = 2
	/*CameraModeEnumEnd -  */
	CameraModeEnumEnd = 3
)

CAMERA_MODE - Camera Modes.

View Source
const (
	/*MavArmAuthDeniedReasonGeneric - Not a specific reason */
	MavArmAuthDeniedReasonGeneric = 0
	/*MavArmAuthDeniedReasonNone - Authorizer will send the error as string to GCS */
	MavArmAuthDeniedReasonNone = 1
	/*MavArmAuthDeniedReasonInvalIDWaypoint - At least one waypoint have a invalid value */
	MavArmAuthDeniedReasonInvalIDWaypoint = 2
	/*MavArmAuthDeniedReasonTimeout - Timeout in the authorizer process(in case it depends on network) */
	MavArmAuthDeniedReasonTimeout = 3
	/*MavArmAuthDeniedReasonAirspaceInUse - Airspace of the mission in use by another vehicle, second result parameter can have the waypoint id that caused it to be denied. */
	MavArmAuthDeniedReasonAirspaceInUse = 4
	/*MavArmAuthDeniedReasonBadWeather - Weather is not good to fly */
	MavArmAuthDeniedReasonBadWeather = 5
	/*MavArmAuthDeniedReasonEnumEnd -  */
	MavArmAuthDeniedReasonEnumEnd = 6
)

MAV_ARM_AUTH_DENIED_REASON -

View Source
const (
	/*RCTypeSpektrumDsm2 - Spektrum DSM2 */
	RCTypeSpektrumDsm2 = 0
	/*RCTypeSpektrumDsmx - Spektrum DSMX */
	RCTypeSpektrumDsmx = 1
	/*RCTypeEnumEnd -  */
	RCTypeEnumEnd = 2
)

RC_TYPE - RC type

View Source
const (
	/*PositionTargetTypemaskXIgnore - Ignore position x */
	PositionTargetTypemaskXIgnore = 1
	/*PositionTargetTypemaskYIgnore - Ignore position y */
	PositionTargetTypemaskYIgnore = 2
	/*PositionTargetTypemaskZIgnore - Ignore position z */
	PositionTargetTypemaskZIgnore = 4
	/*PositionTargetTypemaskVxIgnore - Ignore velocity x */
	PositionTargetTypemaskVxIgnore = 8
	/*PositionTargetTypemaskVyIgnore - Ignore velocity y */
	PositionTargetTypemaskVyIgnore = 16
	/*PositionTargetTypemaskVzIgnore - Ignore velocity z */
	PositionTargetTypemaskVzIgnore = 32
	/*PositionTargetTypemaskAxIgnore - Ignore acceleration x */
	PositionTargetTypemaskAxIgnore = 64
	/*PositionTargetTypemaskAyIgnore - Ignore acceleration y */
	PositionTargetTypemaskAyIgnore = 128
	/*PositionTargetTypemaskAzIgnore - Ignore acceleration z */
	PositionTargetTypemaskAzIgnore = 256
	/*PositionTargetTypemaskFoRCeSet - Use force instead of acceleration */
	PositionTargetTypemaskFoRCeSet = 512
	/*PositionTargetTypemaskYawIgnore - Ignore yaw */
	PositionTargetTypemaskYawIgnore = 1024
	/*PositionTargetTypemaskYawRateIgnore - Ignore yaw rate */
	PositionTargetTypemaskYawRateIgnore = 2048
	/*PositionTargetTypemaskEnumEnd -  */
	PositionTargetTypemaskEnumEnd = 2049
)

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.

View Source
const (
	/*UtmFlightStateUnknown - The flight state can't be determined. */
	UtmFlightStateUnknown = 1
	/*UtmFlightStateGround - UAS on ground. */
	UtmFlightStateGround = 2
	/*UtmFlightStateAirborne - UAS airborne. */
	UtmFlightStateAirborne = 3
	/*UtmFlightStateEmergency - UAS is in an emergency flight state. */
	UtmFlightStateEmergency = 16
	/*UtmFlightStateNoctrl - UAS has no active controls. */
	UtmFlightStateNoctrl = 32
	/*UtmFlightStateEnumEnd -  */
	UtmFlightStateEnumEnd = 33
)

UTM_FLIGHT_STATE - Airborne status of UAS.

View Source
const (
	/*UtmDataAvailFlagsTimeValID - The field time contains valid data. */
	UtmDataAvailFlagsTimeValID = 1
	/*UtmDataAvailFlagsUasIDAvailable - The field uas_id contains valid data. */
	UtmDataAvailFlagsUasIDAvailable = 2
	/*UtmDataAvailFlagsPositionAvailable - The fields lat, lon and h_acc contain valid data. */
	UtmDataAvailFlagsPositionAvailable = 4
	/*UtmDataAvailFlagsAltitudeAvailable - The fields alt and v_acc contain valid data. */
	UtmDataAvailFlagsAltitudeAvailable = 8
	/*UtmDataAvailFlagsRelativeAltitudeAvailable - The field relative_alt contains valid data. */
	UtmDataAvailFlagsRelativeAltitudeAvailable = 16
	/*UtmDataAvailFlagsHorizontalVeloAvailable - The fields vx and vy contain valid data. */
	UtmDataAvailFlagsHorizontalVeloAvailable = 32
	/*UtmDataAvailFlagsVerticalVeloAvailable - The field vz contains valid data. */
	UtmDataAvailFlagsVerticalVeloAvailable = 64
	/*UtmDataAvailFlagsNextWaypointAvailable - The fields next_lat, next_lon and next_alt contain valid data. */
	UtmDataAvailFlagsNextWaypointAvailable = 128
	/*UtmDataAvailFlagsEnumEnd -  */
	UtmDataAvailFlagsEnumEnd = 129
)

UTM_DATA_AVAIL_FLAGS - Flags for the global position report.

View Source
const (
	/*CellularNetworkRadioTypeNone -  */
	CellularNetworkRadioTypeNone = 0
	/*CellularNetworkRadioTypeGsm -  */
	CellularNetworkRadioTypeGsm = 1
	/*CellularNetworkRadioTypeCdma -  */
	CellularNetworkRadioTypeCdma = 2
	/*CellularNetworkRadioTypeWcdma -  */
	CellularNetworkRadioTypeWcdma = 3
	/*CellularNetworkRadioTypeLte -  */
	CellularNetworkRadioTypeLte = 4
	/*CellularNetworkRadioTypeEnumEnd -  */
	CellularNetworkRadioTypeEnumEnd = 5
)

CELLULAR_NETWORK_RADIO_TYPE - Cellular network radio type

View Source
const (
	/*CellularNetworkStatusFlagRoaming - Roaming is active */
	CellularNetworkStatusFlagRoaming = 1
	/*CellularNetworkStatusFlagEnumEnd -  */
	CellularNetworkStatusFlagEnumEnd = 2
)

CELLULAR_NETWORK_STATUS_FLAG - These flags encode the cellular network status

View Source
const (
	/*PrecisionLandModeDisabled - Normal (non-precision) landing. */
	PrecisionLandModeDisabled = 0
	/*PrecisionLandModeOpportunistic - Use precision landing if beacon detected when land command accepted, otherwise land normally. */
	PrecisionLandModeOpportunistic = 1
	/*PrecisionLandModeRequired - Use precision landing, searching for beacon if not found when land command accepted (land normally if beacon cannot be found). */
	PrecisionLandModeRequired = 2
	/*PrecisionLandModeEnumEnd -  */
	PrecisionLandModeEnumEnd = 3
)

PRECISION_LAND_MODE - Precision land modes (used in MAV_CMD_NAV_LAND).

View Source
const (
	/*ParachuteDisable - Disable parachute release. */
	ParachuteDisable = 0
	/*ParachuteEnable - Enable parachute release. */
	ParachuteEnable = 1
	/*ParachuteRelease - Release parachute. */
	ParachuteRelease = 2
	/*ParachuteActionEnumEnd -  */
	ParachuteActionEnumEnd = 3
)

PARACHUTE_ACTION -

View Source
const (
	/*MavTunnelPayloadTypeUnknown - Encoding of payload unknown. */
	MavTunnelPayloadTypeUnknown = 0
	/*MavTunnelPayloadTypeStorm32Reserved0 - Registered for STorM32 gimbal controller. */
	MavTunnelPayloadTypeStorm32Reserved0 = 200
	/*MavTunnelPayloadTypeStorm32Reserved1 - Registered for STorM32 gimbal controller. */
	MavTunnelPayloadTypeStorm32Reserved1 = 201
	/*MavTunnelPayloadTypeStorm32Reserved2 - Registered for STorM32 gimbal controller. */
	MavTunnelPayloadTypeStorm32Reserved2 = 202
	/*MavTunnelPayloadTypeStorm32Reserved3 - Registered for STorM32 gimbal controller. */
	MavTunnelPayloadTypeStorm32Reserved3 = 203
	/*MavTunnelPayloadTypeStorm32Reserved4 - Registered for STorM32 gimbal controller. */
	MavTunnelPayloadTypeStorm32Reserved4 = 204
	/*MavTunnelPayloadTypeStorm32Reserved5 - Registered for STorM32 gimbal controller. */
	MavTunnelPayloadTypeStorm32Reserved5 = 205
	/*MavTunnelPayloadTypeStorm32Reserved6 - Registered for STorM32 gimbal controller. */
	MavTunnelPayloadTypeStorm32Reserved6 = 206
	/*MavTunnelPayloadTypeStorm32Reserved7 - Registered for STorM32 gimbal controller. */
	MavTunnelPayloadTypeStorm32Reserved7 = 207
	/*MavTunnelPayloadTypeStorm32Reserved8 - Registered for STorM32 gimbal controller. */
	MavTunnelPayloadTypeStorm32Reserved8 = 208
	/*MavTunnelPayloadTypeStorm32Reserved9 - Registered for STorM32 gimbal controller. */
	MavTunnelPayloadTypeStorm32Reserved9 = 209
	/*MavTunnelPayloadTypeEnumEnd -  */
	MavTunnelPayloadTypeEnumEnd = 210
)

MAV_TUNNEL_PAYLOAD_TYPE -

View Source
const (
	/*MavOdIDIDTypeNone - No type defined. */
	MavOdIDIDTypeNone = 0
	/*MavOdIDIDTypeSerialNumber - Manufacturer Serial Number (ANSI/CTA-2063 format). */
	MavOdIDIDTypeSerialNumber = 1
	/*MavOdIDIDTypeCaaRegistrationID - CAA (Civil Aviation Authority) registered ID. Format: [ICAO Country Code].[CAA Assigned ID]. */
	MavOdIDIDTypeCaaRegistrationID = 2
	/*MavOdIDIDTypeUtmAssignedUUID - UTM (Unmanned Traffic Management) assigned UUID (RFC4122). */
	MavOdIDIDTypeUtmAssignedUUID = 3
	/*MavOdIDIDTypeEnumEnd -  */
	MavOdIDIDTypeEnumEnd = 4
)

MAV_ODID_ID_TYPE -

View Source
const (
	/*MavOdIDUaTypeNone - No UA (Unmanned Aircraft) type defined. */
	MavOdIDUaTypeNone = 0
	/*MavOdIDUaTypeAeroplane - Aeroplane/Airplane. Fixed wing. */
	MavOdIDUaTypeAeroplane = 1
	/*MavOdIDUaTypeRotoRCraft - Rotorcraft (including Multirotor). */
	MavOdIDUaTypeRotoRCraft = 2
	/*MavOdIDUaTypeGyroplane - Gyroplane. */
	MavOdIDUaTypeGyroplane = 3
	/*MavOdIDUaTypeVtol - VTOL (Vertical Take-Off and Landing). Fixed wing aircraft that can take off vertically. */
	MavOdIDUaTypeVtol = 4
	/*MavOdIDUaTypeOrnithopter - Ornithopter. */
	MavOdIDUaTypeOrnithopter = 5
	/*MavOdIDUaTypeGlIDer - Glider. */
	MavOdIDUaTypeGlIDer = 6
	/*MavOdIDUaTypeKite - Kite. */
	MavOdIDUaTypeKite = 7
	/*MavOdIDUaTypeFreeBalloon - Free Balloon. */
	MavOdIDUaTypeFreeBalloon = 8
	/*MavOdIDUaTypeCaptiveBalloon - Captive Balloon. */
	MavOdIDUaTypeCaptiveBalloon = 9
	/*MavOdIDUaTypeAirship - Airship. E.g. a blimp. */
	MavOdIDUaTypeAirship = 10
	/*MavOdIDUaTypeFreeFallParachute - Free Fall/Parachute. */
	MavOdIDUaTypeFreeFallParachute = 11
	/*MavOdIDUaTypeRocket - Rocket. */
	MavOdIDUaTypeRocket = 12
	/*MavOdIDUaTypeTetheredPoweredAiRCraft - Tethered powered aircraft. */
	MavOdIDUaTypeTetheredPoweredAiRCraft = 13
	/*MavOdIDUaTypeGroundObstacle - Ground Obstacle. */
	MavOdIDUaTypeGroundObstacle = 14
	/*MavOdIDUaTypeOther - Other type of aircraft not listed earlier. */
	MavOdIDUaTypeOther = 15
	/*MavOdIDUaTypeEnumEnd -  */
	MavOdIDUaTypeEnumEnd = 16
)

MAV_ODID_UA_TYPE -

View Source
const (
	/*MavOdIDStatusUndeclared - The status of the (UA) Unmanned Aircraft is undefined. */
	MavOdIDStatusUndeclared = 0
	/*MavOdIDStatusGround - The UA is on the ground. */
	MavOdIDStatusGround = 1
	/*MavOdIDStatusAirborne - The UA is in the air. */
	MavOdIDStatusAirborne = 2
	/*MavOdIDStatusEnumEnd -  */
	MavOdIDStatusEnumEnd = 3
)

MAV_ODID_STATUS -

View Source
const (
	/*MavOdIDHeightRefOverTakeoff - The height field is relative to the take-off location. */
	MavOdIDHeightRefOverTakeoff = 0
	/*MavOdIDHeightRefOverGround - The height field is relative to ground. */
	MavOdIDHeightRefOverGround = 1
	/*MavOdIDHeightRefEnumEnd -  */
	MavOdIDHeightRefEnumEnd = 2
)

MAV_ODID_HEIGHT_REF -

View Source
const (
	/*MavOdIDHorAccUnknown - The horizontal accuracy is unknown. */
	MavOdIDHorAccUnknown = 0
	/*MavOdIDHorAcc10Nm - The horizontal accuracy is smaller than 10 Nautical Miles. 18.52 km. */
	MavOdIDHorAcc10Nm = 1
	/*MavOdIDHorAcc4Nm - The horizontal accuracy is smaller than 4 Nautical Miles. 7.408 km. */
	MavOdIDHorAcc4Nm = 2
	/*MavOdIDHorAcc2Nm - The horizontal accuracy is smaller than 2 Nautical Miles. 3.704 km. */
	MavOdIDHorAcc2Nm = 3
	/*MavOdIDHorAcc1Nm - The horizontal accuracy is smaller than 1 Nautical Miles. 1.852 km. */
	MavOdIDHorAcc1Nm = 4
	/*MavOdIDHorAcc05Nm - The horizontal accuracy is smaller than 0.5 Nautical Miles. 926 m. */
	MavOdIDHorAcc05Nm = 5
	/*MavOdIDHorAcc03Nm - The horizontal accuracy is smaller than 0.3 Nautical Miles. 555.6 m. */
	MavOdIDHorAcc03Nm = 6
	/*MavOdIDHorAcc01Nm - The horizontal accuracy is smaller than 0.1 Nautical Miles. 185.2 m. */
	MavOdIDHorAcc01Nm = 7
	/*MavOdIDHorAcc005Nm - The horizontal accuracy is smaller than 0.05 Nautical Miles. 92.6 m. */
	MavOdIDHorAcc005Nm = 8
	/*MavOdIDHorAcc30Meter - The horizontal accuracy is smaller than 30 meter. */
	MavOdIDHorAcc30Meter = 9
	/*MavOdIDHorAcc10Meter - The horizontal accuracy is smaller than 10 meter. */
	MavOdIDHorAcc10Meter = 10
	/*MavOdIDHorAcc3Meter - The horizontal accuracy is smaller than 3 meter. */
	MavOdIDHorAcc3Meter = 11
	/*MavOdIDHorAcc1Meter - The horizontal accuracy is smaller than 1 meter. */
	MavOdIDHorAcc1Meter = 12
	/*MavOdIDHorAccEnumEnd -  */
	MavOdIDHorAccEnumEnd = 13
)

MAV_ODID_HOR_ACC -

View Source
const (
	/*MavOdIDVerAccUnknown - The vertical accuracy is unknown. */
	MavOdIDVerAccUnknown = 0
	/*MavOdIDVerAcc150Meter - The vertical accuracy is smaller than 150 meter. */
	MavOdIDVerAcc150Meter = 1
	/*MavOdIDVerAcc45Meter - The vertical accuracy is smaller than 45 meter. */
	MavOdIDVerAcc45Meter = 2
	/*MavOdIDVerAcc25Meter - The vertical accuracy is smaller than 25 meter. */
	MavOdIDVerAcc25Meter = 3
	/*MavOdIDVerAcc10Meter - The vertical accuracy is smaller than 10 meter. */
	MavOdIDVerAcc10Meter = 4
	/*MavOdIDVerAcc3Meter - The vertical accuracy is smaller than 3 meter. */
	MavOdIDVerAcc3Meter = 5
	/*MavOdIDVerAcc1Meter - The vertical accuracy is smaller than 1 meter. */
	MavOdIDVerAcc1Meter = 6
	/*MavOdIDVerAccEnumEnd -  */
	MavOdIDVerAccEnumEnd = 7
)

MAV_ODID_VER_ACC -

View Source
const (
	/*MavOdIDSpeedAccUnknown - The speed accuracy is unknown. */
	MavOdIDSpeedAccUnknown = 0
	/*MavOdIDSpeedAcc10MetersPerSecond - The speed accuracy is smaller than 10 meters per second. */
	MavOdIDSpeedAcc10MetersPerSecond = 1
	/*MavOdIDSpeedAcc3MetersPerSecond - The speed accuracy is smaller than 3 meters per second. */
	MavOdIDSpeedAcc3MetersPerSecond = 2
	/*MavOdIDSpeedAcc1MetersPerSecond - The speed accuracy is smaller than 1 meters per second. */
	MavOdIDSpeedAcc1MetersPerSecond = 3
	/*MavOdIDSpeedAcc03MetersPerSecond - The speed accuracy is smaller than 0.3 meters per second. */
	MavOdIDSpeedAcc03MetersPerSecond = 4
	/*MavOdIDSpeedAccEnumEnd -  */
	MavOdIDSpeedAccEnumEnd = 5
)

MAV_ODID_SPEED_ACC -

View Source
const (
	/*MavOdIDTimeAccUnknown - The timestamp accuracy is unknown. */
	MavOdIDTimeAccUnknown = 0
	/*MavOdIDTimeAcc01Second - The timestamp accuracy is smaller than 0.1 second. */
	MavOdIDTimeAcc01Second = 1
	/*MavOdIDTimeAcc02Second - The timestamp accuracy is smaller than 0.2 second. */
	MavOdIDTimeAcc02Second = 2
	/*MavOdIDTimeAcc03Second - The timestamp accuracy is smaller than 0.3 second. */
	MavOdIDTimeAcc03Second = 3
	/*MavOdIDTimeAcc04Second - The timestamp accuracy is smaller than 0.4 second. */
	MavOdIDTimeAcc04Second = 4
	/*MavOdIDTimeAcc05Second - The timestamp accuracy is smaller than 0.5 second. */
	MavOdIDTimeAcc05Second = 5
	/*MavOdIDTimeAcc06Second - The timestamp accuracy is smaller than 0.6 second. */
	MavOdIDTimeAcc06Second = 6
	/*MavOdIDTimeAcc07Second - The timestamp accuracy is smaller than 0.7 second. */
	MavOdIDTimeAcc07Second = 7
	/*MavOdIDTimeAcc08Second - The timestamp accuracy is smaller than 0.8 second. */
	MavOdIDTimeAcc08Second = 8
	/*MavOdIDTimeAcc09Second - The timestamp accuracy is smaller than 0.9 second. */
	MavOdIDTimeAcc09Second = 9
	/*MavOdIDTimeAcc10Second - The timestamp accuracy is smaller than 1.0 second. */
	MavOdIDTimeAcc10Second = 10
	/*MavOdIDTimeAcc11Second - The timestamp accuracy is smaller than 1.1 second. */
	MavOdIDTimeAcc11Second = 11
	/*MavOdIDTimeAcc12Second - The timestamp accuracy is smaller than 1.2 second. */
	MavOdIDTimeAcc12Second = 12
	/*MavOdIDTimeAcc13Second - The timestamp accuracy is smaller than 1.3 second. */
	MavOdIDTimeAcc13Second = 13
	/*MavOdIDTimeAcc14Second - The timestamp accuracy is smaller than 1.4 second. */
	MavOdIDTimeAcc14Second = 14
	/*MavOdIDTimeAcc15Second - The timestamp accuracy is smaller than 1.5 second. */
	MavOdIDTimeAcc15Second = 15
	/*MavOdIDTimeAccEnumEnd -  */
	MavOdIDTimeAccEnumEnd = 16
)

MAV_ODID_TIME_ACC -

View Source
const (
	/*MavOdIDAuthTypeNone - No authentication type is specified. */
	MavOdIDAuthTypeNone = 0
	/*MavOdIDAuthTypeUasIDSignature - Signature for the UAS (Unmanned Aircraft System) ID. */
	MavOdIDAuthTypeUasIDSignature = 1
	/*MavOdIDAuthTypeOperatorIDSignature - Signature for the Operator ID. */
	MavOdIDAuthTypeOperatorIDSignature = 2
	/*MavOdIDAuthTypeMessageSetSignature - Signature for the entire message set. */
	MavOdIDAuthTypeMessageSetSignature = 3
	/*MavOdIDAuthTypeNetworkRemoteID - Authentication is provided by Network Remote ID. */
	MavOdIDAuthTypeNetworkRemoteID = 4
	/*MavOdIDAuthTypeEnumEnd -  */
	MavOdIDAuthTypeEnumEnd = 5
)

MAV_ODID_AUTH_TYPE -

View Source
const (
	/*MavOdIDDescTypeText - Free-form text description of the purpose of the flight. */
	MavOdIDDescTypeText = 0
	/*MavOdIDDescTypeEnumEnd -  */
	MavOdIDDescTypeEnumEnd = 1
)

MAV_ODID_DESC_TYPE -

View Source
const (
	/*MavOdIDLocationSRCTakeoff - The location of the operator is the same as the take-off location. */
	MavOdIDLocationSRCTakeoff = 0
	/*MavOdIDLocationSRCLiveGnss - The location of the operator is based on live GNSS data. */
	MavOdIDLocationSRCLiveGnss = 1
	/*MavOdIDLocationSRCFixed - The location of the operator is a fixed location. */
	MavOdIDLocationSRCFixed = 2
	/*MavOdIDLocationSRCEnumEnd -  */
	MavOdIDLocationSRCEnumEnd = 3
)

MAV_ODID_LOCATION_SRC -

View Source
const (
	/*MavOdIDOperatorIDTypeCaa - CAA (Civil Aviation Authority) registered operator ID. */
	MavOdIDOperatorIDTypeCaa = 0
	/*MavOdIDOperatorIDTypeEnumEnd -  */
	MavOdIDOperatorIDTypeEnumEnd = 1
)

MAV_ODID_OPERATOR_ID_TYPE -

View Source
const (
	/*TuneFormatQbasic11 - Format is QBasic 1.1 Play: https://www.qbasic.net/en/reference/qb11/Statement/PLAY-006.htm. */
	TuneFormatQbasic11 = 1
	/*TuneFormatMmlModern - Format is Modern Music Markup Language (MML): https://en.wikipedia.org/wiki/Music_Macro_Language#Modern_MML. */
	TuneFormatMmlModern = 2
	/*TuneFormatEnumEnd -  */
	TuneFormatEnumEnd = 3
)

TUNE_FORMAT - Tune formats (used for vehicle buzzer/tone generation).

View Source
const (
	/*ComponentCapFlagsParam - Component has parameters, and supports the parameter protocol (PARAM messages). */
	ComponentCapFlagsParam = 1
	/*ComponentCapFlagsParamExt - Component has parameters, and supports the extended parameter protocol (PARAM_EXT messages). */
	ComponentCapFlagsParamExt = 2
	/*ComponentCapFlagsEnumEnd -  */
	ComponentCapFlagsEnumEnd = 3
)

COMPONENT_CAP_FLAGS - Component capability flags (Bitmap)

View Source
const (
	/*AisTypeUnknown - Not available (default). */
	AisTypeUnknown = 0
	/*AisTypeReserved1 -  */
	AisTypeReserved1 = 1
	/*AisTypeReserved2 -  */
	AisTypeReserved2 = 2
	/*AisTypeReserved3 -  */
	AisTypeReserved3 = 3
	/*AisTypeReserved4 -  */
	AisTypeReserved4 = 4
	/*AisTypeReserved5 -  */
	AisTypeReserved5 = 5
	/*AisTypeReserved6 -  */
	AisTypeReserved6 = 6
	/*AisTypeReserved7 -  */
	AisTypeReserved7 = 7
	/*AisTypeReserved8 -  */
	AisTypeReserved8 = 8
	/*AisTypeReserved9 -  */
	AisTypeReserved9 = 9
	/*AisTypeReserved10 -  */
	AisTypeReserved10 = 10
	/*AisTypeReserved11 -  */
	AisTypeReserved11 = 11
	/*AisTypeReserved12 -  */
	AisTypeReserved12 = 12
	/*AisTypeReserved13 -  */
	AisTypeReserved13 = 13
	/*AisTypeReserved14 -  */
	AisTypeReserved14 = 14
	/*AisTypeReserved15 -  */
	AisTypeReserved15 = 15
	/*AisTypeReserved16 -  */
	AisTypeReserved16 = 16
	/*AisTypeReserved17 -  */
	AisTypeReserved17 = 17
	/*AisTypeReserved18 -  */
	AisTypeReserved18 = 18
	/*AisTypeReserved19 -  */
	AisTypeReserved19 = 19
	/*AisTypeWig - Wing In Ground effect. */
	AisTypeWig = 20
	/*AisTypeWigHazardousA -  */
	AisTypeWigHazardousA = 21
	/*AisTypeWigHazardousB -  */
	AisTypeWigHazardousB = 22
	/*AisTypeWigHazardousC -  */
	AisTypeWigHazardousC = 23
	/*AisTypeWigHazardousD -  */
	AisTypeWigHazardousD = 24
	/*AisTypeWigReserved1 -  */
	AisTypeWigReserved1 = 25
	/*AisTypeWigReserved2 -  */
	AisTypeWigReserved2 = 26
	/*AisTypeWigReserved3 -  */
	AisTypeWigReserved3 = 27
	/*AisTypeWigReserved4 -  */
	AisTypeWigReserved4 = 28
	/*AisTypeWigReserved5 -  */
	AisTypeWigReserved5 = 29
	/*AisTypeFishing -  */
	AisTypeFishing = 30
	/*AisTypeTowing -  */
	AisTypeTowing = 31
	/*AisTypeTowingLarge - Towing: length exceeds 200m or breadth exceeds 25m. */
	AisTypeTowingLarge = 32
	/*AisTypeDredging - Dredging or other underwater ops. */
	AisTypeDredging = 33
	/*AisTypeDiving -  */
	AisTypeDiving = 34
	/*AisTypeMilitary -  */
	AisTypeMilitary = 35
	/*AisTypeSailing -  */
	AisTypeSailing = 36
	/*AisTypePleasure -  */
	AisTypePleasure = 37
	/*AisTypeReserved20 -  */
	AisTypeReserved20 = 38
	/*AisTypeReserved21 -  */
	AisTypeReserved21 = 39
	/*AisTypeHsc - High Speed Craft. */
	AisTypeHsc = 40
	/*AisTypeHscHazardousA -  */
	AisTypeHscHazardousA = 41
	/*AisTypeHscHazardousB -  */
	AisTypeHscHazardousB = 42
	/*AisTypeHscHazardousC -  */
	AisTypeHscHazardousC = 43
	/*AisTypeHscHazardousD -  */
	AisTypeHscHazardousD = 44
	/*AisTypeHscReserved1 -  */
	AisTypeHscReserved1 = 45
	/*AisTypeHscReserved2 -  */
	AisTypeHscReserved2 = 46
	/*AisTypeHscReserved3 -  */
	AisTypeHscReserved3 = 47
	/*AisTypeHscReserved4 -  */
	AisTypeHscReserved4 = 48
	/*AisTypeHscUnknown -  */
	AisTypeHscUnknown = 49
	/*AisTypePilot -  */
	AisTypePilot = 50
	/*AisTypeSar - Search And Rescue vessel. */
	AisTypeSar = 51
	/*AisTypeTug -  */
	AisTypeTug = 52
	/*AisTypePortTender -  */
	AisTypePortTender = 53
	/*AisTypeAntiPollution - Anti-pollution equipment. */
	AisTypeAntiPollution = 54
	/*AisTypeLawEnfoRCement -  */
	AisTypeLawEnfoRCement = 55
	/*AisTypeSpareLocal1 -  */
	AisTypeSpareLocal1 = 56
	/*AisTypeSpareLocal2 -  */
	AisTypeSpareLocal2 = 57
	/*AisTypeMedicalTransport -  */
	AisTypeMedicalTransport = 58
	/*AisTypeNonecombatant - Noncombatant ship according to RR Resolution No. 18. */
	AisTypeNonecombatant = 59
	/*AisTypePassenger -  */
	AisTypePassenger = 60
	/*AisTypePassengerHazardousA -  */
	AisTypePassengerHazardousA = 61
	/*AisTypePassengerHazardousB -  */
	AisTypePassengerHazardousB = 62
	/*AisTypeAisTypePassengerHazardousC -  */
	AisTypeAisTypePassengerHazardousC = 63
	/*AisTypePassengerHazardousD -  */
	AisTypePassengerHazardousD = 64
	/*AisTypePassengerReserved1 -  */
	AisTypePassengerReserved1 = 65
	/*AisTypePassengerReserved2 -  */
	AisTypePassengerReserved2 = 66
	/*AisTypePassengerReserved3 -  */
	AisTypePassengerReserved3 = 67
	/*AisTypeAisTypePassengerReserved4 -  */
	AisTypeAisTypePassengerReserved4 = 68
	/*AisTypePassengerUnknown -  */
	AisTypePassengerUnknown = 69
	/*AisTypeCargo -  */
	AisTypeCargo = 70
	/*AisTypeCargoHazardousA -  */
	AisTypeCargoHazardousA = 71
	/*AisTypeCargoHazardousB -  */
	AisTypeCargoHazardousB = 72
	/*AisTypeCargoHazardousC -  */
	AisTypeCargoHazardousC = 73
	/*AisTypeCargoHazardousD -  */
	AisTypeCargoHazardousD = 74
	/*AisTypeCargoReserved1 -  */
	AisTypeCargoReserved1 = 75
	/*AisTypeCargoReserved2 -  */
	AisTypeCargoReserved2 = 76
	/*AisTypeCargoReserved3 -  */
	AisTypeCargoReserved3 = 77
	/*AisTypeCargoReserved4 -  */
	AisTypeCargoReserved4 = 78
	/*AisTypeCargoUnknown -  */
	AisTypeCargoUnknown = 79
	/*AisTypeTanker -  */
	AisTypeTanker = 80
	/*AisTypeTankerHazardousA -  */
	AisTypeTankerHazardousA = 81
	/*AisTypeTankerHazardousB -  */
	AisTypeTankerHazardousB = 82
	/*AisTypeTankerHazardousC -  */
	AisTypeTankerHazardousC = 83
	/*AisTypeTankerHazardousD -  */
	AisTypeTankerHazardousD = 84
	/*AisTypeTankerReserved1 -  */
	AisTypeTankerReserved1 = 85
	/*AisTypeTankerReserved2 -  */
	AisTypeTankerReserved2 = 86
	/*AisTypeTankerReserved3 -  */
	AisTypeTankerReserved3 = 87
	/*AisTypeTankerReserved4 -  */
	AisTypeTankerReserved4 = 88
	/*AisTypeTankerUnknown -  */
	AisTypeTankerUnknown = 89
	/*AisTypeOther -  */
	AisTypeOther = 90
	/*AisTypeOtherHazardousA -  */
	AisTypeOtherHazardousA = 91
	/*AisTypeOtherHazardousB -  */
	AisTypeOtherHazardousB = 92
	/*AisTypeOtherHazardousC -  */
	AisTypeOtherHazardousC = 93
	/*AisTypeOtherHazardousD -  */
	AisTypeOtherHazardousD = 94
	/*AisTypeOtherReserved1 -  */
	AisTypeOtherReserved1 = 95
	/*AisTypeOtherReserved2 -  */
	AisTypeOtherReserved2 = 96
	/*AisTypeOtherReserved3 -  */
	AisTypeOtherReserved3 = 97
	/*AisTypeOtherReserved4 -  */
	AisTypeOtherReserved4 = 98
	/*AisTypeOtherUnknown -  */
	AisTypeOtherUnknown = 99
	/*AisTypeEnumEnd -  */
	AisTypeEnumEnd = 100
)

AIS_TYPE - Type of AIS vessel, enum duplicated from AIS standard, https://gpsd.gitlab.io/gpsd/AIVDM.html

View Source
const (
	/*UnderWay - Under way using engine. */
	UnderWay = 0
	/*AisNAVAnchored -  */
	AisNAVAnchored = 1
	/*AisNAVUnCommanded -  */
	AisNAVUnCommanded = 2
	/*AisNAVRestrictedManoeuverability -  */
	AisNAVRestrictedManoeuverability = 3
	/*AisNAVDraughtConstrained -  */
	AisNAVDraughtConstrained = 4
	/*AisNAVMoored -  */
	AisNAVMoored = 5
	/*AisNAVAground -  */
	AisNAVAground = 6
	/*AisNAVFishing -  */
	AisNAVFishing = 7
	/*AisNAVSailing -  */
	AisNAVSailing = 8
	/*AisNAVReservedHsc -  */
	AisNAVReservedHsc = 9
	/*AisNAVReservedWig -  */
	AisNAVReservedWig = 10
	/*AisNAVReserved1 -  */
	AisNAVReserved1 = 11
	/*AisNAVReserved2 -  */
	AisNAVReserved2 = 12
	/*AisNAVReserved3 -  */
	AisNAVReserved3 = 13
	/*AisNAVAisSart - Search And Rescue Transponder. */
	AisNAVAisSart = 14
	/*AisNAVUnknown - Not available (default). */
	AisNAVUnknown = 15
	/*AisNAVStatusEnumEnd -  */
	AisNAVStatusEnumEnd = 16
)

AIS_NAV_STATUS - Navigational status of AIS vessel, enum duplicated from AIS standard, https://gpsd.gitlab.io/gpsd/AIVDM.html

View Source
const (
	/*AisFlagsPositionAccuracy - 1 = Position accuracy less than 10m, 0 = position accuracy greater than 10m. */
	AisFlagsPositionAccuracy = 1
	/*AisFlagsValIDCog -  */
	AisFlagsValIDCog = 2
	/*AisFlagsValIDVelocity -  */
	AisFlagsValIDVelocity = 4
	/*AisFlagsHighVelocity - 1 = Velocity over 52.5765m/s (102.2 knots) */
	AisFlagsHighVelocity = 8
	/*AisFlagsValIDTurnRate -  */
	AisFlagsValIDTurnRate = 16
	/*AisFlagsTurnRateSignOnly - Only the sign of the returned turn rate value is valid, either greater than 5deg/30s or less than -5deg/30s */
	AisFlagsTurnRateSignOnly = 32
	/*AisFlagsValIDDimensions -  */
	AisFlagsValIDDimensions = 64
	/*AisFlagsLargeBowDimension - Distance to bow is larger than 511m */
	AisFlagsLargeBowDimension = 128
	/*AisFlagsLargeSternDimension - Distance to stern is larger than 511m */
	AisFlagsLargeSternDimension = 256
	/*AisFlagsLargePortDimension - Distance to port side is larger than 63m */
	AisFlagsLargePortDimension = 512
	/*AisFlagsLargeStarboardDimension - Distance to starboard side is larger than 63m */
	AisFlagsLargeStarboardDimension = 1024
	/*AisFlagsValIDCallsign -  */
	AisFlagsValIDCallsign = 2048
	/*AisFlagsValIDName -  */
	AisFlagsValIDName = 4096
	/*AisFlagsEnumEnd -  */
	AisFlagsEnumEnd = 4097
)

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.

Variables

This section is empty.

Functions

This section is empty.

Types

type ActuatorControlTarget

type ActuatorControlTarget struct {
	/*TimeUsec 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 the number. */
	TimeUsec uint64
	/*Controls Actuator controls. Normed to -1..+1 where 0 is neutral position. Throttle for single rotation direction motors is 0..1, negative range for reverse direction. Standard mapping for attitude controls (group 0): (index 0-7): roll, pitch, yaw, throttle, flaps, spoilers, airbrakes, landing gear. Load a pass-through mixer to repurpose them as generic outputs. */
	Controls [8]float32
	/*GroupMlx Actuator group. The "_mlx" indicates this is a multi-instance message and a MAVLink parser should use this field to difference between instances. */
	GroupMlx uint8
	/*HasExtensionFieldValues indicates if this message has any extensions and  */
	HasExtensionFieldValues bool
}

ActuatorControlTarget Set the vehicle attitude and body angular rates.

func (*ActuatorControlTarget) GetDialect

func (m *ActuatorControlTarget) GetDialect() string

GetDialect gets the name of the dialect that defines the Message

func (*ActuatorControlTarget) GetID

func (m *ActuatorControlTarget) GetID() uint32

GetID gets the ID of the Message

func (*ActuatorControlTarget) GetMessageName

func (m *ActuatorControlTarget) GetMessageName() string

GetMessageName gets the name of the Message

func (*ActuatorControlTarget) GetVersion

func (m *ActuatorControlTarget) GetVersion() int

GetVersion gets the MAVLink version of the Message contents

func (*ActuatorControlTarget) HasExtensionFields

func (m *ActuatorControlTarget) HasExtensionFields() bool

HasExtensionFields returns true if the message definition contained extensions; false otherwise

func (*ActuatorControlTarget) Read

func (m *ActuatorControlTarget) Read(frame mavlink2.Frame) (err error)

Read sets the field values of the message from the raw message payload

func (*ActuatorControlTarget) String

func (m *ActuatorControlTarget) String() string

func (*ActuatorControlTarget) Write

func (m *ActuatorControlTarget) Write(version int) (output []byte, err error)

Write encodes the field values of the message to a byte array

type ActuatorOutputStatus

type ActuatorOutputStatus struct {
	/*TimeUsec Timestamp (since system boot). */
	TimeUsec uint64
	/*Active Active outputs */
	Active uint32
	/*Actuator Servo / motor output array values. Zero values indicate unused channels. */
	Actuator [32]float32
	/*HasExtensionFieldValues indicates if this message has any extensions and  */
	HasExtensionFieldValues bool
}

ActuatorOutputStatus The raw values of the actuator outputs (e.g. on Pixhawk, from MAIN, AUX ports). This message supersedes SERVO_OUTPUT_RAW.

func (*ActuatorOutputStatus) GetDialect

func (m *ActuatorOutputStatus) GetDialect() string

GetDialect gets the name of the dialect that defines the Message

func (*ActuatorOutputStatus) GetID

func (m *ActuatorOutputStatus) GetID() uint32

GetID gets the ID of the Message

func (*ActuatorOutputStatus) GetMessageName

func (m *ActuatorOutputStatus) GetMessageName() string

GetMessageName gets the name of the Message

func (*ActuatorOutputStatus) GetVersion

func (m *ActuatorOutputStatus) GetVersion() int

GetVersion gets the MAVLink version of the Message contents

func (*ActuatorOutputStatus) HasExtensionFields

func (m *ActuatorOutputStatus) HasExtensionFields() bool

HasExtensionFields returns true if the message definition contained extensions; false otherwise

func (*ActuatorOutputStatus) Read

func (m *ActuatorOutputStatus) Read(frame mavlink2.Frame) (err error)

Read sets the field values of the message from the raw message payload

func (*ActuatorOutputStatus) String

func (m *ActuatorOutputStatus) String() string

func (*ActuatorOutputStatus) Write

func (m *ActuatorOutputStatus) Write(version int) (output []byte, err error)

Write encodes the field values of the message to a byte array

type AdsbVehicle

type AdsbVehicle struct {
	/*IcaoAddress ICAO address */
	IcaoAddress uint32
	/*Lat Latitude */
	Lat int32
	/*Lon Longitude */
	Lon int32
	/*Altitude Altitude(ASL) */
	Altitude int32
	/*Heading Course over ground */
	Heading uint16
	/*HorVelocity The horizontal velocity */
	HorVelocity uint16
	/*VerVelocity The vertical velocity. Positive is up */
	VerVelocity int16
	/*Flags Bitmap to indicate various statuses including valid data fields */
	Flags uint16
	/*Squawk Squawk code */
	Squawk uint16
	/*AltitudeType ADSB altitude type. */
	AltitudeType uint8
	/*Callsign The callsign, 8+null */
	Callsign [9]byte
	/*EmitterType ADSB emitter type. */
	EmitterType uint8
	/*Tslc Time since last communication in seconds */
	Tslc uint8
	/*HasExtensionFieldValues indicates if this message has any extensions and  */
	HasExtensionFieldValues bool
}

AdsbVehicle The location and information of an ADSB vehicle

func (*AdsbVehicle) GetCallsign

func (m *AdsbVehicle) GetCallsign() string

GetCallsign decodes the null-terminated string in the Callsign

func (*AdsbVehicle) GetDialect

func (m *AdsbVehicle) GetDialect() string

GetDialect gets the name of the dialect that defines the Message

func (*AdsbVehicle) GetID

func (m *AdsbVehicle) GetID() uint32

GetID gets the ID of the Message

func (*AdsbVehicle) GetMessageName

func (m *AdsbVehicle) GetMessageName() string

GetMessageName gets the name of the Message

func (*AdsbVehicle) GetVersion

func (m *AdsbVehicle) GetVersion() int

GetVersion gets the MAVLink version of the Message contents

func (*AdsbVehicle) HasExtensionFields

func (m *AdsbVehicle) HasExtensionFields() bool

HasExtensionFields returns true if the message definition contained extensions; false otherwise

func (*AdsbVehicle) Read

func (m *AdsbVehicle) Read(frame mavlink2.Frame) (err error)

Read sets the field values of the message from the raw message payload

func (*AdsbVehicle) SetCallsign

func (m *AdsbVehicle) SetCallsign(input string) (err error)

SetCallsign encodes the input string to the Callsign array

func (*AdsbVehicle) String

func (m *AdsbVehicle) String() string

func (*AdsbVehicle) Write

func (m *AdsbVehicle) Write(version int) (output []byte, err error)

Write encodes the field values of the message to a byte array

type AisVessel

type AisVessel struct {
	/*Mmsi Mobile Marine Service Identifier, 9 decimal digits */
	Mmsi uint32
	/*Lat Latitude */
	Lat int32
	/*Lon Longitude */
	Lon int32
	/*Cog Course over ground */
	Cog uint16
	/*Heading True heading */
	Heading uint16
	/*Velocity Speed over ground */
	Velocity uint16
	/*DimensionBow Distance from lat/lon location to bow */
	DimensionBow uint16
	/*DimensionStern Distance from lat/lon location to stern */
	DimensionStern uint16
	/*Tslc Time since last communication in seconds */
	Tslc uint16
	/*Flags Bitmask to indicate various statuses including valid data fields */
	Flags uint16
	/*TurnRate Turn rate */
	TurnRate int8
	/*NAVigationalStatus Navigational status */
	NAVigationalStatus uint8
	/*Type Type of vessels */
	Type uint8
	/*DimensionPort Distance from lat/lon location to port side */
	DimensionPort uint8
	/*DimensionStarboard Distance from lat/lon location to starboard side */
	DimensionStarboard uint8
	/*Callsign The vessel callsign */
	Callsign [7]byte
	/*Name The vessel name */
	Name [20]byte
	/*HasExtensionFieldValues indicates if this message has any extensions and  */
	HasExtensionFieldValues bool
}

AisVessel The location and information of an AIS vessel

func (*AisVessel) GetCallsign

func (m *AisVessel) GetCallsign() string

GetCallsign decodes the null-terminated string in the Callsign

func (*AisVessel) GetDialect

func (m *AisVessel) GetDialect() string

GetDialect gets the name of the dialect that defines the Message

func (*AisVessel) GetID

func (m *AisVessel) GetID() uint32

GetID gets the ID of the Message

func (*AisVessel) GetMessageName

func (m *AisVessel) GetMessageName() string

GetMessageName gets the name of the Message

func (*AisVessel) GetName

func (m *AisVessel) GetName() string

GetName decodes the null-terminated string in the Name

func (*AisVessel) GetVersion

func (m *AisVessel) GetVersion() int

GetVersion gets the MAVLink version of the Message contents

func (*AisVessel) HasExtensionFields

func (m *AisVessel) HasExtensionFields() bool

HasExtensionFields returns true if the message definition contained extensions; false otherwise

func (*AisVessel) Read

func (m *AisVessel) Read(frame mavlink2.Frame) (err error)

Read sets the field values of the message from the raw message payload

func (*AisVessel) SetCallsign

func (m *AisVessel) SetCallsign(input string) (err error)

SetCallsign encodes the input string to the Callsign array

func (*AisVessel) SetName

func (m *AisVessel) SetName(input string) (err error)

SetName encodes the input string to the Name array

func (*AisVessel) String

func (m *AisVessel) String() string

func (*AisVessel) Write

func (m *AisVessel) Write(version int) (output []byte, err error)

Write encodes the field values of the message to a byte array

type Altitude

type Altitude struct {
	/*TimeUsec 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 the number. */
	TimeUsec uint64
	/*AltitudeMonotonic This altitude measure is initialized on system boot and monotonic (it is never reset, but represents the local altitude change). The only guarantee on this field is that it will never be reset and is consistent within a flight. The recommended value for this field is the uncorrected barometric altitude at boot time. This altitude will also drift and vary between flights. */
	AltitudeMonotonic float32
	/*AltitudeAmsl This altitude measure is strictly above mean sea level and might be non-monotonic (it might reset on events like GPS lock or when a new QNH value is set). It should be the altitude to which global altitude waypoints are compared to. Note that it is *not* the GPS altitude, however, most GPS modules already output MSL by default and not the WGS84 altitude. */
	AltitudeAmsl float32
	/*AltitudeLocal This is the local altitude in the local coordinate frame. It is not the altitude above home, but in reference to the coordinate origin (0, 0, 0). It is up-positive. */
	AltitudeLocal float32
	/*AltitudeRelative This is the altitude above the home position. It resets on each change of the current home position. */
	AltitudeRelative float32
	/*AltitudeTerrain This is the altitude above terrain. It might be fed by a terrain database or an altimeter. Values smaller than -1000 should be interpreted as unknown. */
	AltitudeTerrain float32
	/*BottomClearance This is not the altitude, but the clear space below the system according to the fused clearance estimate. It generally should max out at the maximum range of e.g. the laser altimeter. It is generally a moving target. A negative value indicates no measurement available. */
	BottomClearance float32
	/*HasExtensionFieldValues indicates if this message has any extensions and  */
	HasExtensionFieldValues bool
}

Altitude The current system altitude.

func (*Altitude) GetDialect

func (m *Altitude) GetDialect() string

GetDialect gets the name of the dialect that defines the Message

func (*Altitude) GetID

func (m *Altitude) GetID() uint32

GetID gets the ID of the Message

func (*Altitude) GetMessageName

func (m *Altitude) GetMessageName() string

GetMessageName gets the name of the Message

func (*Altitude) GetVersion

func (m *Altitude) GetVersion() int

GetVersion gets the MAVLink version of the Message contents

func (*Altitude) HasExtensionFields

func (m *Altitude) HasExtensionFields() bool

HasExtensionFields returns true if the message definition contained extensions; false otherwise

func (*Altitude) Read

func (m *Altitude) Read(frame mavlink2.Frame) (err error)

Read sets the field values of the message from the raw message payload

func (*Altitude) String

func (m *Altitude) String() string

func (*Altitude) Write

func (m *Altitude) Write(version int) (output []byte, err error)

Write encodes the field values of the message to a byte array

type AttPosMocap

type AttPosMocap struct {
	/*TimeUsec 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 the number. */
	TimeUsec uint64
	/*Q Attitude quaternion (w, x, y, z order, zero-rotation is 1, 0, 0, 0) */
	Q [4]float32
	/*X X position (NED) */
	X float32
	/*Y Y position (NED) */
	Y float32
	/*Z Z position (NED) */
	Z float32
	/*Covariance Row-major representation of a pose 6x6 cross-covariance matrix upper right triangle (states: x, y, z, roll, pitch, yaw; first six entries are the first ROW, next five entries are the second ROW, etc.). If unknown, assign NaN value to first element in the array. */
	Covariance [21]float32
	/*HasExtensionFieldValues indicates if this message has any extensions and  */
	HasExtensionFieldValues bool
}

AttPosMocap Motion capture attitude and position

func (*AttPosMocap) GetDialect

func (m *AttPosMocap) GetDialect() string

GetDialect gets the name of the dialect that defines the Message

func (*AttPosMocap) GetID

func (m *AttPosMocap) GetID() uint32

GetID gets the ID of the Message

func (*AttPosMocap) GetMessageName

func (m *AttPosMocap) GetMessageName() string

GetMessageName gets the name of the Message

func (*AttPosMocap) GetVersion

func (m *AttPosMocap) GetVersion() int

GetVersion gets the MAVLink version of the Message contents

func (*AttPosMocap) HasExtensionFields

func (m *AttPosMocap) HasExtensionFields() bool

HasExtensionFields returns true if the message definition contained extensions; false otherwise

func (*AttPosMocap) Read

func (m *AttPosMocap) Read(frame mavlink2.Frame) (err error)

Read sets the field values of the message from the raw message payload

func (*AttPosMocap) String

func (m *AttPosMocap) String() string

func (*AttPosMocap) Write

func (m *AttPosMocap) Write(version int) (output []byte, err error)

Write encodes the field values of the message to a byte array

type Attitude

type Attitude struct {
	/*TimeBootMs Timestamp (time since system boot). */
	TimeBootMs uint32
	/*Roll Roll angle (-pi..+pi) */
	Roll float32
	/*Pitch Pitch angle (-pi..+pi) */
	Pitch float32
	/*Yaw Yaw angle (-pi..+pi) */
	Yaw float32
	/*Rollspeed Roll angular speed */
	Rollspeed float32
	/*Pitchspeed Pitch angular speed */
	Pitchspeed float32
	/*Yawspeed Yaw angular speed */
	Yawspeed float32
	/*HasExtensionFieldValues indicates if this message has any extensions and  */
	HasExtensionFieldValues bool
}

Attitude The attitude in the aeronautical frame (right-handed, Z-down, X-front, Y-right).

func (*Attitude) GetDialect

func (m *Attitude) GetDialect() string

GetDialect gets the name of the dialect that defines the Message

func (*Attitude) GetID

func (m *Attitude) GetID() uint32

GetID gets the ID of the Message

func (*Attitude) GetMessageName

func (m *Attitude) GetMessageName() string

GetMessageName gets the name of the Message

func (*Attitude) GetVersion

func (m *Attitude) GetVersion() int

GetVersion gets the MAVLink version of the Message contents

func (*Attitude) HasExtensionFields

func (m *Attitude) HasExtensionFields() bool

HasExtensionFields returns true if the message definition contained extensions; false otherwise

func (*Attitude) Read

func (m *Attitude) Read(frame mavlink2.Frame) (err error)

Read sets the field values of the message from the raw message payload

func (*Attitude) String

func (m *Attitude) String() string

func (*Attitude) Write

func (m *Attitude) Write(version int) (output []byte, err error)

Write encodes the field values of the message to a byte array

type AttitudeQuaternion

type AttitudeQuaternion struct {
	/*TimeBootMs Timestamp (time since system boot). */
	TimeBootMs uint32
	/*Q1 Quaternion component 1, w (1 in null-rotation) */
	Q1 float32
	/*Q2 Quaternion component 2, x (0 in null-rotation) */
	Q2 float32
	/*Q3 Quaternion component 3, y (0 in null-rotation) */
	Q3 float32
	/*Q4 Quaternion component 4, z (0 in null-rotation) */
	Q4 float32
	/*Rollspeed Roll angular speed */
	Rollspeed float32
	/*Pitchspeed Pitch angular speed */
	Pitchspeed float32
	/*Yawspeed Yaw angular speed */
	Yawspeed float32
	/*ReprOffsetQ Rotation offset by which the attitude quaternion and angular speed vector should be rotated for user display (quaternion with [w, x, y, z] order, zero-rotation is [1, 0, 0, 0], send [0, 0, 0, 0] if field not supported). This field is intended for systems in which the reference attitude may change during flight. For example, tailsitters VTOLs rotate their reference attitude by 90 degrees between hover mode and fixed wing mode, thus repr_offset_q is equal to [1, 0, 0, 0] in hover mode and equal to [0.7071, 0, 0.7071, 0] in fixed wing mode. */
	ReprOffsetQ [4]float32
	/*HasExtensionFieldValues indicates if this message has any extensions and  */
	HasExtensionFieldValues bool
}

AttitudeQuaternion 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).

func (*AttitudeQuaternion) GetDialect

func (m *AttitudeQuaternion) GetDialect() string

GetDialect gets the name of the dialect that defines the Message

func (*AttitudeQuaternion) GetID

func (m *AttitudeQuaternion) GetID() uint32

GetID gets the ID of the Message

func (*AttitudeQuaternion) GetMessageName

func (m *AttitudeQuaternion) GetMessageName() string

GetMessageName gets the name of the Message

func (*AttitudeQuaternion) GetVersion

func (m *AttitudeQuaternion) GetVersion() int

GetVersion gets the MAVLink version of the Message contents

func (*AttitudeQuaternion) HasExtensionFields

func (m *AttitudeQuaternion) HasExtensionFields() bool

HasExtensionFields returns true if the message definition contained extensions; false otherwise

func (*AttitudeQuaternion) Read

func (m *AttitudeQuaternion) Read(frame mavlink2.Frame) (err error)

Read sets the field values of the message from the raw message payload

func (*AttitudeQuaternion) String

func (m *AttitudeQuaternion) String() string

func (*AttitudeQuaternion) Write

func (m *AttitudeQuaternion) Write(version int) (output []byte, err error)

Write encodes the field values of the message to a byte array

type AttitudeQuaternionCov

type AttitudeQuaternionCov struct {
	/*TimeUsec 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 the number. */
	TimeUsec uint64
	/*Q Quaternion components, w, x, y, z (1 0 0 0 is the null-rotation) */
	Q [4]float32
	/*Rollspeed Roll angular speed */
	Rollspeed float32
	/*Pitchspeed Pitch angular speed */
	Pitchspeed float32
	/*Yawspeed Yaw angular speed */
	Yawspeed float32
	/*Covariance Row-major representation of a 3x3 attitude covariance matrix (states: roll, pitch, yaw; first three entries are the first ROW, next three entries are the second row, etc.). If unknown, assign NaN value to first element in the array. */
	Covariance [9]float32
	/*HasExtensionFieldValues indicates if this message has any extensions and  */
	HasExtensionFieldValues bool
}

AttitudeQuaternionCov 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).

func (*AttitudeQuaternionCov) GetDialect

func (m *AttitudeQuaternionCov) GetDialect() string

GetDialect gets the name of the dialect that defines the Message

func (*AttitudeQuaternionCov) GetID

func (m *AttitudeQuaternionCov) GetID() uint32

GetID gets the ID of the Message

func (*AttitudeQuaternionCov) GetMessageName

func (m *AttitudeQuaternionCov) GetMessageName() string

GetMessageName gets the name of the Message

func (*AttitudeQuaternionCov) GetVersion

func (m *AttitudeQuaternionCov) GetVersion() int

GetVersion gets the MAVLink version of the Message contents

func (*AttitudeQuaternionCov) HasExtensionFields

func (m *AttitudeQuaternionCov) HasExtensionFields() bool

HasExtensionFields returns true if the message definition contained extensions; false otherwise

func (*AttitudeQuaternionCov) Read

func (m *AttitudeQuaternionCov) Read(frame mavlink2.Frame) (err error)

Read sets the field values of the message from the raw message payload

func (*AttitudeQuaternionCov) String

func (m *AttitudeQuaternionCov) String() string

func (*AttitudeQuaternionCov) Write

func (m *AttitudeQuaternionCov) Write(version int) (output []byte, err error)

Write encodes the field values of the message to a byte array

type AttitudeTarget

type AttitudeTarget struct {
	/*TimeBootMs Timestamp (time since system boot). */
	TimeBootMs uint32
	/*Q Attitude quaternion (w, x, y, z order, zero-rotation is 1, 0, 0, 0) */
	Q [4]float32
	/*BodyRollRate Body roll rate */
	BodyRollRate float32
	/*BodyPitchRate Body pitch rate */
	BodyPitchRate float32
	/*BodyYawRate Body yaw rate */
	BodyYawRate float32
	/*Thrust Collective thrust, normalized to 0 .. 1 (-1 .. 1 for vehicles capable of reverse trust) */
	Thrust float32
	/*TypeMask Mappings: If any of these bits are set, the corresponding input should be ignored: bit 1: body roll rate, bit 2: body pitch rate, bit 3: body yaw rate. bit 4-bit 7: reserved, bit 8: attitude */
	TypeMask uint8
	/*HasExtensionFieldValues indicates if this message has any extensions and  */
	HasExtensionFieldValues bool
}

AttitudeTarget 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.

func (*AttitudeTarget) GetDialect

func (m *AttitudeTarget) GetDialect() string

GetDialect gets the name of the dialect that defines the Message

func (*AttitudeTarget) GetID

func (m *AttitudeTarget) GetID() uint32

GetID gets the ID of the Message

func (*AttitudeTarget) GetMessageName

func (m *AttitudeTarget) GetMessageName() string

GetMessageName gets the name of the Message

func (*AttitudeTarget) GetVersion

func (m *AttitudeTarget) GetVersion() int

GetVersion gets the MAVLink version of the Message contents

func (*AttitudeTarget) HasExtensionFields

func (m *AttitudeTarget) HasExtensionFields() bool

HasExtensionFields returns true if the message definition contained extensions; false otherwise

func (*AttitudeTarget) Read

func (m *AttitudeTarget) Read(frame mavlink2.Frame) (err error)

Read sets the field values of the message from the raw message payload

func (*AttitudeTarget) String

func (m *AttitudeTarget) String() string

func (*AttitudeTarget) Write

func (m *AttitudeTarget) Write(version int) (output []byte, err error)

Write encodes the field values of the message to a byte array

type AuthKey

type AuthKey struct {
	/*Key key */
	Key [32]byte
	/*HasExtensionFieldValues indicates if this message has any extensions and  */
	HasExtensionFieldValues bool
}

AuthKey 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.

func (*AuthKey) GetDialect

func (m *AuthKey) GetDialect() string

GetDialect gets the name of the dialect that defines the Message

func (*AuthKey) GetID

func (m *AuthKey) GetID() uint32

GetID gets the ID of the Message

func (*AuthKey) GetKey

func (m *AuthKey) GetKey() string

GetKey decodes the null-terminated string in the Key

func (*AuthKey) GetMessageName

func (m *AuthKey) GetMessageName() string

GetMessageName gets the name of the Message

func (*AuthKey) GetVersion

func (m *AuthKey) GetVersion() int

GetVersion gets the MAVLink version of the Message contents

func (*AuthKey) HasExtensionFields

func (m *AuthKey) HasExtensionFields() bool

HasExtensionFields returns true if the message definition contained extensions; false otherwise

func (*AuthKey) Read

func (m *AuthKey) Read(frame mavlink2.Frame) (err error)

Read sets the field values of the message from the raw message payload

func (*AuthKey) SetKey

func (m *AuthKey) SetKey(input string) (err error)

SetKey encodes the input string to the Key array

func (*AuthKey) String

func (m *AuthKey) String() string

func (*AuthKey) Write

func (m *AuthKey) Write(version int) (output []byte, err error)

Write encodes the field values of the message to a byte array

type AutopilotVersion

type AutopilotVersion struct {
	/*Capabilities Bitmap of capabilities */
	Capabilities uint64
	/*UID UID if provided by hardware (see uid2) */
	UID uint64
	/*FlightSwVersion Firmware version number */
	FlightSwVersion uint32
	/*MIDdlewareSwVersion Middleware version number */
	MIDdlewareSwVersion uint32
	/*OsSwVersion Operating system version number */
	OsSwVersion uint32
	/*BoardVersion HW / board version (last 8 bytes should be silicon ID, if any) */
	BoardVersion uint32
	/*VendorID ID of the board vendor */
	VendorID uint16
	/*ProductID ID of the product */
	ProductID uint16
	/*FlightCustomVersion Custom version field, commonly the first 8 bytes of the git hash. This is not an unique identifier, but should allow to identify the commit using the main version number even for very large code bases. */
	FlightCustomVersion [8]uint8
	/*MIDdlewareCustomVersion Custom version field, commonly the first 8 bytes of the git hash. This is not an unique identifier, but should allow to identify the commit using the main version number even for very large code bases. */
	MIDdlewareCustomVersion [8]uint8
	/*OsCustomVersion Custom version field, commonly the first 8 bytes of the git hash. This is not an unique identifier, but should allow to identify the commit using the main version number even for very large code bases. */
	OsCustomVersion [8]uint8
	/*UID2 UID if provided by hardware (supersedes the uid field. If this is non-zero, use this field, otherwise use uid) */
	UID2 [18]uint8
	/*HasExtensionFieldValues indicates if this message has any extensions and  */
	HasExtensionFieldValues bool
}

AutopilotVersion Version and capability of autopilot software. This should be emitted in response to a MAV_CMD_REQUEST_AUTOPILOT_CAPABILITIES command.

func (*AutopilotVersion) GetDialect

func (m *AutopilotVersion) GetDialect() string

GetDialect gets the name of the dialect that defines the Message

func (*AutopilotVersion) GetID

func (m *AutopilotVersion) GetID() uint32

GetID gets the ID of the Message

func (*AutopilotVersion) GetMessageName

func (m *AutopilotVersion) GetMessageName() string

GetMessageName gets the name of the Message

func (*AutopilotVersion) GetVersion

func (m *AutopilotVersion) GetVersion() int

GetVersion gets the MAVLink version of the Message contents

func (*AutopilotVersion) HasExtensionFields

func (m *AutopilotVersion) HasExtensionFields() bool

HasExtensionFields returns true if the message definition contained extensions; false otherwise

func (*AutopilotVersion) Read

func (m *AutopilotVersion) Read(frame mavlink2.Frame) (err error)

Read sets the field values of the message from the raw message payload

func (*AutopilotVersion) String

func (m *AutopilotVersion) String() string

func (*AutopilotVersion) Write

func (m *AutopilotVersion) Write(version int) (output []byte, err error)

Write encodes the field values of the message to a byte array

type BatteryStatus

type BatteryStatus struct {
	/*CurrentConsumed Consumed charge, -1: autopilot does not provide consumption estimate */
	CurrentConsumed int32
	/*EnergyConsumed Consumed energy, -1: autopilot does not provide energy consumption estimate */
	EnergyConsumed int32
	/*Temperature Temperature of the battery. INT16_MAX for unknown temperature. */
	Temperature int16
	/*Voltages Battery voltage of cells. Cells above the valid cell count for this battery should have the UINT16_MAX value. */
	Voltages [10]uint16
	/*CurrentBattery Battery current, -1: autopilot does not measure the current */
	CurrentBattery int16
	/*ID Battery ID */
	ID uint8
	/*BatteryFunction Function of the battery */
	BatteryFunction uint8
	/*Type Type (chemistry) of the battery */
	Type uint8
	/*BatteryRemaining Remaining battery energy. Values: [0-100], -1: autopilot does not estimate the remaining battery. */
	BatteryRemaining int8
	/*TimeRemaining Remaining battery time, 0: autopilot does not provide remaining battery time estimate */
	TimeRemaining int32
	/*ChargeState State for extent of discharge, provided by autopilot for warning or external reactions */
	ChargeState uint8
	/*HasExtensionFieldValues indicates if this message has any extensions and  */
	HasExtensionFieldValues bool
}

BatteryStatus Battery information. Updates GCS with flight controller battery status. Use SMART_BATTERY_* messages instead for smart batteries.

func (*BatteryStatus) GetDialect

func (m *BatteryStatus) GetDialect() string

GetDialect gets the name of the dialect that defines the Message

func (*BatteryStatus) GetID

func (m *BatteryStatus) GetID() uint32

GetID gets the ID of the Message

func (*BatteryStatus) GetMessageName

func (m *BatteryStatus) GetMessageName() string

GetMessageName gets the name of the Message

func (*BatteryStatus) GetVersion

func (m *BatteryStatus) GetVersion() int

GetVersion gets the MAVLink version of the Message contents

func (*BatteryStatus) HasExtensionFields

func (m *BatteryStatus) HasExtensionFields() bool

HasExtensionFields returns true if the message definition contained extensions; false otherwise

func (*BatteryStatus) Read

func (m *BatteryStatus) Read(frame mavlink2.Frame) (err error)

Read sets the field values of the message from the raw message payload

func (*BatteryStatus) String

func (m *BatteryStatus) String() string

func (*BatteryStatus) Write

func (m *BatteryStatus) Write(version int) (output []byte, err error)

Write encodes the field values of the message to a byte array

type ButtonChange

type ButtonChange struct {
	/*TimeBootMs Timestamp (time since system boot). */
	TimeBootMs uint32
	/*LastChangeMs Time of last change of button state. */
	LastChangeMs uint32
	/*State Bitmap for state of buttons. */
	State uint8
	/*HasExtensionFieldValues indicates if this message has any extensions and  */
	HasExtensionFieldValues bool
}

ButtonChange Report button state change.

func (*ButtonChange) GetDialect

func (m *ButtonChange) GetDialect() string

GetDialect gets the name of the dialect that defines the Message

func (*ButtonChange) GetID

func (m *ButtonChange) GetID() uint32

GetID gets the ID of the Message

func (*ButtonChange) GetMessageName

func (m *ButtonChange) GetMessageName() string

GetMessageName gets the name of the Message

func (*ButtonChange) GetVersion

func (m *ButtonChange) GetVersion() int

GetVersion gets the MAVLink version of the Message contents

func (*ButtonChange) HasExtensionFields

func (m *ButtonChange) HasExtensionFields() bool

HasExtensionFields returns true if the message definition contained extensions; false otherwise

func (*ButtonChange) Read

func (m *ButtonChange) Read(frame mavlink2.Frame) (err error)

Read sets the field values of the message from the raw message payload

func (*ButtonChange) String

func (m *ButtonChange) String() string

func (*ButtonChange) Write

func (m *ButtonChange) Write(version int) (output []byte, err error)

Write encodes the field values of the message to a byte array

type CameraCaptureStatus

type CameraCaptureStatus struct {
	/*TimeBootMs Timestamp (time since system boot). */
	TimeBootMs uint32
	/*ImageInterval Image capture interval */
	ImageInterval float32
	/*RecordingTimeMs Time since recording started */
	RecordingTimeMs uint32
	/*AvailableCapacity Available storage capacity. */
	AvailableCapacity float32
	/*ImageStatus Current status of image capturing (0: idle, 1: capture in progress, 2: interval set but idle, 3: interval set and capture in progress) */
	ImageStatus uint8
	/*VIDeoStatus Current status of video capturing (0: idle, 1: capture in progress) */
	VIDeoStatus uint8
	/*HasExtensionFieldValues indicates if this message has any extensions and  */
	HasExtensionFieldValues bool
}

CameraCaptureStatus Information about the status of a capture.

func (*CameraCaptureStatus) GetDialect

func (m *CameraCaptureStatus) GetDialect() string

GetDialect gets the name of the dialect that defines the Message

func (*CameraCaptureStatus) GetID

func (m *CameraCaptureStatus) GetID() uint32

GetID gets the ID of the Message

func (*CameraCaptureStatus) GetMessageName

func (m *CameraCaptureStatus) GetMessageName() string

GetMessageName gets the name of the Message

func (*CameraCaptureStatus) GetVersion

func (m *CameraCaptureStatus) GetVersion() int

GetVersion gets the MAVLink version of the Message contents

func (*CameraCaptureStatus) HasExtensionFields

func (m *CameraCaptureStatus) HasExtensionFields() bool

HasExtensionFields returns true if the message definition contained extensions; false otherwise

func (*CameraCaptureStatus) Read

func (m *CameraCaptureStatus) Read(frame mavlink2.Frame) (err error)

Read sets the field values of the message from the raw message payload

func (*CameraCaptureStatus) String

func (m *CameraCaptureStatus) String() string

func (*CameraCaptureStatus) Write

func (m *CameraCaptureStatus) Write(version int) (output []byte, err error)

Write encodes the field values of the message to a byte array

type CameraImageCaptured

type CameraImageCaptured struct {
	/*TimeUtc Timestamp (time since UNIX epoch) in UTC. 0 for unknown. */
	TimeUtc uint64
	/*TimeBootMs Timestamp (time since system boot). */
	TimeBootMs uint32
	/*Lat Latitude where image was taken */
	Lat int32
	/*Lon Longitude where capture was taken */
	Lon int32
	/*Alt Altitude (MSL) where image was taken */
	Alt int32
	/*RelativeAlt Altitude above ground */
	RelativeAlt int32
	/*Q Quaternion of camera orientation (w, x, y, z order, zero-rotation is 0, 0, 0, 0) */
	Q [4]float32
	/*ImageIndex Zero based index of this image (image count since armed -1) */
	ImageIndex int32
	/*CameraID Camera ID (1 for first, 2 for second, etc.) */
	CameraID uint8
	/*CaptureResult Boolean indicating success (1) or failure (0) while capturing this image. */
	CaptureResult int8
	/*FileURL URL of image taken. Either local storage or http://foo.jpg if camera provides an HTTP interface. */
	FileURL [205]byte
	/*HasExtensionFieldValues indicates if this message has any extensions and  */
	HasExtensionFieldValues bool
}

CameraImageCaptured Information about a captured image

func (*CameraImageCaptured) GetDialect

func (m *CameraImageCaptured) GetDialect() string

GetDialect gets the name of the dialect that defines the Message

func (*CameraImageCaptured) GetFileURL

func (m *CameraImageCaptured) GetFileURL() string

GetFileURL decodes the null-terminated string in the FileURL

func (*CameraImageCaptured) GetID

func (m *CameraImageCaptured) GetID() uint32

GetID gets the ID of the Message

func (*CameraImageCaptured) GetMessageName

func (m *CameraImageCaptured) GetMessageName() string

GetMessageName gets the name of the Message

func (*CameraImageCaptured) GetVersion

func (m *CameraImageCaptured) GetVersion() int

GetVersion gets the MAVLink version of the Message contents

func (*CameraImageCaptured) HasExtensionFields

func (m *CameraImageCaptured) HasExtensionFields() bool

HasExtensionFields returns true if the message definition contained extensions; false otherwise

func (*CameraImageCaptured) Read

func (m *CameraImageCaptured) Read(frame mavlink2.Frame) (err error)

Read sets the field values of the message from the raw message payload

func (*CameraImageCaptured) SetFileURL

func (m *CameraImageCaptured) SetFileURL(input string) (err error)

SetFileURL encodes the input string to the FileURL array

func (*CameraImageCaptured) String

func (m *CameraImageCaptured) String() string

func (*CameraImageCaptured) Write

func (m *CameraImageCaptured) Write(version int) (output []byte, err error)

Write encodes the field values of the message to a byte array

type CameraInformation

type CameraInformation struct {
	/*TimeBootMs Timestamp (time since system boot). */
	TimeBootMs uint32
	/*FirmwareVersion Version of the camera firmware (v << 24 & 0xff = Dev, v << 16 & 0xff = Patch, v << 8 & 0xff = Minor, v & 0xff = Major) */
	FirmwareVersion uint32
	/*FocalLength Focal length */
	FocalLength float32
	/*SensorSizeH Image sensor size horizontal */
	SensorSizeH float32
	/*SensorSizeV Image sensor size vertical */
	SensorSizeV float32
	/*Flags Bitmap of camera capability flags. */
	Flags uint32
	/*ResolutionH Horizontal image resolution */
	ResolutionH uint16
	/*ResolutionV Vertical image resolution */
	ResolutionV uint16
	/*CamDefinitionVersion Camera definition version (iteration) */
	CamDefinitionVersion uint16
	/*VendorName Name of the camera vendor */
	VendorName [32]uint8
	/*ModelName Name of the camera model */
	ModelName [32]uint8
	/*LensID Reserved for a lens ID */
	LensID uint8
	/*CamDefinitionURI Camera definition URI (if any, otherwise only basic functions will be available). HTTP- (http://) and MAVLink FTP- (mavlinkftp://) formatted URIs are allowed (and both must be supported by any GCS that implements the Camera Protocol). */
	CamDefinitionURI [140]byte
	/*HasExtensionFieldValues indicates if this message has any extensions and  */
	HasExtensionFieldValues bool
}

CameraInformation Information about a camera

func (*CameraInformation) GetCamDefinitionURI

func (m *CameraInformation) GetCamDefinitionURI() string

GetCamDefinitionURI decodes the null-terminated string in the CamDefinitionURI

func (*CameraInformation) GetDialect

func (m *CameraInformation) GetDialect() string

GetDialect gets the name of the dialect that defines the Message

func (*CameraInformation) GetID

func (m *CameraInformation) GetID() uint32

GetID gets the ID of the Message

func (*CameraInformation) GetMessageName

func (m *CameraInformation) GetMessageName() string

GetMessageName gets the name of the Message

func (*CameraInformation) GetVersion

func (m *CameraInformation) GetVersion() int

GetVersion gets the MAVLink version of the Message contents

func (*CameraInformation) HasExtensionFields

func (m *CameraInformation) HasExtensionFields() bool

HasExtensionFields returns true if the message definition contained extensions; false otherwise

func (*CameraInformation) Read

func (m *CameraInformation) Read(frame mavlink2.Frame) (err error)

Read sets the field values of the message from the raw message payload

func (*CameraInformation) SetCamDefinitionURI

func (m *CameraInformation) SetCamDefinitionURI(input string) (err error)

SetCamDefinitionURI encodes the input string to the CamDefinitionURI array

func (*CameraInformation) String

func (m *CameraInformation) String() string

func (*CameraInformation) Write

func (m *CameraInformation) Write(version int) (output []byte, err error)

Write encodes the field values of the message to a byte array

type CameraSettings

type CameraSettings struct {
	/*TimeBootMs Timestamp (time since system boot). */
	TimeBootMs uint32
	/*ModeID Camera mode */
	ModeID uint8
	/*Zoomlevel Current zoom level (0.0 to 100.0, NaN if not known) */
	Zoomlevel float32
	/*Focuslevel Current focus level (0.0 to 100.0, NaN if not known) */
	Focuslevel float32
	/*HasExtensionFieldValues indicates if this message has any extensions and  */
	HasExtensionFieldValues bool
}

CameraSettings Settings of a camera, can be requested using MAV_CMD_REQUEST_CAMERA_SETTINGS.

func (*CameraSettings) GetDialect

func (m *CameraSettings) GetDialect() string

GetDialect gets the name of the dialect that defines the Message

func (*CameraSettings) GetID

func (m *CameraSettings) GetID() uint32

GetID gets the ID of the Message

func (*CameraSettings) GetMessageName

func (m *CameraSettings) GetMessageName() string

GetMessageName gets the name of the Message

func (*CameraSettings) GetVersion

func (m *CameraSettings) GetVersion() int

GetVersion gets the MAVLink version of the Message contents

func (*CameraSettings) HasExtensionFields

func (m *CameraSettings) HasExtensionFields() bool

HasExtensionFields returns true if the message definition contained extensions; false otherwise

func (*CameraSettings) Read

func (m *CameraSettings) Read(frame mavlink2.Frame) (err error)

Read sets the field values of the message from the raw message payload

func (*CameraSettings) String

func (m *CameraSettings) String() string

func (*CameraSettings) Write

func (m *CameraSettings) Write(version int) (output []byte, err error)

Write encodes the field values of the message to a byte array

type CameraTrigger

type CameraTrigger struct {
	/*TimeUsec Timestamp for image frame (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 the number. */
	TimeUsec uint64
	/*Seq Image frame sequence */
	Seq uint32
	/*HasExtensionFieldValues indicates if this message has any extensions and  */
	HasExtensionFieldValues bool
}

CameraTrigger Camera-IMU triggering and synchronisation message.

func (*CameraTrigger) GetDialect

func (m *CameraTrigger) GetDialect() string

GetDialect gets the name of the dialect that defines the Message

func (*CameraTrigger) GetID

func (m *CameraTrigger) GetID() uint32

GetID gets the ID of the Message

func (*CameraTrigger) GetMessageName

func (m *CameraTrigger) GetMessageName() string

GetMessageName gets the name of the Message

func (*CameraTrigger) GetVersion

func (m *CameraTrigger) GetVersion() int

GetVersion gets the MAVLink version of the Message contents

func (*CameraTrigger) HasExtensionFields

func (m *CameraTrigger) HasExtensionFields() bool

HasExtensionFields returns true if the message definition contained extensions; false otherwise

func (*CameraTrigger) Read

func (m *CameraTrigger) Read(frame mavlink2.Frame) (err error)

Read sets the field values of the message from the raw message payload

func (*CameraTrigger) String

func (m *CameraTrigger) String() string

func (*CameraTrigger) Write

func (m *CameraTrigger) Write(version int) (output []byte, err error)

Write encodes the field values of the message to a byte array

type CellularStatus

type CellularStatus struct {
	/*CID Cell ID. If unknown, set to: UINT32_MAX */
	CID uint32
	/*Status Status bitmap */
	Status uint16
	/*Mcc Mobile country code. If unknown, set to: UINT16_MAX */
	Mcc uint16
	/*Mnc Mobile network code. If unknown, set to: UINT16_MAX */
	Mnc uint16
	/*Lac Location area code. If unknown, set to: 0 */
	Lac uint16
	/*Type Cellular network radio type: gsm, cdma, lte... */
	Type uint8
	/*Quality Cellular network RSSI/RSRP in dBm, absolute value */
	Quality uint8
	/*HasExtensionFieldValues indicates if this message has any extensions and  */
	HasExtensionFieldValues bool
}

CellularStatus Report current used cellular network status

func (*CellularStatus) GetDialect

func (m *CellularStatus) GetDialect() string

GetDialect gets the name of the dialect that defines the Message

func (*CellularStatus) GetID

func (m *CellularStatus) GetID() uint32

GetID gets the ID of the Message

func (*CellularStatus) GetMessageName

func (m *CellularStatus) GetMessageName() string

GetMessageName gets the name of the Message

func (*CellularStatus) GetVersion

func (m *CellularStatus) GetVersion() int

GetVersion gets the MAVLink version of the Message contents

func (*CellularStatus) HasExtensionFields

func (m *CellularStatus) HasExtensionFields() bool

HasExtensionFields returns true if the message definition contained extensions; false otherwise

func (*CellularStatus) Read

func (m *CellularStatus) Read(frame mavlink2.Frame) (err error)

Read sets the field values of the message from the raw message payload

func (*CellularStatus) String

func (m *CellularStatus) String() string

func (*CellularStatus) Write

func (m *CellularStatus) Write(version int) (output []byte, err error)

Write encodes the field values of the message to a byte array

type ChangeOperatorControl

type ChangeOperatorControl struct {
	/*TargetSystem System the GCS requests control for */
	TargetSystem uint8
	/*ControlRequest 0: request control of this MAV, 1: Release control of this MAV */
	ControlRequest uint8
	/*Version 0: key as plaintext, 1-255: future, different hashing/encryption variants. The GCS should in general use the safest mode possible initially and then gradually move down the encryption level if it gets a NACK message indicating an encryption mismatch. */
	Version uint8
	/*Passkey Password / Key, depending on version plaintext or encrypted. 25 or less characters, NULL terminated. The characters may involve A-Z, a-z, 0-9, and "!?,.-" */
	Passkey [25]byte
	/*HasExtensionFieldValues indicates if this message has any extensions and  */
	HasExtensionFieldValues bool
}

ChangeOperatorControl Request to control this MAV

func (*ChangeOperatorControl) GetDialect

func (m *ChangeOperatorControl) GetDialect() string

GetDialect gets the name of the dialect that defines the Message

func (*ChangeOperatorControl) GetID

func (m *ChangeOperatorControl) GetID() uint32

GetID gets the ID of the Message

func (*ChangeOperatorControl) GetMessageName

func (m *ChangeOperatorControl) GetMessageName() string

GetMessageName gets the name of the Message

func (*ChangeOperatorControl) GetPasskey

func (m *ChangeOperatorControl) GetPasskey() string

GetPasskey decodes the null-terminated string in the Passkey

func (*ChangeOperatorControl) GetVersion

func (m *ChangeOperatorControl) GetVersion() int

GetVersion gets the MAVLink version of the Message contents

func (*ChangeOperatorControl) HasExtensionFields

func (m *ChangeOperatorControl) HasExtensionFields() bool

HasExtensionFields returns true if the message definition contained extensions; false otherwise

func (*ChangeOperatorControl) Read

func (m *ChangeOperatorControl) Read(frame mavlink2.Frame) (err error)

Read sets the field values of the message from the raw message payload

func (*ChangeOperatorControl) SetPasskey

func (m *ChangeOperatorControl) SetPasskey(input string) (err error)

SetPasskey encodes the input string to the Passkey array

func (*ChangeOperatorControl) String

func (m *ChangeOperatorControl) String() string

func (*ChangeOperatorControl) Write

func (m *ChangeOperatorControl) Write(version int) (output []byte, err error)

Write encodes the field values of the message to a byte array

type ChangeOperatorControlAck

type ChangeOperatorControlAck struct {
	/*GcsSystemID ID of the GCS this message  */
	GcsSystemID uint8
	/*ControlRequest 0: request control of this MAV, 1: Release control of this MAV */
	ControlRequest uint8
	/*Ack 0: ACK, 1: NACK: Wrong passkey, 2: NACK: Unsupported passkey encryption method, 3: NACK: Already under control */
	Ack uint8
	/*HasExtensionFieldValues indicates if this message has any extensions and  */
	HasExtensionFieldValues bool
}

ChangeOperatorControlAck Accept / deny control of this MAV

func (*ChangeOperatorControlAck) GetDialect

func (m *ChangeOperatorControlAck) GetDialect() string

GetDialect gets the name of the dialect that defines the Message

func (*ChangeOperatorControlAck) GetID

func (m *ChangeOperatorControlAck) GetID() uint32

GetID gets the ID of the Message

func (*ChangeOperatorControlAck) GetMessageName

func (m *ChangeOperatorControlAck) GetMessageName() string

GetMessageName gets the name of the Message

func (*ChangeOperatorControlAck) GetVersion

func (m *ChangeOperatorControlAck) GetVersion() int

GetVersion gets the MAVLink version of the Message contents

func (*ChangeOperatorControlAck) HasExtensionFields

func (m *ChangeOperatorControlAck) HasExtensionFields() bool

HasExtensionFields returns true if the message definition contained extensions; false otherwise

func (*ChangeOperatorControlAck) Read

func (m *ChangeOperatorControlAck) Read(frame mavlink2.Frame) (err error)

Read sets the field values of the message from the raw message payload

func (*ChangeOperatorControlAck) String

func (m *ChangeOperatorControlAck) String() string

func (*ChangeOperatorControlAck) Write

func (m *ChangeOperatorControlAck) Write(version int) (output []byte, err error)

Write encodes the field values of the message to a byte array

type Collision

type Collision struct {
	/*ID Unique identifier, domain based on src field */
	ID uint32
	/*TimeToMinIMUmDelta Estimated time until collision occurs */
	TimeToMinIMUmDelta float32
	/*AltitudeMinIMUmDelta Closest vertical distance between vehicle and object */
	AltitudeMinIMUmDelta float32
	/*HorizontalMinIMUmDelta Closest horizontal distance between vehicle and object */
	HorizontalMinIMUmDelta float32
	/*SRC Collision data source */
	SRC uint8
	/*Action Action that is being taken to avoid this collision */
	Action uint8
	/*ThreatLevel How concerned the aircraft is about this collision */
	ThreatLevel uint8
	/*HasExtensionFieldValues indicates if this message has any extensions and  */
	HasExtensionFieldValues bool
}

Collision Information about a potential collision

func (*Collision) GetDialect

func (m *Collision) GetDialect() string

GetDialect gets the name of the dialect that defines the Message

func (*Collision) GetID

func (m *Collision) GetID() uint32

GetID gets the ID of the Message

func (*Collision) GetMessageName

func (m *Collision) GetMessageName() string

GetMessageName gets the name of the Message

func (*Collision) GetVersion

func (m *Collision) GetVersion() int

GetVersion gets the MAVLink version of the Message contents

func (*Collision) HasExtensionFields

func (m *Collision) HasExtensionFields() bool

HasExtensionFields returns true if the message definition contained extensions; false otherwise

func (*Collision) Read

func (m *Collision) Read(frame mavlink2.Frame) (err error)

Read sets the field values of the message from the raw message payload

func (*Collision) String

func (m *Collision) String() string

func (*Collision) Write

func (m *Collision) Write(version int) (output []byte, err error)

Write encodes the field values of the message to a byte array

type CommandAck

type CommandAck struct {
	/*Command Command ID (of acknowledged command). */
	Command uint16
	/*Result Result of command. */
	Result uint8
	/*Progress WIP: Also used as result_param1, it can be set with a enum containing the errors reasons of why the command was denied or the progress percentage or 255 if unknown the progress when result is MAV_RESULT_IN_PROGRESS. */
	Progress uint8
	/*ResultParam2 WIP: Additional parameter of the result, example: which parameter of MAV_CMD_NAV_WAYPOINT caused it to be denied. */
	ResultParam2 int32
	/*TargetSystem WIP: System which requested the command to be executed */
	TargetSystem uint8
	/*TargetComponent WIP: Component which requested the command to be executed */
	TargetComponent uint8
	/*HasExtensionFieldValues indicates if this message has any extensions and  */
	HasExtensionFieldValues bool
}

CommandAck 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

func (*CommandAck) GetDialect

func (m *CommandAck) GetDialect() string

GetDialect gets the name of the dialect that defines the Message

func (*CommandAck) GetID

func (m *CommandAck) GetID() uint32

GetID gets the ID of the Message

func (*CommandAck) GetMessageName

func (m *CommandAck) GetMessageName() string

GetMessageName gets the name of the Message

func (*CommandAck) GetVersion

func (m *CommandAck) GetVersion() int

GetVersion gets the MAVLink version of the Message contents

func (*CommandAck) HasExtensionFields

func (m *CommandAck) HasExtensionFields() bool

HasExtensionFields returns true if the message definition contained extensions; false otherwise

func (*CommandAck) Read

func (m *CommandAck) Read(frame mavlink2.Frame) (err error)

Read sets the field values of the message from the raw message payload

func (*CommandAck) String

func (m *CommandAck) String() string

func (*CommandAck) Write

func (m *CommandAck) Write(version int) (output []byte, err error)

Write encodes the field values of the message to a byte array

type CommandInt

type CommandInt struct {
	/*Param1 PARAM1, see MAV_CMD enum */
	Param1 float32
	/*Param2 PARAM2, see MAV_CMD enum */
	Param2 float32
	/*Param3 PARAM3, see MAV_CMD enum */
	Param3 float32
	/*Param4 PARAM4, see MAV_CMD enum */
	Param4 float32
	/*X PARAM5 / local: x position in meters * 1e4, global: latitude in degrees * 10^7 */
	X int32
	/*Y PARAM6 / local: y position in meters * 1e4, global: longitude in degrees * 10^7 */
	Y int32
	/*Z PARAM7 / z position: global: altitude in meters (relative or absolute, depending on frame). */
	Z float32
	/*Command The scheduled action for the mission item. */
	Command uint16
	/*TargetSystem System ID */
	TargetSystem uint8
	/*TargetComponent Component ID */
	TargetComponent uint8
	/*Frame The coordinate system of the COMMAND. */
	Frame uint8
	/*Current false:0, true:1 */
	Current uint8
	/*Autocontinue autocontinue to next wp */
	Autocontinue uint8
	/*HasExtensionFieldValues indicates if this message has any extensions and  */
	HasExtensionFieldValues bool
}

CommandInt Message encoding a command with parameters as scaled integers. Scaling depends on the actual command value. The command microservice is documented at https://mavlink.io/en/services/command.html

func (*CommandInt) GetDialect

func (m *CommandInt) GetDialect() string

GetDialect gets the name of the dialect that defines the Message

func (*CommandInt) GetID

func (m *CommandInt) GetID() uint32

GetID gets the ID of the Message

func (*CommandInt) GetMessageName

func (m *CommandInt) GetMessageName() string

GetMessageName gets the name of the Message

func (*CommandInt) GetVersion

func (m *CommandInt) GetVersion() int

GetVersion gets the MAVLink version of the Message contents

func (*CommandInt) HasExtensionFields

func (m *CommandInt) HasExtensionFields() bool

HasExtensionFields returns true if the message definition contained extensions; false otherwise

func (*CommandInt) Read

func (m *CommandInt) Read(frame mavlink2.Frame) (err error)

Read sets the field values of the message from the raw message payload

func (*CommandInt) String

func (m *CommandInt) String() string

func (*CommandInt) Write

func (m *CommandInt) Write(version int) (output []byte, err error)

Write encodes the field values of the message to a byte array

type CommandLong

type CommandLong struct {
	/*Param1 Parameter 1 (for the specific command). */
	Param1 float32
	/*Param2 Parameter 2 (for the specific command). */
	Param2 float32
	/*Param3 Parameter 3 (for the specific command). */
	Param3 float32
	/*Param4 Parameter 4 (for the specific command). */
	Param4 float32
	/*Param5 Parameter 5 (for the specific command). */
	Param5 float32
	/*Param6 Parameter 6 (for the specific command). */
	Param6 float32
	/*Param7 Parameter 7 (for the specific command). */
	Param7 float32
	/*Command Command ID (of command to send). */
	Command uint16
	/*TargetSystem System which should execute the command */
	TargetSystem uint8
	/*TargetComponent Component which should execute the command, 0 for all components */
	TargetComponent uint8
	/*Confirmation 0: First transmission of this command. 1-255: Confirmation transmissions (e.g. for kill command) */
	Confirmation uint8
	/*HasExtensionFieldValues indicates if this message has any extensions and  */
	HasExtensionFieldValues bool
}

CommandLong Send a command with up to seven parameters to the MAV. The command microservice is documented at https://mavlink.io/en/services/command.html

func (*CommandLong) GetDialect

func (m *CommandLong) GetDialect() string

GetDialect gets the name of the dialect that defines the Message

func (*CommandLong) GetID

func (m *CommandLong) GetID() uint32

GetID gets the ID of the Message

func (*CommandLong) GetMessageName

func (m *CommandLong) GetMessageName() string

GetMessageName gets the name of the Message

func (*CommandLong) GetVersion

func (m *CommandLong) GetVersion() int

GetVersion gets the MAVLink version of the Message contents

func (*CommandLong) HasExtensionFields

func (m *CommandLong) HasExtensionFields() bool

HasExtensionFields returns true if the message definition contained extensions; false otherwise

func (*CommandLong) Read

func (m *CommandLong) Read(frame mavlink2.Frame) (err error)

Read sets the field values of the message from the raw message payload

func (*CommandLong) String

func (m *CommandLong) String() string

func (*CommandLong) Write

func (m *CommandLong) Write(version int) (output []byte, err error)

Write encodes the field values of the message to a byte array

type ComponentInformation

type ComponentInformation struct {
	/*TimeBootMs Timestamp (time since system boot). */
	TimeBootMs uint32
	/*FirmwareVersion Version of the component firmware (v << 24 & 0xff = Dev, v << 16 & 0xff = Patch, v << 8 & 0xff = Minor, v & 0xff = Major) */
	FirmwareVersion uint32
	/*HardwareVersion Version of the component hardware (v << 24 & 0xff = Dev, v << 16 & 0xff = Patch, v << 8 & 0xff = Minor, v & 0xff = Major) */
	HardwareVersion uint32
	/*CapabilityFlags Bitmap of component capability flags. */
	CapabilityFlags uint32
	/*ComponentDefinitionVersion Component definition version (iteration) */
	ComponentDefinitionVersion uint16
	/*VendorName Name of the component vendor */
	VendorName [32]uint8
	/*ModelName Name of the component model */
	ModelName [32]uint8
	/*ComponentDefinitionURI Component definition URI (if any, otherwise only basic functions will be available). The XML format is not yet specified and work in progress.  */
	ComponentDefinitionURI [140]byte
	/*HasExtensionFieldValues indicates if this message has any extensions and  */
	HasExtensionFieldValues bool
}

ComponentInformation Information about a component. For camera components instead use CAMERA_INFORMATION, and for autopilots use AUTOPILOT_VERSION. Components including GCSes should consider supporting requests of this message via MAV_CMD_REQUEST_MESSAGE.

func (*ComponentInformation) GetComponentDefinitionURI

func (m *ComponentInformation) GetComponentDefinitionURI() string

GetComponentDefinitionURI decodes the null-terminated string in the ComponentDefinitionURI

func (*ComponentInformation) GetDialect

func (m *ComponentInformation) GetDialect() string

GetDialect gets the name of the dialect that defines the Message

func (*ComponentInformation) GetID

func (m *ComponentInformation) GetID() uint32

GetID gets the ID of the Message

func (*ComponentInformation) GetMessageName

func (m *ComponentInformation) GetMessageName() string

GetMessageName gets the name of the Message

func (*ComponentInformation) GetVersion

func (m *ComponentInformation) GetVersion() int

GetVersion gets the MAVLink version of the Message contents

func (*ComponentInformation) HasExtensionFields

func (m *ComponentInformation) HasExtensionFields() bool

HasExtensionFields returns true if the message definition contained extensions; false otherwise

func (*ComponentInformation) Read

func (m *ComponentInformation) Read(frame mavlink2.Frame) (err error)

Read sets the field values of the message from the raw message payload

func (*ComponentInformation) SetComponentDefinitionURI

func (m *ComponentInformation) SetComponentDefinitionURI(input string) (err error)

SetComponentDefinitionURI encodes the input string to the ComponentDefinitionURI array

func (*ComponentInformation) String

func (m *ComponentInformation) String() string

func (*ComponentInformation) Write

func (m *ComponentInformation) Write(version int) (output []byte, err error)

Write encodes the field values of the message to a byte array

type ControlSystemState

type ControlSystemState struct {
	/*TimeUsec 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 the number. */
	TimeUsec uint64
	/*XAcc X acceleration in body frame */
	XAcc float32
	/*YAcc Y acceleration in body frame */
	YAcc float32
	/*ZAcc Z acceleration in body frame */
	ZAcc float32
	/*XVel X velocity in body frame */
	XVel float32
	/*YVel Y velocity in body frame */
	YVel float32
	/*ZVel Z velocity in body frame */
	ZVel float32
	/*XPos X position in local frame */
	XPos float32
	/*YPos Y position in local frame */
	YPos float32
	/*ZPos Z position in local frame */
	ZPos float32
	/*Airspeed Airspeed, set to -1 if unknown */
	Airspeed float32
	/*VelVariance Variance of body velocity estimate */
	VelVariance [3]float32
	/*PosVariance Variance in local position */
	PosVariance [3]float32
	/*Q The attitude, represented as Quaternion */
	Q [4]float32
	/*RollRate Angular rate in roll axis */
	RollRate float32
	/*PitchRate Angular rate in pitch axis */
	PitchRate float32
	/*YawRate Angular rate in yaw axis */
	YawRate float32
	/*HasExtensionFieldValues indicates if this message has any extensions and  */
	HasExtensionFieldValues bool
}

ControlSystemState The smoothed, monotonic system state used to feed the control loops of the system.

func (*ControlSystemState) GetDialect

func (m *ControlSystemState) GetDialect() string

GetDialect gets the name of the dialect that defines the Message

func (*ControlSystemState) GetID

func (m *ControlSystemState) GetID() uint32

GetID gets the ID of the Message

func (*ControlSystemState) GetMessageName

func (m *ControlSystemState) GetMessageName() string

GetMessageName gets the name of the Message

func (*ControlSystemState) GetVersion

func (m *ControlSystemState) GetVersion() int

GetVersion gets the MAVLink version of the Message contents

func (*ControlSystemState) HasExtensionFields

func (m *ControlSystemState) HasExtensionFields() bool

HasExtensionFields returns true if the message definition contained extensions; false otherwise

func (*ControlSystemState) Read

func (m *ControlSystemState) Read(frame mavlink2.Frame) (err error)

Read sets the field values of the message from the raw message payload

func (*ControlSystemState) String

func (m *ControlSystemState) String() string

func (*ControlSystemState) Write

func (m *ControlSystemState) Write(version int) (output []byte, err error)

Write encodes the field values of the message to a byte array

type DataStream

type DataStream struct {
	/*MessageRate The message rate */
	MessageRate uint16
	/*StreamID The ID of the requested data stream */
	StreamID uint8
	/*OnOff 1 stream is enabled, 0 stream is stopped. */
	OnOff uint8
	/*HasExtensionFieldValues indicates if this message has any extensions and  */
	HasExtensionFieldValues bool
}

DataStream Data stream status information.

func (*DataStream) GetDialect

func (m *DataStream) GetDialect() string

GetDialect gets the name of the dialect that defines the Message

func (*DataStream) GetID

func (m *DataStream) GetID() uint32

GetID gets the ID of the Message

func (*DataStream) GetMessageName

func (m *DataStream) GetMessageName() string

GetMessageName gets the name of the Message

func (*DataStream) GetVersion

func (m *DataStream) GetVersion() int

GetVersion gets the MAVLink version of the Message contents

func (*DataStream) HasExtensionFields

func (m *DataStream) HasExtensionFields() bool

HasExtensionFields returns true if the message definition contained extensions; false otherwise

func (*DataStream) Read

func (m *DataStream) Read(frame mavlink2.Frame) (err error)

Read sets the field values of the message from the raw message payload

func (*DataStream) String

func (m *DataStream) String() string

func (*DataStream) Write

func (m *DataStream) Write(version int) (output []byte, err error)

Write encodes the field values of the message to a byte array

type DataTransmissionHandshake

type DataTransmissionHandshake struct {
	/*Size total data size (set on ACK only). */
	Size uint32
	/*WIDth Width of a matrix or image. */
	WIDth uint16
	/*Height Height of a matrix or image. */
	Height uint16
	/*Packets Number of packets being sent (set on ACK only). */
	Packets uint16
	/*Type Type of requested/acknowledged data. */
	Type uint8
	/*Payload Payload size per packet (normally 253 byte, see DATA field size in message ENCAPSULATED_DATA) (set on ACK only). */
	Payload uint8
	/*JpgQuality JPEG quality. Values: [1-100]. */
	JpgQuality uint8
	/*HasExtensionFieldValues indicates if this message has any extensions and  */
	HasExtensionFieldValues bool
}

DataTransmissionHandshake Handshake message to initiate, control and stop image streaming when using the Image Transmission Protocol: https://mavlink.io/en/services/image_transmission.html.

func (*DataTransmissionHandshake) GetDialect

func (m *DataTransmissionHandshake) GetDialect() string

GetDialect gets the name of the dialect that defines the Message

func (*DataTransmissionHandshake) GetID

func (m *DataTransmissionHandshake) GetID() uint32

GetID gets the ID of the Message

func (*DataTransmissionHandshake) GetMessageName

func (m *DataTransmissionHandshake) GetMessageName() string

GetMessageName gets the name of the Message

func (*DataTransmissionHandshake) GetVersion

func (m *DataTransmissionHandshake) GetVersion() int

GetVersion gets the MAVLink version of the Message contents

func (*DataTransmissionHandshake) HasExtensionFields

func (m *DataTransmissionHandshake) HasExtensionFields() bool

HasExtensionFields returns true if the message definition contained extensions; false otherwise

func (*DataTransmissionHandshake) Read

func (m *DataTransmissionHandshake) Read(frame mavlink2.Frame) (err error)

Read sets the field values of the message from the raw message payload

func (*DataTransmissionHandshake) String

func (m *DataTransmissionHandshake) String() string

func (*DataTransmissionHandshake) Write

func (m *DataTransmissionHandshake) Write(version int) (output []byte, err error)

Write encodes the field values of the message to a byte array

type Debug

type Debug struct {
	/*TimeBootMs Timestamp (time since system boot). */
	TimeBootMs uint32
	/*Value DEBUG value */
	Value float32
	/*Ind index of debug variable */
	Ind uint8
	/*HasExtensionFieldValues indicates if this message has any extensions and  */
	HasExtensionFieldValues bool
}

Debug Send a debug value. The index is used to discriminate between values. These values show up in the plot of QGroundControl as DEBUG N.

func (*Debug) GetDialect

func (m *Debug) GetDialect() string

GetDialect gets the name of the dialect that defines the Message

func (*Debug) GetID

func (m *Debug) GetID() uint32

GetID gets the ID of the Message

func (*Debug) GetMessageName

func (m *Debug) GetMessageName() string

GetMessageName gets the name of the Message

func (*Debug) GetVersion

func (m *Debug) GetVersion() int

GetVersion gets the MAVLink version of the Message contents

func (*Debug) HasExtensionFields

func (m *Debug) HasExtensionFields() bool

HasExtensionFields returns true if the message definition contained extensions; false otherwise

func (*Debug) Read

func (m *Debug) Read(frame mavlink2.Frame) (err error)

Read sets the field values of the message from the raw message payload

func (*Debug) String

func (m *Debug) String() string

func (*Debug) Write

func (m *Debug) Write(version int) (output []byte, err error)

Write encodes the field values of the message to a byte array

type DebugFloatArray

type DebugFloatArray struct {
	/*TimeUsec 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 the number. */
	TimeUsec uint64
	/*ArrayID Unique ID used to discriminate between arrays */
	ArrayID uint16
	/*Name Name, for human-friendly display in a Ground Control Station */
	Name [10]byte
	/*Data data */
	Data [58]float32
	/*HasExtensionFieldValues indicates if this message has any extensions and  */
	HasExtensionFieldValues bool
}

DebugFloatArray 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.

func (*DebugFloatArray) GetDialect

func (m *DebugFloatArray) GetDialect() string

GetDialect gets the name of the dialect that defines the Message

func (*DebugFloatArray) GetID

func (m *DebugFloatArray) GetID() uint32

GetID gets the ID of the Message

func (*DebugFloatArray) GetMessageName

func (m *DebugFloatArray) GetMessageName() string

GetMessageName gets the name of the Message

func (*DebugFloatArray) GetName

func (m *DebugFloatArray) GetName() string

GetName decodes the null-terminated string in the Name

func (*DebugFloatArray) GetVersion

func (m *DebugFloatArray) GetVersion() int

GetVersion gets the MAVLink version of the Message contents

func (*DebugFloatArray) HasExtensionFields

func (m *DebugFloatArray) HasExtensionFields() bool

HasExtensionFields returns true if the message definition contained extensions; false otherwise

func (*DebugFloatArray) Read

func (m *DebugFloatArray) Read(frame mavlink2.Frame) (err error)

Read sets the field values of the message from the raw message payload

func (*DebugFloatArray) SetName

func (m *DebugFloatArray) SetName(input string) (err error)

SetName encodes the input string to the Name array

func (*DebugFloatArray) String

func (m *DebugFloatArray) String() string

func (*DebugFloatArray) Write

func (m *DebugFloatArray) Write(version int) (output []byte, err error)

Write encodes the field values of the message to a byte array

type DebugVect

type DebugVect struct {
	/*TimeUsec 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 the number. */
	TimeUsec uint64
	/*X x */
	X float32
	/*Y y */
	Y float32
	/*Z z */
	Z float32
	/*Name Name */
	Name [10]byte
	/*HasExtensionFieldValues indicates if this message has any extensions and  */
	HasExtensionFieldValues bool
}

DebugVect To debug something using a named 3D vector.

func (*DebugVect) GetDialect

func (m *DebugVect) GetDialect() string

GetDialect gets the name of the dialect that defines the Message

func (*DebugVect) GetID

func (m *DebugVect) GetID() uint32

GetID gets the ID of the Message

func (*DebugVect) GetMessageName

func (m *DebugVect) GetMessageName() string

GetMessageName gets the name of the Message

func (*DebugVect) GetName

func (m *DebugVect) GetName() string

GetName decodes the null-terminated string in the Name

func (*DebugVect) GetVersion

func (m *DebugVect) GetVersion() int

GetVersion gets the MAVLink version of the Message contents

func (*DebugVect) HasExtensionFields

func (m *DebugVect) HasExtensionFields() bool

HasExtensionFields returns true if the message definition contained extensions; false otherwise

func (*DebugVect) Read

func (m *DebugVect) Read(frame mavlink2.Frame) (err error)

Read sets the field values of the message from the raw message payload

func (*DebugVect) SetName

func (m *DebugVect) SetName(input string) (err error)

SetName encodes the input string to the Name array

func (*DebugVect) String

func (m *DebugVect) String() string

func (*DebugVect) Write

func (m *DebugVect) Write(version int) (output []byte, err error)

Write encodes the field values of the message to a byte array

type Dialect

type Dialect struct{}

Dialect represents a collection of MAVLink messages

func (Dialect) GetMessage

func (d Dialect) GetMessage(frame mavlink2.Frame) (message mavlink2.Message, err error)

GetMessage extracts and parses the message contained in the Frame

func (Dialect) GetMeta

func (d Dialect) GetMeta(messageID uint32) (meta mavlink2.MessageMeta, err error)

GetMeta retrieves the metadata for the message. If no metadata is found, ErrUnknownMessage is returned

func (Dialect) GetName

func (d Dialect) GetName() string

GetName gets the name of the Dialect

type DistanceSensor

type DistanceSensor struct {
	/*TimeBootMs Timestamp (time since system boot). */
	TimeBootMs uint32
	/*MinDistance Minimum distance the sensor can measure */
	MinDistance uint16
	/*MaxDistance Maximum distance the sensor can measure */
	MaxDistance uint16
	/*CurrentDistance Current distance reading */
	CurrentDistance uint16
	/*Type Type of distance sensor. */
	Type uint8
	/*ID Onboard ID of the sensor */
	ID uint8
	/*Orientation Direction the sensor faces. downward-facing: ROTATION_PITCH_270, upward-facing: ROTATION_PITCH_90, backward-facing: ROTATION_PITCH_180, forward-facing: ROTATION_NONE, left-facing: ROTATION_YAW_90, right-facing: ROTATION_YAW_270 */
	Orientation uint8
	/*Covariance Measurement variance. Max standard deviation is 6cm. 255 if unknown. */
	Covariance uint8
	/*HorizontalFov Horizontal Field of View (angle) where the distance measurement is valid and the field of view is known. Otherwise this is set to 0. */
	HorizontalFov float32
	/*VerticalFov Vertical Field of View (angle) where the distance measurement is valid and the field of view is known. Otherwise this is set to 0. */
	VerticalFov float32
	/*Quaternion Quaternion of the sensor orientation in vehicle body frame (w, x, y, z order, zero-rotation is 1, 0, 0, 0). Zero-rotation is along the vehicle body x-axis. This field is required if the orientation is set to MAV_SENSOR_ROTATION_CUSTOM. Set it to 0 if invalid." */
	Quaternion [4]float32
	/*HasExtensionFieldValues indicates if this message has any extensions and  */
	HasExtensionFieldValues bool
}

DistanceSensor Distance sensor information for an onboard rangefinder.

func (*DistanceSensor) GetDialect

func (m *DistanceSensor) GetDialect() string

GetDialect gets the name of the dialect that defines the Message

func (*DistanceSensor) GetID

func (m *DistanceSensor) GetID() uint32

GetID gets the ID of the Message

func (*DistanceSensor) GetMessageName

func (m *DistanceSensor) GetMessageName() string

GetMessageName gets the name of the Message

func (*DistanceSensor) GetVersion

func (m *DistanceSensor) GetVersion() int

GetVersion gets the MAVLink version of the Message contents

func (*DistanceSensor) HasExtensionFields

func (m *DistanceSensor) HasExtensionFields() bool

HasExtensionFields returns true if the message definition contained extensions; false otherwise

func (*DistanceSensor) Read

func (m *DistanceSensor) Read(frame mavlink2.Frame) (err error)

Read sets the field values of the message from the raw message payload

func (*DistanceSensor) String

func (m *DistanceSensor) String() string

func (*DistanceSensor) Write

func (m *DistanceSensor) Write(version int) (output []byte, err error)

Write encodes the field values of the message to a byte array

type EncapsulatedData

type EncapsulatedData struct {
	/*Seqnr sequence number (starting with 0 on every transmission) */
	Seqnr uint16
	/*Data image data bytes */
	Data [253]uint8
	/*HasExtensionFieldValues indicates if this message has any extensions and  */
	HasExtensionFieldValues bool
}

EncapsulatedData Data packet for images sent using the Image Transmission Protocol: https://mavlink.io/en/services/image_transmission.html.

func (*EncapsulatedData) GetDialect

func (m *EncapsulatedData) GetDialect() string

GetDialect gets the name of the dialect that defines the Message

func (*EncapsulatedData) GetID

func (m *EncapsulatedData) GetID() uint32

GetID gets the ID of the Message

func (*EncapsulatedData) GetMessageName

func (m *EncapsulatedData) GetMessageName() string

GetMessageName gets the name of the Message

func (*EncapsulatedData) GetVersion

func (m *EncapsulatedData) GetVersion() int

GetVersion gets the MAVLink version of the Message contents

func (*EncapsulatedData) HasExtensionFields

func (m *EncapsulatedData) HasExtensionFields() bool

HasExtensionFields returns true if the message definition contained extensions; false otherwise

func (*EncapsulatedData) Read

func (m *EncapsulatedData) Read(frame mavlink2.Frame) (err error)

Read sets the field values of the message from the raw message payload

func (*EncapsulatedData) String

func (m *EncapsulatedData) String() string

func (*EncapsulatedData) Write

func (m *EncapsulatedData) Write(version int) (output []byte, err error)

Write encodes the field values of the message to a byte array

type EstimatorStatus

type EstimatorStatus struct {
	/*TimeUsec 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 the number. */
	TimeUsec uint64
	/*VelRatio Velocity innovation test ratio */
	VelRatio float32
	/*PosHorizRatio Horizontal position innovation test ratio */
	PosHorizRatio float32
	/*PosVertRatio Vertical position innovation test ratio */
	PosVertRatio float32
	/*MagRatio Magnetometer innovation test ratio */
	MagRatio float32
	/*HaglRatio Height above terrain innovation test ratio */
	HaglRatio float32
	/*TasRatio True airspeed innovation test ratio */
	TasRatio float32
	/*PosHorizAccuracy Horizontal position 1-STD accuracy relative to the EKF local origin */
	PosHorizAccuracy float32
	/*PosVertAccuracy Vertical position 1-STD accuracy relative to the EKF local origin */
	PosVertAccuracy float32
	/*Flags Bitmap indicating which EKF outputs are valid. */
	Flags uint16
	/*HasExtensionFieldValues indicates if this message has any extensions and  */
	HasExtensionFieldValues bool
}

EstimatorStatus 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.

func (*EstimatorStatus) GetDialect

func (m *EstimatorStatus) GetDialect() string

GetDialect gets the name of the dialect that defines the Message

func (*EstimatorStatus) GetID

func (m *EstimatorStatus) GetID() uint32

GetID gets the ID of the Message

func (*EstimatorStatus) GetMessageName

func (m *EstimatorStatus) GetMessageName() string

GetMessageName gets the name of the Message

func (*EstimatorStatus) GetVersion

func (m *EstimatorStatus) GetVersion() int

GetVersion gets the MAVLink version of the Message contents

func (*EstimatorStatus) HasExtensionFields

func (m *EstimatorStatus) HasExtensionFields() bool

HasExtensionFields returns true if the message definition contained extensions; false otherwise

func (*EstimatorStatus) Read

func (m *EstimatorStatus) Read(frame mavlink2.Frame) (err error)

Read sets the field values of the message from the raw message payload

func (*EstimatorStatus) String

func (m *EstimatorStatus) String() string

func (*EstimatorStatus) Write

func (m *EstimatorStatus) Write(version int) (output []byte, err error)

Write encodes the field values of the message to a byte array

type ExtendedSysState

type ExtendedSysState struct {
	/*VtolState The VTOL state if applicable. Is set to MAV_VTOL_STATE_UNDEFINED if UAV is not in VTOL configuration. */
	VtolState uint8
	/*LandedState The landed state. Is set to MAV_LANDED_STATE_UNDEFINED if landed state is unknown. */
	LandedState uint8
	/*HasExtensionFieldValues indicates if this message has any extensions and  */
	HasExtensionFieldValues bool
}

ExtendedSysState Provides state for additional features

func (*ExtendedSysState) GetDialect

func (m *ExtendedSysState) GetDialect() string

GetDialect gets the name of the dialect that defines the Message

func (*ExtendedSysState) GetID

func (m *ExtendedSysState) GetID() uint32

GetID gets the ID of the Message

func (*ExtendedSysState) GetMessageName

func (m *ExtendedSysState) GetMessageName() string

GetMessageName gets the name of the Message

func (*ExtendedSysState) GetVersion

func (m *ExtendedSysState) GetVersion() int

GetVersion gets the MAVLink version of the Message contents

func (*ExtendedSysState) HasExtensionFields

func (m *ExtendedSysState) HasExtensionFields() bool

HasExtensionFields returns true if the message definition contained extensions; false otherwise

func (*ExtendedSysState) Read

func (m *ExtendedSysState) Read(frame mavlink2.Frame) (err error)

Read sets the field values of the message from the raw message payload

func (*ExtendedSysState) String

func (m *ExtendedSysState) String() string

func (*ExtendedSysState) Write

func (m *ExtendedSysState) Write(version int) (output []byte, err error)

Write encodes the field values of the message to a byte array

type FenceStatus

type FenceStatus struct {
	/*BreachTime Time (since boot) of last breach. */
	BreachTime uint32
	/*BreachCount Number of fence breaches. */
	BreachCount uint16
	/*BreachStatus Breach status (0 if currently inside fence, 1 if outside). */
	BreachStatus uint8
	/*BreachType Last breach type. */
	BreachType uint8
	/*BreachMitigation Active action to prevent fence breach */
	BreachMitigation uint8
	/*HasExtensionFieldValues indicates if this message has any extensions and  */
	HasExtensionFieldValues bool
}

FenceStatus Status of geo-fencing. Sent in extended status stream when fencing enabled.

func (*FenceStatus) GetDialect

func (m *FenceStatus) GetDialect() string

GetDialect gets the name of the dialect that defines the Message

func (*FenceStatus) GetID

func (m *FenceStatus) GetID() uint32

GetID gets the ID of the Message

func (*FenceStatus) GetMessageName

func (m *FenceStatus) GetMessageName() string

GetMessageName gets the name of the Message

func (*FenceStatus) GetVersion

func (m *FenceStatus) GetVersion() int

GetVersion gets the MAVLink version of the Message contents

func (*FenceStatus) HasExtensionFields

func (m *FenceStatus) HasExtensionFields() bool

HasExtensionFields returns true if the message definition contained extensions; false otherwise

func (*FenceStatus) Read

func (m *FenceStatus) Read(frame mavlink2.Frame) (err error)

Read sets the field values of the message from the raw message payload

func (*FenceStatus) String

func (m *FenceStatus) String() string

func (*FenceStatus) Write

func (m *FenceStatus) Write(version int) (output []byte, err error)

Write encodes the field values of the message to a byte array

type FileTransferProtocol

type FileTransferProtocol struct {
	/*TargetNetwork Network ID (0 for broadcast) */
	TargetNetwork uint8
	/*TargetSystem System ID (0 for broadcast) */
	TargetSystem uint8
	/*TargetComponent Component ID (0 for broadcast) */
	TargetComponent uint8
	/*Payload Variable length payload. The length is defined by the remaining message length when subtracting the header and other fields.  The entire content of this block is opaque unless you understand any the encoding message_type.  The particular encoding used can be extension specific and might not always be documented as part of the mavlink specification. */
	Payload [251]uint8
	/*HasExtensionFieldValues indicates if this message has any extensions and  */
	HasExtensionFieldValues bool
}

FileTransferProtocol File transfer message

func (*FileTransferProtocol) GetDialect

func (m *FileTransferProtocol) GetDialect() string

GetDialect gets the name of the dialect that defines the Message

func (*FileTransferProtocol) GetID

func (m *FileTransferProtocol) GetID() uint32

GetID gets the ID of the Message

func (*FileTransferProtocol) GetMessageName

func (m *FileTransferProtocol) GetMessageName() string

GetMessageName gets the name of the Message

func (*FileTransferProtocol) GetVersion

func (m *FileTransferProtocol) GetVersion() int

GetVersion gets the MAVLink version of the Message contents

func (*FileTransferProtocol) HasExtensionFields

func (m *FileTransferProtocol) HasExtensionFields() bool

HasExtensionFields returns true if the message definition contained extensions; false otherwise

func (*FileTransferProtocol) Read

func (m *FileTransferProtocol) Read(frame mavlink2.Frame) (err error)

Read sets the field values of the message from the raw message payload

func (*FileTransferProtocol) String

func (m *FileTransferProtocol) String() string

func (*FileTransferProtocol) Write

func (m *FileTransferProtocol) Write(version int) (output []byte, err error)

Write encodes the field values of the message to a byte array

type FlightInformation

type FlightInformation struct {
	/*ArmingTimeUtc Timestamp at arming (time since UNIX epoch) in UTC, 0 for unknown */
	ArmingTimeUtc uint64
	/*TakeoffTimeUtc Timestamp at takeoff (time since UNIX epoch) in UTC, 0 for unknown */
	TakeoffTimeUtc uint64
	/*FlightUUID Universally unique identifier (UUID) of flight, should correspond to name of log files */
	FlightUUID uint64
	/*TimeBootMs Timestamp (time since system boot). */
	TimeBootMs uint32
	/*HasExtensionFieldValues indicates if this message has any extensions and  */
	HasExtensionFieldValues bool
}

FlightInformation Information about flight since last arming.

func (*FlightInformation) GetDialect

func (m *FlightInformation) GetDialect() string

GetDialect gets the name of the dialect that defines the Message

func (*FlightInformation) GetID

func (m *FlightInformation) GetID() uint32

GetID gets the ID of the Message

func (*FlightInformation) GetMessageName

func (m *FlightInformation) GetMessageName() string

GetMessageName gets the name of the Message

func (*FlightInformation) GetVersion

func (m *FlightInformation) GetVersion() int

GetVersion gets the MAVLink version of the Message contents

func (*FlightInformation) HasExtensionFields

func (m *FlightInformation) HasExtensionFields() bool

HasExtensionFields returns true if the message definition contained extensions; false otherwise

func (*FlightInformation) Read

func (m *FlightInformation) Read(frame mavlink2.Frame) (err error)

Read sets the field values of the message from the raw message payload

func (*FlightInformation) String

func (m *FlightInformation) String() string

func (*FlightInformation) Write

func (m *FlightInformation) Write(version int) (output []byte, err error)

Write encodes the field values of the message to a byte array

type FollowTarget

type FollowTarget struct {
	/*Timestamp Timestamp (time since system boot). */
	Timestamp uint64
	/*CustomState button states or switches of a tracker device */
	CustomState uint64
	/*Lat Latitude (WGS84) */
	Lat int32
	/*Lon Longitude (WGS84) */
	Lon int32
	/*Alt Altitude (MSL) */
	Alt float32
	/*Vel target velocity (0,0,0) for unknown */
	Vel [3]float32
	/*Acc linear target acceleration (0,0,0) for unknown */
	Acc [3]float32
	/*AttitudeQ (1 0 0 0 for unknown) */
	AttitudeQ [4]float32
	/*Rates (0 0 0 for unknown) */
	Rates [3]float32
	/*PositionCov eph epv */
	PositionCov [3]float32
	/*EstCapabilities bit positions for tracker reporting capabilities (POS = 0, VEL = 1, ACCEL = 2, ATT + RATES = 3) */
	EstCapabilities uint8
	/*HasExtensionFieldValues indicates if this message has any extensions and  */
	HasExtensionFieldValues bool
}

FollowTarget Current motion information from a designated system

func (*FollowTarget) GetDialect

func (m *FollowTarget) GetDialect() string

GetDialect gets the name of the dialect that defines the Message

func (*FollowTarget) GetID

func (m *FollowTarget) GetID() uint32

GetID gets the ID of the Message

func (*FollowTarget) GetMessageName

func (m *FollowTarget) GetMessageName() string

GetMessageName gets the name of the Message

func (*FollowTarget) GetVersion

func (m *FollowTarget) GetVersion() int

GetVersion gets the MAVLink version of the Message contents

func (*FollowTarget) HasExtensionFields

func (m *FollowTarget) HasExtensionFields() bool

HasExtensionFields returns true if the message definition contained extensions; false otherwise

func (*FollowTarget) Read

func (m *FollowTarget) Read(frame mavlink2.Frame) (err error)

Read sets the field values of the message from the raw message payload

func (*FollowTarget) String

func (m *FollowTarget) String() string

func (*FollowTarget) Write

func (m *FollowTarget) Write(version int) (output []byte, err error)

Write encodes the field values of the message to a byte array

type GPS2Raw

type GPS2Raw struct {
	/*TimeUsec 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 the number. */
	TimeUsec uint64
	/*Lat Latitude (WGS84) */
	Lat int32
	/*Lon Longitude (WGS84) */
	Lon int32
	/*Alt Altitude (MSL). Positive for up. */
	Alt int32
	/*DGPSAge Age of DGPS info */
	DGPSAge uint32
	/*Eph GPS HDOP horizontal dilution of position. If unknown, set to: UINT16_MAX */
	Eph uint16
	/*Epv GPS VDOP vertical dilution of position. If unknown, set to: UINT16_MAX */
	Epv uint16
	/*Vel GPS ground speed. If unknown, set to: UINT16_MAX */
	Vel uint16
	/*Cog Course over ground (NOT heading, but direction of movement): 0.0..359.99 degrees. If unknown, set to: UINT16_MAX */
	Cog uint16
	/*FixType GPS fix type. */
	FixType uint8
	/*SatellitesVisible Number of satellites visible. If unknown, set to 255 */
	SatellitesVisible uint8
	/*DGPSNumch Number of DGPS satellites */
	DGPSNumch uint8
	/*HasExtensionFieldValues indicates if this message has any extensions and  */
	HasExtensionFieldValues bool
}

GPS2Raw Second GPS data.

func (*GPS2Raw) GetDialect

func (m *GPS2Raw) GetDialect() string

GetDialect gets the name of the dialect that defines the Message

func (*GPS2Raw) GetID

func (m *GPS2Raw) GetID() uint32

GetID gets the ID of the Message

func (*GPS2Raw) GetMessageName

func (m *GPS2Raw) GetMessageName() string

GetMessageName gets the name of the Message

func (*GPS2Raw) GetVersion

func (m *GPS2Raw) GetVersion() int

GetVersion gets the MAVLink version of the Message contents

func (*GPS2Raw) HasExtensionFields

func (m *GPS2Raw) HasExtensionFields() bool

HasExtensionFields returns true if the message definition contained extensions; false otherwise

func (*GPS2Raw) Read

func (m *GPS2Raw) Read(frame mavlink2.Frame) (err error)

Read sets the field values of the message from the raw message payload

func (*GPS2Raw) String

func (m *GPS2Raw) String() string

func (*GPS2Raw) Write

func (m *GPS2Raw) Write(version int) (output []byte, err error)

Write encodes the field values of the message to a byte array

type GPS2Rtk

type GPS2Rtk struct {
	/*TimeLastBaselineMs Time since boot of last baseline message received. */
	TimeLastBaselineMs uint32
	/*Tow GPS Time of Week of last baseline */
	Tow uint32
	/*BaselineAMm Current baseline in ECEF x or NED north component. */
	BaselineAMm int32
	/*BaselineBMm Current baseline in ECEF y or NED east component. */
	BaselineBMm int32
	/*BaselineCMm Current baseline in ECEF z or NED down component. */
	BaselineCMm int32
	/*Accuracy Current estimate of baseline accuracy. */
	Accuracy uint32
	/*IarNumHypotheses Current number of integer ambiguity hypotheses. */
	IarNumHypotheses int32
	/*Wn GPS Week Number of last baseline */
	Wn uint16
	/*RtkReceiverID Identification of connected RTK receiver. */
	RtkReceiverID uint8
	/*RtkHealth GPS-specific health report for RTK data. */
	RtkHealth uint8
	/*RtkRate Rate of baseline messages being received by GPS */
	RtkRate uint8
	/*Nsats Current number of sats used for RTK calculation. */
	Nsats uint8
	/*BaselineCoordsType Coordinate system of baseline */
	BaselineCoordsType uint8
	/*HasExtensionFieldValues indicates if this message has any extensions and  */
	HasExtensionFieldValues bool
}

GPS2Rtk RTK GPS data. Gives information on the relative baseline calculation the GPS is reporting

func (*GPS2Rtk) GetDialect

func (m *GPS2Rtk) GetDialect() string

GetDialect gets the name of the dialect that defines the Message

func (*GPS2Rtk) GetID

func (m *GPS2Rtk) GetID() uint32

GetID gets the ID of the Message

func (*GPS2Rtk) GetMessageName

func (m *GPS2Rtk) GetMessageName() string

GetMessageName gets the name of the Message

func (*GPS2Rtk) GetVersion

func (m *GPS2Rtk) GetVersion() int

GetVersion gets the MAVLink version of the Message contents

func (*GPS2Rtk) HasExtensionFields

func (m *GPS2Rtk) HasExtensionFields() bool

HasExtensionFields returns true if the message definition contained extensions; false otherwise

func (*GPS2Rtk) Read

func (m *GPS2Rtk) Read(frame mavlink2.Frame) (err error)

Read sets the field values of the message from the raw message payload

func (*GPS2Rtk) String

func (m *GPS2Rtk) String() string

func (*GPS2Rtk) Write

func (m *GPS2Rtk) Write(version int) (output []byte, err error)

Write encodes the field values of the message to a byte array

type GPSGlobalOrigin

type GPSGlobalOrigin struct {
	/*Latitude Latitude (WGS84) */
	Latitude int32
	/*Longitude Longitude (WGS84) */
	Longitude int32
	/*Altitude Altitude (MSL). Positive for up. */
	Altitude int32
	/*TimeUsec 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 the number. */
	TimeUsec uint64
	/*HasExtensionFieldValues indicates if this message has any extensions and  */
	HasExtensionFieldValues bool
}

GPSGlobalOrigin Publishes the GPS co-ordinates 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.

func (*GPSGlobalOrigin) GetDialect

func (m *GPSGlobalOrigin) GetDialect() string

GetDialect gets the name of the dialect that defines the Message

func (*GPSGlobalOrigin) GetID

func (m *GPSGlobalOrigin) GetID() uint32

GetID gets the ID of the Message

func (*GPSGlobalOrigin) GetMessageName

func (m *GPSGlobalOrigin) GetMessageName() string

GetMessageName gets the name of the Message

func (*GPSGlobalOrigin) GetVersion

func (m *GPSGlobalOrigin) GetVersion() int

GetVersion gets the MAVLink version of the Message contents

func (*GPSGlobalOrigin) HasExtensionFields

func (m *GPSGlobalOrigin) HasExtensionFields() bool

HasExtensionFields returns true if the message definition contained extensions; false otherwise

func (*GPSGlobalOrigin) Read

func (m *GPSGlobalOrigin) Read(frame mavlink2.Frame) (err error)

Read sets the field values of the message from the raw message payload

func (*GPSGlobalOrigin) String

func (m *GPSGlobalOrigin) String() string

func (*GPSGlobalOrigin) Write

func (m *GPSGlobalOrigin) Write(version int) (output []byte, err error)

Write encodes the field values of the message to a byte array

type GPSInjectData

type GPSInjectData struct {
	/*TargetSystem System ID */
	TargetSystem uint8
	/*TargetComponent Component ID */
	TargetComponent uint8
	/*Len Data length */
	Len uint8
	/*Data Raw data (110 is enough for 12 satellites of RTCMv2) */
	Data [110]uint8
	/*HasExtensionFieldValues indicates if this message has any extensions and  */
	HasExtensionFieldValues bool
}

GPSInjectData Data for injecting into the onboard GPS (used for DGPS)

func (*GPSInjectData) GetDialect

func (m *GPSInjectData) GetDialect() string

GetDialect gets the name of the dialect that defines the Message

func (*GPSInjectData) GetID

func (m *GPSInjectData) GetID() uint32

GetID gets the ID of the Message

func (*GPSInjectData) GetMessageName

func (m *GPSInjectData) GetMessageName() string

GetMessageName gets the name of the Message

func (*GPSInjectData) GetVersion

func (m *GPSInjectData) GetVersion() int

GetVersion gets the MAVLink version of the Message contents

func (*GPSInjectData) HasExtensionFields

func (m *GPSInjectData) HasExtensionFields() bool

HasExtensionFields returns true if the message definition contained extensions; false otherwise

func (*GPSInjectData) Read

func (m *GPSInjectData) Read(frame mavlink2.Frame) (err error)

Read sets the field values of the message from the raw message payload

func (*GPSInjectData) String

func (m *GPSInjectData) String() string

func (*GPSInjectData) Write

func (m *GPSInjectData) Write(version int) (output []byte, err error)

Write encodes the field values of the message to a byte array

type GPSInput

type GPSInput struct {
	/*TimeUsec 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 the number. */
	TimeUsec uint64
	/*TimeWeekMs GPS time (from start of GPS week) */
	TimeWeekMs uint32
	/*Lat Latitude (WGS84) */
	Lat int32
	/*Lon Longitude (WGS84) */
	Lon int32
	/*Alt Altitude (MSL). Positive for up. */
	Alt float32
	/*Hdop GPS HDOP horizontal dilution of position */
	Hdop float32
	/*Vdop GPS VDOP vertical dilution of position */
	Vdop float32
	/*Vn GPS velocity in north direction in earth-fixed NED frame */
	Vn float32
	/*Ve GPS velocity in east direction in earth-fixed NED frame */
	Ve float32
	/*Vd GPS velocity in down direction in earth-fixed NED frame */
	Vd float32
	/*SpeedAccuracy GPS speed accuracy */
	SpeedAccuracy float32
	/*HorizAccuracy GPS horizontal accuracy */
	HorizAccuracy float32
	/*VertAccuracy GPS vertical accuracy */
	VertAccuracy float32
	/*IgnoreFlags Bitmap indicating which GPS input flags fields to ignore.  All other fields must be provided. */
	IgnoreFlags uint16
	/*TimeWeek GPS week number */
	TimeWeek uint16
	/*GPSID ID of the GPS for multiple GPS inputs */
	GPSID uint8
	/*FixType 0-1: no fix, 2: 2D fix, 3: 3D fix. 4: 3D with DGPS. 5: 3D with RTK */
	FixType uint8
	/*SatellitesVisible Number of satellites visible. */
	SatellitesVisible uint8
	/*Yaw Yaw of vehicle relative to Earth's North, zero means not available, use 36000 for north */
	Yaw uint16
	/*HasExtensionFieldValues indicates if this message has any extensions and  */
	HasExtensionFieldValues bool
}

GPSInput GPS sensor input message. This is a raw sensor value sent by the GPS. This is NOT the global position estimate of the system.

func (*GPSInput) GetDialect

func (m *GPSInput) GetDialect() string

GetDialect gets the name of the dialect that defines the Message

func (*GPSInput) GetID

func (m *GPSInput) GetID() uint32

GetID gets the ID of the Message

func (*GPSInput) GetMessageName

func (m *GPSInput) GetMessageName() string

GetMessageName gets the name of the Message

func (*GPSInput) GetVersion

func (m *GPSInput) GetVersion() int

GetVersion gets the MAVLink version of the Message contents

func (*GPSInput) HasExtensionFields

func (m *GPSInput) HasExtensionFields() bool

HasExtensionFields returns true if the message definition contained extensions; false otherwise

func (*GPSInput) Read

func (m *GPSInput) Read(frame mavlink2.Frame) (err error)

Read sets the field values of the message from the raw message payload

func (*GPSInput) String

func (m *GPSInput) String() string

func (*GPSInput) Write

func (m *GPSInput) Write(version int) (output []byte, err error)

Write encodes the field values of the message to a byte array

type GPSRawInt

type GPSRawInt struct {
	/*TimeUsec 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 the number. */
	TimeUsec uint64
	/*Lat Latitude (WGS84, EGM96 ellipsoid) */
	Lat int32
	/*Lon Longitude (WGS84, EGM96 ellipsoid) */
	Lon int32
	/*Alt Altitude (MSL). Positive for up. Note that virtually all GPS modules provide the MSL altitude in addition to the WGS84 altitude. */
	Alt int32
	/*Eph GPS HDOP horizontal dilution of position (unitless). If unknown, set to: UINT16_MAX */
	Eph uint16
	/*Epv GPS VDOP vertical dilution of position (unitless). If unknown, set to: UINT16_MAX */
	Epv uint16
	/*Vel GPS ground speed. If unknown, set to: UINT16_MAX */
	Vel uint16
	/*Cog Course over ground (NOT heading, but direction of movement) in degrees * 100, 0.0..359.99 degrees. If unknown, set to: UINT16_MAX */
	Cog uint16
	/*FixType GPS fix type. */
	FixType uint8
	/*SatellitesVisible Number of satellites visible. If unknown, set to 255 */
	SatellitesVisible uint8
	/*AltEllipsoID Altitude (above WGS84, EGM96 ellipsoid). Positive for up. */
	AltEllipsoID int32
	/*HAcc Position uncertainty. Positive for up. */
	HAcc uint32
	/*VAcc Altitude uncertainty. Positive for up. */
	VAcc uint32
	/*VelAcc Speed uncertainty. Positive for up. */
	VelAcc uint32
	/*HdgAcc Heading / track uncertainty */
	HdgAcc uint32
	/*HasExtensionFieldValues indicates if this message has any extensions and  */
	HasExtensionFieldValues bool
}

GPSRawInt 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 for the global position estimate.

func (*GPSRawInt) GetDialect

func (m *GPSRawInt) GetDialect() string

GetDialect gets the name of the dialect that defines the Message

func (*GPSRawInt) GetID

func (m *GPSRawInt) GetID() uint32

GetID gets the ID of the Message

func (*GPSRawInt) GetMessageName

func (m *GPSRawInt) GetMessageName() string

GetMessageName gets the name of the Message

func (*GPSRawInt) GetVersion

func (m *GPSRawInt) GetVersion() int

GetVersion gets the MAVLink version of the Message contents

func (*GPSRawInt) HasExtensionFields

func (m *GPSRawInt) HasExtensionFields() bool

HasExtensionFields returns true if the message definition contained extensions; false otherwise

func (*GPSRawInt) Read

func (m *GPSRawInt) Read(frame mavlink2.Frame) (err error)

Read sets the field values of the message from the raw message payload

func (*GPSRawInt) String

func (m *GPSRawInt) String() string

func (*GPSRawInt) Write

func (m *GPSRawInt) Write(version int) (output []byte, err error)

Write encodes the field values of the message to a byte array

type GPSRtcmData

type GPSRtcmData struct {
	/*Flags LSB: 1 means message is fragmented, next 2 bits are the fragment ID, the remaining 5 bits are used for the sequence ID. Messages are only to be flushed to the GPS when the entire message has been reconstructed on the autopilot. The fragment ID specifies which order the fragments should be assembled into a buffer, while the sequence ID is used to detect a mismatch between different buffers. The buffer is considered fully reconstructed when either all 4 fragments are present, or all the fragments before the first fragment with a non full payload is received. This management is used to ensure that normal GPS operation doesn't corrupt RTCM data, and to recover from a unreliable transport delivery order. */
	Flags uint8
	/*Len data length */
	Len uint8
	/*Data RTCM message (may be fragmented) */
	Data [180]uint8
	/*HasExtensionFieldValues indicates if this message has any extensions and  */
	HasExtensionFieldValues bool
}

GPSRtcmData RTCM message for injecting into the onboard GPS (used for DGPS)

func (*GPSRtcmData) GetDialect

func (m *GPSRtcmData) GetDialect() string

GetDialect gets the name of the dialect that defines the Message

func (*GPSRtcmData) GetID

func (m *GPSRtcmData) GetID() uint32

GetID gets the ID of the Message

func (*GPSRtcmData) GetMessageName

func (m *GPSRtcmData) GetMessageName() string

GetMessageName gets the name of the Message

func (*GPSRtcmData) GetVersion

func (m *GPSRtcmData) GetVersion() int

GetVersion gets the MAVLink version of the Message contents

func (*GPSRtcmData) HasExtensionFields

func (m *GPSRtcmData) HasExtensionFields() bool

HasExtensionFields returns true if the message definition contained extensions; false otherwise

func (*GPSRtcmData) Read

func (m *GPSRtcmData) Read(frame mavlink2.Frame) (err error)

Read sets the field values of the message from the raw message payload

func (*GPSRtcmData) String

func (m *GPSRtcmData) String() string

func (*GPSRtcmData) Write

func (m *GPSRtcmData) Write(version int) (output []byte, err error)

Write encodes the field values of the message to a byte array

type GPSRtk

type GPSRtk struct {
	/*TimeLastBaselineMs Time since boot of last baseline message received. */
	TimeLastBaselineMs uint32
	/*Tow GPS Time of Week of last baseline */
	Tow uint32
	/*BaselineAMm Current baseline in ECEF x or NED north component. */
	BaselineAMm int32
	/*BaselineBMm Current baseline in ECEF y or NED east component. */
	BaselineBMm int32
	/*BaselineCMm Current baseline in ECEF z or NED down component. */
	BaselineCMm int32
	/*Accuracy Current estimate of baseline accuracy. */
	Accuracy uint32
	/*IarNumHypotheses Current number of integer ambiguity hypotheses. */
	IarNumHypotheses int32
	/*Wn GPS Week Number of last baseline */
	Wn uint16
	/*RtkReceiverID Identification of connected RTK receiver. */
	RtkReceiverID uint8
	/*RtkHealth GPS-specific health report for RTK data. */
	RtkHealth uint8
	/*RtkRate Rate of baseline messages being received by GPS */
	RtkRate uint8
	/*Nsats Current number of sats used for RTK calculation. */
	Nsats uint8
	/*BaselineCoordsType Coordinate system of baseline */
	BaselineCoordsType uint8
	/*HasExtensionFieldValues indicates if this message has any extensions and  */
	HasExtensionFieldValues bool
}

GPSRtk RTK GPS data. Gives information on the relative baseline calculation the GPS is reporting

func (*GPSRtk) GetDialect

func (m *GPSRtk) GetDialect() string

GetDialect gets the name of the dialect that defines the Message

func (*GPSRtk) GetID

func (m *GPSRtk) GetID() uint32

GetID gets the ID of the Message

func (*GPSRtk) GetMessageName

func (m *GPSRtk) GetMessageName() string

GetMessageName gets the name of the Message

func (*GPSRtk) GetVersion

func (m *GPSRtk) GetVersion() int

GetVersion gets the MAVLink version of the Message contents

func (*GPSRtk) HasExtensionFields

func (m *GPSRtk) HasExtensionFields() bool

HasExtensionFields returns true if the message definition contained extensions; false otherwise

func (*GPSRtk) Read

func (m *GPSRtk) Read(frame mavlink2.Frame) (err error)

Read sets the field values of the message from the raw message payload

func (*GPSRtk) String

func (m *GPSRtk) String() string

func (*GPSRtk) Write

func (m *GPSRtk) Write(version int) (output []byte, err error)

Write encodes the field values of the message to a byte array

type GPSStatus

type GPSStatus struct {
	/*SatellitesVisible Number of satellites visible */
	SatellitesVisible uint8
	/*SatellitePrn Global satellite ID */
	SatellitePrn [20]uint8
	/*SatelliteUsed 0: Satellite not used, 1: used for localization */
	SatelliteUsed [20]uint8
	/*SatelliteElevation Elevation (0: right on top of receiver, 90: on the horizon) of satellite */
	SatelliteElevation [20]uint8
	/*SatelliteAzIMUth Direction of satellite, 0: 0 deg, 255: 360 deg. */
	SatelliteAzIMUth [20]uint8
	/*SatelliteSnr Signal to noise ratio of satellite */
	SatelliteSnr [20]uint8
	/*HasExtensionFieldValues indicates if this message has any extensions and  */
	HasExtensionFieldValues bool
}

GPSStatus 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 for the global position estimate. This message can contain information for up to 20 satellites.

func (*GPSStatus) GetDialect

func (m *GPSStatus) GetDialect() string

GetDialect gets the name of the dialect that defines the Message

func (*GPSStatus) GetID

func (m *GPSStatus) GetID() uint32

GetID gets the ID of the Message

func (*GPSStatus) GetMessageName

func (m *GPSStatus) GetMessageName() string

GetMessageName gets the name of the Message

func (*GPSStatus) GetVersion

func (m *GPSStatus) GetVersion() int

GetVersion gets the MAVLink version of the Message contents

func (*GPSStatus) HasExtensionFields

func (m *GPSStatus) HasExtensionFields() bool

HasExtensionFields returns true if the message definition contained extensions; false otherwise

func (*GPSStatus) Read

func (m *GPSStatus) Read(frame mavlink2.Frame) (err error)

Read sets the field values of the message from the raw message payload

func (*GPSStatus) String

func (m *GPSStatus) String() string

func (*GPSStatus) Write

func (m *GPSStatus) Write(version int) (output []byte, err error)

Write encodes the field values of the message to a byte array

type GlobalPositionInt

type GlobalPositionInt struct {
	/*TimeBootMs Timestamp (time since system boot). */
	TimeBootMs uint32
	/*Lat Latitude, expressed */
	Lat int32
	/*Lon Longitude, expressed */
	Lon int32
	/*Alt Altitude (MSL). Note that virtually all GPS modules provide both WGS84 and MSL. */
	Alt int32
	/*RelativeAlt Altitude above ground */
	RelativeAlt int32
	/*Vx Ground X Speed (Latitude, positive north) */
	Vx int16
	/*Vy Ground Y Speed (Longitude, positive east) */
	Vy int16
	/*Vz Ground Z Speed (Altitude, positive down) */
	Vz int16
	/*Hdg Vehicle heading (yaw angle), 0.0..359.99 degrees. If unknown, set to: UINT16_MAX */
	Hdg uint16
	/*HasExtensionFieldValues indicates if this message has any extensions and  */
	HasExtensionFieldValues bool
}

GlobalPositionInt 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.

func (*GlobalPositionInt) GetDialect

func (m *GlobalPositionInt) GetDialect() string

GetDialect gets the name of the dialect that defines the Message

func (*GlobalPositionInt) GetID

func (m *GlobalPositionInt) GetID() uint32

GetID gets the ID of the Message

func (*GlobalPositionInt) GetMessageName

func (m *GlobalPositionInt) GetMessageName() string

GetMessageName gets the name of the Message

func (*GlobalPositionInt) GetVersion

func (m *GlobalPositionInt) GetVersion() int

GetVersion gets the MAVLink version of the Message contents

func (*GlobalPositionInt) HasExtensionFields

func (m *GlobalPositionInt) HasExtensionFields() bool

HasExtensionFields returns true if the message definition contained extensions; false otherwise

func (*GlobalPositionInt) Read

func (m *GlobalPositionInt) Read(frame mavlink2.Frame) (err error)

Read sets the field values of the message from the raw message payload

func (*GlobalPositionInt) String

func (m *GlobalPositionInt) String() string

func (*GlobalPositionInt) Write

func (m *GlobalPositionInt) Write(version int) (output []byte, err error)

Write encodes the field values of the message to a byte array

type GlobalPositionIntCov

type GlobalPositionIntCov struct {
	/*TimeUsec 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 the number. */
	TimeUsec uint64
	/*Lat Latitude */
	Lat int32
	/*Lon Longitude */
	Lon int32
	/*Alt Altitude in meters above MSL */
	Alt int32
	/*RelativeAlt Altitude above ground */
	RelativeAlt int32
	/*Vx Ground X Speed (Latitude) */
	Vx float32
	/*Vy Ground Y Speed (Longitude) */
	Vy float32
	/*Vz Ground Z Speed (Altitude) */
	Vz float32
	/*Covariance Row-major representation of a 6x6 position and velocity 6x6 cross-covariance matrix (states: lat, lon, alt, vx, vy, vz; first six entries are the first ROW, next six entries are the second row, etc.). If unknown, assign NaN value to first element in the array. */
	Covariance [36]float32
	/*EstimatorType Class id of the estimator this estimate originated from. */
	EstimatorType uint8
	/*HasExtensionFieldValues indicates if this message has any extensions and  */
	HasExtensionFieldValues bool
}

GlobalPositionIntCov 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.

func (*GlobalPositionIntCov) GetDialect

func (m *GlobalPositionIntCov) GetDialect() string

GetDialect gets the name of the dialect that defines the Message

func (*GlobalPositionIntCov) GetID

func (m *GlobalPositionIntCov) GetID() uint32

GetID gets the ID of the Message

func (*GlobalPositionIntCov) GetMessageName

func (m *GlobalPositionIntCov) GetMessageName() string

GetMessageName gets the name of the Message

func (*GlobalPositionIntCov) GetVersion

func (m *GlobalPositionIntCov) GetVersion() int

GetVersion gets the MAVLink version of the Message contents

func (*GlobalPositionIntCov) HasExtensionFields

func (m *GlobalPositionIntCov) HasExtensionFields() bool

HasExtensionFields returns true if the message definition contained extensions; false otherwise

func (*GlobalPositionIntCov) Read

func (m *GlobalPositionIntCov) Read(frame mavlink2.Frame) (err error)

Read sets the field values of the message from the raw message payload

func (*GlobalPositionIntCov) String

func (m *GlobalPositionIntCov) String() string

func (*GlobalPositionIntCov) Write

func (m *GlobalPositionIntCov) Write(version int) (output []byte, err error)

Write encodes the field values of the message to a byte array

type GlobalVisionPositionEstimate

type GlobalVisionPositionEstimate struct {
	/*Usec Timestamp (UNIX time or since system boot) */
	Usec uint64
	/*X Global X position */
	X float32
	/*Y Global Y position */
	Y float32
	/*Z Global Z position */
	Z float32
	/*Roll Roll angle */
	Roll float32
	/*Pitch Pitch angle */
	Pitch float32
	/*Yaw Yaw angle */
	Yaw float32
	/*Covariance Row-major representation of pose 6x6 cross-covariance matrix upper right triangle (states: x_global, y_global, z_global, roll, pitch, yaw; first six entries are the first ROW, next five entries are the second ROW, etc.). If unknown, assign NaN value to first element in the array. */
	Covariance [21]float32
	/*ResetCounter Estimate reset counter. This should be incremented when the estimate resets in any of the dimensions (position, velocity, attitude, angular speed). This is designed to be used when e.g an external SLAM system detects a loop-closure and the estimate jumps. */
	ResetCounter uint8
	/*HasExtensionFieldValues indicates if this message has any extensions and  */
	HasExtensionFieldValues bool
}

GlobalVisionPositionEstimate Global position/attitude estimate from a vision source.

func (*GlobalVisionPositionEstimate) GetDialect

func (m *GlobalVisionPositionEstimate) GetDialect() string

GetDialect gets the name of the dialect that defines the Message

func (*GlobalVisionPositionEstimate) GetID

GetID gets the ID of the Message

func (*GlobalVisionPositionEstimate) GetMessageName

func (m *GlobalVisionPositionEstimate) GetMessageName() string

GetMessageName gets the name of the Message

func (*GlobalVisionPositionEstimate) GetVersion

func (m *GlobalVisionPositionEstimate) GetVersion() int

GetVersion gets the MAVLink version of the Message contents

func (*GlobalVisionPositionEstimate) HasExtensionFields

func (m *GlobalVisionPositionEstimate) HasExtensionFields() bool

HasExtensionFields returns true if the message definition contained extensions; false otherwise

func (*GlobalVisionPositionEstimate) Read

func (m *GlobalVisionPositionEstimate) Read(frame mavlink2.Frame) (err error)

Read sets the field values of the message from the raw message payload

func (*GlobalVisionPositionEstimate) String

func (*GlobalVisionPositionEstimate) Write

func (m *GlobalVisionPositionEstimate) Write(version int) (output []byte, err error)

Write encodes the field values of the message to a byte array

type Heartbeat

type Heartbeat struct {
	/*CustomMode A bitfield for use for autopilot-specific flags */
	CustomMode uint32
	/*Type Vehicle or component type. For a flight controller component the vehicle type (quadrotor, helicopter, etc.). For other components the component type (e.g. camera, gimbal, etc.). This should be used in preference to component id for identifying the component type. */
	Type uint8
	/*Autopilot Autopilot type / class. Use MAV_AUTOPILOT_INVALID for components that are not flight controllers. */
	Autopilot uint8
	/*BaseMode System mode bitmap. */
	BaseMode uint8
	/*SystemStatus System status flag. */
	SystemStatus uint8
	/*MavlinkVersion MAVLink version, not writable by user, gets added by protocol because of magic data type: uint8_t_mavlink_version */
	MavlinkVersion uint8
	/*HasExtensionFieldValues indicates if this message has any extensions and  */
	HasExtensionFieldValues bool
}

Heartbeat 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

func (*Heartbeat) GetDialect

func (m *Heartbeat) GetDialect() string

GetDialect gets the name of the dialect that defines the Message

func (*Heartbeat) GetID

func (m *Heartbeat) GetID() uint32

GetID gets the ID of the Message

func (*Heartbeat) GetMessageName

func (m *Heartbeat) GetMessageName() string

GetMessageName gets the name of the Message

func (*Heartbeat) GetVersion

func (m *Heartbeat) GetVersion() int

GetVersion gets the MAVLink version of the Message contents

func (*Heartbeat) HasExtensionFields

func (m *Heartbeat) HasExtensionFields() bool

HasExtensionFields returns true if the message definition contained extensions; false otherwise

func (*Heartbeat) Read

func (m *Heartbeat) Read(frame mavlink2.Frame) (err error)

Read sets the field values of the message from the raw message payload

func (*Heartbeat) String

func (m *Heartbeat) String() string

func (*Heartbeat) Write

func (m *Heartbeat) Write(version int) (output []byte, err error)

Write encodes the field values of the message to a byte array

type HighLatency

type HighLatency struct {
	/*CustomMode A bitfield for use for autopilot-specific flags. */
	CustomMode uint32
	/*Latitude Latitude */
	Latitude int32
	/*Longitude Longitude */
	Longitude int32
	/*Roll roll */
	Roll int16
	/*Pitch pitch */
	Pitch int16
	/*Heading heading */
	Heading uint16
	/*HeadingSp heading setpoint */
	HeadingSp int16
	/*AltitudeAmsl Altitude above mean sea level */
	AltitudeAmsl int16
	/*AltitudeSp Altitude setpoint relative to the home position */
	AltitudeSp int16
	/*WpDistance distance to target */
	WpDistance uint16
	/*BaseMode Bitmap of enabled system modes. */
	BaseMode uint8
	/*LandedState The landed state. Is set to MAV_LANDED_STATE_UNDEFINED if landed state is unknown. */
	LandedState uint8
	/*Throttle throttle (percentage) */
	Throttle int8
	/*Airspeed airspeed */
	Airspeed uint8
	/*AirspeedSp airspeed setpoint */
	AirspeedSp uint8
	/*Groundspeed groundspeed */
	Groundspeed uint8
	/*ClimbRate climb rate */
	ClimbRate int8
	/*GPSNsat Number of satellites visible. If unknown, set to 255 */
	GPSNsat uint8
	/*GPSFixType GPS Fix type. */
	GPSFixType uint8
	/*BatteryRemaining Remaining battery (percentage) */
	BatteryRemaining uint8
	/*Temperature Autopilot temperature (degrees C) */
	Temperature int8
	/*TemperatureAir Air temperature (degrees C) from airspeed sensor */
	TemperatureAir int8
	/*Failsafe failsafe (each bit represents a failsafe where 0=ok, 1=failsafe active (bit0:RC, bit1:batt, bit2:GPS, bit3:GCS, bit4:fence) */
	Failsafe uint8
	/*WpNum current waypoint number */
	WpNum uint8
	/*HasExtensionFieldValues indicates if this message has any extensions and  */
	HasExtensionFieldValues bool
}

HighLatency Message appropriate for high latency connections like Iridium

func (*HighLatency) GetDialect

func (m *HighLatency) GetDialect() string

GetDialect gets the name of the dialect that defines the Message

func (*HighLatency) GetID

func (m *HighLatency) GetID() uint32

GetID gets the ID of the Message

func (*HighLatency) GetMessageName

func (m *HighLatency) GetMessageName() string

GetMessageName gets the name of the Message

func (*HighLatency) GetVersion

func (m *HighLatency) GetVersion() int

GetVersion gets the MAVLink version of the Message contents

func (*HighLatency) HasExtensionFields

func (m *HighLatency) HasExtensionFields() bool

HasExtensionFields returns true if the message definition contained extensions; false otherwise

func (*HighLatency) Read

func (m *HighLatency) Read(frame mavlink2.Frame) (err error)

Read sets the field values of the message from the raw message payload

func (*HighLatency) String

func (m *HighLatency) String() string

func (*HighLatency) Write

func (m *HighLatency) Write(version int) (output []byte, err error)

Write encodes the field values of the message to a byte array

type HighLatency2

type HighLatency2 struct {
	/*Timestamp Timestamp (milliseconds since boot or Unix epoch) */
	Timestamp uint32
	/*Latitude Latitude */
	Latitude int32
	/*Longitude Longitude */
	Longitude int32
	/*CustomMode A bitfield for use for autopilot-specific flags (2 byte version). */
	CustomMode uint16
	/*Altitude Altitude above mean sea level */
	Altitude int16
	/*TargetAltitude Altitude setpoint */
	TargetAltitude int16
	/*TargetDistance Distance to target waypoint or position */
	TargetDistance uint16
	/*WpNum Current waypoint number */
	WpNum uint16
	/*FailureFlags Bitmap of failure flags. */
	FailureFlags uint16
	/*Type Type of the MAV (quadrotor, helicopter, etc.) */
	Type uint8
	/*Autopilot Autopilot type / class. Use MAV_AUTOPILOT_INVALID for components that are not flight controllers. */
	Autopilot uint8
	/*Heading Heading */
	Heading uint8
	/*TargetHeading Heading setpoint */
	TargetHeading uint8
	/*Throttle Throttle */
	Throttle uint8
	/*Airspeed Airspeed */
	Airspeed uint8
	/*AirspeedSp Airspeed setpoint */
	AirspeedSp uint8
	/*Groundspeed Groundspeed */
	Groundspeed uint8
	/*Windspeed Windspeed */
	Windspeed uint8
	/*WindHeading Wind heading */
	WindHeading uint8
	/*Eph Maximum error horizontal position since last message */
	Eph uint8
	/*Epv Maximum error vertical position since last message */
	Epv uint8
	/*TemperatureAir Air temperature from airspeed sensor */
	TemperatureAir int8
	/*ClimbRate Maximum climb rate magnitude since last message */
	ClimbRate int8
	/*Battery Battery level (-1 if field not provided). */
	Battery int8
	/*Custom0 Field for custom payload. */
	Custom0 int8
	/*Custom1 Field for custom payload. */
	Custom1 int8
	/*Custom2 Field for custom payload. */
	Custom2 int8
	/*HasExtensionFieldValues indicates if this message has any extensions and  */
	HasExtensionFieldValues bool
}

HighLatency2 Message appropriate for high latency connections like Iridium (version 2)

func (*HighLatency2) GetDialect

func (m *HighLatency2) GetDialect() string

GetDialect gets the name of the dialect that defines the Message

func (*HighLatency2) GetID

func (m *HighLatency2) GetID() uint32

GetID gets the ID of the Message

func (*HighLatency2) GetMessageName

func (m *HighLatency2) GetMessageName() string

GetMessageName gets the name of the Message

func (*HighLatency2) GetVersion

func (m *HighLatency2) GetVersion() int

GetVersion gets the MAVLink version of the Message contents

func (*HighLatency2) HasExtensionFields

func (m *HighLatency2) HasExtensionFields() bool

HasExtensionFields returns true if the message definition contained extensions; false otherwise

func (*HighLatency2) Read

func (m *HighLatency2) Read(frame mavlink2.Frame) (err error)

Read sets the field values of the message from the raw message payload

func (*HighLatency2) String

func (m *HighLatency2) String() string

func (*HighLatency2) Write

func (m *HighLatency2) Write(version int) (output []byte, err error)

Write encodes the field values of the message to a byte array

type HighresIMU

type HighresIMU struct {
	/*TimeUsec 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 the number. */
	TimeUsec uint64
	/*Xacc X acceleration */
	Xacc float32
	/*Yacc Y acceleration */
	Yacc float32
	/*Zacc Z acceleration */
	Zacc float32
	/*Xgyro Angular speed around X axis */
	Xgyro float32
	/*Ygyro Angular speed around Y axis */
	Ygyro float32
	/*Zgyro Angular speed around Z axis */
	Zgyro float32
	/*Xmag X Magnetic field */
	Xmag float32
	/*Ymag Y Magnetic field */
	Ymag float32
	/*Zmag Z Magnetic field */
	Zmag float32
	/*AbsPressure Absolute pressure */
	AbsPressure float32
	/*DiffPressure Differential pressure */
	DiffPressure float32
	/*PressureAlt Altitude calculated from pressure */
	PressureAlt float32
	/*Temperature Temperature */
	Temperature float32
	/*FieldsUpdated Bitmap for fields that have updated since last message, bit 0 = xacc, bit 12: temperature */
	FieldsUpdated uint16
	/*ID Id. Ids are numbered from 0 and map to IMUs numbered from 1 (e.g. IMU1 will have a message with id=0) */
	ID uint8
	/*HasExtensionFieldValues indicates if this message has any extensions and  */
	HasExtensionFieldValues bool
}

HighresIMU The IMU readings in SI units in NED body frame

func (*HighresIMU) GetDialect

func (m *HighresIMU) GetDialect() string

GetDialect gets the name of the dialect that defines the Message

func (*HighresIMU) GetID

func (m *HighresIMU) GetID() uint32

GetID gets the ID of the Message

func (*HighresIMU) GetMessageName

func (m *HighresIMU) GetMessageName() string

GetMessageName gets the name of the Message

func (*HighresIMU) GetVersion

func (m *HighresIMU) GetVersion() int

GetVersion gets the MAVLink version of the Message contents

func (*HighresIMU) HasExtensionFields

func (m *HighresIMU) HasExtensionFields() bool

HasExtensionFields returns true if the message definition contained extensions; false otherwise

func (*HighresIMU) Read

func (m *HighresIMU) Read(frame mavlink2.Frame) (err error)

Read sets the field values of the message from the raw message payload

func (*HighresIMU) String

func (m *HighresIMU) String() string

func (*HighresIMU) Write

func (m *HighresIMU) Write(version int) (output []byte, err error)

Write encodes the field values of the message to a byte array

type HilActuatorControls

type HilActuatorControls struct {
	/*TimeUsec 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 the number. */
	TimeUsec uint64
	/*Flags Flags as bitfield, reserved for future use. */
	Flags uint64
	/*Controls Control outputs -1 .. 1. Channel assignment depends on the simulated hardware. */
	Controls [16]float32
	/*Mode System mode. Includes arming state. */
	Mode uint8
	/*HasExtensionFieldValues indicates if this message has any extensions and  */
	HasExtensionFieldValues bool
}

HilActuatorControls Sent from autopilot to simulation. Hardware in the loop control outputs (replacement for HIL_CONTROLS)

func (*HilActuatorControls) GetDialect

func (m *HilActuatorControls) GetDialect() string

GetDialect gets the name of the dialect that defines the Message

func (*HilActuatorControls) GetID

func (m *HilActuatorControls) GetID() uint32

GetID gets the ID of the Message

func (*HilActuatorControls) GetMessageName

func (m *HilActuatorControls) GetMessageName() string

GetMessageName gets the name of the Message

func (*HilActuatorControls) GetVersion

func (m *HilActuatorControls) GetVersion() int

GetVersion gets the MAVLink version of the Message contents

func (*HilActuatorControls) HasExtensionFields

func (m *HilActuatorControls) HasExtensionFields() bool

HasExtensionFields returns true if the message definition contained extensions; false otherwise

func (*HilActuatorControls) Read

func (m *HilActuatorControls) Read(frame mavlink2.Frame) (err error)

Read sets the field values of the message from the raw message payload

func (*HilActuatorControls) String

func (m *HilActuatorControls) String() string

func (*HilActuatorControls) Write

func (m *HilActuatorControls) Write(version int) (output []byte, err error)

Write encodes the field values of the message to a byte array

type HilControls

type HilControls struct {
	/*TimeUsec 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 the number. */
	TimeUsec uint64
	/*RollAilerons Control output -1 .. 1 */
	RollAilerons float32
	/*PitchElevator Control output -1 .. 1 */
	PitchElevator float32
	/*YawRudder Control output -1 .. 1 */
	YawRudder float32
	/*Throttle Throttle 0 .. 1 */
	Throttle float32
	/*Aux1 Aux 1, -1 .. 1 */
	Aux1 float32
	/*Aux2 Aux 2, -1 .. 1 */
	Aux2 float32
	/*Aux3 Aux 3, -1 .. 1 */
	Aux3 float32
	/*Aux4 Aux 4, -1 .. 1 */
	Aux4 float32
	/*Mode System mode. */
	Mode uint8
	/*NAVMode Navigation mode (MAV_NAV_MODE) */
	NAVMode uint8
	/*HasExtensionFieldValues indicates if this message has any extensions and  */
	HasExtensionFieldValues bool
}

HilControls Sent from autopilot to simulation. Hardware in the loop control outputs

func (*HilControls) GetDialect

func (m *HilControls) GetDialect() string

GetDialect gets the name of the dialect that defines the Message

func (*HilControls) GetID

func (m *HilControls) GetID() uint32

GetID gets the ID of the Message

func (*HilControls) GetMessageName

func (m *HilControls) GetMessageName() string

GetMessageName gets the name of the Message

func (*HilControls) GetVersion

func (m *HilControls) GetVersion() int

GetVersion gets the MAVLink version of the Message contents

func (*HilControls) HasExtensionFields

func (m *HilControls) HasExtensionFields() bool

HasExtensionFields returns true if the message definition contained extensions; false otherwise

func (*HilControls) Read

func (m *HilControls) Read(frame mavlink2.Frame) (err error)

Read sets the field values of the message from the raw message payload

func (*HilControls) String

func (m *HilControls) String() string

func (*HilControls) Write

func (m *HilControls) Write(version int) (output []byte, err error)

Write encodes the field values of the message to a byte array

type HilGPS

type HilGPS struct {
	/*TimeUsec 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 the number. */
	TimeUsec uint64
	/*Lat Latitude (WGS84) */
	Lat int32
	/*Lon Longitude (WGS84) */
	Lon int32
	/*Alt Altitude (MSL). Positive for up. */
	Alt int32
	/*Eph GPS HDOP horizontal dilution of position. If unknown, set to: 65535 */
	Eph uint16
	/*Epv GPS VDOP vertical dilution of position. If unknown, set to: 65535 */
	Epv uint16
	/*Vel GPS ground speed. If unknown, set to: 65535 */
	Vel uint16
	/*Vn GPS velocity in north direction in earth-fixed NED frame */
	Vn int16
	/*Ve GPS velocity in east direction in earth-fixed NED frame */
	Ve int16
	/*Vd GPS velocity in down direction in earth-fixed NED frame */
	Vd int16
	/*Cog Course over ground (NOT heading, but direction of movement), 0.0..359.99 degrees. If unknown, set to: 65535 */
	Cog uint16
	/*FixType 0-1: no fix, 2: 2D fix, 3: 3D fix. Some applications will not use the value of this field unless it is at least two, so always correctly fill in the fix. */
	FixType uint8
	/*SatellitesVisible Number of satellites visible. If unknown, set to 255 */
	SatellitesVisible uint8
	/*HasExtensionFieldValues indicates if this message has any extensions and  */
	HasExtensionFieldValues bool
}

HilGPS The global position, as returned by the Global Positioning System (GPS). This is

NOT the global position estimate of the sytem, but rather a RAW sensor value. See message GLOBAL_POSITION for the global position estimate.

func (*HilGPS) GetDialect

func (m *HilGPS) GetDialect() string

GetDialect gets the name of the dialect that defines the Message

func (*HilGPS) GetID

func (m *HilGPS) GetID() uint32

GetID gets the ID of the Message

func (*HilGPS) GetMessageName

func (m *HilGPS) GetMessageName() string

GetMessageName gets the name of the Message

func (*HilGPS) GetVersion

func (m *HilGPS) GetVersion() int

GetVersion gets the MAVLink version of the Message contents

func (*HilGPS) HasExtensionFields

func (m *HilGPS) HasExtensionFields() bool

HasExtensionFields returns true if the message definition contained extensions; false otherwise

func (*HilGPS) Read

func (m *HilGPS) Read(frame mavlink2.Frame) (err error)

Read sets the field values of the message from the raw message payload

func (*HilGPS) String

func (m *HilGPS) String() string

func (*HilGPS) Write

func (m *HilGPS) Write(version int) (output []byte, err error)

Write encodes the field values of the message to a byte array

type HilOpticalFlow

type HilOpticalFlow struct {
	/*TimeUsec 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 the number. */
	TimeUsec uint64
	/*IntegrationTimeUs Integration time. Divide integrated_x and integrated_y by the integration time to obtain average flow. The integration time also indicates the. */
	IntegrationTimeUs uint32
	/*IntegratedX Flow in radians around X axis (Sensor RH rotation about the X axis induces a positive flow. Sensor linear motion along the positive Y axis induces a negative flow.) */
	IntegratedX float32
	/*IntegratedY Flow in radians around Y axis (Sensor RH rotation about the Y axis induces a positive flow. Sensor linear motion along the positive X axis induces a positive flow.) */
	IntegratedY float32
	/*IntegratedXgyro RH rotation around X axis */
	IntegratedXgyro float32
	/*IntegratedYgyro RH rotation around Y axis */
	IntegratedYgyro float32
	/*IntegratedZgyro RH rotation around Z axis */
	IntegratedZgyro float32
	/*TimeDeltaDistanceUs Time since the distance was sampled. */
	TimeDeltaDistanceUs uint32
	/*Distance Distance to the center of the flow field. Positive value (including zero): distance known. Negative value: Unknown distance. */
	Distance float32
	/*Temperature Temperature */
	Temperature int16
	/*SensorID Sensor ID */
	SensorID uint8
	/*Quality Optical flow quality / confidence. 0: no valid flow, 255: maximum quality */
	Quality uint8
	/*HasExtensionFieldValues indicates if this message has any extensions and  */
	HasExtensionFieldValues bool
}

HilOpticalFlow Simulated optical flow from a flow sensor (e.g. PX4FLOW or optical mouse sensor)

func (*HilOpticalFlow) GetDialect

func (m *HilOpticalFlow) GetDialect() string

GetDialect gets the name of the dialect that defines the Message

func (*HilOpticalFlow) GetID

func (m *HilOpticalFlow) GetID() uint32

GetID gets the ID of the Message

func (*HilOpticalFlow) GetMessageName

func (m *HilOpticalFlow) GetMessageName() string

GetMessageName gets the name of the Message

func (*HilOpticalFlow) GetVersion

func (m *HilOpticalFlow) GetVersion() int

GetVersion gets the MAVLink version of the Message contents

func (*HilOpticalFlow) HasExtensionFields

func (m *HilOpticalFlow) HasExtensionFields() bool

HasExtensionFields returns true if the message definition contained extensions; false otherwise

func (*HilOpticalFlow) Read

func (m *HilOpticalFlow) Read(frame mavlink2.Frame) (err error)

Read sets the field values of the message from the raw message payload

func (*HilOpticalFlow) String

func (m *HilOpticalFlow) String() string

func (*HilOpticalFlow) Write

func (m *HilOpticalFlow) Write(version int) (output []byte, err error)

Write encodes the field values of the message to a byte array

type HilRCInputsRaw

type HilRCInputsRaw struct {
	/*TimeUsec 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 the number. */
	TimeUsec uint64
	/*Chan1Raw RC channel 1 value */
	Chan1Raw uint16
	/*Chan2Raw RC channel 2 value */
	Chan2Raw uint16
	/*Chan3Raw RC channel 3 value */
	Chan3Raw uint16
	/*Chan4Raw RC channel 4 value */
	Chan4Raw uint16
	/*Chan5Raw RC channel 5 value */
	Chan5Raw uint16
	/*Chan6Raw RC channel 6 value */
	Chan6Raw uint16
	/*Chan7Raw RC channel 7 value */
	Chan7Raw uint16
	/*Chan8Raw RC channel 8 value */
	Chan8Raw uint16
	/*Chan9Raw RC channel 9 value */
	Chan9Raw uint16
	/*Chan10Raw RC channel 10 value */
	Chan10Raw uint16
	/*Chan11Raw RC channel 11 value */
	Chan11Raw uint16
	/*Chan12Raw RC channel 12 value */
	Chan12Raw uint16
	/*RSSI Receive signal strength indicator in device-dependent units/scale. Values: [0-254], 255: invalid/unknown. */
	RSSI uint8
	/*HasExtensionFieldValues indicates if this message has any extensions and  */
	HasExtensionFieldValues bool
}

HilRCInputsRaw 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.

func (*HilRCInputsRaw) GetDialect

func (m *HilRCInputsRaw) GetDialect() string

GetDialect gets the name of the dialect that defines the Message

func (*HilRCInputsRaw) GetID

func (m *HilRCInputsRaw) GetID() uint32

GetID gets the ID of the Message

func (*HilRCInputsRaw) GetMessageName

func (m *HilRCInputsRaw) GetMessageName() string

GetMessageName gets the name of the Message

func (*HilRCInputsRaw) GetVersion

func (m *HilRCInputsRaw) GetVersion() int

GetVersion gets the MAVLink version of the Message contents

func (*HilRCInputsRaw) HasExtensionFields

func (m *HilRCInputsRaw) HasExtensionFields() bool

HasExtensionFields returns true if the message definition contained extensions; false otherwise

func (*HilRCInputsRaw) Read

func (m *HilRCInputsRaw) Read(frame mavlink2.Frame) (err error)

Read sets the field values of the message from the raw message payload

func (*HilRCInputsRaw) String

func (m *HilRCInputsRaw) String() string

func (*HilRCInputsRaw) Write

func (m *HilRCInputsRaw) Write(version int) (output []byte, err error)

Write encodes the field values of the message to a byte array

type HilSensor

type HilSensor struct {
	/*TimeUsec 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 the number. */
	TimeUsec uint64
	/*Xacc X acceleration */
	Xacc float32
	/*Yacc Y acceleration */
	Yacc float32
	/*Zacc Z acceleration */
	Zacc float32
	/*Xgyro Angular speed around X axis in body frame */
	Xgyro float32
	/*Ygyro Angular speed around Y axis in body frame */
	Ygyro float32
	/*Zgyro Angular speed around Z axis in body frame */
	Zgyro float32
	/*Xmag X Magnetic field */
	Xmag float32
	/*Ymag Y Magnetic field */
	Ymag float32
	/*Zmag Z Magnetic field */
	Zmag float32
	/*AbsPressure Absolute pressure */
	AbsPressure float32
	/*DiffPressure Differential pressure (airspeed) */
	DiffPressure float32
	/*PressureAlt Altitude calculated from pressure */
	PressureAlt float32
	/*Temperature Temperature */
	Temperature float32
	/*FieldsUpdated Bitmap for fields that have updated since last message, bit 0 = xacc, bit 12: temperature, bit 31: full reset of attitude/position/velocities/etc was performed in sim. */
	FieldsUpdated uint32
	/*HasExtensionFieldValues indicates if this message has any extensions and  */
	HasExtensionFieldValues bool
}

HilSensor The IMU readings in SI units in NED body frame

func (*HilSensor) GetDialect

func (m *HilSensor) GetDialect() string

GetDialect gets the name of the dialect that defines the Message

func (*HilSensor) GetID

func (m *HilSensor) GetID() uint32

GetID gets the ID of the Message

func (*HilSensor) GetMessageName

func (m *HilSensor) GetMessageName() string

GetMessageName gets the name of the Message

func (*HilSensor) GetVersion

func (m *HilSensor) GetVersion() int

GetVersion gets the MAVLink version of the Message contents

func (*HilSensor) HasExtensionFields

func (m *HilSensor) HasExtensionFields() bool

HasExtensionFields returns true if the message definition contained extensions; false otherwise

func (*HilSensor) Read

func (m *HilSensor) Read(frame mavlink2.Frame) (err error)

Read sets the field values of the message from the raw message payload

func (*HilSensor) String

func (m *HilSensor) String() string

func (*HilSensor) Write

func (m *HilSensor) Write(version int) (output []byte, err error)

Write encodes the field values of the message to a byte array

type HilState

type HilState struct {
	/*TimeUsec 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 the number. */
	TimeUsec uint64
	/*Roll Roll angle */
	Roll float32
	/*Pitch Pitch angle */
	Pitch float32
	/*Yaw Yaw angle */
	Yaw float32
	/*Rollspeed Body frame roll / phi angular speed */
	Rollspeed float32
	/*Pitchspeed Body frame pitch / theta angular speed */
	Pitchspeed float32
	/*Yawspeed Body frame yaw / psi angular speed */
	Yawspeed float32
	/*Lat Latitude */
	Lat int32
	/*Lon Longitude */
	Lon int32
	/*Alt Altitude */
	Alt int32
	/*Vx Ground X Speed (Latitude) */
	Vx int16
	/*Vy Ground Y Speed (Longitude) */
	Vy int16
	/*Vz Ground Z Speed (Altitude) */
	Vz int16
	/*Xacc X acceleration */
	Xacc int16
	/*Yacc Y acceleration */
	Yacc int16
	/*Zacc Z acceleration */
	Zacc int16
	/*HasExtensionFieldValues indicates if this message has any extensions and  */
	HasExtensionFieldValues bool
}

HilState Sent from simulation to autopilot. This packet is useful for high throughput applications such as hardware in the loop simulations.

func (*HilState) GetDialect

func (m *HilState) GetDialect() string

GetDialect gets the name of the dialect that defines the Message

func (*HilState) GetID

func (m *HilState) GetID() uint32

GetID gets the ID of the Message

func (*HilState) GetMessageName

func (m *HilState) GetMessageName() string

GetMessageName gets the name of the Message

func (*HilState) GetVersion

func (m *HilState) GetVersion() int

GetVersion gets the MAVLink version of the Message contents

func (*HilState) HasExtensionFields

func (m *HilState) HasExtensionFields() bool

HasExtensionFields returns true if the message definition contained extensions; false otherwise

func (*HilState) Read

func (m *HilState) Read(frame mavlink2.Frame) (err error)

Read sets the field values of the message from the raw message payload

func (*HilState) String

func (m *HilState) String() string

func (*HilState) Write

func (m *HilState) Write(version int) (output []byte, err error)

Write encodes the field values of the message to a byte array

type HilStateQuaternion

type HilStateQuaternion struct {
	/*TimeUsec 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 the number. */
	TimeUsec uint64
	/*AttitudeQuaternion Vehicle attitude expressed as normalized quaternion in w, x, y, z order (with 1 0 0 0 being the null-rotation) */
	AttitudeQuaternion [4]float32
	/*Rollspeed Body frame roll / phi angular speed */
	Rollspeed float32
	/*Pitchspeed Body frame pitch / theta angular speed */
	Pitchspeed float32
	/*Yawspeed Body frame yaw / psi angular speed */
	Yawspeed float32
	/*Lat Latitude */
	Lat int32
	/*Lon Longitude */
	Lon int32
	/*Alt Altitude */
	Alt int32
	/*Vx Ground X Speed (Latitude) */
	Vx int16
	/*Vy Ground Y Speed (Longitude) */
	Vy int16
	/*Vz Ground Z Speed (Altitude) */
	Vz int16
	/*IndAirspeed Indicated airspeed */
	IndAirspeed uint16
	/*TrueAirspeed True airspeed */
	TrueAirspeed uint16
	/*Xacc X acceleration */
	Xacc int16
	/*Yacc Y acceleration */
	Yacc int16
	/*Zacc Z acceleration */
	Zacc int16
	/*HasExtensionFieldValues indicates if this message has any extensions and  */
	HasExtensionFieldValues bool
}

HilStateQuaternion 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.

func (*HilStateQuaternion) GetDialect

func (m *HilStateQuaternion) GetDialect() string

GetDialect gets the name of the dialect that defines the Message

func (*HilStateQuaternion) GetID

func (m *HilStateQuaternion) GetID() uint32

GetID gets the ID of the Message

func (*HilStateQuaternion) GetMessageName

func (m *HilStateQuaternion) GetMessageName() string

GetMessageName gets the name of the Message

func (*HilStateQuaternion) GetVersion

func (m *HilStateQuaternion) GetVersion() int

GetVersion gets the MAVLink version of the Message contents

func (*HilStateQuaternion) HasExtensionFields

func (m *HilStateQuaternion) HasExtensionFields() bool

HasExtensionFields returns true if the message definition contained extensions; false otherwise

func (*HilStateQuaternion) Read

func (m *HilStateQuaternion) Read(frame mavlink2.Frame) (err error)

Read sets the field values of the message from the raw message payload

func (*HilStateQuaternion) String

func (m *HilStateQuaternion) String() string

func (*HilStateQuaternion) Write

func (m *HilStateQuaternion) Write(version int) (output []byte, err error)

Write encodes the field values of the message to a byte array

type HomePosition

type HomePosition struct {
	/*Latitude Latitude (WGS84) */
	Latitude int32
	/*Longitude Longitude (WGS84) */
	Longitude int32
	/*Altitude Altitude (MSL). Positive for up. */
	Altitude int32
	/*X Local X position of this position in the local coordinate frame */
	X float32
	/*Y Local Y position of this position in the local coordinate frame */
	Y float32
	/*Z Local Z position of this position in the local coordinate frame */
	Z float32
	/*Q World to surface normal and heading transformation of the takeoff position. Used to indicate the heading and slope of the ground */
	Q [4]float32
	/*ApproachX Local X position of the end of the approach vector. Multicopters should set this position based on their takeoff path. Grass-landing fixed wing aircraft should set it the same way as multicopters. Runway-landing fixed wing aircraft should set it to the opposite direction of the takeoff, assuming the takeoff happened from the threshold / touchdown zone. */
	ApproachX float32
	/*ApproachY Local Y position of the end of the approach vector. Multicopters should set this position based on their takeoff path. Grass-landing fixed wing aircraft should set it the same way as multicopters. Runway-landing fixed wing aircraft should set it to the opposite direction of the takeoff, assuming the takeoff happened from the threshold / touchdown zone. */
	ApproachY float32
	/*ApproachZ Local Z position of the end of the approach vector. Multicopters should set this position based on their takeoff path. Grass-landing fixed wing aircraft should set it the same way as multicopters. Runway-landing fixed wing aircraft should set it to the opposite direction of the takeoff, assuming the takeoff happened from the threshold / touchdown zone. */
	ApproachZ float32
	/*TimeUsec 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 the number. */
	TimeUsec uint64
	/*HasExtensionFieldValues indicates if this message has any extensions and  */
	HasExtensionFieldValues bool
}

HomePosition This message can be requested by sending the MAV_CMD_GET_HOME_POSITION command. The position the system will return to and land on. The position is set automatically by the system during the takeoff in case it was not explicitly set by the operator before or after. The position the system will return to and land on. 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.

func (*HomePosition) GetDialect

func (m *HomePosition) GetDialect() string

GetDialect gets the name of the dialect that defines the Message

func (*HomePosition) GetID

func (m *HomePosition) GetID() uint32

GetID gets the ID of the Message

func (*HomePosition) GetMessageName

func (m *HomePosition) GetMessageName() string

GetMessageName gets the name of the Message

func (*HomePosition) GetVersion

func (m *HomePosition) GetVersion() int

GetVersion gets the MAVLink version of the Message contents

func (*HomePosition) HasExtensionFields

func (m *HomePosition) HasExtensionFields() bool

HasExtensionFields returns true if the message definition contained extensions; false otherwise

func (*HomePosition) Read

func (m *HomePosition) Read(frame mavlink2.Frame) (err error)

Read sets the field values of the message from the raw message payload

func (*HomePosition) String

func (m *HomePosition) String() string

func (*HomePosition) Write

func (m *HomePosition) Write(version int) (output []byte, err error)

Write encodes the field values of the message to a byte array

type IsbdLinkStatus

type IsbdLinkStatus struct {
	/*Timestamp 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 the number. */
	Timestamp uint64
	/*LastHeartbeat Timestamp of the last successful sbd session. The receiving end can infer timestamp format (since 1.1.1970 or since system boot) by checking for the magnitude the number. */
	LastHeartbeat uint64
	/*FailedSessions Number of failed SBD sessions. */
	FailedSessions uint16
	/*SuccessfulSessions Number of successful SBD sessions. */
	SuccessfulSessions uint16
	/*SignalQuality Signal quality equal to the number of bars displayed on the ISU signal strength indicator. Range is 0 to 5, where 0 indicates no signal and 5 indicates maximum signal strength. */
	SignalQuality uint8
	/*RingPending 1: Ring call pending, 0: No call pending. */
	RingPending uint8
	/*TxSessionPending 1: Transmission session pending, 0: No transmission session pending. */
	TxSessionPending uint8
	/*RxSessionPending 1: Receiving session pending, 0: No receiving session pending. */
	RxSessionPending uint8
	/*HasExtensionFieldValues indicates if this message has any extensions and  */
	HasExtensionFieldValues bool
}

IsbdLinkStatus Status of the Iridium SBD link.

func (*IsbdLinkStatus) GetDialect

func (m *IsbdLinkStatus) GetDialect() string

GetDialect gets the name of the dialect that defines the Message

func (*IsbdLinkStatus) GetID

func (m *IsbdLinkStatus) GetID() uint32

GetID gets the ID of the Message

func (*IsbdLinkStatus) GetMessageName

func (m *IsbdLinkStatus) GetMessageName() string

GetMessageName gets the name of the Message

func (*IsbdLinkStatus) GetVersion

func (m *IsbdLinkStatus) GetVersion() int

GetVersion gets the MAVLink version of the Message contents

func (*IsbdLinkStatus) HasExtensionFields

func (m *IsbdLinkStatus) HasExtensionFields() bool

HasExtensionFields returns true if the message definition contained extensions; false otherwise

func (*IsbdLinkStatus) Read

func (m *IsbdLinkStatus) Read(frame mavlink2.Frame) (err error)

Read sets the field values of the message from the raw message payload

func (*IsbdLinkStatus) String

func (m *IsbdLinkStatus) String() string

func (*IsbdLinkStatus) Write

func (m *IsbdLinkStatus) Write(version int) (output []byte, err error)

Write encodes the field values of the message to a byte array

type LandingTarget

type LandingTarget struct {
	/*TimeUsec 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 the number. */
	TimeUsec uint64
	/*AngleX X-axis angular offset of the target from the center of the image */
	AngleX float32
	/*AngleY Y-axis angular offset of the target from the center of the image */
	AngleY float32
	/*Distance Distance to the target from the vehicle */
	Distance float32
	/*SizeX Size of target along x-axis */
	SizeX float32
	/*SizeY Size of target along y-axis */
	SizeY float32
	/*TargetNum The ID of the target if multiple targets are present */
	TargetNum uint8
	/*Frame Coordinate frame used for following fields. */
	Frame uint8
	/*X X Position of the landing target in MAV_FRAME */
	X float32
	/*Y Y Position of the landing target in MAV_FRAME */
	Y float32
	/*Z Z Position of the landing target in MAV_FRAME */
	Z float32
	/*Q Quaternion of landing target orientation (w, x, y, z order, zero-rotation is 1, 0, 0, 0) */
	Q [4]float32
	/*Type Type of landing target */
	Type uint8
	/*PositionValID Boolean indicating whether the position fields (x, y, z, q, type) contain valid target position information (valid: 1, invalid: 0). Default is 0 (invalid). */
	PositionValID uint8
	/*HasExtensionFieldValues indicates if this message has any extensions and  */
	HasExtensionFieldValues bool
}

LandingTarget The location of a landing target. See: https://mavlink.io/en/services/landing_target.html

func (*LandingTarget) GetDialect

func (m *LandingTarget) GetDialect() string

GetDialect gets the name of the dialect that defines the Message

func (*LandingTarget) GetID

func (m *LandingTarget) GetID() uint32

GetID gets the ID of the Message

func (*LandingTarget) GetMessageName

func (m *LandingTarget) GetMessageName() string

GetMessageName gets the name of the Message

func (*LandingTarget) GetVersion

func (m *LandingTarget) GetVersion() int

GetVersion gets the MAVLink version of the Message contents

func (*LandingTarget) HasExtensionFields

func (m *LandingTarget) HasExtensionFields() bool

HasExtensionFields returns true if the message definition contained extensions; false otherwise

func (*LandingTarget) Read

func (m *LandingTarget) Read(frame mavlink2.Frame) (err error)

Read sets the field values of the message from the raw message payload

func (*LandingTarget) String

func (m *LandingTarget) String() string

func (*LandingTarget) Write

func (m *LandingTarget) Write(version int) (output []byte, err error)

Write encodes the field values of the message to a byte array

type LinkNodeStatus

type LinkNodeStatus struct {
	/*Timestamp Timestamp (time since system boot). */
	Timestamp uint64
	/*TxRate Transmit rate */
	TxRate uint32
	/*RxRate Receive rate */
	RxRate uint32
	/*MessagesSent Messages sent */
	MessagesSent uint32
	/*MessagesReceived Messages received (estimated from counting seq) */
	MessagesReceived uint32
	/*MessagesLost Messages lost (estimated from counting seq) */
	MessagesLost uint32
	/*RxParseErr Number of bytes that could not be parsed correctly. */
	RxParseErr uint16
	/*TxOverflows Transmit buffer overflows. This number wraps around as it reaches UINT16_MAX */
	TxOverflows uint16
	/*RxOverflows Receive buffer overflows. This number wraps around as it reaches UINT16_MAX */
	RxOverflows uint16
	/*TxBuf Remaining free transmit buffer space */
	TxBuf uint8
	/*RxBuf Remaining free receive buffer space */
	RxBuf uint8
	/*HasExtensionFieldValues indicates if this message has any extensions and  */
	HasExtensionFieldValues bool
}

LinkNodeStatus Status generated in each node in the communication chain and injected into MAVLink stream.

func (*LinkNodeStatus) GetDialect

func (m *LinkNodeStatus) GetDialect() string

GetDialect gets the name of the dialect that defines the Message

func (*LinkNodeStatus) GetID

func (m *LinkNodeStatus) GetID() uint32

GetID gets the ID of the Message

func (*LinkNodeStatus) GetMessageName

func (m *LinkNodeStatus) GetMessageName() string

GetMessageName gets the name of the Message

func (*LinkNodeStatus) GetVersion

func (m *LinkNodeStatus) GetVersion() int

GetVersion gets the MAVLink version of the Message contents

func (*LinkNodeStatus) HasExtensionFields

func (m *LinkNodeStatus) HasExtensionFields() bool

HasExtensionFields returns true if the message definition contained extensions; false otherwise

func (*LinkNodeStatus) Read

func (m *LinkNodeStatus) Read(frame mavlink2.Frame) (err error)

Read sets the field values of the message from the raw message payload

func (*LinkNodeStatus) String

func (m *LinkNodeStatus) String() string

func (*LinkNodeStatus) Write

func (m *LinkNodeStatus) Write(version int) (output []byte, err error)

Write encodes the field values of the message to a byte array

type LocalPositionNed

type LocalPositionNed struct {
	/*TimeBootMs Timestamp (time since system boot). */
	TimeBootMs uint32
	/*X X Position */
	X float32
	/*Y Y Position */
	Y float32
	/*Z Z Position */
	Z float32
	/*Vx X Speed */
	Vx float32
	/*Vy Y Speed */
	Vy float32
	/*Vz Z Speed */
	Vz float32
	/*HasExtensionFieldValues indicates if this message has any extensions and  */
	HasExtensionFieldValues bool
}

LocalPositionNed 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)

func (*LocalPositionNed) GetDialect

func (m *LocalPositionNed) GetDialect() string

GetDialect gets the name of the dialect that defines the Message

func (*LocalPositionNed) GetID

func (m *LocalPositionNed) GetID() uint32

GetID gets the ID of the Message

func (*LocalPositionNed) GetMessageName

func (m *LocalPositionNed) GetMessageName() string

GetMessageName gets the name of the Message

func (*LocalPositionNed) GetVersion

func (m *LocalPositionNed) GetVersion() int

GetVersion gets the MAVLink version of the Message contents

func (*LocalPositionNed) HasExtensionFields

func (m *LocalPositionNed) HasExtensionFields() bool

HasExtensionFields returns true if the message definition contained extensions; false otherwise

func (*LocalPositionNed) Read

func (m *LocalPositionNed) Read(frame mavlink2.Frame) (err error)

Read sets the field values of the message from the raw message payload

func (*LocalPositionNed) String

func (m *LocalPositionNed) String() string

func (*LocalPositionNed) Write

func (m *LocalPositionNed) Write(version int) (output []byte, err error)

Write encodes the field values of the message to a byte array

type LocalPositionNedCov

type LocalPositionNedCov struct {
	/*TimeUsec 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 the number. */
	TimeUsec uint64
	/*X X Position */
	X float32
	/*Y Y Position */
	Y float32
	/*Z Z Position */
	Z float32
	/*Vx X Speed */
	Vx float32
	/*Vy Y Speed */
	Vy float32
	/*Vz Z Speed */
	Vz float32
	/*Ax X Acceleration */
	Ax float32
	/*Ay Y Acceleration */
	Ay float32
	/*Az Z Acceleration */
	Az float32
	/*Covariance Row-major representation of position, velocity and acceleration 9x9 cross-covariance matrix upper right triangle (states: x, y, z, vx, vy, vz, ax, ay, az; first nine entries are the first ROW, next eight entries are the second row, etc.). If unknown, assign NaN value to first element in the array. */
	Covariance [45]float32
	/*EstimatorType Class id of the estimator this estimate originated from. */
	EstimatorType uint8
	/*HasExtensionFieldValues indicates if this message has any extensions and  */
	HasExtensionFieldValues bool
}

LocalPositionNedCov 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)

func (*LocalPositionNedCov) GetDialect

func (m *LocalPositionNedCov) GetDialect() string

GetDialect gets the name of the dialect that defines the Message

func (*LocalPositionNedCov) GetID

func (m *LocalPositionNedCov) GetID() uint32

GetID gets the ID of the Message

func (*LocalPositionNedCov) GetMessageName

func (m *LocalPositionNedCov) GetMessageName() string

GetMessageName gets the name of the Message

func (*LocalPositionNedCov) GetVersion

func (m *LocalPositionNedCov) GetVersion() int

GetVersion gets the MAVLink version of the Message contents

func (*LocalPositionNedCov) HasExtensionFields

func (m *LocalPositionNedCov) HasExtensionFields() bool

HasExtensionFields returns true if the message definition contained extensions; false otherwise

func (*LocalPositionNedCov) Read

func (m *LocalPositionNedCov) Read(frame mavlink2.Frame) (err error)

Read sets the field values of the message from the raw message payload

func (*LocalPositionNedCov) String

func (m *LocalPositionNedCov) String() string

func (*LocalPositionNedCov) Write

func (m *LocalPositionNedCov) Write(version int) (output []byte, err error)

Write encodes the field values of the message to a byte array

type LocalPositionNedSystemGlobalOffset

type LocalPositionNedSystemGlobalOffset struct {
	/*TimeBootMs Timestamp (time since system boot). */
	TimeBootMs uint32
	/*X X Position */
	X float32
	/*Y Y Position */
	Y float32
	/*Z Z Position */
	Z float32
	/*Roll Roll */
	Roll float32
	/*Pitch Pitch */
	Pitch float32
	/*Yaw Yaw */
	Yaw float32
	/*HasExtensionFieldValues indicates if this message has any extensions and  */
	HasExtensionFieldValues bool
}

LocalPositionNedSystemGlobalOffset 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)

func (*LocalPositionNedSystemGlobalOffset) GetDialect

GetDialect gets the name of the dialect that defines the Message

func (*LocalPositionNedSystemGlobalOffset) GetID

GetID gets the ID of the Message

func (*LocalPositionNedSystemGlobalOffset) GetMessageName

func (m *LocalPositionNedSystemGlobalOffset) GetMessageName() string

GetMessageName gets the name of the Message

func (*LocalPositionNedSystemGlobalOffset) GetVersion

func (m *LocalPositionNedSystemGlobalOffset) GetVersion() int

GetVersion gets the MAVLink version of the Message contents

func (*LocalPositionNedSystemGlobalOffset) HasExtensionFields

func (m *LocalPositionNedSystemGlobalOffset) HasExtensionFields() bool

HasExtensionFields returns true if the message definition contained extensions; false otherwise

func (*LocalPositionNedSystemGlobalOffset) Read

func (m *LocalPositionNedSystemGlobalOffset) Read(frame mavlink2.Frame) (err error)

Read sets the field values of the message from the raw message payload

func (*LocalPositionNedSystemGlobalOffset) String

func (*LocalPositionNedSystemGlobalOffset) Write

func (m *LocalPositionNedSystemGlobalOffset) Write(version int) (output []byte, err error)

Write encodes the field values of the message to a byte array

type LogData

type LogData struct {
	/*Ofs Offset into the log */
	Ofs uint32
	/*ID Log id (from LOG_ENTRY reply) */
	ID uint16
	/*Count Number of bytes (zero for end of log) */
	Count uint8
	/*Data log data */
	Data [90]uint8
	/*HasExtensionFieldValues indicates if this message has any extensions and  */
	HasExtensionFieldValues bool
}

LogData Reply to LOG_REQUEST_DATA

func (*LogData) GetDialect

func (m *LogData) GetDialect() string

GetDialect gets the name of the dialect that defines the Message

func (*LogData) GetID

func (m *LogData) GetID() uint32

GetID gets the ID of the Message

func (*LogData) GetMessageName

func (m *LogData) GetMessageName() string

GetMessageName gets the name of the Message

func (*LogData) GetVersion

func (m *LogData) GetVersion() int

GetVersion gets the MAVLink version of the Message contents

func (*LogData) HasExtensionFields

func (m *LogData) HasExtensionFields() bool

HasExtensionFields returns true if the message definition contained extensions; false otherwise

func (*LogData) Read

func (m *LogData) Read(frame mavlink2.Frame) (err error)

Read sets the field values of the message from the raw message payload

func (*LogData) String

func (m *LogData) String() string

func (*LogData) Write

func (m *LogData) Write(version int) (output []byte, err error)

Write encodes the field values of the message to a byte array

type LogEntry

type LogEntry struct {
	/*TimeUtc UTC timestamp of log since 1970, or 0 if not available */
	TimeUtc uint32
	/*Size Size of the log (may be approximate) */
	Size uint32
	/*ID Log id */
	ID uint16
	/*NumLogs Total number of logs */
	NumLogs uint16
	/*LastLogNum High log number */
	LastLogNum uint16
	/*HasExtensionFieldValues indicates if this message has any extensions and  */
	HasExtensionFieldValues bool
}

LogEntry Reply to LOG_REQUEST_LIST

func (*LogEntry) GetDialect

func (m *LogEntry) GetDialect() string

GetDialect gets the name of the dialect that defines the Message

func (*LogEntry) GetID

func (m *LogEntry) GetID() uint32

GetID gets the ID of the Message

func (*LogEntry) GetMessageName

func (m *LogEntry) GetMessageName() string

GetMessageName gets the name of the Message

func (*LogEntry) GetVersion

func (m *LogEntry) GetVersion() int

GetVersion gets the MAVLink version of the Message contents

func (*LogEntry) HasExtensionFields

func (m *LogEntry) HasExtensionFields() bool

HasExtensionFields returns true if the message definition contained extensions; false otherwise

func (*LogEntry) Read

func (m *LogEntry) Read(frame mavlink2.Frame) (err error)

Read sets the field values of the message from the raw message payload

func (*LogEntry) String

func (m *LogEntry) String() string

func (*LogEntry) Write

func (m *LogEntry) Write(version int) (output []byte, err error)

Write encodes the field values of the message to a byte array

type LogErase

type LogErase struct {
	/*TargetSystem System ID */
	TargetSystem uint8
	/*TargetComponent Component ID */
	TargetComponent uint8
	/*HasExtensionFieldValues indicates if this message has any extensions and  */
	HasExtensionFieldValues bool
}

LogErase Erase all logs

func (*LogErase) GetDialect

func (m *LogErase) GetDialect() string

GetDialect gets the name of the dialect that defines the Message

func (*LogErase) GetID

func (m *LogErase) GetID() uint32

GetID gets the ID of the Message

func (*LogErase) GetMessageName

func (m *LogErase) GetMessageName() string

GetMessageName gets the name of the Message

func (*LogErase) GetVersion

func (m *LogErase) GetVersion() int

GetVersion gets the MAVLink version of the Message contents

func (*LogErase) HasExtensionFields

func (m *LogErase) HasExtensionFields() bool

HasExtensionFields returns true if the message definition contained extensions; false otherwise

func (*LogErase) Read

func (m *LogErase) Read(frame mavlink2.Frame) (err error)

Read sets the field values of the message from the raw message payload

func (*LogErase) String

func (m *LogErase) String() string

func (*LogErase) Write

func (m *LogErase) Write(version int) (output []byte, err error)

Write encodes the field values of the message to a byte array

type LogRequestData

type LogRequestData struct {
	/*Ofs Offset into the log */
	Ofs uint32
	/*Count Number of bytes */
	Count uint32
	/*ID Log id (from LOG_ENTRY reply) */
	ID uint16
	/*TargetSystem System ID */
	TargetSystem uint8
	/*TargetComponent Component ID */
	TargetComponent uint8
	/*HasExtensionFieldValues indicates if this message has any extensions and  */
	HasExtensionFieldValues bool
}

LogRequestData Request a chunk of a log

func (*LogRequestData) GetDialect

func (m *LogRequestData) GetDialect() string

GetDialect gets the name of the dialect that defines the Message

func (*LogRequestData) GetID

func (m *LogRequestData) GetID() uint32

GetID gets the ID of the Message

func (*LogRequestData) GetMessageName

func (m *LogRequestData) GetMessageName() string

GetMessageName gets the name of the Message

func (*LogRequestData) GetVersion

func (m *LogRequestData) GetVersion() int

GetVersion gets the MAVLink version of the Message contents

func (*LogRequestData) HasExtensionFields

func (m *LogRequestData) HasExtensionFields() bool

HasExtensionFields returns true if the message definition contained extensions; false otherwise

func (*LogRequestData) Read

func (m *LogRequestData) Read(frame mavlink2.Frame) (err error)

Read sets the field values of the message from the raw message payload

func (*LogRequestData) String

func (m *LogRequestData) String() string

func (*LogRequestData) Write

func (m *LogRequestData) Write(version int) (output []byte, err error)

Write encodes the field values of the message to a byte array

type LogRequestEnd

type LogRequestEnd struct {
	/*TargetSystem System ID */
	TargetSystem uint8
	/*TargetComponent Component ID */
	TargetComponent uint8
	/*HasExtensionFieldValues indicates if this message has any extensions and  */
	HasExtensionFieldValues bool
}

LogRequestEnd Stop log transfer and resume normal logging

func (*LogRequestEnd) GetDialect

func (m *LogRequestEnd) GetDialect() string

GetDialect gets the name of the dialect that defines the Message

func (*LogRequestEnd) GetID

func (m *LogRequestEnd) GetID() uint32

GetID gets the ID of the Message

func (*LogRequestEnd) GetMessageName

func (m *LogRequestEnd) GetMessageName() string

GetMessageName gets the name of the Message

func (*LogRequestEnd) GetVersion

func (m *LogRequestEnd) GetVersion() int

GetVersion gets the MAVLink version of the Message contents

func (*LogRequestEnd) HasExtensionFields

func (m *LogRequestEnd) HasExtensionFields() bool

HasExtensionFields returns true if the message definition contained extensions; false otherwise

func (*LogRequestEnd) Read

func (m *LogRequestEnd) Read(frame mavlink2.Frame) (err error)

Read sets the field values of the message from the raw message payload

func (*LogRequestEnd) String

func (m *LogRequestEnd) String() string

func (*LogRequestEnd) Write

func (m *LogRequestEnd) Write(version int) (output []byte, err error)

Write encodes the field values of the message to a byte array

type LogRequestList

type LogRequestList struct {
	/*Start First log id (0 for first available) */
	Start uint16
	/*End Last log id (0xffff for last available) */
	End uint16
	/*TargetSystem System ID */
	TargetSystem uint8
	/*TargetComponent Component ID */
	TargetComponent uint8
	/*HasExtensionFieldValues indicates if this message has any extensions and  */
	HasExtensionFieldValues bool
}

LogRequestList Request a list of available logs. On some systems calling this may stop on-board logging until LOG_REQUEST_END is called.

func (*LogRequestList) GetDialect

func (m *LogRequestList) GetDialect() string

GetDialect gets the name of the dialect that defines the Message

func (*LogRequestList) GetID

func (m *LogRequestList) GetID() uint32

GetID gets the ID of the Message

func (*LogRequestList) GetMessageName

func (m *LogRequestList) GetMessageName() string

GetMessageName gets the name of the Message

func (*LogRequestList) GetVersion

func (m *LogRequestList) GetVersion() int

GetVersion gets the MAVLink version of the Message contents

func (*LogRequestList) HasExtensionFields

func (m *LogRequestList) HasExtensionFields() bool

HasExtensionFields returns true if the message definition contained extensions; false otherwise

func (*LogRequestList) Read

func (m *LogRequestList) Read(frame mavlink2.Frame) (err error)

Read sets the field values of the message from the raw message payload

func (*LogRequestList) String

func (m *LogRequestList) String() string

func (*LogRequestList) Write

func (m *LogRequestList) Write(version int) (output []byte, err error)

Write encodes the field values of the message to a byte array

type LoggingAck

type LoggingAck struct {
	/*Sequence sequence number (must match the one in LOGGING_DATA_ACKED) */
	Sequence uint16
	/*TargetSystem system ID of the target */
	TargetSystem uint8
	/*TargetComponent component ID of the target */
	TargetComponent uint8
	/*HasExtensionFieldValues indicates if this message has any extensions and  */
	HasExtensionFieldValues bool
}

LoggingAck An ack for a LOGGING_DATA_ACKED message

func (*LoggingAck) GetDialect

func (m *LoggingAck) GetDialect() string

GetDialect gets the name of the dialect that defines the Message

func (*LoggingAck) GetID

func (m *LoggingAck) GetID() uint32

GetID gets the ID of the Message

func (*LoggingAck) GetMessageName

func (m *LoggingAck) GetMessageName() string

GetMessageName gets the name of the Message

func (*LoggingAck) GetVersion

func (m *LoggingAck) GetVersion() int

GetVersion gets the MAVLink version of the Message contents

func (*LoggingAck) HasExtensionFields

func (m *LoggingAck) HasExtensionFields() bool

HasExtensionFields returns true if the message definition contained extensions; false otherwise

func (*LoggingAck) Read

func (m *LoggingAck) Read(frame mavlink2.Frame) (err error)

Read sets the field values of the message from the raw message payload

func (*LoggingAck) String

func (m *LoggingAck) String() string

func (*LoggingAck) Write

func (m *LoggingAck) Write(version int) (output []byte, err error)

Write encodes the field values of the message to a byte array

type LoggingData

type LoggingData struct {
	/*Sequence sequence number (can wrap) */
	Sequence uint16
	/*TargetSystem system ID of the target */
	TargetSystem uint8
	/*TargetComponent component ID of the target */
	TargetComponent uint8
	/*Length data length */
	Length uint8
	/*FirstMessageOffset offset into data where first message starts. This can be used for recovery, when a previous message got lost (set to 255 if no start exists). */
	FirstMessageOffset uint8
	/*Data logged data */
	Data [249]uint8
	/*HasExtensionFieldValues indicates if this message has any extensions and  */
	HasExtensionFieldValues bool
}

LoggingData A message containing logged data (see also MAV_CMD_LOGGING_START)

func (*LoggingData) GetDialect

func (m *LoggingData) GetDialect() string

GetDialect gets the name of the dialect that defines the Message

func (*LoggingData) GetID

func (m *LoggingData) GetID() uint32

GetID gets the ID of the Message

func (*LoggingData) GetMessageName

func (m *LoggingData) GetMessageName() string

GetMessageName gets the name of the Message

func (*LoggingData) GetVersion

func (m *LoggingData) GetVersion() int

GetVersion gets the MAVLink version of the Message contents

func (*LoggingData) HasExtensionFields

func (m *LoggingData) HasExtensionFields() bool

HasExtensionFields returns true if the message definition contained extensions; false otherwise

func (*LoggingData) Read

func (m *LoggingData) Read(frame mavlink2.Frame) (err error)

Read sets the field values of the message from the raw message payload

func (*LoggingData) String

func (m *LoggingData) String() string

func (*LoggingData) Write

func (m *LoggingData) Write(version int) (output []byte, err error)

Write encodes the field values of the message to a byte array

type LoggingDataAcked

type LoggingDataAcked struct {
	/*Sequence sequence number (can wrap) */
	Sequence uint16
	/*TargetSystem system ID of the target */
	TargetSystem uint8
	/*TargetComponent component ID of the target */
	TargetComponent uint8
	/*Length data length */
	Length uint8
	/*FirstMessageOffset offset into data where first message starts. This can be used for recovery, when a previous message got lost (set to 255 if no start exists). */
	FirstMessageOffset uint8
	/*Data logged data */
	Data [249]uint8
	/*HasExtensionFieldValues indicates if this message has any extensions and  */
	HasExtensionFieldValues bool
}

LoggingDataAcked A message containing logged data which requires a LOGGING_ACK to be sent back

func (*LoggingDataAcked) GetDialect

func (m *LoggingDataAcked) GetDialect() string

GetDialect gets the name of the dialect that defines the Message

func (*LoggingDataAcked) GetID

func (m *LoggingDataAcked) GetID() uint32

GetID gets the ID of the Message

func (*LoggingDataAcked) GetMessageName

func (m *LoggingDataAcked) GetMessageName() string

GetMessageName gets the name of the Message

func (*LoggingDataAcked) GetVersion

func (m *LoggingDataAcked) GetVersion() int

GetVersion gets the MAVLink version of the Message contents

func (*LoggingDataAcked) HasExtensionFields

func (m *LoggingDataAcked) HasExtensionFields() bool

HasExtensionFields returns true if the message definition contained extensions; false otherwise

func (*LoggingDataAcked) Read

func (m *LoggingDataAcked) Read(frame mavlink2.Frame) (err error)

Read sets the field values of the message from the raw message payload

func (*LoggingDataAcked) String

func (m *LoggingDataAcked) String() string

func (*LoggingDataAcked) Write

func (m *LoggingDataAcked) Write(version int) (output []byte, err error)

Write encodes the field values of the message to a byte array

type ManualControl

type ManualControl struct {
	/*X X-axis, normalized to the range [-1000,1000]. A value of INT16_MAX indicates that this axis is invalid. Generally corresponds to forward(1000)-backward(-1000) movement on a joystick and the pitch of a vehicle. */
	X int16
	/*Y Y-axis, normalized to the range [-1000,1000]. A value of INT16_MAX indicates that this axis is invalid. Generally corresponds to left(-1000)-right(1000) movement on a joystick and the roll of a vehicle. */
	Y int16
	/*Z Z-axis, normalized to the range [-1000,1000]. A value of INT16_MAX indicates that this axis is invalid. Generally corresponds to a separate slider movement with maximum being 1000 and minimum being -1000 on a joystick and the thrust of a vehicle. Positive values are positive thrust, negative values are negative thrust. */
	Z int16
	/*R R-axis, normalized to the range [-1000,1000]. A value of INT16_MAX indicates that this axis is invalid. Generally corresponds to a twisting of the joystick, with counter-clockwise being 1000 and clockwise being -1000, and the yaw of a vehicle. */
	R int16
	/*Buttons A bitfield corresponding to the joystick buttons' current state, 1 for pressed, 0 for released. The lowest bit corresponds to Button 1. */
	Buttons uint16
	/*Target The system to be controlled. */
	Target uint8
	/*HasExtensionFieldValues indicates if this message has any extensions and  */
	HasExtensionFieldValues bool
}

ManualControl 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 an buttons are also transmit as boolean values of their

func (*ManualControl) GetDialect

func (m *ManualControl) GetDialect() string

GetDialect gets the name of the dialect that defines the Message

func (*ManualControl) GetID

func (m *ManualControl) GetID() uint32

GetID gets the ID of the Message

func (*ManualControl) GetMessageName

func (m *ManualControl) GetMessageName() string

GetMessageName gets the name of the Message

func (*ManualControl) GetVersion

func (m *ManualControl) GetVersion() int

GetVersion gets the MAVLink version of the Message contents

func (*ManualControl) HasExtensionFields

func (m *ManualControl) HasExtensionFields() bool

HasExtensionFields returns true if the message definition contained extensions; false otherwise

func (*ManualControl) Read

func (m *ManualControl) Read(frame mavlink2.Frame) (err error)

Read sets the field values of the message from the raw message payload

func (*ManualControl) String

func (m *ManualControl) String() string

func (*ManualControl) Write

func (m *ManualControl) Write(version int) (output []byte, err error)

Write encodes the field values of the message to a byte array

type ManualSetpoint

type ManualSetpoint struct {
	/*TimeBootMs Timestamp (time since system boot). */
	TimeBootMs uint32
	/*Roll Desired roll rate */
	Roll float32
	/*Pitch Desired pitch rate */
	Pitch float32
	/*Yaw Desired yaw rate */
	Yaw float32
	/*Thrust Collective thrust, normalized to 0 .. 1 */
	Thrust float32
	/*ModeSwitch Flight mode switch position, 0.. 255 */
	ModeSwitch uint8
	/*ManualOverrIDeSwitch Override mode switch position, 0.. 255 */
	ManualOverrIDeSwitch uint8
	/*HasExtensionFieldValues indicates if this message has any extensions and  */
	HasExtensionFieldValues bool
}

ManualSetpoint Setpoint in roll, pitch, yaw and thrust from the operator

func (*ManualSetpoint) GetDialect

func (m *ManualSetpoint) GetDialect() string

GetDialect gets the name of the dialect that defines the Message

func (*ManualSetpoint) GetID

func (m *ManualSetpoint) GetID() uint32

GetID gets the ID of the Message

func (*ManualSetpoint) GetMessageName

func (m *ManualSetpoint) GetMessageName() string

GetMessageName gets the name of the Message

func (*ManualSetpoint) GetVersion

func (m *ManualSetpoint) GetVersion() int

GetVersion gets the MAVLink version of the Message contents

func (*ManualSetpoint) HasExtensionFields

func (m *ManualSetpoint) HasExtensionFields() bool

HasExtensionFields returns true if the message definition contained extensions; false otherwise

func (*ManualSetpoint) Read

func (m *ManualSetpoint) Read(frame mavlink2.Frame) (err error)

Read sets the field values of the message from the raw message payload

func (*ManualSetpoint) String

func (m *ManualSetpoint) String() string

func (*ManualSetpoint) Write

func (m *ManualSetpoint) Write(version int) (output []byte, err error)

Write encodes the field values of the message to a byte array

type MemoryVect

type MemoryVect struct {
	/*Address Starting address of the debug variables */
	Address uint16
	/*Ver Version code of the type variable. 0=unknown, type ignored and assumed int16_t. 1=as below */
	Ver uint8
	/*Type Type code of the memory variables. for ver = 1: 0=16 x int16_t, 1=16 x uint16_t, 2=16 x Q15, 3=16 x 1Q14 */
	Type uint8
	/*Value Memory contents at specified address */
	Value [32]int8
	/*HasExtensionFieldValues indicates if this message has any extensions and  */
	HasExtensionFieldValues bool
}

MemoryVect 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.

func (*MemoryVect) GetDialect

func (m *MemoryVect) GetDialect() string

GetDialect gets the name of the dialect that defines the Message

func (*MemoryVect) GetID

func (m *MemoryVect) GetID() uint32

GetID gets the ID of the Message

func (*MemoryVect) GetMessageName

func (m *MemoryVect) GetMessageName() string

GetMessageName gets the name of the Message

func (*MemoryVect) GetVersion

func (m *MemoryVect) GetVersion() int

GetVersion gets the MAVLink version of the Message contents

func (*MemoryVect) HasExtensionFields

func (m *MemoryVect) HasExtensionFields() bool

HasExtensionFields returns true if the message definition contained extensions; false otherwise

func (*MemoryVect) Read

func (m *MemoryVect) Read(frame mavlink2.Frame) (err error)

Read sets the field values of the message from the raw message payload

func (*MemoryVect) String

func (m *MemoryVect) String() string

func (*MemoryVect) Write

func (m *MemoryVect) Write(version int) (output []byte, err error)

Write encodes the field values of the message to a byte array

type MessageInterval

type MessageInterval struct {
	/*IntervalUs The interval between two messages. A value of -1 indicates this stream is disabled, 0 indicates it is not available, > 0 indicates the interval at which it is sent. */
	IntervalUs int32
	/*MessageID The ID of the requested MAVLink message. v1.0 is limited to 254 messages. */
	MessageID uint16
	/*HasExtensionFieldValues indicates if this message has any extensions and  */
	HasExtensionFieldValues bool
}

MessageInterval The interval between messages for a particular MAVLink message ID. This message is the response to the MAV_CMD_GET_MESSAGE_INTERVAL command. This interface replaces DATA_STREAM.

func (*MessageInterval) GetDialect

func (m *MessageInterval) GetDialect() string

GetDialect gets the name of the dialect that defines the Message

func (*MessageInterval) GetID

func (m *MessageInterval) GetID() uint32

GetID gets the ID of the Message

func (*MessageInterval) GetMessageName

func (m *MessageInterval) GetMessageName() string

GetMessageName gets the name of the Message

func (*MessageInterval) GetVersion

func (m *MessageInterval) GetVersion() int

GetVersion gets the MAVLink version of the Message contents

func (*MessageInterval) HasExtensionFields

func (m *MessageInterval) HasExtensionFields() bool

HasExtensionFields returns true if the message definition contained extensions; false otherwise

func (*MessageInterval) Read

func (m *MessageInterval) Read(frame mavlink2.Frame) (err error)

Read sets the field values of the message from the raw message payload

func (*MessageInterval) String

func (m *MessageInterval) String() string

func (*MessageInterval) Write

func (m *MessageInterval) Write(version int) (output []byte, err error)

Write encodes the field values of the message to a byte array

type MissionAck

type MissionAck struct {
	/*TargetSystem System ID */
	TargetSystem uint8
	/*TargetComponent Component ID */
	TargetComponent uint8
	/*Type Mission result. */
	Type uint8
	/*MissionType Mission type. */
	MissionType uint8
	/*HasExtensionFieldValues indicates if this message has any extensions and  */
	HasExtensionFieldValues bool
}

MissionAck 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).

func (*MissionAck) GetDialect

func (m *MissionAck) GetDialect() string

GetDialect gets the name of the dialect that defines the Message

func (*MissionAck) GetID

func (m *MissionAck) GetID() uint32

GetID gets the ID of the Message

func (*MissionAck) GetMessageName

func (m *MissionAck) GetMessageName() string

GetMessageName gets the name of the Message

func (*MissionAck) GetVersion

func (m *MissionAck) GetVersion() int

GetVersion gets the MAVLink version of the Message contents

func (*MissionAck) HasExtensionFields

func (m *MissionAck) HasExtensionFields() bool

HasExtensionFields returns true if the message definition contained extensions; false otherwise

func (*MissionAck) Read

func (m *MissionAck) Read(frame mavlink2.Frame) (err error)

Read sets the field values of the message from the raw message payload

func (*MissionAck) String

func (m *MissionAck) String() string

func (*MissionAck) Write

func (m *MissionAck) Write(version int) (output []byte, err error)

Write encodes the field values of the message to a byte array

type MissionChanged

type MissionChanged struct {
	/*StartIndex Start index for partial mission change (-1 for all items). */
	StartIndex int16
	/*EndIndex End index of a partial mission change. -1 is a synonym for the last mission item (i.e. selects all items from start_index). Ignore field if start_index=-1. */
	EndIndex int16
	/*OriginSysID System ID of the author of the new mission. */
	OriginSysID uint8
	/*OriginCompID Compnent ID of the author of the new mission. */
	OriginCompID uint8
	/*MissionType Mission type. */
	MissionType uint8
	/*HasExtensionFieldValues indicates if this message has any extensions and  */
	HasExtensionFieldValues bool
}

MissionChanged A broadcast message to notify any ground station or SDK if a mission, geofence or safe points have changed on the vehicle.

func (*MissionChanged) GetDialect

func (m *MissionChanged) GetDialect() string

GetDialect gets the name of the dialect that defines the Message

func (*MissionChanged) GetID

func (m *MissionChanged) GetID() uint32

GetID gets the ID of the Message

func (*MissionChanged) GetMessageName

func (m *MissionChanged) GetMessageName() string

GetMessageName gets the name of the Message

func (*MissionChanged) GetVersion

func (m *MissionChanged) GetVersion() int

GetVersion gets the MAVLink version of the Message contents

func (*MissionChanged) HasExtensionFields

func (m *MissionChanged) HasExtensionFields() bool

HasExtensionFields returns true if the message definition contained extensions; false otherwise

func (*MissionChanged) Read

func (m *MissionChanged) Read(frame mavlink2.Frame) (err error)

Read sets the field values of the message from the raw message payload

func (*MissionChanged) String

func (m *MissionChanged) String() string

func (*MissionChanged) Write

func (m *MissionChanged) Write(version int) (output []byte, err error)

Write encodes the field values of the message to a byte array

type MissionClearAll

type MissionClearAll struct {
	/*TargetSystem System ID */
	TargetSystem uint8
	/*TargetComponent Component ID */
	TargetComponent uint8
	/*MissionType Mission type. */
	MissionType uint8
	/*HasExtensionFieldValues indicates if this message has any extensions and  */
	HasExtensionFieldValues bool
}

MissionClearAll Delete all mission items at once.

func (*MissionClearAll) GetDialect

func (m *MissionClearAll) GetDialect() string

GetDialect gets the name of the dialect that defines the Message

func (*MissionClearAll) GetID

func (m *MissionClearAll) GetID() uint32

GetID gets the ID of the Message

func (*MissionClearAll) GetMessageName

func (m *MissionClearAll) GetMessageName() string

GetMessageName gets the name of the Message

func (*MissionClearAll) GetVersion

func (m *MissionClearAll) GetVersion() int

GetVersion gets the MAVLink version of the Message contents

func (*MissionClearAll) HasExtensionFields

func (m *MissionClearAll) HasExtensionFields() bool

HasExtensionFields returns true if the message definition contained extensions; false otherwise

func (*MissionClearAll) Read

func (m *MissionClearAll) Read(frame mavlink2.Frame) (err error)

Read sets the field values of the message from the raw message payload

func (*MissionClearAll) String

func (m *MissionClearAll) String() string

func (*MissionClearAll) Write

func (m *MissionClearAll) Write(version int) (output []byte, err error)

Write encodes the field values of the message to a byte array

type MissionCount

type MissionCount struct {
	/*Count Number of mission items in the sequence */
	Count uint16
	/*TargetSystem System ID */
	TargetSystem uint8
	/*TargetComponent Component ID */
	TargetComponent uint8
	/*MissionType Mission type. */
	MissionType uint8
	/*HasExtensionFieldValues indicates if this message has any extensions and  */
	HasExtensionFieldValues bool
}

MissionCount 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.

func (*MissionCount) GetDialect

func (m *MissionCount) GetDialect() string

GetDialect gets the name of the dialect that defines the Message

func (*MissionCount) GetID

func (m *MissionCount) GetID() uint32

GetID gets the ID of the Message

func (*MissionCount) GetMessageName

func (m *MissionCount) GetMessageName() string

GetMessageName gets the name of the Message

func (*MissionCount) GetVersion

func (m *MissionCount) GetVersion() int

GetVersion gets the MAVLink version of the Message contents

func (*MissionCount) HasExtensionFields

func (m *MissionCount) HasExtensionFields() bool

HasExtensionFields returns true if the message definition contained extensions; false otherwise

func (*MissionCount) Read

func (m *MissionCount) Read(frame mavlink2.Frame) (err error)

Read sets the field values of the message from the raw message payload

func (*MissionCount) String

func (m *MissionCount) String() string

func (*MissionCount) Write

func (m *MissionCount) Write(version int) (output []byte, err error)

Write encodes the field values of the message to a byte array

type MissionCurrent

type MissionCurrent struct {
	/*Seq Sequence */
	Seq uint16
	/*HasExtensionFieldValues indicates if this message has any extensions and  */
	HasExtensionFieldValues bool
}

MissionCurrent Message that announces the sequence number of the current active mission item. The MAV will fly towards this mission item.

func (*MissionCurrent) GetDialect

func (m *MissionCurrent) GetDialect() string

GetDialect gets the name of the dialect that defines the Message

func (*MissionCurrent) GetID

func (m *MissionCurrent) GetID() uint32

GetID gets the ID of the Message

func (*MissionCurrent) GetMessageName

func (m *MissionCurrent) GetMessageName() string

GetMessageName gets the name of the Message

func (*MissionCurrent) GetVersion

func (m *MissionCurrent) GetVersion() int

GetVersion gets the MAVLink version of the Message contents

func (*MissionCurrent) HasExtensionFields

func (m *MissionCurrent) HasExtensionFields() bool

HasExtensionFields returns true if the message definition contained extensions; false otherwise

func (*MissionCurrent) Read

func (m *MissionCurrent) Read(frame mavlink2.Frame) (err error)

Read sets the field values of the message from the raw message payload

func (*MissionCurrent) String

func (m *MissionCurrent) String() string

func (*MissionCurrent) Write

func (m *MissionCurrent) Write(version int) (output []byte, err error)

Write encodes the field values of the message to a byte array

type MissionItem

type MissionItem struct {
	/*Param1 PARAM1, see MAV_CMD enum */
	Param1 float32
	/*Param2 PARAM2, see MAV_CMD enum */
	Param2 float32
	/*Param3 PARAM3, see MAV_CMD enum */
	Param3 float32
	/*Param4 PARAM4, see MAV_CMD enum */
	Param4 float32
	/*X PARAM5 / local: X coordinate, global: latitude */
	X float32
	/*Y PARAM6 / local: Y coordinate, global: longitude */
	Y float32
	/*Z PARAM7 / local: Z coordinate, global: altitude (relative or absolute, depending on frame). */
	Z float32
	/*Seq Sequence */
	Seq uint16
	/*Command The scheduled action for the waypoint. */
	Command uint16
	/*TargetSystem System ID */
	TargetSystem uint8
	/*TargetComponent Component ID */
	TargetComponent uint8
	/*Frame The coordinate system of the waypoint. */
	Frame uint8
	/*Current false:0, true:1 */
	Current uint8
	/*Autocontinue Autocontinue to next waypoint */
	Autocontinue uint8
	/*MissionType Mission type. */
	MissionType uint8
	/*HasExtensionFieldValues indicates if this message has any extensions and  */
	HasExtensionFieldValues bool
}

MissionItem 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). See also https://mavlink.io/en/services/mission.html.

func (*MissionItem) GetDialect

func (m *MissionItem) GetDialect() string

GetDialect gets the name of the dialect that defines the Message

func (*MissionItem) GetID

func (m *MissionItem) GetID() uint32

GetID gets the ID of the Message

func (*MissionItem) GetMessageName

func (m *MissionItem) GetMessageName() string

GetMessageName gets the name of the Message

func (*MissionItem) GetVersion

func (m *MissionItem) GetVersion() int

GetVersion gets the MAVLink version of the Message contents

func (*MissionItem) HasExtensionFields

func (m *MissionItem) HasExtensionFields() bool

HasExtensionFields returns true if the message definition contained extensions; false otherwise

func (*MissionItem) Read

func (m *MissionItem) Read(frame mavlink2.Frame) (err error)

Read sets the field values of the message from the raw message payload

func (*MissionItem) String

func (m *MissionItem) String() string

func (*MissionItem) Write

func (m *MissionItem) Write(version int) (output []byte, err error)

Write encodes the field values of the message to a byte array

type MissionItemInt

type MissionItemInt struct {
	/*Param1 PARAM1, see MAV_CMD enum */
	Param1 float32
	/*Param2 PARAM2, see MAV_CMD enum */
	Param2 float32
	/*Param3 PARAM3, see MAV_CMD enum */
	Param3 float32
	/*Param4 PARAM4, see MAV_CMD enum */
	Param4 float32
	/*X PARAM5 / local: x position in meters * 1e4, global: latitude in degrees * 10^7 */
	X int32
	/*Y PARAM6 / y position: local: x position in meters * 1e4, global: longitude in degrees *10^7 */
	Y int32
	/*Z PARAM7 / z position: global: altitude in meters (relative or absolute, depending on frame. */
	Z float32
	/*Seq Waypoint ID (sequence number). Starts at zero. Increases monotonically for each waypoint, no gaps in the sequence (0,1,2,3,4). */
	Seq uint16
	/*Command The scheduled action for the waypoint. */
	Command uint16
	/*TargetSystem System ID */
	TargetSystem uint8
	/*TargetComponent Component ID */
	TargetComponent uint8
	/*Frame The coordinate system of the waypoint. */
	Frame uint8
	/*Current false:0, true:1 */
	Current uint8
	/*Autocontinue Autocontinue to next waypoint */
	Autocontinue uint8
	/*MissionType Mission type. */
	MissionType uint8
	/*HasExtensionFieldValues indicates if this message has any extensions and  */
	HasExtensionFieldValues bool
}

MissionItemInt 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). See also https://mavlink.io/en/services/mission.html.

func (*MissionItemInt) GetDialect

func (m *MissionItemInt) GetDialect() string

GetDialect gets the name of the dialect that defines the Message

func (*MissionItemInt) GetID

func (m *MissionItemInt) GetID() uint32

GetID gets the ID of the Message

func (*MissionItemInt) GetMessageName

func (m *MissionItemInt) GetMessageName() string

GetMessageName gets the name of the Message

func (*MissionItemInt) GetVersion

func (m *MissionItemInt) GetVersion() int

GetVersion gets the MAVLink version of the Message contents

func (*MissionItemInt) HasExtensionFields

func (m *MissionItemInt) HasExtensionFields() bool

HasExtensionFields returns true if the message definition contained extensions; false otherwise

func (*MissionItemInt) Read

func (m *MissionItemInt) Read(frame mavlink2.Frame) (err error)

Read sets the field values of the message from the raw message payload

func (*MissionItemInt) String

func (m *MissionItemInt) String() string

func (*MissionItemInt) Write

func (m *MissionItemInt) Write(version int) (output []byte, err error)

Write encodes the field values of the message to a byte array

type MissionItemReached

type MissionItemReached struct {
	/*Seq Sequence */
	Seq uint16
	/*HasExtensionFieldValues indicates if this message has any extensions and  */
	HasExtensionFieldValues bool
}

MissionItemReached 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.

func (*MissionItemReached) GetDialect

func (m *MissionItemReached) GetDialect() string

GetDialect gets the name of the dialect that defines the Message

func (*MissionItemReached) GetID

func (m *MissionItemReached) GetID() uint32

GetID gets the ID of the Message

func (*MissionItemReached) GetMessageName

func (m *MissionItemReached) GetMessageName() string

GetMessageName gets the name of the Message

func (*MissionItemReached) GetVersion

func (m *MissionItemReached) GetVersion() int

GetVersion gets the MAVLink version of the Message contents

func (*MissionItemReached) HasExtensionFields

func (m *MissionItemReached) HasExtensionFields() bool

HasExtensionFields returns true if the message definition contained extensions; false otherwise

func (*MissionItemReached) Read

func (m *MissionItemReached) Read(frame mavlink2.Frame) (err error)

Read sets the field values of the message from the raw message payload

func (*MissionItemReached) String

func (m *MissionItemReached) String() string

func (*MissionItemReached) Write

func (m *MissionItemReached) Write(version int) (output []byte, err error)

Write encodes the field values of the message to a byte array

type MissionRequest

type MissionRequest struct {
	/*Seq Sequence */
	Seq uint16
	/*TargetSystem System ID */
	TargetSystem uint8
	/*TargetComponent Component ID */
	TargetComponent uint8
	/*MissionType Mission type. */
	MissionType uint8
	/*HasExtensionFieldValues indicates if this message has any extensions and  */
	HasExtensionFieldValues bool
}

MissionRequest 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

func (*MissionRequest) GetDialect

func (m *MissionRequest) GetDialect() string

GetDialect gets the name of the dialect that defines the Message

func (*MissionRequest) GetID

func (m *MissionRequest) GetID() uint32

GetID gets the ID of the Message

func (*MissionRequest) GetMessageName

func (m *MissionRequest) GetMessageName() string

GetMessageName gets the name of the Message

func (*MissionRequest) GetVersion

func (m *MissionRequest) GetVersion() int

GetVersion gets the MAVLink version of the Message contents

func (*MissionRequest) HasExtensionFields

func (m *MissionRequest) HasExtensionFields() bool

HasExtensionFields returns true if the message definition contained extensions; false otherwise

func (*MissionRequest) Read

func (m *MissionRequest) Read(frame mavlink2.Frame) (err error)

Read sets the field values of the message from the raw message payload

func (*MissionRequest) String

func (m *MissionRequest) String() string

func (*MissionRequest) Write

func (m *MissionRequest) Write(version int) (output []byte, err error)

Write encodes the field values of the message to a byte array

type MissionRequestInt

type MissionRequestInt struct {
	/*Seq Sequence */
	Seq uint16
	/*TargetSystem System ID */
	TargetSystem uint8
	/*TargetComponent Component ID */
	TargetComponent uint8
	/*MissionType Mission type. */
	MissionType uint8
	/*HasExtensionFieldValues indicates if this message has any extensions and  */
	HasExtensionFieldValues bool
}

MissionRequestInt 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

func (*MissionRequestInt) GetDialect

func (m *MissionRequestInt) GetDialect() string

GetDialect gets the name of the dialect that defines the Message

func (*MissionRequestInt) GetID

func (m *MissionRequestInt) GetID() uint32

GetID gets the ID of the Message

func (*MissionRequestInt) GetMessageName

func (m *MissionRequestInt) GetMessageName() string

GetMessageName gets the name of the Message

func (*MissionRequestInt) GetVersion

func (m *MissionRequestInt) GetVersion() int

GetVersion gets the MAVLink version of the Message contents

func (*MissionRequestInt) HasExtensionFields

func (m *MissionRequestInt) HasExtensionFields() bool

HasExtensionFields returns true if the message definition contained extensions; false otherwise

func (*MissionRequestInt) Read

func (m *MissionRequestInt) Read(frame mavlink2.Frame) (err error)

Read sets the field values of the message from the raw message payload

func (*MissionRequestInt) String

func (m *MissionRequestInt) String() string

func (*MissionRequestInt) Write

func (m *MissionRequestInt) Write(version int) (output []byte, err error)

Write encodes the field values of the message to a byte array

type MissionRequestList

type MissionRequestList struct {
	/*TargetSystem System ID */
	TargetSystem uint8
	/*TargetComponent Component ID */
	TargetComponent uint8
	/*MissionType Mission type. */
	MissionType uint8
	/*HasExtensionFieldValues indicates if this message has any extensions and  */
	HasExtensionFieldValues bool
}

MissionRequestList Request the overall list of mission items from the system/component.

func (*MissionRequestList) GetDialect

func (m *MissionRequestList) GetDialect() string

GetDialect gets the name of the dialect that defines the Message

func (*MissionRequestList) GetID

func (m *MissionRequestList) GetID() uint32

GetID gets the ID of the Message

func (*MissionRequestList) GetMessageName

func (m *MissionRequestList) GetMessageName() string

GetMessageName gets the name of the Message

func (*MissionRequestList) GetVersion

func (m *MissionRequestList) GetVersion() int

GetVersion gets the MAVLink version of the Message contents

func (*MissionRequestList) HasExtensionFields

func (m *MissionRequestList) HasExtensionFields() bool

HasExtensionFields returns true if the message definition contained extensions; false otherwise

func (*MissionRequestList) Read

func (m *MissionRequestList) Read(frame mavlink2.Frame) (err error)

Read sets the field values of the message from the raw message payload

func (*MissionRequestList) String

func (m *MissionRequestList) String() string

func (*MissionRequestList) Write

func (m *MissionRequestList) Write(version int) (output []byte, err error)

Write encodes the field values of the message to a byte array

type MissionRequestPartialList

type MissionRequestPartialList struct {
	/*StartIndex Start index */
	StartIndex int16
	/*EndIndex End index, -1 by default (-1: send list to end). Else a valid index of the list */
	EndIndex int16
	/*TargetSystem System ID */
	TargetSystem uint8
	/*TargetComponent Component ID */
	TargetComponent uint8
	/*MissionType Mission type. */
	MissionType uint8
	/*HasExtensionFieldValues indicates if this message has any extensions and  */
	HasExtensionFieldValues bool
}

MissionRequestPartialList 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.

func (*MissionRequestPartialList) GetDialect

func (m *MissionRequestPartialList) GetDialect() string

GetDialect gets the name of the dialect that defines the Message

func (*MissionRequestPartialList) GetID

func (m *MissionRequestPartialList) GetID() uint32

GetID gets the ID of the Message

func (*MissionRequestPartialList) GetMessageName

func (m *MissionRequestPartialList) GetMessageName() string

GetMessageName gets the name of the Message

func (*MissionRequestPartialList) GetVersion

func (m *MissionRequestPartialList) GetVersion() int

GetVersion gets the MAVLink version of the Message contents

func (*MissionRequestPartialList) HasExtensionFields

func (m *MissionRequestPartialList) HasExtensionFields() bool

HasExtensionFields returns true if the message definition contained extensions; false otherwise

func (*MissionRequestPartialList) Read

func (m *MissionRequestPartialList) Read(frame mavlink2.Frame) (err error)

Read sets the field values of the message from the raw message payload

func (*MissionRequestPartialList) String

func (m *MissionRequestPartialList) String() string

func (*MissionRequestPartialList) Write

func (m *MissionRequestPartialList) Write(version int) (output []byte, err error)

Write encodes the field values of the message to a byte array

type MissionSetCurrent

type MissionSetCurrent struct {
	/*Seq Sequence */
	Seq uint16
	/*TargetSystem System ID */
	TargetSystem uint8
	/*TargetComponent Component ID */
	TargetComponent uint8
	/*HasExtensionFieldValues indicates if this message has any extensions and  */
	HasExtensionFieldValues bool
}

MissionSetCurrent Set the mission item with sequence number seq as current item. This means that the MAV will continue to this mission item on the shortest path (not following the mission items in-between).

func (*MissionSetCurrent) GetDialect

func (m *MissionSetCurrent) GetDialect() string

GetDialect gets the name of the dialect that defines the Message

func (*MissionSetCurrent) GetID

func (m *MissionSetCurrent) GetID() uint32

GetID gets the ID of the Message

func (*MissionSetCurrent) GetMessageName

func (m *MissionSetCurrent) GetMessageName() string

GetMessageName gets the name of the Message

func (*MissionSetCurrent) GetVersion

func (m *MissionSetCurrent) GetVersion() int

GetVersion gets the MAVLink version of the Message contents

func (*MissionSetCurrent) HasExtensionFields

func (m *MissionSetCurrent) HasExtensionFields() bool

HasExtensionFields returns true if the message definition contained extensions; false otherwise

func (*MissionSetCurrent) Read

func (m *MissionSetCurrent) Read(frame mavlink2.Frame) (err error)

Read sets the field values of the message from the raw message payload

func (*MissionSetCurrent) String

func (m *MissionSetCurrent) String() string

func (*MissionSetCurrent) Write

func (m *MissionSetCurrent) Write(version int) (output []byte, err error)

Write encodes the field values of the message to a byte array

type MissionWritePartialList

type MissionWritePartialList struct {
	/*StartIndex Start index. Must be smaller / equal to the largest index of the current onboard list. */
	StartIndex int16
	/*EndIndex End index, equal or greater than start index. */
	EndIndex int16
	/*TargetSystem System ID */
	TargetSystem uint8
	/*TargetComponent Component ID */
	TargetComponent uint8
	/*MissionType Mission type. */
	MissionType uint8
	/*HasExtensionFieldValues indicates if this message has any extensions and  */
	HasExtensionFieldValues bool
}

MissionWritePartialList 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!

func (*MissionWritePartialList) GetDialect

func (m *MissionWritePartialList) GetDialect() string

GetDialect gets the name of the dialect that defines the Message

func (*MissionWritePartialList) GetID

func (m *MissionWritePartialList) GetID() uint32

GetID gets the ID of the Message

func (*MissionWritePartialList) GetMessageName

func (m *MissionWritePartialList) GetMessageName() string

GetMessageName gets the name of the Message

func (*MissionWritePartialList) GetVersion

func (m *MissionWritePartialList) GetVersion() int

GetVersion gets the MAVLink version of the Message contents

func (*MissionWritePartialList) HasExtensionFields

func (m *MissionWritePartialList) HasExtensionFields() bool

HasExtensionFields returns true if the message definition contained extensions; false otherwise

func (*MissionWritePartialList) Read

func (m *MissionWritePartialList) Read(frame mavlink2.Frame) (err error)

Read sets the field values of the message from the raw message payload

func (*MissionWritePartialList) String

func (m *MissionWritePartialList) String() string

func (*MissionWritePartialList) Write

func (m *MissionWritePartialList) Write(version int) (output []byte, err error)

Write encodes the field values of the message to a byte array

type MountOrientation

type MountOrientation struct {
	/*TimeBootMs Timestamp (time since system boot). */
	TimeBootMs uint32
	/*Roll Roll in global frame (set to NaN for invalid). */
	Roll float32
	/*Pitch Pitch in global frame (set to NaN for invalid). */
	Pitch float32
	/*Yaw Yaw relative to vehicle (set to NaN for invalid). */
	Yaw float32
	/*YawAbsolute Yaw in absolute frame relative to Earth's North, north is 0 (set to NaN for invalid). */
	YawAbsolute float32
	/*HasExtensionFieldValues indicates if this message has any extensions and  */
	HasExtensionFieldValues bool
}

MountOrientation Orientation of a mount

func (*MountOrientation) GetDialect

func (m *MountOrientation) GetDialect() string

GetDialect gets the name of the dialect that defines the Message

func (*MountOrientation) GetID

func (m *MountOrientation) GetID() uint32

GetID gets the ID of the Message

func (*MountOrientation) GetMessageName

func (m *MountOrientation) GetMessageName() string

GetMessageName gets the name of the Message

func (*MountOrientation) GetVersion

func (m *MountOrientation) GetVersion() int

GetVersion gets the MAVLink version of the Message contents

func (*MountOrientation) HasExtensionFields

func (m *MountOrientation) HasExtensionFields() bool

HasExtensionFields returns true if the message definition contained extensions; false otherwise

func (*MountOrientation) Read

func (m *MountOrientation) Read(frame mavlink2.Frame) (err error)

Read sets the field values of the message from the raw message payload

func (*MountOrientation) String

func (m *MountOrientation) String() string

func (*MountOrientation) Write

func (m *MountOrientation) Write(version int) (output []byte, err error)

Write encodes the field values of the message to a byte array

type NAVControllerOutput struct {
	/*NAVRoll Current desired roll */
	NAVRoll float32
	/*NAVPitch Current desired pitch */
	NAVPitch float32
	/*AltError Current altitude error */
	AltError float32
	/*AspdError Current airspeed error */
	AspdError float32
	/*XtrackError Current crosstrack error on x-y plane */
	XtrackError float32
	/*NAVBearing Current desired heading */
	NAVBearing int16
	/*TargetBearing Bearing to current waypoint/target */
	TargetBearing int16
	/*WpDist Distance to active waypoint */
	WpDist uint16
	/*HasExtensionFieldValues indicates if this message has any extensions and  */
	HasExtensionFieldValues bool
}

NAVControllerOutput The state of the fixed wing navigation and position controller.

func (m *NAVControllerOutput) GetDialect() string

GetDialect gets the name of the dialect that defines the Message

func (m *NAVControllerOutput) GetID() uint32

GetID gets the ID of the Message

func (m *NAVControllerOutput) GetMessageName() string

GetMessageName gets the name of the Message

func (m *NAVControllerOutput) GetVersion() int

GetVersion gets the MAVLink version of the Message contents

func (m *NAVControllerOutput) HasExtensionFields() bool

HasExtensionFields returns true if the message definition contained extensions; false otherwise

func (m *NAVControllerOutput) Read(frame mavlink2.Frame) (err error)

Read sets the field values of the message from the raw message payload

func (m *NAVControllerOutput) String() string
func (m *NAVControllerOutput) Write(version int) (output []byte, err error)

Write encodes the field values of the message to a byte array

type NamedValueFloat

type NamedValueFloat struct {
	/*TimeBootMs Timestamp (time since system boot). */
	TimeBootMs uint32
	/*Value Floating point value */
	Value float32
	/*Name Name of the debug variable */
	Name [10]byte
	/*HasExtensionFieldValues indicates if this message has any extensions and  */
	HasExtensionFieldValues bool
}

NamedValueFloat 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.

func (*NamedValueFloat) GetDialect

func (m *NamedValueFloat) GetDialect() string

GetDialect gets the name of the dialect that defines the Message

func (*NamedValueFloat) GetID

func (m *NamedValueFloat) GetID() uint32

GetID gets the ID of the Message

func (*NamedValueFloat) GetMessageName

func (m *NamedValueFloat) GetMessageName() string

GetMessageName gets the name of the Message

func (*NamedValueFloat) GetName

func (m *NamedValueFloat) GetName() string

GetName decodes the null-terminated string in the Name

func (*NamedValueFloat) GetVersion

func (m *NamedValueFloat) GetVersion() int

GetVersion gets the MAVLink version of the Message contents

func (*NamedValueFloat) HasExtensionFields

func (m *NamedValueFloat) HasExtensionFields() bool

HasExtensionFields returns true if the message definition contained extensions; false otherwise

func (*NamedValueFloat) Read

func (m *NamedValueFloat) Read(frame mavlink2.Frame) (err error)

Read sets the field values of the message from the raw message payload

func (*NamedValueFloat) SetName

func (m *NamedValueFloat) SetName(input string) (err error)

SetName encodes the input string to the Name array

func (*NamedValueFloat) String

func (m *NamedValueFloat) String() string

func (*NamedValueFloat) Write

func (m *NamedValueFloat) Write(version int) (output []byte, err error)

Write encodes the field values of the message to a byte array

type NamedValueInt

type NamedValueInt struct {
	/*TimeBootMs Timestamp (time since system boot). */
	TimeBootMs uint32
	/*Value Signed integer value */
	Value int32
	/*Name Name of the debug variable */
	Name [10]byte
	/*HasExtensionFieldValues indicates if this message has any extensions and  */
	HasExtensionFieldValues bool
}

NamedValueInt 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.

func (*NamedValueInt) GetDialect

func (m *NamedValueInt) GetDialect() string

GetDialect gets the name of the dialect that defines the Message

func (*NamedValueInt) GetID

func (m *NamedValueInt) GetID() uint32

GetID gets the ID of the Message

func (*NamedValueInt) GetMessageName

func (m *NamedValueInt) GetMessageName() string

GetMessageName gets the name of the Message

func (*NamedValueInt) GetName

func (m *NamedValueInt) GetName() string

GetName decodes the null-terminated string in the Name

func (*NamedValueInt) GetVersion

func (m *NamedValueInt) GetVersion() int

GetVersion gets the MAVLink version of the Message contents

func (*NamedValueInt) HasExtensionFields

func (m *NamedValueInt) HasExtensionFields() bool

HasExtensionFields returns true if the message definition contained extensions; false otherwise

func (*NamedValueInt) Read

func (m *NamedValueInt) Read(frame mavlink2.Frame) (err error)

Read sets the field values of the message from the raw message payload

func (*NamedValueInt) SetName

func (m *NamedValueInt) SetName(input string) (err error)

SetName encodes the input string to the Name array

func (*NamedValueInt) String

func (m *NamedValueInt) String() string

func (*NamedValueInt) Write

func (m *NamedValueInt) Write(version int) (output []byte, err error)

Write encodes the field values of the message to a byte array

type ObstacleDistance

type ObstacleDistance struct {
	/*TimeUsec 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 the number. */
	TimeUsec uint64
	/*Distances Distance of obstacles around the vehicle with index 0 corresponding to north + angle_offset, unless otherwise specified in the frame. A value of 0 is valid and means that the obstacle is practically touching the sensor. A value of max_distance +1 means no obstacle is present. A value of UINT16_MAX for unknown/not used. In a array element, one unit corresponds to 1cm. */
	Distances [72]uint16
	/*MinDistance Minimum distance the sensor can measure. */
	MinDistance uint16
	/*MaxDistance Maximum distance the sensor can measure. */
	MaxDistance uint16
	/*SensorType Class id of the distance sensor type. */
	SensorType uint8
	/*Increment Angular width in degrees of each array element. Increment direction is clockwise. This field is ignored if increment_f is non-zero. */
	Increment uint8
	/*IncrementF Angular width in degrees of each array element as a float. If non-zero then this value is used instead of the uint8_t increment field. Positive is clockwise direction, negative is counter-clockwise. */
	IncrementF float32
	/*AngleOffset Relative angle offset of the 0-index element in the distances array. Value of 0 corresponds to forward. Positive is clockwise direction, negative is counter-clockwise. */
	AngleOffset float32
	/*Frame Coordinate frame of reference for the yaw rotation and offset of the sensor data. Defaults to MAV_FRAME_GLOBAL, which is north aligned. For body-mounted sensors use MAV_FRAME_BODY_FRD, which is vehicle front aligned. */
	Frame uint8
	/*HasExtensionFieldValues indicates if this message has any extensions and  */
	HasExtensionFieldValues bool
}

ObstacleDistance Obstacle distances in front of the sensor, starting from the left in increment degrees to the right

func (*ObstacleDistance) GetDialect

func (m *ObstacleDistance) GetDialect() string

GetDialect gets the name of the dialect that defines the Message

func (*ObstacleDistance) GetID

func (m *ObstacleDistance) GetID() uint32

GetID gets the ID of the Message

func (*ObstacleDistance) GetMessageName

func (m *ObstacleDistance) GetMessageName() string

GetMessageName gets the name of the Message

func (*ObstacleDistance) GetVersion

func (m *ObstacleDistance) GetVersion() int

GetVersion gets the MAVLink version of the Message contents

func (*ObstacleDistance) HasExtensionFields

func (m *ObstacleDistance) HasExtensionFields() bool

HasExtensionFields returns true if the message definition contained extensions; false otherwise

func (*ObstacleDistance) Read

func (m *ObstacleDistance) Read(frame mavlink2.Frame) (err error)

Read sets the field values of the message from the raw message payload

func (*ObstacleDistance) String

func (m *ObstacleDistance) String() string

func (*ObstacleDistance) Write

func (m *ObstacleDistance) Write(version int) (output []byte, err error)

Write encodes the field values of the message to a byte array

type Odometry

type Odometry struct {
	/*TimeUsec 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 the number. */
	TimeUsec uint64
	/*X X Position */
	X float32
	/*Y Y Position */
	Y float32
	/*Z Z Position */
	Z float32
	/*Q Quaternion components, w, x, y, z (1 0 0 0 is the null-rotation) */
	Q [4]float32
	/*Vx X linear speed */
	Vx float32
	/*Vy Y linear speed */
	Vy float32
	/*Vz Z linear speed */
	Vz float32
	/*Rollspeed Roll angular speed */
	Rollspeed float32
	/*Pitchspeed Pitch angular speed */
	Pitchspeed float32
	/*Yawspeed Yaw angular speed */
	Yawspeed float32
	/*PoseCovariance Row-major representation of a 6x6 pose cross-covariance matrix upper right triangle (states: x, y, z, roll, pitch, yaw; first six entries are the first ROW, next five entries are the second ROW, etc.). If unknown, assign NaN value to first element in the array. */
	PoseCovariance [21]float32
	/*VelocityCovariance Row-major representation of a 6x6 velocity cross-covariance matrix upper right triangle (states: vx, vy, vz, rollspeed, pitchspeed, yawspeed; first six entries are the first ROW, next five entries are the second ROW, etc.). If unknown, assign NaN value to first element in the array. */
	VelocityCovariance [21]float32
	/*FrameID Coordinate frame of reference for the pose data. */
	FrameID uint8
	/*ChildFrameID Coordinate frame of reference for the velocity in free space (twist) data. */
	ChildFrameID uint8
	/*ResetCounter Estimate reset counter. This should be incremented when the estimate resets in any of the dimensions (position, velocity, attitude, angular speed). This is designed to be used when e.g an external SLAM system detects a loop-closure and the estimate jumps. */
	ResetCounter uint8
	/*EstimatorType Type of estimator that is providing the odometry. */
	EstimatorType uint8
	/*HasExtensionFieldValues indicates if this message has any extensions and  */
	HasExtensionFieldValues bool
}

Odometry 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).

func (*Odometry) GetDialect

func (m *Odometry) GetDialect() string

GetDialect gets the name of the dialect that defines the Message

func (*Odometry) GetID

func (m *Odometry) GetID() uint32

GetID gets the ID of the Message

func (*Odometry) GetMessageName

func (m *Odometry) GetMessageName() string

GetMessageName gets the name of the Message

func (*Odometry) GetVersion

func (m *Odometry) GetVersion() int

GetVersion gets the MAVLink version of the Message contents

func (*Odometry) HasExtensionFields

func (m *Odometry) HasExtensionFields() bool

HasExtensionFields returns true if the message definition contained extensions; false otherwise

func (*Odometry) Read

func (m *Odometry) Read(frame mavlink2.Frame) (err error)

Read sets the field values of the message from the raw message payload

func (*Odometry) String

func (m *Odometry) String() string

func (*Odometry) Write

func (m *Odometry) Write(version int) (output []byte, err error)

Write encodes the field values of the message to a byte array

type OnboardComputerStatus

type OnboardComputerStatus struct {
	/*TimeUsec 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 the number. */
	TimeUsec uint64
	/*Uptime Time since system boot. */
	Uptime uint32
	/*RamUsage Amount of used RAM on the component system. A value of UINT32_MAX implies the field is unused. */
	RamUsage uint32
	/*RamTotal Total amount of RAM on the component system. A value of UINT32_MAX implies the field is unused. */
	RamTotal uint32
	/*StorageType Storage type: 0: HDD, 1: SSD, 2: EMMC, 3: SD card (non-removable), 4: SD card (removable). A value of UINT32_MAX implies the field is unused. */
	StorageType [4]uint32
	/*StorageUsage Amount of used storage space on the component system. A value of UINT32_MAX implies the field is unused. */
	StorageUsage [4]uint32
	/*StorageTotal Total amount of storage space on the component system. A value of UINT32_MAX implies the field is unused. */
	StorageTotal [4]uint32
	/*LinkType Link type: 0-9: UART, 10-19: Wired network, 20-29: Wifi, 30-39: Point-to-point proprietary, 40-49: Mesh proprietary */
	LinkType [6]uint32
	/*LinkTxRate Network traffic from the component system. A value of UINT32_MAX implies the field is unused. */
	LinkTxRate [6]uint32
	/*LinkRxRate Network traffic to the component system. A value of UINT32_MAX implies the field is unused. */
	LinkRxRate [6]uint32
	/*LinkTxMax Network capacity from the component system. A value of UINT32_MAX implies the field is unused. */
	LinkTxMax [6]uint32
	/*LinkRxMax Network capacity to the component system. A value of UINT32_MAX implies the field is unused. */
	LinkRxMax [6]uint32
	/*FanSpeed Fan speeds. A value of INT16_MAX implies the field is unused. */
	FanSpeed [4]int16
	/*Type Type of the onboard computer: 0: Mission computer primary, 1: Mission computer backup 1, 2: Mission computer backup 2, 3: Compute node, 4-5: Compute spares, 6-9: Payload computers. */
	Type uint8
	/*CpuCores CPU usage on the component in percent (100 - idle). A value of UINT8_MAX implies the field is unused. */
	CpuCores [8]uint8
	/*CpuCombined Combined CPU usage as the last 10 slices of 100 MS (a histogram). This allows to identify spikes in load that max out the system, but only for a short amount of time. A value of UINT8_MAX implies the field is unused. */
	CpuCombined [10]uint8
	/*GpuCores GPU usage on the component in percent (100 - idle). A value of UINT8_MAX implies the field is unused. */
	GpuCores [4]uint8
	/*GpuCombined Combined GPU usage as the last 10 slices of 100 MS (a histogram). This allows to identify spikes in load that max out the system, but only for a short amount of time. A value of UINT8_MAX implies the field is unused. */
	GpuCombined [10]uint8
	/*TemperatureBoard Temperature of the board. A value of INT8_MAX implies the field is unused. */
	TemperatureBoard int8
	/*TemperatureCore Temperature of the CPU core. A value of INT8_MAX implies the field is unused. */
	TemperatureCore [8]int8
	/*HasExtensionFieldValues indicates if this message has any extensions and  */
	HasExtensionFieldValues bool
}

OnboardComputerStatus Hardware status sent by an onboard computer.

func (*OnboardComputerStatus) GetDialect

func (m *OnboardComputerStatus) GetDialect() string

GetDialect gets the name of the dialect that defines the Message

func (*OnboardComputerStatus) GetID

func (m *OnboardComputerStatus) GetID() uint32

GetID gets the ID of the Message

func (*OnboardComputerStatus) GetMessageName

func (m *OnboardComputerStatus) GetMessageName() string

GetMessageName gets the name of the Message

func (*OnboardComputerStatus) GetVersion

func (m *OnboardComputerStatus) GetVersion() int

GetVersion gets the MAVLink version of the Message contents

func (*OnboardComputerStatus) HasExtensionFields

func (m *OnboardComputerStatus) HasExtensionFields() bool

HasExtensionFields returns true if the message definition contained extensions; false otherwise

func (*OnboardComputerStatus) Read

func (m *OnboardComputerStatus) Read(frame mavlink2.Frame) (err error)

Read sets the field values of the message from the raw message payload

func (*OnboardComputerStatus) String

func (m *OnboardComputerStatus) String() string

func (*OnboardComputerStatus) Write

func (m *OnboardComputerStatus) Write(version int) (output []byte, err error)

Write encodes the field values of the message to a byte array

type OpenDroneIDAuthentication

type OpenDroneIDAuthentication struct {
	/*Timestamp This field is only present for page 0. 32 bit Unix Timestamp in seconds since 00:00:00 01/01/2019. */
	Timestamp uint32
	/*AuthenticationType Indicates the type of authentication. */
	AuthenticationType uint8
	/*DataPage Allowed range is 0 - 4. */
	DataPage uint8
	/*PageCount This field is only present for page 0. Allowed range is 0 - 5. */
	PageCount uint8
	/*Length This field is only present for page 0. Total bytes of authentication_data from all data pages. Allowed range is 0 - 109 (17 + 23*4). */
	Length uint8
	/*AuthenticationData Opaque authentication data. For page 0, the size is only 17 bytes. For other pages, the size is 23 bytes. Shall be filled with nulls in the unused portion of the field. */
	AuthenticationData [23]uint8
	/*HasExtensionFieldValues indicates if this message has any extensions and  */
	HasExtensionFieldValues bool
}

OpenDroneIDAuthentication 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. Five data pages are supported. For data page 0, the fields PageCount, Length and TimeStamp are present and AuthData is only 17 bytes. For data page 1 through 4, PageCount,Length and TimeStamp are not present and the size of AuthData is 23 bytes.

func (*OpenDroneIDAuthentication) GetDialect

func (m *OpenDroneIDAuthentication) GetDialect() string

GetDialect gets the name of the dialect that defines the Message

func (*OpenDroneIDAuthentication) GetID

func (m *OpenDroneIDAuthentication) GetID() uint32

GetID gets the ID of the Message

func (*OpenDroneIDAuthentication) GetMessageName

func (m *OpenDroneIDAuthentication) GetMessageName() string

GetMessageName gets the name of the Message

func (*OpenDroneIDAuthentication) GetVersion

func (m *OpenDroneIDAuthentication) GetVersion() int

GetVersion gets the MAVLink version of the Message contents

func (*OpenDroneIDAuthentication) HasExtensionFields

func (m *OpenDroneIDAuthentication) HasExtensionFields() bool

HasExtensionFields returns true if the message definition contained extensions; false otherwise

func (*OpenDroneIDAuthentication) Read

func (m *OpenDroneIDAuthentication) Read(frame mavlink2.Frame) (err error)

Read sets the field values of the message from the raw message payload

func (*OpenDroneIDAuthentication) String

func (m *OpenDroneIDAuthentication) String() string

func (*OpenDroneIDAuthentication) Write

func (m *OpenDroneIDAuthentication) Write(version int) (output []byte, err error)

Write encodes the field values of the message to a byte array

type OpenDroneIDBasicID

type OpenDroneIDBasicID struct {
	/*IDType Indicates the format for the uas_id field of this message. */
	IDType uint8
	/*UaType Indicates the type of UA (Unmanned Aircraft). */
	UaType uint8
	/*UasID UAS (Unmanned Aircraft System) ID following the format specified by id_type. Shall be filled with nulls in the unused portion of the field. */
	UasID [20]uint8
	/*HasExtensionFieldValues indicates if this message has any extensions and  */
	HasExtensionFieldValues bool
}

OpenDroneIDBasicID 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

func (*OpenDroneIDBasicID) GetDialect

func (m *OpenDroneIDBasicID) GetDialect() string

GetDialect gets the name of the dialect that defines the Message

func (*OpenDroneIDBasicID) GetID

func (m *OpenDroneIDBasicID) GetID() uint32

GetID gets the ID of the Message

func (*OpenDroneIDBasicID) GetMessageName

func (m *OpenDroneIDBasicID) GetMessageName() string

GetMessageName gets the name of the Message

func (*OpenDroneIDBasicID) GetVersion

func (m *OpenDroneIDBasicID) GetVersion() int

GetVersion gets the MAVLink version of the Message contents

func (*OpenDroneIDBasicID) HasExtensionFields

func (m *OpenDroneIDBasicID) HasExtensionFields() bool

HasExtensionFields returns true if the message definition contained extensions; false otherwise

func (*OpenDroneIDBasicID) Read

func (m *OpenDroneIDBasicID) Read(frame mavlink2.Frame) (err error)

Read sets the field values of the message from the raw message payload

func (*OpenDroneIDBasicID) String

func (m *OpenDroneIDBasicID) String() string

func (*OpenDroneIDBasicID) Write

func (m *OpenDroneIDBasicID) Write(version int) (output []byte, err error)

Write encodes the field values of the message to a byte array

type OpenDroneIDLocation

type OpenDroneIDLocation struct {
	/*Latitude Current latitude of the UA (Unmanned Aircraft). If unknown: 0 deg (both Lat/Lon). */
	Latitude int32
	/*Longitude Current longitude of the UA (Unmanned Aircraft). If unknown: 0 deg (both Lat/Lon). */
	Longitude int32
	/*AltitudeBarometric The altitude calculated from the barometric pressue. Reference is against 29.92inHg or 1013.2mb. If unknown: -1000 m. */
	AltitudeBarometric float32
	/*AltitudeGeodetic The geodetic altitude as defined by WGS84. If unknown: -1000 m. */
	AltitudeGeodetic float32
	/*Height The current height of the UA (Unmanned Aircraft) above the take-off location or the ground as indicated by height_reference. If unknown: -1000 m. */
	Height float32
	/*Timestamp Seconds after the full hour. Typically the GPS outputs a time of week value in milliseconds. That value can be easily converted for this field using ((float) (time_week_ms % (60*60*1000))) / 1000. */
	Timestamp float32
	/*Direction Direction over ground (not heading, but direction of movement) in degrees * 100: 0.0 - 359.99 degrees. If unknown: 361.00 degrees. */
	Direction uint16
	/*SpeedHorizontal Ground speed. Positive only. If unknown: 255.00 m/s. If speed is larger than 254.25 m/s, use 254.25 m/s. */
	SpeedHorizontal uint16
	/*SpeedVertical The vertical speed. Up is positive. If unknown: 63.00 m/s. If speed is larger than 62.00 m/s, use 62.00 m/s. */
	SpeedVertical int16
	/*Status Indicates whether the Unmanned Aircraft is on the ground or in the air. */
	Status uint8
	/*HeightReference Indicates the reference point for the height field. */
	HeightReference uint8
	/*HorizontalAccuracy The accuracy of the horizontal position. */
	HorizontalAccuracy uint8
	/*VerticalAccuracy The accuracy of the vertical position. */
	VerticalAccuracy uint8
	/*BarometerAccuracy The accuracy of the barometric altitude. */
	BarometerAccuracy uint8
	/*SpeedAccuracy The accuracy of the horizontal and vertical speed. */
	SpeedAccuracy uint8
	/*TimestampAccuracy The accuracy of the timestamps. */
	TimestampAccuracy uint8
	/*HasExtensionFieldValues indicates if this message has any extensions and  */
	HasExtensionFieldValues bool
}

OpenDroneIDLocation 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.

func (*OpenDroneIDLocation) GetDialect

func (m *OpenDroneIDLocation) GetDialect() string

GetDialect gets the name of the dialect that defines the Message

func (*OpenDroneIDLocation) GetID

func (m *OpenDroneIDLocation) GetID() uint32

GetID gets the ID of the Message

func (*OpenDroneIDLocation) GetMessageName

func (m *OpenDroneIDLocation) GetMessageName() string

GetMessageName gets the name of the Message

func (*OpenDroneIDLocation) GetVersion

func (m *OpenDroneIDLocation) GetVersion() int

GetVersion gets the MAVLink version of the Message contents

func (*OpenDroneIDLocation) HasExtensionFields

func (m *OpenDroneIDLocation) HasExtensionFields() bool

HasExtensionFields returns true if the message definition contained extensions; false otherwise

func (*OpenDroneIDLocation) Read

func (m *OpenDroneIDLocation) Read(frame mavlink2.Frame) (err error)

Read sets the field values of the message from the raw message payload

func (*OpenDroneIDLocation) String

func (m *OpenDroneIDLocation) String() string

func (*OpenDroneIDLocation) Write

func (m *OpenDroneIDLocation) Write(version int) (output []byte, err error)

Write encodes the field values of the message to a byte array

type OpenDroneIDMessagePack

type OpenDroneIDMessagePack struct {
	/*SingleMessageSize This field must currently always be equal to 25 bytes, since all encoded OpenDroneID messages are specificed to have this length. */
	SingleMessageSize uint8
	/*MsgPackSize Number of encoded messages in the pack (not the number of bytes). Allowed range is 1 - 10. */
	MsgPackSize uint8
	/*Messages Concatenation of encoded OpenDroneID messages. Shall be filled with nulls in the unused portion of the field. */
	Messages [250]uint8
	/*HasExtensionFieldValues indicates if this message has any extensions and  */
	HasExtensionFieldValues bool
}

OpenDroneIDMessagePack An OpenDroneID message pack is a container for multiple encoded OpenDroneID messages (i.e. not in the format given for the above messages 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.

func (*OpenDroneIDMessagePack) GetDialect

func (m *OpenDroneIDMessagePack) GetDialect() string

GetDialect gets the name of the dialect that defines the Message

func (*OpenDroneIDMessagePack) GetID

func (m *OpenDroneIDMessagePack) GetID() uint32

GetID gets the ID of the Message

func (*OpenDroneIDMessagePack) GetMessageName

func (m *OpenDroneIDMessagePack) GetMessageName() string

GetMessageName gets the name of the Message

func (*OpenDroneIDMessagePack) GetVersion

func (m *OpenDroneIDMessagePack) GetVersion() int

GetVersion gets the MAVLink version of the Message contents

func (*OpenDroneIDMessagePack) HasExtensionFields

func (m *OpenDroneIDMessagePack) HasExtensionFields() bool

HasExtensionFields returns true if the message definition contained extensions; false otherwise

func (*OpenDroneIDMessagePack) Read

func (m *OpenDroneIDMessagePack) Read(frame mavlink2.Frame) (err error)

Read sets the field values of the message from the raw message payload

func (*OpenDroneIDMessagePack) String

func (m *OpenDroneIDMessagePack) String() string

func (*OpenDroneIDMessagePack) Write

func (m *OpenDroneIDMessagePack) Write(version int) (output []byte, err error)

Write encodes the field values of the message to a byte array

type OpenDroneIDOperatorID

type OpenDroneIDOperatorID struct {
	/*OperatorIDType Indicates the type of the operator_id field. */
	OperatorIDType uint8
	/*OperatorID Text description or numeric value expressed as ASCII characters. Shall be filled with nulls in the unused portion of the field. */
	OperatorID [20]byte
	/*HasExtensionFieldValues indicates if this message has any extensions and  */
	HasExtensionFieldValues bool
}

OpenDroneIDOperatorID Data for filling the OpenDroneID Operator ID message, which contains the CAA (Civil Aviation Authority) issued operator ID.

func (*OpenDroneIDOperatorID) GetDialect

func (m *OpenDroneIDOperatorID) GetDialect() string

GetDialect gets the name of the dialect that defines the Message

func (*OpenDroneIDOperatorID) GetID

func (m *OpenDroneIDOperatorID) GetID() uint32

GetID gets the ID of the Message

func (*OpenDroneIDOperatorID) GetMessageName

func (m *OpenDroneIDOperatorID) GetMessageName() string

GetMessageName gets the name of the Message

func (*OpenDroneIDOperatorID) GetOperatorID

func (m *OpenDroneIDOperatorID) GetOperatorID() string

GetOperatorID decodes the null-terminated string in the OperatorID

func (*OpenDroneIDOperatorID) GetVersion

func (m *OpenDroneIDOperatorID) GetVersion() int

GetVersion gets the MAVLink version of the Message contents

func (*OpenDroneIDOperatorID) HasExtensionFields

func (m *OpenDroneIDOperatorID) HasExtensionFields() bool

HasExtensionFields returns true if the message definition contained extensions; false otherwise

func (*OpenDroneIDOperatorID) Read

func (m *OpenDroneIDOperatorID) Read(frame mavlink2.Frame) (err error)

Read sets the field values of the message from the raw message payload

func (*OpenDroneIDOperatorID) SetOperatorID

func (m *OpenDroneIDOperatorID) SetOperatorID(input string) (err error)

SetOperatorID encodes the input string to the OperatorID array

func (*OpenDroneIDOperatorID) String

func (m *OpenDroneIDOperatorID) String() string

func (*OpenDroneIDOperatorID) Write

func (m *OpenDroneIDOperatorID) Write(version int) (output []byte, err error)

Write encodes the field values of the message to a byte array

type OpenDroneIDSelfID

type OpenDroneIDSelfID struct {
	/*DescriptionType Indicates the type of the description field. */
	DescriptionType uint8
	/*Description Text description or numeric value expressed as ASCII characters. Shall be filled with nulls in the unused portion of the field. */
	Description [23]byte
	/*HasExtensionFieldValues indicates if this message has any extensions and  */
	HasExtensionFieldValues bool
}

OpenDroneIDSelfID 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.

func (*OpenDroneIDSelfID) GetDescription

func (m *OpenDroneIDSelfID) GetDescription() string

GetDescription decodes the null-terminated string in the Description

func (*OpenDroneIDSelfID) GetDialect

func (m *OpenDroneIDSelfID) GetDialect() string

GetDialect gets the name of the dialect that defines the Message

func (*OpenDroneIDSelfID) GetID

func (m *OpenDroneIDSelfID) GetID() uint32

GetID gets the ID of the Message

func (*OpenDroneIDSelfID) GetMessageName

func (m *OpenDroneIDSelfID) GetMessageName() string

GetMessageName gets the name of the Message

func (*OpenDroneIDSelfID) GetVersion

func (m *OpenDroneIDSelfID) GetVersion() int

GetVersion gets the MAVLink version of the Message contents

func (*OpenDroneIDSelfID) HasExtensionFields

func (m *OpenDroneIDSelfID) HasExtensionFields() bool

HasExtensionFields returns true if the message definition contained extensions; false otherwise

func (*OpenDroneIDSelfID) Read

func (m *OpenDroneIDSelfID) Read(frame mavlink2.Frame) (err error)

Read sets the field values of the message from the raw message payload

func (*OpenDroneIDSelfID) SetDescription

func (m *OpenDroneIDSelfID) SetDescription(input string) (err error)

SetDescription encodes the input string to the Description array

func (*OpenDroneIDSelfID) String

func (m *OpenDroneIDSelfID) String() string

func (*OpenDroneIDSelfID) Write

func (m *OpenDroneIDSelfID) Write(version int) (output []byte, err error)

Write encodes the field values of the message to a byte array

type OpenDroneIDSystem

type OpenDroneIDSystem struct {
	/*OperatorLatitude Latitude of the operator. If unknown: 0 deg (both Lat/Lon). */
	OperatorLatitude int32
	/*OperatorLongitude Longitude of the operator. If unknown: 0 deg (both Lat/Lon). */
	OperatorLongitude int32
	/*AreaCeiling Area Operations Ceiling relative to WGS84. If unknown: -1000 m. */
	AreaCeiling float32
	/*AreaFloor Area Operations Floor relative to WGS84. If unknown: -1000 m. */
	AreaFloor float32
	/*AreaCount Number of aircraft in the area, group or formation (default 1). */
	AreaCount uint16
	/*AreaRadius Radius of the cylindrical area of the group or formation (default 0). */
	AreaRadius uint16
	/*Flags Specifies the location source for the operator location. */
	Flags uint8
	/*HasExtensionFieldValues indicates if this message has any extensions and  */
	HasExtensionFieldValues bool
}

OpenDroneIDSystem Data for filling the OpenDroneID System message. The System Message contains general system information including the operator location and possible aircraft group information.

func (*OpenDroneIDSystem) GetDialect

func (m *OpenDroneIDSystem) GetDialect() string

GetDialect gets the name of the dialect that defines the Message

func (*OpenDroneIDSystem) GetID

func (m *OpenDroneIDSystem) GetID() uint32

GetID gets the ID of the Message

func (*OpenDroneIDSystem) GetMessageName

func (m *OpenDroneIDSystem) GetMessageName() string

GetMessageName gets the name of the Message

func (*OpenDroneIDSystem) GetVersion

func (m *OpenDroneIDSystem) GetVersion() int

GetVersion gets the MAVLink version of the Message contents

func (*OpenDroneIDSystem) HasExtensionFields

func (m *OpenDroneIDSystem) HasExtensionFields() bool

HasExtensionFields returns true if the message definition contained extensions; false otherwise

func (*OpenDroneIDSystem) Read

func (m *OpenDroneIDSystem) Read(frame mavlink2.Frame) (err error)

Read sets the field values of the message from the raw message payload

func (*OpenDroneIDSystem) String

func (m *OpenDroneIDSystem) String() string

func (*OpenDroneIDSystem) Write

func (m *OpenDroneIDSystem) Write(version int) (output []byte, err error)

Write encodes the field values of the message to a byte array

type OpticalFlow

type OpticalFlow struct {
	/*TimeUsec 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 the number. */
	TimeUsec uint64
	/*FlowCompMX Flow in x-sensor direction, angular-speed compensated */
	FlowCompMX float32
	/*FlowCompMY Flow in y-sensor direction, angular-speed compensated */
	FlowCompMY float32
	/*GroundDistance Ground distance. Positive value: distance known. Negative value: Unknown distance */
	GroundDistance float32
	/*FlowX Flow in x-sensor direction */
	FlowX int16
	/*FlowY Flow in y-sensor direction */
	FlowY int16
	/*SensorID Sensor ID */
	SensorID uint8
	/*Quality Optical flow quality / confidence. 0: bad, 255: maximum quality */
	Quality uint8
	/*FlowRateX Flow rate about X axis */
	FlowRateX float32
	/*FlowRateY Flow rate about Y axis */
	FlowRateY float32
	/*HasExtensionFieldValues indicates if this message has any extensions and  */
	HasExtensionFieldValues bool
}

OpticalFlow Optical flow from a flow sensor (e.g. optical mouse sensor)

func (*OpticalFlow) GetDialect

func (m *OpticalFlow) GetDialect() string

GetDialect gets the name of the dialect that defines the Message

func (*OpticalFlow) GetID

func (m *OpticalFlow) GetID() uint32

GetID gets the ID of the Message

func (*OpticalFlow) GetMessageName

func (m *OpticalFlow) GetMessageName() string

GetMessageName gets the name of the Message

func (*OpticalFlow) GetVersion

func (m *OpticalFlow) GetVersion() int

GetVersion gets the MAVLink version of the Message contents

func (*OpticalFlow) HasExtensionFields

func (m *OpticalFlow) HasExtensionFields() bool

HasExtensionFields returns true if the message definition contained extensions; false otherwise

func (*OpticalFlow) Read

func (m *OpticalFlow) Read(frame mavlink2.Frame) (err error)

Read sets the field values of the message from the raw message payload

func (*OpticalFlow) String

func (m *OpticalFlow) String() string

func (*OpticalFlow) Write

func (m *OpticalFlow) Write(version int) (output []byte, err error)

Write encodes the field values of the message to a byte array

type OpticalFlowRad

type OpticalFlowRad struct {
	/*TimeUsec 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 the number. */
	TimeUsec uint64
	/*IntegrationTimeUs Integration time. Divide integrated_x and integrated_y by the integration time to obtain average flow. The integration time also indicates the. */
	IntegrationTimeUs uint32
	/*IntegratedX Flow around X axis (Sensor RH rotation about the X axis induces a positive flow. Sensor linear motion along the positive Y axis induces a negative flow.) */
	IntegratedX float32
	/*IntegratedY Flow around Y axis (Sensor RH rotation about the Y axis induces a positive flow. Sensor linear motion along the positive X axis induces a positive flow.) */
	IntegratedY float32
	/*IntegratedXgyro RH rotation around X axis */
	IntegratedXgyro float32
	/*IntegratedYgyro RH rotation around Y axis */
	IntegratedYgyro float32
	/*IntegratedZgyro RH rotation around Z axis */
	IntegratedZgyro float32
	/*TimeDeltaDistanceUs Time since the distance was sampled. */
	TimeDeltaDistanceUs uint32
	/*Distance Distance to the center of the flow field. Positive value (including zero): distance known. Negative value: Unknown distance. */
	Distance float32
	/*Temperature Temperature */
	Temperature int16
	/*SensorID Sensor ID */
	SensorID uint8
	/*Quality Optical flow quality / confidence. 0: no valid flow, 255: maximum quality */
	Quality uint8
	/*HasExtensionFieldValues indicates if this message has any extensions and  */
	HasExtensionFieldValues bool
}

OpticalFlowRad Optical flow from an angular rate flow sensor (e.g. PX4FLOW or mouse sensor)

func (*OpticalFlowRad) GetDialect

func (m *OpticalFlowRad) GetDialect() string

GetDialect gets the name of the dialect that defines the Message

func (*OpticalFlowRad) GetID

func (m *OpticalFlowRad) GetID() uint32

GetID gets the ID of the Message

func (*OpticalFlowRad) GetMessageName

func (m *OpticalFlowRad) GetMessageName() string

GetMessageName gets the name of the Message

func (*OpticalFlowRad) GetVersion

func (m *OpticalFlowRad) GetVersion() int

GetVersion gets the MAVLink version of the Message contents

func (*OpticalFlowRad) HasExtensionFields

func (m *OpticalFlowRad) HasExtensionFields() bool

HasExtensionFields returns true if the message definition contained extensions; false otherwise

func (*OpticalFlowRad) Read

func (m *OpticalFlowRad) Read(frame mavlink2.Frame) (err error)

Read sets the field values of the message from the raw message payload

func (*OpticalFlowRad) String

func (m *OpticalFlowRad) String() string

func (*OpticalFlowRad) Write

func (m *OpticalFlowRad) Write(version int) (output []byte, err error)

Write encodes the field values of the message to a byte array

type OrbitExecutionStatus

type OrbitExecutionStatus struct {
	/*TimeUsec 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 the number. */
	TimeUsec uint64
	/*Radius Radius of the orbit circle. Positive values orbit clockwise, negative values orbit counter-clockwise. */
	Radius float32
	/*X X coordinate of center point. Coordinate system depends on frame field: local = x position in meters * 1e4, global = latitude in degrees * 1e7. */
	X int32
	/*Y Y coordinate of center point.  Coordinate system depends on frame field: local = x position in meters * 1e4, global = latitude in degrees * 1e7. */
	Y int32
	/*Z Altitude of center point. Coordinate system depends on frame field. */
	Z float32
	/*Frame The coordinate system of the fields: x, y, z. */
	Frame uint8
	/*HasExtensionFieldValues indicates if this message has any extensions and  */
	HasExtensionFieldValues bool
}

OrbitExecutionStatus Vehicle status report that is sent out while orbit execution is in progress (see MAV_CMD_DO_ORBIT).

func (*OrbitExecutionStatus) GetDialect

func (m *OrbitExecutionStatus) GetDialect() string

GetDialect gets the name of the dialect that defines the Message

func (*OrbitExecutionStatus) GetID

func (m *OrbitExecutionStatus) GetID() uint32

GetID gets the ID of the Message

func (*OrbitExecutionStatus) GetMessageName

func (m *OrbitExecutionStatus) GetMessageName() string

GetMessageName gets the name of the Message

func (*OrbitExecutionStatus) GetVersion

func (m *OrbitExecutionStatus) GetVersion() int

GetVersion gets the MAVLink version of the Message contents

func (*OrbitExecutionStatus) HasExtensionFields

func (m *OrbitExecutionStatus) HasExtensionFields() bool

HasExtensionFields returns true if the message definition contained extensions; false otherwise

func (*OrbitExecutionStatus) Read

func (m *OrbitExecutionStatus) Read(frame mavlink2.Frame) (err error)

Read sets the field values of the message from the raw message payload

func (*OrbitExecutionStatus) String

func (m *OrbitExecutionStatus) String() string

func (*OrbitExecutionStatus) Write

func (m *OrbitExecutionStatus) Write(version int) (output []byte, err error)

Write encodes the field values of the message to a byte array

type ParamExtAck

type ParamExtAck struct {
	/*ParamID 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 [16]byte
	/*ParamValue Parameter value (new value if PARAM_ACK_ACCEPTED, current value otherwise) */
	ParamValue [128]byte
	/*ParamType Parameter type. */
	ParamType uint8
	/*ParamResult Result code. */
	ParamResult uint8
	/*HasExtensionFieldValues indicates if this message has any extensions and  */
	HasExtensionFieldValues bool
}

ParamExtAck Response from a PARAM_EXT_SET message.

func (*ParamExtAck) GetDialect

func (m *ParamExtAck) GetDialect() string

GetDialect gets the name of the dialect that defines the Message

func (*ParamExtAck) GetID

func (m *ParamExtAck) GetID() uint32

GetID gets the ID of the Message

func (*ParamExtAck) GetMessageName

func (m *ParamExtAck) GetMessageName() string

GetMessageName gets the name of the Message

func (*ParamExtAck) GetParamID

func (m *ParamExtAck) GetParamID() string

GetParamID decodes the null-terminated string in the ParamID

func (*ParamExtAck) GetParamValue

func (m *ParamExtAck) GetParamValue() string

GetParamValue decodes the null-terminated string in the ParamValue

func (*ParamExtAck) GetVersion

func (m *ParamExtAck) GetVersion() int

GetVersion gets the MAVLink version of the Message contents

func (*ParamExtAck) HasExtensionFields

func (m *ParamExtAck) HasExtensionFields() bool

HasExtensionFields returns true if the message definition contained extensions; false otherwise

func (*ParamExtAck) Read

func (m *ParamExtAck) Read(frame mavlink2.Frame) (err error)

Read sets the field values of the message from the raw message payload

func (*ParamExtAck) SetParamID

func (m *ParamExtAck) SetParamID(input string) (err error)

SetParamID encodes the input string to the ParamID array

func (*ParamExtAck) SetParamValue

func (m *ParamExtAck) SetParamValue(input string) (err error)

SetParamValue encodes the input string to the ParamValue array

func (*ParamExtAck) String

func (m *ParamExtAck) String() string

func (*ParamExtAck) Write

func (m *ParamExtAck) Write(version int) (output []byte, err error)

Write encodes the field values of the message to a byte array

type ParamExtRequestList

type ParamExtRequestList struct {
	/*TargetSystem System ID */
	TargetSystem uint8
	/*TargetComponent Component ID */
	TargetComponent uint8
	/*HasExtensionFieldValues indicates if this message has any extensions and  */
	HasExtensionFieldValues bool
}

ParamExtRequestList Request all parameters of this component. After this request, all parameters are emitted.

func (*ParamExtRequestList) GetDialect

func (m *ParamExtRequestList) GetDialect() string

GetDialect gets the name of the dialect that defines the Message

func (*ParamExtRequestList) GetID

func (m *ParamExtRequestList) GetID() uint32

GetID gets the ID of the Message

func (*ParamExtRequestList) GetMessageName

func (m *ParamExtRequestList) GetMessageName() string

GetMessageName gets the name of the Message

func (*ParamExtRequestList) GetVersion

func (m *ParamExtRequestList) GetVersion() int

GetVersion gets the MAVLink version of the Message contents

func (*ParamExtRequestList) HasExtensionFields

func (m *ParamExtRequestList) HasExtensionFields() bool

HasExtensionFields returns true if the message definition contained extensions; false otherwise

func (*ParamExtRequestList) Read

func (m *ParamExtRequestList) Read(frame mavlink2.Frame) (err error)

Read sets the field values of the message from the raw message payload

func (*ParamExtRequestList) String

func (m *ParamExtRequestList) String() string

func (*ParamExtRequestList) Write

func (m *ParamExtRequestList) Write(version int) (output []byte, err error)

Write encodes the field values of the message to a byte array

type ParamExtRequestRead

type ParamExtRequestRead struct {
	/*ParamIndex Parameter index. Set to -1 to use the Parameter ID field as identifier (else param_id will be ignored) */
	ParamIndex int16
	/*TargetSystem System ID */
	TargetSystem uint8
	/*TargetComponent Component ID */
	TargetComponent uint8
	/*ParamID 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 [16]byte
	/*HasExtensionFieldValues indicates if this message has any extensions and  */
	HasExtensionFieldValues bool
}

ParamExtRequestRead Request to read the value of a parameter with the either the param_id string id or param_index.

func (*ParamExtRequestRead) GetDialect

func (m *ParamExtRequestRead) GetDialect() string

GetDialect gets the name of the dialect that defines the Message

func (*ParamExtRequestRead) GetID

func (m *ParamExtRequestRead) GetID() uint32

GetID gets the ID of the Message

func (*ParamExtRequestRead) GetMessageName

func (m *ParamExtRequestRead) GetMessageName() string

GetMessageName gets the name of the Message

func (*ParamExtRequestRead) GetParamID

func (m *ParamExtRequestRead) GetParamID() string

GetParamID decodes the null-terminated string in the ParamID

func (*ParamExtRequestRead) GetVersion

func (m *ParamExtRequestRead) GetVersion() int

GetVersion gets the MAVLink version of the Message contents

func (*ParamExtRequestRead) HasExtensionFields

func (m *ParamExtRequestRead) HasExtensionFields() bool

HasExtensionFields returns true if the message definition contained extensions; false otherwise

func (*ParamExtRequestRead) Read

func (m *ParamExtRequestRead) Read(frame mavlink2.Frame) (err error)

Read sets the field values of the message from the raw message payload

func (*ParamExtRequestRead) SetParamID

func (m *ParamExtRequestRead) SetParamID(input string) (err error)

SetParamID encodes the input string to the ParamID array

func (*ParamExtRequestRead) String

func (m *ParamExtRequestRead) String() string

func (*ParamExtRequestRead) Write

func (m *ParamExtRequestRead) Write(version int) (output []byte, err error)

Write encodes the field values of the message to a byte array

type ParamExtSet

type ParamExtSet struct {
	/*TargetSystem System ID */
	TargetSystem uint8
	/*TargetComponent Component ID */
	TargetComponent uint8
	/*ParamID 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 [16]byte
	/*ParamValue Parameter value */
	ParamValue [128]byte
	/*ParamType Parameter type. */
	ParamType uint8
	/*HasExtensionFieldValues indicates if this message has any extensions and  */
	HasExtensionFieldValues bool
}

ParamExtSet 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.

func (*ParamExtSet) GetDialect

func (m *ParamExtSet) GetDialect() string

GetDialect gets the name of the dialect that defines the Message

func (*ParamExtSet) GetID

func (m *ParamExtSet) GetID() uint32

GetID gets the ID of the Message

func (*ParamExtSet) GetMessageName

func (m *ParamExtSet) GetMessageName() string

GetMessageName gets the name of the Message

func (*ParamExtSet) GetParamID

func (m *ParamExtSet) GetParamID() string

GetParamID decodes the null-terminated string in the ParamID

func (*ParamExtSet) GetParamValue

func (m *ParamExtSet) GetParamValue() string

GetParamValue decodes the null-terminated string in the ParamValue

func (*ParamExtSet) GetVersion

func (m *ParamExtSet) GetVersion() int

GetVersion gets the MAVLink version of the Message contents

func (*ParamExtSet) HasExtensionFields

func (m *ParamExtSet) HasExtensionFields() bool

HasExtensionFields returns true if the message definition contained extensions; false otherwise

func (*ParamExtSet) Read

func (m *ParamExtSet) Read(frame mavlink2.Frame) (err error)

Read sets the field values of the message from the raw message payload

func (*ParamExtSet) SetParamID

func (m *ParamExtSet) SetParamID(input string) (err error)

SetParamID encodes the input string to the ParamID array

func (*ParamExtSet) SetParamValue

func (m *ParamExtSet) SetParamValue(input string) (err error)

SetParamValue encodes the input string to the ParamValue array

func (*ParamExtSet) String

func (m *ParamExtSet) String() string

func (*ParamExtSet) Write

func (m *ParamExtSet) Write(version int) (output []byte, err error)

Write encodes the field values of the message to a byte array

type ParamExtValue

type ParamExtValue struct {
	/*ParamCount Total number of parameters */
	ParamCount uint16
	/*ParamIndex Index of this parameter */
	ParamIndex uint16
	/*ParamID 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 [16]byte
	/*ParamValue Parameter value */
	ParamValue [128]byte
	/*ParamType Parameter type. */
	ParamType uint8
	/*HasExtensionFieldValues indicates if this message has any extensions and  */
	HasExtensionFieldValues bool
}

ParamExtValue 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.

func (*ParamExtValue) GetDialect

func (m *ParamExtValue) GetDialect() string

GetDialect gets the name of the dialect that defines the Message

func (*ParamExtValue) GetID

func (m *ParamExtValue) GetID() uint32

GetID gets the ID of the Message

func (*ParamExtValue) GetMessageName

func (m *ParamExtValue) GetMessageName() string

GetMessageName gets the name of the Message

func (*ParamExtValue) GetParamID

func (m *ParamExtValue) GetParamID() string

GetParamID decodes the null-terminated string in the ParamID

func (*ParamExtValue) GetParamValue

func (m *ParamExtValue) GetParamValue() string

GetParamValue decodes the null-terminated string in the ParamValue

func (*ParamExtValue) GetVersion

func (m *ParamExtValue) GetVersion() int

GetVersion gets the MAVLink version of the Message contents

func (*ParamExtValue) HasExtensionFields

func (m *ParamExtValue) HasExtensionFields() bool

HasExtensionFields returns true if the message definition contained extensions; false otherwise

func (*ParamExtValue) Read

func (m *ParamExtValue) Read(frame mavlink2.Frame) (err error)

Read sets the field values of the message from the raw message payload

func (*ParamExtValue) SetParamID

func (m *ParamExtValue) SetParamID(input string) (err error)

SetParamID encodes the input string to the ParamID array

func (*ParamExtValue) SetParamValue

func (m *ParamExtValue) SetParamValue(input string) (err error)

SetParamValue encodes the input string to the ParamValue array

func (*ParamExtValue) String

func (m *ParamExtValue) String() string

func (*ParamExtValue) Write

func (m *ParamExtValue) Write(version int) (output []byte, err error)

Write encodes the field values of the message to a byte array

type ParamMapRC

type ParamMapRC struct {
	/*ParamValue0 Initial parameter value */
	ParamValue0 float32
	/*Scale Scale, maps the RC range [-1, 1] to a parameter value */
	Scale float32
	/*ParamValueMin Minimum param value. The protocol does not define if this overwrites an onboard minimum value. (Depends on implementation) */
	ParamValueMin float32
	/*ParamValueMax Maximum param value. The protocol does not define if this overwrites an onboard maximum value. (Depends on implementation) */
	ParamValueMax float32
	/*ParamIndex Parameter index. Send -1 to use the param ID field as identifier (else the param id will be ignored), send -2 to disable any existing map for this rc_channel_index. */
	ParamIndex int16
	/*TargetSystem System ID */
	TargetSystem uint8
	/*TargetComponent Component ID */
	TargetComponent uint8
	/*ParamID Onboard 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 [16]byte
	/*ParameterRCChannelIndex Index of parameter RC channel. Not equal to the RC channel id. Typically corresponds to a potentiometer-knob on the RC. */
	ParameterRCChannelIndex uint8
	/*HasExtensionFieldValues indicates if this message has any extensions and  */
	HasExtensionFieldValues bool
}

ParamMapRC Bind a RC channel to a parameter. The parameter should change according to the RC channel value.

func (*ParamMapRC) GetDialect

func (m *ParamMapRC) GetDialect() string

GetDialect gets the name of the dialect that defines the Message

func (*ParamMapRC) GetID

func (m *ParamMapRC) GetID() uint32

GetID gets the ID of the Message

func (*ParamMapRC) GetMessageName

func (m *ParamMapRC) GetMessageName() string

GetMessageName gets the name of the Message

func (*ParamMapRC) GetParamID

func (m *ParamMapRC) GetParamID() string

GetParamID decodes the null-terminated string in the ParamID

func (*ParamMapRC) GetVersion

func (m *ParamMapRC) GetVersion() int

GetVersion gets the MAVLink version of the Message contents

func (*ParamMapRC) HasExtensionFields

func (m *ParamMapRC) HasExtensionFields() bool

HasExtensionFields returns true if the message definition contained extensions; false otherwise

func (*ParamMapRC) Read

func (m *ParamMapRC) Read(frame mavlink2.Frame) (err error)

Read sets the field values of the message from the raw message payload

func (*ParamMapRC) SetParamID

func (m *ParamMapRC) SetParamID(input string) (err error)

SetParamID encodes the input string to the ParamID array

func (*ParamMapRC) String

func (m *ParamMapRC) String() string

func (*ParamMapRC) Write

func (m *ParamMapRC) Write(version int) (output []byte, err error)

Write encodes the field values of the message to a byte array

type ParamRequestList

type ParamRequestList struct {
	/*TargetSystem System ID */
	TargetSystem uint8
	/*TargetComponent Component ID */
	TargetComponent uint8
	/*HasExtensionFieldValues indicates if this message has any extensions and  */
	HasExtensionFieldValues bool
}

ParamRequestList 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

func (*ParamRequestList) GetDialect

func (m *ParamRequestList) GetDialect() string

GetDialect gets the name of the dialect that defines the Message

func (*ParamRequestList) GetID

func (m *ParamRequestList) GetID() uint32

GetID gets the ID of the Message

func (*ParamRequestList) GetMessageName

func (m *ParamRequestList) GetMessageName() string

GetMessageName gets the name of the Message

func (*ParamRequestList) GetVersion

func (m *ParamRequestList) GetVersion() int

GetVersion gets the MAVLink version of the Message contents

func (*ParamRequestList) HasExtensionFields

func (m *ParamRequestList) HasExtensionFields() bool

HasExtensionFields returns true if the message definition contained extensions; false otherwise

func (*ParamRequestList) Read

func (m *ParamRequestList) Read(frame mavlink2.Frame) (err error)

Read sets the field values of the message from the raw message payload

func (*ParamRequestList) String

func (m *ParamRequestList) String() string

func (*ParamRequestList) Write

func (m *ParamRequestList) Write(version int) (output []byte, err error)

Write encodes the field values of the message to a byte array

type ParamRequestRead

type ParamRequestRead struct {
	/*ParamIndex Parameter index. Send -1 to use the param ID field as identifier (else the param id will be ignored) */
	ParamIndex int16
	/*TargetSystem System ID */
	TargetSystem uint8
	/*TargetComponent Component ID */
	TargetComponent uint8
	/*ParamID Onboard 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 [16]byte
	/*HasExtensionFieldValues indicates if this message has any extensions and  */
	HasExtensionFieldValues bool
}

ParamRequestRead 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.

func (*ParamRequestRead) GetDialect

func (m *ParamRequestRead) GetDialect() string

GetDialect gets the name of the dialect that defines the Message

func (*ParamRequestRead) GetID

func (m *ParamRequestRead) GetID() uint32

GetID gets the ID of the Message

func (*ParamRequestRead) GetMessageName

func (m *ParamRequestRead) GetMessageName() string

GetMessageName gets the name of the Message

func (*ParamRequestRead) GetParamID

func (m *ParamRequestRead) GetParamID() string

GetParamID decodes the null-terminated string in the ParamID

func (*ParamRequestRead) GetVersion

func (m *ParamRequestRead) GetVersion() int

GetVersion gets the MAVLink version of the Message contents

func (*ParamRequestRead) HasExtensionFields

func (m *ParamRequestRead) HasExtensionFields() bool

HasExtensionFields returns true if the message definition contained extensions; false otherwise

func (*ParamRequestRead) Read

func (m *ParamRequestRead) Read(frame mavlink2.Frame) (err error)

Read sets the field values of the message from the raw message payload

func (*ParamRequestRead) SetParamID

func (m *ParamRequestRead) SetParamID(input string) (err error)

SetParamID encodes the input string to the ParamID array

func (*ParamRequestRead) String

func (m *ParamRequestRead) String() string

func (*ParamRequestRead) Write

func (m *ParamRequestRead) Write(version int) (output []byte, err error)

Write encodes the field values of the message to a byte array

type ParamSet

type ParamSet struct {
	/*ParamValue Onboard parameter value */
	ParamValue float32
	/*TargetSystem System ID */
	TargetSystem uint8
	/*TargetComponent Component ID */
	TargetComponent uint8
	/*ParamID Onboard 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 [16]byte
	/*ParamType Onboard parameter type. */
	ParamType uint8
	/*HasExtensionFieldValues indicates if this message has any extensions and  */
	HasExtensionFieldValues bool
}

ParamSet Set a parameter value (write new value to permanent storage). IMPORTANT: The receiving component should acknowledge the new parameter value by sending a PARAM_VALUE message to all communication partners. This will also ensure that multiple GCS all have an up-to-date list of all parameters. If the sending GCS did not receive a PARAM_VALUE message 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

func (*ParamSet) GetDialect

func (m *ParamSet) GetDialect() string

GetDialect gets the name of the dialect that defines the Message

func (*ParamSet) GetID

func (m *ParamSet) GetID() uint32

GetID gets the ID of the Message

func (*ParamSet) GetMessageName

func (m *ParamSet) GetMessageName() string

GetMessageName gets the name of the Message

func (*ParamSet) GetParamID

func (m *ParamSet) GetParamID() string

GetParamID decodes the null-terminated string in the ParamID

func (*ParamSet) GetVersion

func (m *ParamSet) GetVersion() int

GetVersion gets the MAVLink version of the Message contents

func (*ParamSet) HasExtensionFields

func (m *ParamSet) HasExtensionFields() bool

HasExtensionFields returns true if the message definition contained extensions; false otherwise

func (*ParamSet) Read

func (m *ParamSet) Read(frame mavlink2.Frame) (err error)

Read sets the field values of the message from the raw message payload

func (*ParamSet) SetParamID

func (m *ParamSet) SetParamID(input string) (err error)

SetParamID encodes the input string to the ParamID array

func (*ParamSet) String

func (m *ParamSet) String() string

func (*ParamSet) Write

func (m *ParamSet) Write(version int) (output []byte, err error)

Write encodes the field values of the message to a byte array

type ParamValue

type ParamValue struct {
	/*ParamValue Onboard parameter value */
	ParamValue float32
	/*ParamCount Total number of onboard parameters */
	ParamCount uint16
	/*ParamIndex Index of this onboard parameter */
	ParamIndex uint16
	/*ParamID Onboard 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 [16]byte
	/*ParamType Onboard parameter type. */
	ParamType uint8
	/*HasExtensionFieldValues indicates if this message has any extensions and  */
	HasExtensionFieldValues bool
}

ParamValue 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

func (*ParamValue) GetDialect

func (m *ParamValue) GetDialect() string

GetDialect gets the name of the dialect that defines the Message

func (*ParamValue) GetID

func (m *ParamValue) GetID() uint32

GetID gets the ID of the Message

func (*ParamValue) GetMessageName

func (m *ParamValue) GetMessageName() string

GetMessageName gets the name of the Message

func (*ParamValue) GetParamID

func (m *ParamValue) GetParamID() string

GetParamID decodes the null-terminated string in the ParamID

func (*ParamValue) GetVersion

func (m *ParamValue) GetVersion() int

GetVersion gets the MAVLink version of the Message contents

func (*ParamValue) HasExtensionFields

func (m *ParamValue) HasExtensionFields() bool

HasExtensionFields returns true if the message definition contained extensions; false otherwise

func (*ParamValue) Read

func (m *ParamValue) Read(frame mavlink2.Frame) (err error)

Read sets the field values of the message from the raw message payload

func (*ParamValue) SetParamID

func (m *ParamValue) SetParamID(input string) (err error)

SetParamID encodes the input string to the ParamID array

func (*ParamValue) String

func (m *ParamValue) String() string

func (*ParamValue) Write

func (m *ParamValue) Write(version int) (output []byte, err error)

Write encodes the field values of the message to a byte array

type Ping

type Ping struct {
	/*TimeUsec 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 the number. */
	TimeUsec uint64
	/*Seq PING sequence */
	Seq uint32
	/*TargetSystem 0: request ping from all receiving systems. If greater than 0: message is a ping response and number is the system id of the requesting system */
	TargetSystem uint8
	/*TargetComponent 0: request ping from all receiving components. If greater than 0: message is a ping response and number is the component id of the requesting component. */
	TargetComponent uint8
	/*HasExtensionFieldValues indicates if this message has any extensions and  */
	HasExtensionFieldValues bool
}

Ping 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

func (*Ping) GetDialect

func (m *Ping) GetDialect() string

GetDialect gets the name of the dialect that defines the Message

func (*Ping) GetID

func (m *Ping) GetID() uint32

GetID gets the ID of the Message

func (*Ping) GetMessageName

func (m *Ping) GetMessageName() string

GetMessageName gets the name of the Message

func (*Ping) GetVersion

func (m *Ping) GetVersion() int

GetVersion gets the MAVLink version of the Message contents

func (*Ping) HasExtensionFields

func (m *Ping) HasExtensionFields() bool

HasExtensionFields returns true if the message definition contained extensions; false otherwise

func (*Ping) Read

func (m *Ping) Read(frame mavlink2.Frame) (err error)

Read sets the field values of the message from the raw message payload

func (*Ping) String

func (m *Ping) String() string

func (*Ping) Write

func (m *Ping) Write(version int) (output []byte, err error)

Write encodes the field values of the message to a byte array

type PlayTune

type PlayTune struct {
	/*TargetSystem System ID */
	TargetSystem uint8
	/*TargetComponent Component ID */
	TargetComponent uint8
	/*Tune tune in board specific format */
	Tune [30]byte
	/*Tune2 tune extension (appended to tune) */
	Tune2 [200]byte
	/*HasExtensionFieldValues indicates if this message has any extensions and  */
	HasExtensionFieldValues bool
}

PlayTune Control vehicle tone generation (buzzer).

func (*PlayTune) GetDialect

func (m *PlayTune) GetDialect() string

GetDialect gets the name of the dialect that defines the Message

func (*PlayTune) GetID

func (m *PlayTune) GetID() uint32

GetID gets the ID of the Message

func (*PlayTune) GetMessageName

func (m *PlayTune) GetMessageName() string

GetMessageName gets the name of the Message

func (*PlayTune) GetTune

func (m *PlayTune) GetTune() string

GetTune decodes the null-terminated string in the Tune

func (*PlayTune) GetTune2

func (m *PlayTune) GetTune2() string

GetTune2 decodes the null-terminated string in the Tune2

func (*PlayTune) GetVersion

func (m *PlayTune) GetVersion() int

GetVersion gets the MAVLink version of the Message contents

func (*PlayTune) HasExtensionFields

func (m *PlayTune) HasExtensionFields() bool

HasExtensionFields returns true if the message definition contained extensions; false otherwise

func (*PlayTune) Read

func (m *PlayTune) Read(frame mavlink2.Frame) (err error)

Read sets the field values of the message from the raw message payload

func (*PlayTune) SetTune

func (m *PlayTune) SetTune(input string) (err error)

SetTune encodes the input string to the Tune array

func (*PlayTune) SetTune2

func (m *PlayTune) SetTune2(input string) (err error)

SetTune2 encodes the input string to the Tune2 array

func (*PlayTune) String

func (m *PlayTune) String() string

func (*PlayTune) Write

func (m *PlayTune) Write(version int) (output []byte, err error)

Write encodes the field values of the message to a byte array

type PlayTuneV2

type PlayTuneV2 struct {
	/*Format Tune format */
	Format uint32
	/*TargetSystem System ID */
	TargetSystem uint8
	/*TargetComponent Component ID */
	TargetComponent uint8
	/*Tune Tune definition as a NULL-terminated string. */
	Tune [248]byte
	/*HasExtensionFieldValues indicates if this message has any extensions and  */
	HasExtensionFieldValues bool
}

PlayTuneV2 Play vehicle tone/tune (buzzer). Supersedes message PLAY_TUNE.

func (*PlayTuneV2) GetDialect

func (m *PlayTuneV2) GetDialect() string

GetDialect gets the name of the dialect that defines the Message

func (*PlayTuneV2) GetID

func (m *PlayTuneV2) GetID() uint32

GetID gets the ID of the Message

func (*PlayTuneV2) GetMessageName

func (m *PlayTuneV2) GetMessageName() string

GetMessageName gets the name of the Message

func (*PlayTuneV2) GetTune

func (m *PlayTuneV2) GetTune() string

GetTune decodes the null-terminated string in the Tune

func (*PlayTuneV2) GetVersion

func (m *PlayTuneV2) GetVersion() int

GetVersion gets the MAVLink version of the Message contents

func (*PlayTuneV2) HasExtensionFields

func (m *PlayTuneV2) HasExtensionFields() bool

HasExtensionFields returns true if the message definition contained extensions; false otherwise

func (*PlayTuneV2) Read

func (m *PlayTuneV2) Read(frame mavlink2.Frame) (err error)

Read sets the field values of the message from the raw message payload

func (*PlayTuneV2) SetTune

func (m *PlayTuneV2) SetTune(input string) (err error)

SetTune encodes the input string to the Tune array

func (*PlayTuneV2) String

func (m *PlayTuneV2) String() string

func (*PlayTuneV2) Write

func (m *PlayTuneV2) Write(version int) (output []byte, err error)

Write encodes the field values of the message to a byte array

type PositionTargetGlobalInt

type PositionTargetGlobalInt struct {
	/*TimeBootMs Timestamp (time since system boot). The rationale for the timestamp in the setpoint is to allow the system to compensate for the transport delay of the setpoint. This allows the system to compensate processing latency. */
	TimeBootMs uint32
	/*LatInt X Position in WGS84 frame */
	LatInt int32
	/*LonInt Y Position in WGS84 frame */
	LonInt int32
	/*Alt Altitude (MSL, AGL or relative to home altitude, depending on frame) */
	Alt float32
	/*Vx X velocity in NED frame */
	Vx float32
	/*Vy Y velocity in NED frame */
	Vy float32
	/*Vz Z velocity in NED frame */
	Vz float32
	/*Afx X acceleration or force (if bit 10 of type_mask is set) in NED frame in meter / s^2 or N */
	Afx float32
	/*Afy Y acceleration or force (if bit 10 of type_mask is set) in NED frame in meter / s^2 or N */
	Afy float32
	/*Afz Z acceleration or force (if bit 10 of type_mask is set) in NED frame in meter / s^2 or N */
	Afz float32
	/*Yaw yaw setpoint */
	Yaw float32
	/*YawRate yaw rate setpoint */
	YawRate float32
	/*TypeMask Bitmap to indicate which dimensions should be ignored by the vehicle. */
	TypeMask uint16
	/*CoordinateFrame Valid options are: MAV_FRAME_GLOBAL_INT = 5, MAV_FRAME_GLOBAL_RELATIVE_ALT_INT = 6, MAV_FRAME_GLOBAL_TERRAIN_ALT_INT = 11 */
	CoordinateFrame uint8
	/*HasExtensionFieldValues indicates if this message has any extensions and  */
	HasExtensionFieldValues bool
}

PositionTargetGlobalInt 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.

func (*PositionTargetGlobalInt) GetDialect

func (m *PositionTargetGlobalInt) GetDialect() string

GetDialect gets the name of the dialect that defines the Message

func (*PositionTargetGlobalInt) GetID

func (m *PositionTargetGlobalInt) GetID() uint32

GetID gets the ID of the Message

func (*PositionTargetGlobalInt) GetMessageName

func (m *PositionTargetGlobalInt) GetMessageName() string

GetMessageName gets the name of the Message

func (*PositionTargetGlobalInt) GetVersion

func (m *PositionTargetGlobalInt) GetVersion() int

GetVersion gets the MAVLink version of the Message contents

func (*PositionTargetGlobalInt) HasExtensionFields

func (m *PositionTargetGlobalInt) HasExtensionFields() bool

HasExtensionFields returns true if the message definition contained extensions; false otherwise

func (*PositionTargetGlobalInt) Read

func (m *PositionTargetGlobalInt) Read(frame mavlink2.Frame) (err error)

Read sets the field values of the message from the raw message payload

func (*PositionTargetGlobalInt) String

func (m *PositionTargetGlobalInt) String() string

func (*PositionTargetGlobalInt) Write

func (m *PositionTargetGlobalInt) Write(version int) (output []byte, err error)

Write encodes the field values of the message to a byte array

type PositionTargetLocalNed

type PositionTargetLocalNed struct {
	/*TimeBootMs Timestamp (time since system boot). */
	TimeBootMs uint32
	/*X X Position in NED frame */
	X float32
	/*Y Y Position in NED frame */
	Y float32
	/*Z Z Position in NED frame (note, altitude is negative in NED) */
	Z float32
	/*Vx X velocity in NED frame */
	Vx float32
	/*Vy Y velocity in NED frame */
	Vy float32
	/*Vz Z velocity in NED frame */
	Vz float32
	/*Afx X acceleration or force (if bit 10 of type_mask is set) in NED frame in meter / s^2 or N */
	Afx float32
	/*Afy Y acceleration or force (if bit 10 of type_mask is set) in NED frame in meter / s^2 or N */
	Afy float32
	/*Afz Z acceleration or force (if bit 10 of type_mask is set) in NED frame in meter / s^2 or N */
	Afz float32
	/*Yaw yaw setpoint */
	Yaw float32
	/*YawRate yaw rate setpoint */
	YawRate float32
	/*TypeMask Bitmap to indicate which dimensions should be ignored by the vehicle. */
	TypeMask uint16
	/*CoordinateFrame Valid options are: MAV_FRAME_LOCAL_NED = 1, MAV_FRAME_LOCAL_OFFSET_NED = 7, MAV_FRAME_BODY_NED = 8, MAV_FRAME_BODY_OFFSET_NED = 9 */
	CoordinateFrame uint8
	/*HasExtensionFieldValues indicates if this message has any extensions and  */
	HasExtensionFieldValues bool
}

PositionTargetLocalNed 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.

func (*PositionTargetLocalNed) GetDialect

func (m *PositionTargetLocalNed) GetDialect() string

GetDialect gets the name of the dialect that defines the Message

func (*PositionTargetLocalNed) GetID

func (m *PositionTargetLocalNed) GetID() uint32

GetID gets the ID of the Message

func (*PositionTargetLocalNed) GetMessageName

func (m *PositionTargetLocalNed) GetMessageName() string

GetMessageName gets the name of the Message

func (*PositionTargetLocalNed) GetVersion

func (m *PositionTargetLocalNed) GetVersion() int

GetVersion gets the MAVLink version of the Message contents

func (*PositionTargetLocalNed) HasExtensionFields

func (m *PositionTargetLocalNed) HasExtensionFields() bool

HasExtensionFields returns true if the message definition contained extensions; false otherwise

func (*PositionTargetLocalNed) Read

func (m *PositionTargetLocalNed) Read(frame mavlink2.Frame) (err error)

Read sets the field values of the message from the raw message payload

func (*PositionTargetLocalNed) String

func (m *PositionTargetLocalNed) String() string

func (*PositionTargetLocalNed) Write

func (m *PositionTargetLocalNed) Write(version int) (output []byte, err error)

Write encodes the field values of the message to a byte array

type PowerStatus

type PowerStatus struct {
	/*Vcc 5V rail voltage. */
	Vcc uint16
	/*Vservo Servo rail voltage. */
	Vservo uint16
	/*Flags Bitmap of power supply status flags. */
	Flags uint16
	/*HasExtensionFieldValues indicates if this message has any extensions and  */
	HasExtensionFieldValues bool
}

PowerStatus Power supply status

func (*PowerStatus) GetDialect

func (m *PowerStatus) GetDialect() string

GetDialect gets the name of the dialect that defines the Message

func (*PowerStatus) GetID

func (m *PowerStatus) GetID() uint32

GetID gets the ID of the Message

func (*PowerStatus) GetMessageName

func (m *PowerStatus) GetMessageName() string

GetMessageName gets the name of the Message

func (*PowerStatus) GetVersion

func (m *PowerStatus) GetVersion() int

GetVersion gets the MAVLink version of the Message contents

func (*PowerStatus) HasExtensionFields

func (m *PowerStatus) HasExtensionFields() bool

HasExtensionFields returns true if the message definition contained extensions; false otherwise

func (*PowerStatus) Read

func (m *PowerStatus) Read(frame mavlink2.Frame) (err error)

Read sets the field values of the message from the raw message payload

func (*PowerStatus) String

func (m *PowerStatus) String() string

func (*PowerStatus) Write

func (m *PowerStatus) Write(version int) (output []byte, err error)

Write encodes the field values of the message to a byte array

type ProtocolVersion

type ProtocolVersion struct {
	/*Version Currently active MAVLink version number * 100: v1.0 is 100, v2.0 is 200, etc. */
	Version uint16
	/*MinVersion Minimum MAVLink version supported */
	MinVersion uint16
	/*MaxVersion Maximum MAVLink version supported (set to the same value as version by default) */
	MaxVersion uint16
	/*SpecVersionHash The first 8 bytes (not characters printed in hex!) of the git hash. */
	SpecVersionHash [8]uint8
	/*LibraryVersionHash The first 8 bytes (not characters printed in hex!) of the git hash. */
	LibraryVersionHash [8]uint8
	/*HasExtensionFieldValues indicates if this message has any extensions and  */
	HasExtensionFieldValues bool
}

ProtocolVersion Version and capability of protocol version. This message is the response to REQUEST_PROTOCOL_VERSION and is used as part of the handshaking to establish which MAVLink version should be used on the network. Every node should respond to REQUEST_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.

func (*ProtocolVersion) GetDialect

func (m *ProtocolVersion) GetDialect() string

GetDialect gets the name of the dialect that defines the Message

func (*ProtocolVersion) GetID

func (m *ProtocolVersion) GetID() uint32

GetID gets the ID of the Message

func (*ProtocolVersion) GetMessageName

func (m *ProtocolVersion) GetMessageName() string

GetMessageName gets the name of the Message

func (*ProtocolVersion) GetVersion

func (m *ProtocolVersion) GetVersion() int

GetVersion gets the MAVLink version of the Message contents

func (*ProtocolVersion) HasExtensionFields

func (m *ProtocolVersion) HasExtensionFields() bool

HasExtensionFields returns true if the message definition contained extensions; false otherwise

func (*ProtocolVersion) Read

func (m *ProtocolVersion) Read(frame mavlink2.Frame) (err error)

Read sets the field values of the message from the raw message payload

func (*ProtocolVersion) String

func (m *ProtocolVersion) String() string

func (*ProtocolVersion) Write

func (m *ProtocolVersion) Write(version int) (output []byte, err error)

Write encodes the field values of the message to a byte array

type RCChannels

type RCChannels struct {
	/*TimeBootMs Timestamp (time since system boot). */
	TimeBootMs uint32
	/*Chan1Raw RC channel 1 value. */
	Chan1Raw uint16
	/*Chan2Raw RC channel 2 value. */
	Chan2Raw uint16
	/*Chan3Raw RC channel 3 value. */
	Chan3Raw uint16
	/*Chan4Raw RC channel 4 value. */
	Chan4Raw uint16
	/*Chan5Raw RC channel 5 value. */
	Chan5Raw uint16
	/*Chan6Raw RC channel 6 value. */
	Chan6Raw uint16
	/*Chan7Raw RC channel 7 value. */
	Chan7Raw uint16
	/*Chan8Raw RC channel 8 value. */
	Chan8Raw uint16
	/*Chan9Raw RC channel 9 value. */
	Chan9Raw uint16
	/*Chan10Raw RC channel 10 value. */
	Chan10Raw uint16
	/*Chan11Raw RC channel 11 value. */
	Chan11Raw uint16
	/*Chan12Raw RC channel 12 value. */
	Chan12Raw uint16
	/*Chan13Raw RC channel 13 value. */
	Chan13Raw uint16
	/*Chan14Raw RC channel 14 value. */
	Chan14Raw uint16
	/*Chan15Raw RC channel 15 value. */
	Chan15Raw uint16
	/*Chan16Raw RC channel 16 value. */
	Chan16Raw uint16
	/*Chan17Raw RC channel 17 value. */
	Chan17Raw uint16
	/*Chan18Raw RC channel 18 value. */
	Chan18Raw uint16
	/*Chancount Total number of RC channels being received. This can be larger than 18, indicating that more channels are available but not given in this message. This value should be 0 when no RC channels are available. */
	Chancount uint8
	/*RSSI Receive signal strength indicator in device-dependent units/scale. Values: [0-254], 255: invalid/unknown. */
	RSSI uint8
	/*HasExtensionFieldValues indicates if this message has any extensions and  */
	HasExtensionFieldValues bool
}

RCChannels 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.

func (*RCChannels) GetDialect

func (m *RCChannels) GetDialect() string

GetDialect gets the name of the dialect that defines the Message

func (*RCChannels) GetID

func (m *RCChannels) GetID() uint32

GetID gets the ID of the Message

func (*RCChannels) GetMessageName

func (m *RCChannels) GetMessageName() string

GetMessageName gets the name of the Message

func (*RCChannels) GetVersion

func (m *RCChannels) GetVersion() int

GetVersion gets the MAVLink version of the Message contents

func (*RCChannels) HasExtensionFields

func (m *RCChannels) HasExtensionFields() bool

HasExtensionFields returns true if the message definition contained extensions; false otherwise

func (*RCChannels) Read

func (m *RCChannels) Read(frame mavlink2.Frame) (err error)

Read sets the field values of the message from the raw message payload

func (*RCChannels) String

func (m *RCChannels) String() string

func (*RCChannels) Write

func (m *RCChannels) Write(version int) (output []byte, err error)

Write encodes the field values of the message to a byte array

type RCChannelsOverrIDe

type RCChannelsOverrIDe struct {
	/*Chan1Raw RC channel 1 value. A value of UINT16_MAX means to ignore this field. */
	Chan1Raw uint16
	/*Chan2Raw RC channel 2 value. A value of UINT16_MAX means to ignore this field. */
	Chan2Raw uint16
	/*Chan3Raw RC channel 3 value. A value of UINT16_MAX means to ignore this field. */
	Chan3Raw uint16
	/*Chan4Raw RC channel 4 value. A value of UINT16_MAX means to ignore this field. */
	Chan4Raw uint16
	/*Chan5Raw RC channel 5 value. A value of UINT16_MAX means to ignore this field. */
	Chan5Raw uint16
	/*Chan6Raw RC channel 6 value. A value of UINT16_MAX means to ignore this field. */
	Chan6Raw uint16
	/*Chan7Raw RC channel 7 value. A value of UINT16_MAX means to ignore this field. */
	Chan7Raw uint16
	/*Chan8Raw RC channel 8 value. A value of UINT16_MAX means to ignore this field. */
	Chan8Raw uint16
	/*TargetSystem System ID */
	TargetSystem uint8
	/*TargetComponent Component ID */
	TargetComponent uint8
	/*Chan9Raw RC channel 9 value. A value of 0 or UINT16_MAX means to ignore this field. */
	Chan9Raw uint16
	/*Chan10Raw RC channel 10 value. A value of 0 or UINT16_MAX means to ignore this field. */
	Chan10Raw uint16
	/*Chan11Raw RC channel 11 value. A value of 0 or UINT16_MAX means to ignore this field. */
	Chan11Raw uint16
	/*Chan12Raw RC channel 12 value. A value of 0 or UINT16_MAX means to ignore this field. */
	Chan12Raw uint16
	/*Chan13Raw RC channel 13 value. A value of 0 or UINT16_MAX means to ignore this field. */
	Chan13Raw uint16
	/*Chan14Raw RC channel 14 value. A value of 0 or UINT16_MAX means to ignore this field. */
	Chan14Raw uint16
	/*Chan15Raw RC channel 15 value. A value of 0 or UINT16_MAX means to ignore this field. */
	Chan15Raw uint16
	/*Chan16Raw RC channel 16 value. A value of 0 or UINT16_MAX means to ignore this field. */
	Chan16Raw uint16
	/*Chan17Raw RC channel 17 value. A value of 0 or UINT16_MAX means to ignore this field. */
	Chan17Raw uint16
	/*Chan18Raw RC channel 18 value. A value of 0 or UINT16_MAX means to ignore this field. */
	Chan18Raw uint16
	/*HasExtensionFieldValues indicates if this message has any extensions and  */
	HasExtensionFieldValues bool
}

RCChannelsOverrIDe The RAW values of the RC channels sent to the MAV to override info received from the RC radio. A value of UINT16_MAX means no change to that channel. A value of 0 means control of that channel should be released back to the RC radio. The standard PPM modulation is as follows: 1000 microseconds: 0%, 2000 microseconds: 100%. Individual receivers/transmitters might violate this specification.

func (*RCChannelsOverrIDe) GetDialect

func (m *RCChannelsOverrIDe) GetDialect() string

GetDialect gets the name of the dialect that defines the Message

func (*RCChannelsOverrIDe) GetID

func (m *RCChannelsOverrIDe) GetID() uint32

GetID gets the ID of the Message

func (*RCChannelsOverrIDe) GetMessageName

func (m *RCChannelsOverrIDe) GetMessageName() string

GetMessageName gets the name of the Message

func (*RCChannelsOverrIDe) GetVersion

func (m *RCChannelsOverrIDe) GetVersion() int

GetVersion gets the MAVLink version of the Message contents

func (*RCChannelsOverrIDe) HasExtensionFields

func (m *RCChannelsOverrIDe) HasExtensionFields() bool

HasExtensionFields returns true if the message definition contained extensions; false otherwise

func (*RCChannelsOverrIDe) Read

func (m *RCChannelsOverrIDe) Read(frame mavlink2.Frame) (err error)

Read sets the field values of the message from the raw message payload

func (*RCChannelsOverrIDe) String

func (m *RCChannelsOverrIDe) String() string

func (*RCChannelsOverrIDe) Write

func (m *RCChannelsOverrIDe) Write(version int) (output []byte, err error)

Write encodes the field values of the message to a byte array

type RCChannelsRaw

type RCChannelsRaw struct {
	/*TimeBootMs Timestamp (time since system boot). */
	TimeBootMs uint32
	/*Chan1Raw RC channel 1 value. */
	Chan1Raw uint16
	/*Chan2Raw RC channel 2 value. */
	Chan2Raw uint16
	/*Chan3Raw RC channel 3 value. */
	Chan3Raw uint16
	/*Chan4Raw RC channel 4 value. */
	Chan4Raw uint16
	/*Chan5Raw RC channel 5 value. */
	Chan5Raw uint16
	/*Chan6Raw RC channel 6 value. */
	Chan6Raw uint16
	/*Chan7Raw RC channel 7 value. */
	Chan7Raw uint16
	/*Chan8Raw RC channel 8 value. */
	Chan8Raw uint16
	/*Port Servo output port (set of 8 outputs = 1 port). Flight stacks running on Pixhawk should use: 0 = MAIN, 1 = AUX. */
	Port uint8
	/*RSSI Receive signal strength indicator in device-dependent units/scale. Values: [0-254], 255: invalid/unknown. */
	RSSI uint8
	/*HasExtensionFieldValues indicates if this message has any extensions and  */
	HasExtensionFieldValues bool
}

RCChannelsRaw 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.

func (*RCChannelsRaw) GetDialect

func (m *RCChannelsRaw) GetDialect() string

GetDialect gets the name of the dialect that defines the Message

func (*RCChannelsRaw) GetID

func (m *RCChannelsRaw) GetID() uint32

GetID gets the ID of the Message

func (*RCChannelsRaw) GetMessageName

func (m *RCChannelsRaw) GetMessageName() string

GetMessageName gets the name of the Message

func (*RCChannelsRaw) GetVersion

func (m *RCChannelsRaw) GetVersion() int

GetVersion gets the MAVLink version of the Message contents

func (*RCChannelsRaw) HasExtensionFields

func (m *RCChannelsRaw) HasExtensionFields() bool

HasExtensionFields returns true if the message definition contained extensions; false otherwise

func (*RCChannelsRaw) Read

func (m *RCChannelsRaw) Read(frame mavlink2.Frame) (err error)

Read sets the field values of the message from the raw message payload

func (*RCChannelsRaw) String

func (m *RCChannelsRaw) String() string

func (*RCChannelsRaw) Write

func (m *RCChannelsRaw) Write(version int) (output []byte, err error)

Write encodes the field values of the message to a byte array

type RCChannelsScaled

type RCChannelsScaled struct {
	/*TimeBootMs Timestamp (time since system boot). */
	TimeBootMs uint32
	/*Chan1Scaled RC channel 1 value scaled. */
	Chan1Scaled int16
	/*Chan2Scaled RC channel 2 value scaled. */
	Chan2Scaled int16
	/*Chan3Scaled RC channel 3 value scaled. */
	Chan3Scaled int16
	/*Chan4Scaled RC channel 4 value scaled. */
	Chan4Scaled int16
	/*Chan5Scaled RC channel 5 value scaled. */
	Chan5Scaled int16
	/*Chan6Scaled RC channel 6 value scaled. */
	Chan6Scaled int16
	/*Chan7Scaled RC channel 7 value scaled. */
	Chan7Scaled int16
	/*Chan8Scaled RC channel 8 value scaled. */
	Chan8Scaled int16
	/*Port Servo output port (set of 8 outputs = 1 port). Flight stacks running on Pixhawk should use: 0 = MAIN, 1 = AUX. */
	Port uint8
	/*RSSI Receive signal strength indicator in device-dependent units/scale. Values: [0-254], 255: invalid/unknown. */
	RSSI uint8
	/*HasExtensionFieldValues indicates if this message has any extensions and  */
	HasExtensionFieldValues bool
}

RCChannelsScaled The scaled values of the RC channels received: (-100%) -10000, (0%) 0, (100%) 10000. Channels that are inactive should be set to UINT16_MAX.

func (*RCChannelsScaled) GetDialect

func (m *RCChannelsScaled) GetDialect() string

GetDialect gets the name of the dialect that defines the Message

func (*RCChannelsScaled) GetID

func (m *RCChannelsScaled) GetID() uint32

GetID gets the ID of the Message

func (*RCChannelsScaled) GetMessageName

func (m *RCChannelsScaled) GetMessageName() string

GetMessageName gets the name of the Message

func (*RCChannelsScaled) GetVersion

func (m *RCChannelsScaled) GetVersion() int

GetVersion gets the MAVLink version of the Message contents

func (*RCChannelsScaled) HasExtensionFields

func (m *RCChannelsScaled) HasExtensionFields() bool

HasExtensionFields returns true if the message definition contained extensions; false otherwise

func (*RCChannelsScaled) Read

func (m *RCChannelsScaled) Read(frame mavlink2.Frame) (err error)

Read sets the field values of the message from the raw message payload

func (*RCChannelsScaled) String

func (m *RCChannelsScaled) String() string

func (*RCChannelsScaled) Write

func (m *RCChannelsScaled) Write(version int) (output []byte, err error)

Write encodes the field values of the message to a byte array

type RadioStatus

type RadioStatus struct {
	/*Rxerrors Count of radio packet receive errors (since boot). */
	Rxerrors uint16
	/*Fixed Count of error corrected radio packets (since boot). */
	Fixed uint16
	/*RSSI Local (message sender) recieved signal strength indication in device-dependent units/scale. Values: [0-254], 255: invalid/unknown. */
	RSSI uint8
	/*RemRSSI Remote (message receiver) signal strength indication in device-dependent units/scale. Values: [0-254], 255: invalid/unknown. */
	RemRSSI uint8
	/*Txbuf Remaining free transmitter buffer space. */
	Txbuf uint8
	/*Noise Local background noise level. These are device dependent RSSI values (scale as approx 2x dB on SiK radios). Values: [0-254], 255: invalid/unknown. */
	Noise uint8
	/*Remnoise Remote background noise level. These are device dependent RSSI values (scale as approx 2x dB on SiK radios). Values: [0-254], 255: invalid/unknown. */
	Remnoise uint8
	/*HasExtensionFieldValues indicates if this message has any extensions and  */
	HasExtensionFieldValues bool
}

RadioStatus Status generated by radio and injected into MAVLink stream.

func (*RadioStatus) GetDialect

func (m *RadioStatus) GetDialect() string

GetDialect gets the name of the dialect that defines the Message

func (*RadioStatus) GetID

func (m *RadioStatus) GetID() uint32

GetID gets the ID of the Message

func (*RadioStatus) GetMessageName

func (m *RadioStatus) GetMessageName() string

GetMessageName gets the name of the Message

func (*RadioStatus) GetVersion

func (m *RadioStatus) GetVersion() int

GetVersion gets the MAVLink version of the Message contents

func (*RadioStatus) HasExtensionFields

func (m *RadioStatus) HasExtensionFields() bool

HasExtensionFields returns true if the message definition contained extensions; false otherwise

func (*RadioStatus) Read

func (m *RadioStatus) Read(frame mavlink2.Frame) (err error)

Read sets the field values of the message from the raw message payload

func (*RadioStatus) String

func (m *RadioStatus) String() string

func (*RadioStatus) Write

func (m *RadioStatus) Write(version int) (output []byte, err error)

Write encodes the field values of the message to a byte array

type RawIMU

type RawIMU struct {
	/*TimeUsec 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 the number. */
	TimeUsec uint64
	/*Xacc X acceleration (raw) */
	Xacc int16
	/*Yacc Y acceleration (raw) */
	Yacc int16
	/*Zacc Z acceleration (raw) */
	Zacc int16
	/*Xgyro Angular speed around X axis (raw) */
	Xgyro int16
	/*Ygyro Angular speed around Y axis (raw) */
	Ygyro int16
	/*Zgyro Angular speed around Z axis (raw) */
	Zgyro int16
	/*Xmag X Magnetic field (raw) */
	Xmag int16
	/*Ymag Y Magnetic field (raw) */
	Ymag int16
	/*Zmag Z Magnetic field (raw) */
	Zmag int16
	/*ID Id. Ids are numbered from 0 and map to IMUs numbered from 1 (e.g. IMU1 will have a message with id=0) */
	ID uint8
	/*Temperature Temperature, 0: IMU does not provide temperature values. If the IMU is at 0C it must send 1 (0.01C). */
	Temperature int16
	/*HasExtensionFieldValues indicates if this message has any extensions and  */
	HasExtensionFieldValues bool
}

RawIMU 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.

func (*RawIMU) GetDialect

func (m *RawIMU) GetDialect() string

GetDialect gets the name of the dialect that defines the Message

func (*RawIMU) GetID

func (m *RawIMU) GetID() uint32

GetID gets the ID of the Message

func (*RawIMU) GetMessageName

func (m *RawIMU) GetMessageName() string

GetMessageName gets the name of the Message

func (*RawIMU) GetVersion

func (m *RawIMU) GetVersion() int

GetVersion gets the MAVLink version of the Message contents

func (*RawIMU) HasExtensionFields

func (m *RawIMU) HasExtensionFields() bool

HasExtensionFields returns true if the message definition contained extensions; false otherwise

func (*RawIMU) Read

func (m *RawIMU) Read(frame mavlink2.Frame) (err error)

Read sets the field values of the message from the raw message payload

func (*RawIMU) String

func (m *RawIMU) String() string

func (*RawIMU) Write

func (m *RawIMU) Write(version int) (output []byte, err error)

Write encodes the field values of the message to a byte array

type RawPressure

type RawPressure struct {
	/*TimeUsec 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 the number. */
	TimeUsec uint64
	/*PressAbs Absolute pressure (raw) */
	PressAbs int16
	/*PressDiff1 Differential pressure 1 (raw, 0 if nonexistent) */
	PressDiff1 int16
	/*PressDiff2 Differential pressure 2 (raw, 0 if nonexistent) */
	PressDiff2 int16
	/*Temperature Raw Temperature measurement (raw) */
	Temperature int16
	/*HasExtensionFieldValues indicates if this message has any extensions and  */
	HasExtensionFieldValues bool
}

RawPressure 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.

func (*RawPressure) GetDialect

func (m *RawPressure) GetDialect() string

GetDialect gets the name of the dialect that defines the Message

func (*RawPressure) GetID

func (m *RawPressure) GetID() uint32

GetID gets the ID of the Message

func (*RawPressure) GetMessageName

func (m *RawPressure) GetMessageName() string

GetMessageName gets the name of the Message

func (*RawPressure) GetVersion

func (m *RawPressure) GetVersion() int

GetVersion gets the MAVLink version of the Message contents

func (*RawPressure) HasExtensionFields

func (m *RawPressure) HasExtensionFields() bool

HasExtensionFields returns true if the message definition contained extensions; false otherwise

func (*RawPressure) Read

func (m *RawPressure) Read(frame mavlink2.Frame) (err error)

Read sets the field values of the message from the raw message payload

func (*RawPressure) String

func (m *RawPressure) String() string

func (*RawPressure) Write

func (m *RawPressure) Write(version int) (output []byte, err error)

Write encodes the field values of the message to a byte array

type RequestDataStream

type RequestDataStream struct {
	/*ReqMessageRate The requested message rate */
	ReqMessageRate uint16
	/*TargetSystem The target requested to send the message stream. */
	TargetSystem uint8
	/*TargetComponent The target requested to send the message stream. */
	TargetComponent uint8
	/*ReqStreamID The ID of the requested data stream */
	ReqStreamID uint8
	/*StartStop 1 to start sending, 0 to stop sending. */
	StartStop uint8
	/*HasExtensionFieldValues indicates if this message has any extensions and  */
	HasExtensionFieldValues bool
}

RequestDataStream Request a data stream.

func (*RequestDataStream) GetDialect

func (m *RequestDataStream) GetDialect() string

GetDialect gets the name of the dialect that defines the Message

func (*RequestDataStream) GetID

func (m *RequestDataStream) GetID() uint32

GetID gets the ID of the Message

func (*RequestDataStream) GetMessageName

func (m *RequestDataStream) GetMessageName() string

GetMessageName gets the name of the Message

func (*RequestDataStream) GetVersion

func (m *RequestDataStream) GetVersion() int

GetVersion gets the MAVLink version of the Message contents

func (*RequestDataStream) HasExtensionFields

func (m *RequestDataStream) HasExtensionFields() bool

HasExtensionFields returns true if the message definition contained extensions; false otherwise

func (*RequestDataStream) Read

func (m *RequestDataStream) Read(frame mavlink2.Frame) (err error)

Read sets the field values of the message from the raw message payload

func (*RequestDataStream) String

func (m *RequestDataStream) String() string

func (*RequestDataStream) Write

func (m *RequestDataStream) Write(version int) (output []byte, err error)

Write encodes the field values of the message to a byte array

type ResouRCeRequest

type ResouRCeRequest struct {
	/*RequestID Request ID. This ID should be re-used when sending back URI contents */
	RequestID uint8
	/*URIType The type of requested URI. 0 = a file via URL. 1 = a UAVCAN binary */
	URIType uint8
	/*URI The requested unique resource identifier (URI). It is not necessarily a straight domain name (depends on the URI type enum) */
	URI [120]uint8
	/*TransferType The way the autopilot wants to receive the URI. 0 = MAVLink FTP. 1 = binary stream. */
	TransferType uint8
	/*Storage The storage path the autopilot wants the URI to be stored in. Will only be valid if the transfer_type has a storage associated (e.g. MAVLink FTP). */
	Storage [120]uint8
	/*HasExtensionFieldValues indicates if this message has any extensions and  */
	HasExtensionFieldValues bool
}

ResouRCeRequest The autopilot is requesting a resource (file, binary, other type of data)

func (*ResouRCeRequest) GetDialect

func (m *ResouRCeRequest) GetDialect() string

GetDialect gets the name of the dialect that defines the Message

func (*ResouRCeRequest) GetID

func (m *ResouRCeRequest) GetID() uint32

GetID gets the ID of the Message

func (*ResouRCeRequest) GetMessageName

func (m *ResouRCeRequest) GetMessageName() string

GetMessageName gets the name of the Message

func (*ResouRCeRequest) GetVersion

func (m *ResouRCeRequest) GetVersion() int

GetVersion gets the MAVLink version of the Message contents

func (*ResouRCeRequest) HasExtensionFields

func (m *ResouRCeRequest) HasExtensionFields() bool

HasExtensionFields returns true if the message definition contained extensions; false otherwise

func (*ResouRCeRequest) Read

func (m *ResouRCeRequest) Read(frame mavlink2.Frame) (err error)

Read sets the field values of the message from the raw message payload

func (*ResouRCeRequest) String

func (m *ResouRCeRequest) String() string

func (*ResouRCeRequest) Write

func (m *ResouRCeRequest) Write(version int) (output []byte, err error)

Write encodes the field values of the message to a byte array

type SafetyAllowedArea

type SafetyAllowedArea struct {
	/*P1X x position 1 / Latitude 1 */
	P1X float32
	/*P1Y y position 1 / Longitude 1 */
	P1Y float32
	/*P1Z z position 1 / Altitude 1 */
	P1Z float32
	/*P2X x position 2 / Latitude 2 */
	P2X float32
	/*P2Y y position 2 / Longitude 2 */
	P2Y float32
	/*P2Z z position 2 / Altitude 2 */
	P2Z float32
	/*Frame Coordinate frame. Can be either global, GPS, right-handed with Z axis up or local, right handed, Z axis down. */
	Frame uint8
	/*HasExtensionFieldValues indicates if this message has any extensions and  */
	HasExtensionFieldValues bool
}

SafetyAllowedArea Read out the safety zone the MAV currently assumes.

func (*SafetyAllowedArea) GetDialect

func (m *SafetyAllowedArea) GetDialect() string

GetDialect gets the name of the dialect that defines the Message

func (*SafetyAllowedArea) GetID

func (m *SafetyAllowedArea) GetID() uint32

GetID gets the ID of the Message

func (*SafetyAllowedArea) GetMessageName

func (m *SafetyAllowedArea) GetMessageName() string

GetMessageName gets the name of the Message

func (*SafetyAllowedArea) GetVersion

func (m *SafetyAllowedArea) GetVersion() int

GetVersion gets the MAVLink version of the Message contents

func (*SafetyAllowedArea) HasExtensionFields

func (m *SafetyAllowedArea) HasExtensionFields() bool

HasExtensionFields returns true if the message definition contained extensions; false otherwise

func (*SafetyAllowedArea) Read

func (m *SafetyAllowedArea) Read(frame mavlink2.Frame) (err error)

Read sets the field values of the message from the raw message payload

func (*SafetyAllowedArea) String

func (m *SafetyAllowedArea) String() string

func (*SafetyAllowedArea) Write

func (m *SafetyAllowedArea) Write(version int) (output []byte, err error)

Write encodes the field values of the message to a byte array

type SafetySetAllowedArea

type SafetySetAllowedArea struct {
	/*P1X x position 1 / Latitude 1 */
	P1X float32
	/*P1Y y position 1 / Longitude 1 */
	P1Y float32
	/*P1Z z position 1 / Altitude 1 */
	P1Z float32
	/*P2X x position 2 / Latitude 2 */
	P2X float32
	/*P2Y y position 2 / Longitude 2 */
	P2Y float32
	/*P2Z z position 2 / Altitude 2 */
	P2Z float32
	/*TargetSystem System ID */
	TargetSystem uint8
	/*TargetComponent Component ID */
	TargetComponent uint8
	/*Frame Coordinate frame. Can be either global, GPS, right-handed with Z axis up or local, right handed, Z axis down. */
	Frame uint8
	/*HasExtensionFieldValues indicates if this message has any extensions and  */
	HasExtensionFieldValues bool
}

SafetySetAllowedArea 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.

func (*SafetySetAllowedArea) GetDialect

func (m *SafetySetAllowedArea) GetDialect() string

GetDialect gets the name of the dialect that defines the Message

func (*SafetySetAllowedArea) GetID

func (m *SafetySetAllowedArea) GetID() uint32

GetID gets the ID of the Message

func (*SafetySetAllowedArea) GetMessageName

func (m *SafetySetAllowedArea) GetMessageName() string

GetMessageName gets the name of the Message

func (*SafetySetAllowedArea) GetVersion

func (m *SafetySetAllowedArea) GetVersion() int

GetVersion gets the MAVLink version of the Message contents

func (*SafetySetAllowedArea) HasExtensionFields

func (m *SafetySetAllowedArea) HasExtensionFields() bool

HasExtensionFields returns true if the message definition contained extensions; false otherwise

func (*SafetySetAllowedArea) Read

func (m *SafetySetAllowedArea) Read(frame mavlink2.Frame) (err error)

Read sets the field values of the message from the raw message payload

func (*SafetySetAllowedArea) String

func (m *SafetySetAllowedArea) String() string

func (*SafetySetAllowedArea) Write

func (m *SafetySetAllowedArea) Write(version int) (output []byte, err error)

Write encodes the field values of the message to a byte array

type ScaledIMU

type ScaledIMU struct {
	/*TimeBootMs Timestamp (time since system boot). */
	TimeBootMs uint32
	/*Xacc X acceleration */
	Xacc int16
	/*Yacc Y acceleration */
	Yacc int16
	/*Zacc Z acceleration */
	Zacc int16
	/*Xgyro Angular speed around X axis */
	Xgyro int16
	/*Ygyro Angular speed around Y axis */
	Ygyro int16
	/*Zgyro Angular speed around Z axis */
	Zgyro int16
	/*Xmag X Magnetic field */
	Xmag int16
	/*Ymag Y Magnetic field */
	Ymag int16
	/*Zmag Z Magnetic field */
	Zmag int16
	/*Temperature Temperature, 0: IMU does not provide temperature values. If the IMU is at 0C it must send 1 (0.01C). */
	Temperature int16
	/*HasExtensionFieldValues indicates if this message has any extensions and  */
	HasExtensionFieldValues bool
}

ScaledIMU The RAW IMU readings for the usual 9DOF sensor setup. This message should contain the scaled values to the described units

func (*ScaledIMU) GetDialect

func (m *ScaledIMU) GetDialect() string

GetDialect gets the name of the dialect that defines the Message

func (*ScaledIMU) GetID

func (m *ScaledIMU) GetID() uint32

GetID gets the ID of the Message

func (*ScaledIMU) GetMessageName

func (m *ScaledIMU) GetMessageName() string

GetMessageName gets the name of the Message

func (*ScaledIMU) GetVersion

func (m *ScaledIMU) GetVersion() int

GetVersion gets the MAVLink version of the Message contents

func (*ScaledIMU) HasExtensionFields

func (m *ScaledIMU) HasExtensionFields() bool

HasExtensionFields returns true if the message definition contained extensions; false otherwise

func (*ScaledIMU) Read

func (m *ScaledIMU) Read(frame mavlink2.Frame) (err error)

Read sets the field values of the message from the raw message payload

func (*ScaledIMU) String

func (m *ScaledIMU) String() string

func (*ScaledIMU) Write

func (m *ScaledIMU) Write(version int) (output []byte, err error)

Write encodes the field values of the message to a byte array

type ScaledIMU2

type ScaledIMU2 struct {
	/*TimeBootMs Timestamp (time since system boot). */
	TimeBootMs uint32
	/*Xacc X acceleration */
	Xacc int16
	/*Yacc Y acceleration */
	Yacc int16
	/*Zacc Z acceleration */
	Zacc int16
	/*Xgyro Angular speed around X axis */
	Xgyro int16
	/*Ygyro Angular speed around Y axis */
	Ygyro int16
	/*Zgyro Angular speed around Z axis */
	Zgyro int16
	/*Xmag X Magnetic field */
	Xmag int16
	/*Ymag Y Magnetic field */
	Ymag int16
	/*Zmag Z Magnetic field */
	Zmag int16
	/*Temperature Temperature, 0: IMU does not provide temperature values. If the IMU is at 0C it must send 1 (0.01C). */
	Temperature int16
	/*HasExtensionFieldValues indicates if this message has any extensions and  */
	HasExtensionFieldValues bool
}

ScaledIMU2 The RAW IMU readings for secondary 9DOF sensor setup. This message should contain the scaled values to the described units

func (*ScaledIMU2) GetDialect

func (m *ScaledIMU2) GetDialect() string

GetDialect gets the name of the dialect that defines the Message

func (*ScaledIMU2) GetID

func (m *ScaledIMU2) GetID() uint32

GetID gets the ID of the Message

func (*ScaledIMU2) GetMessageName

func (m *ScaledIMU2) GetMessageName() string

GetMessageName gets the name of the Message

func (*ScaledIMU2) GetVersion

func (m *ScaledIMU2) GetVersion() int

GetVersion gets the MAVLink version of the Message contents

func (*ScaledIMU2) HasExtensionFields

func (m *ScaledIMU2) HasExtensionFields() bool

HasExtensionFields returns true if the message definition contained extensions; false otherwise

func (*ScaledIMU2) Read

func (m *ScaledIMU2) Read(frame mavlink2.Frame) (err error)

Read sets the field values of the message from the raw message payload

func (*ScaledIMU2) String

func (m *ScaledIMU2) String() string

func (*ScaledIMU2) Write

func (m *ScaledIMU2) Write(version int) (output []byte, err error)

Write encodes the field values of the message to a byte array

type ScaledIMU3

type ScaledIMU3 struct {
	/*TimeBootMs Timestamp (time since system boot). */
	TimeBootMs uint32
	/*Xacc X acceleration */
	Xacc int16
	/*Yacc Y acceleration */
	Yacc int16
	/*Zacc Z acceleration */
	Zacc int16
	/*Xgyro Angular speed around X axis */
	Xgyro int16
	/*Ygyro Angular speed around Y axis */
	Ygyro int16
	/*Zgyro Angular speed around Z axis */
	Zgyro int16
	/*Xmag X Magnetic field */
	Xmag int16
	/*Ymag Y Magnetic field */
	Ymag int16
	/*Zmag Z Magnetic field */
	Zmag int16
	/*Temperature Temperature, 0: IMU does not provide temperature values. If the IMU is at 0C it must send 1 (0.01C). */
	Temperature int16
	/*HasExtensionFieldValues indicates if this message has any extensions and  */
	HasExtensionFieldValues bool
}

ScaledIMU3 The RAW IMU readings for 3rd 9DOF sensor setup. This message should contain the scaled values to the described units

func (*ScaledIMU3) GetDialect

func (m *ScaledIMU3) GetDialect() string

GetDialect gets the name of the dialect that defines the Message

func (*ScaledIMU3) GetID

func (m *ScaledIMU3) GetID() uint32

GetID gets the ID of the Message

func (*ScaledIMU3) GetMessageName

func (m *ScaledIMU3) GetMessageName() string

GetMessageName gets the name of the Message

func (*ScaledIMU3) GetVersion

func (m *ScaledIMU3) GetVersion() int

GetVersion gets the MAVLink version of the Message contents

func (*ScaledIMU3) HasExtensionFields

func (m *ScaledIMU3) HasExtensionFields() bool

HasExtensionFields returns true if the message definition contained extensions; false otherwise

func (*ScaledIMU3) Read

func (m *ScaledIMU3) Read(frame mavlink2.Frame) (err error)

Read sets the field values of the message from the raw message payload

func (*ScaledIMU3) String

func (m *ScaledIMU3) String() string

func (*ScaledIMU3) Write

func (m *ScaledIMU3) Write(version int) (output []byte, err error)

Write encodes the field values of the message to a byte array

type ScaledPressure

type ScaledPressure struct {
	/*TimeBootMs Timestamp (time since system boot). */
	TimeBootMs uint32
	/*PressAbs Absolute pressure */
	PressAbs float32
	/*PressDiff Differential pressure 1 */
	PressDiff float32
	/*Temperature Temperature */
	Temperature int16
	/*HasExtensionFieldValues indicates if this message has any extensions and  */
	HasExtensionFieldValues bool
}

ScaledPressure The pressure readings for the typical setup of one absolute and differential pressure sensor. The units are as specified in each field.

func (*ScaledPressure) GetDialect

func (m *ScaledPressure) GetDialect() string

GetDialect gets the name of the dialect that defines the Message

func (*ScaledPressure) GetID

func (m *ScaledPressure) GetID() uint32

GetID gets the ID of the Message

func (*ScaledPressure) GetMessageName

func (m *ScaledPressure) GetMessageName() string

GetMessageName gets the name of the Message

func (*ScaledPressure) GetVersion

func (m *ScaledPressure) GetVersion() int

GetVersion gets the MAVLink version of the Message contents

func (*ScaledPressure) HasExtensionFields

func (m *ScaledPressure) HasExtensionFields() bool

HasExtensionFields returns true if the message definition contained extensions; false otherwise

func (*ScaledPressure) Read

func (m *ScaledPressure) Read(frame mavlink2.Frame) (err error)

Read sets the field values of the message from the raw message payload

func (*ScaledPressure) String

func (m *ScaledPressure) String() string

func (*ScaledPressure) Write

func (m *ScaledPressure) Write(version int) (output []byte, err error)

Write encodes the field values of the message to a byte array

type ScaledPressure2

type ScaledPressure2 struct {
	/*TimeBootMs Timestamp (time since system boot). */
	TimeBootMs uint32
	/*PressAbs Absolute pressure */
	PressAbs float32
	/*PressDiff Differential pressure */
	PressDiff float32
	/*Temperature Temperature measurement */
	Temperature int16
	/*HasExtensionFieldValues indicates if this message has any extensions and  */
	HasExtensionFieldValues bool
}

ScaledPressure2 Barometer readings for 2nd barometer

func (*ScaledPressure2) GetDialect

func (m *ScaledPressure2) GetDialect() string

GetDialect gets the name of the dialect that defines the Message

func (*ScaledPressure2) GetID

func (m *ScaledPressure2) GetID() uint32

GetID gets the ID of the Message

func (*ScaledPressure2) GetMessageName

func (m *ScaledPressure2) GetMessageName() string

GetMessageName gets the name of the Message

func (*ScaledPressure2) GetVersion

func (m *ScaledPressure2) GetVersion() int

GetVersion gets the MAVLink version of the Message contents

func (*ScaledPressure2) HasExtensionFields

func (m *ScaledPressure2) HasExtensionFields() bool

HasExtensionFields returns true if the message definition contained extensions; false otherwise

func (*ScaledPressure2) Read

func (m *ScaledPressure2) Read(frame mavlink2.Frame) (err error)

Read sets the field values of the message from the raw message payload

func (*ScaledPressure2) String

func (m *ScaledPressure2) String() string

func (*ScaledPressure2) Write

func (m *ScaledPressure2) Write(version int) (output []byte, err error)

Write encodes the field values of the message to a byte array

type ScaledPressure3

type ScaledPressure3 struct {
	/*TimeBootMs Timestamp (time since system boot). */
	TimeBootMs uint32
	/*PressAbs Absolute pressure */
	PressAbs float32
	/*PressDiff Differential pressure */
	PressDiff float32
	/*Temperature Temperature measurement */
	Temperature int16
	/*HasExtensionFieldValues indicates if this message has any extensions and  */
	HasExtensionFieldValues bool
}

ScaledPressure3 Barometer readings for 3rd barometer

func (*ScaledPressure3) GetDialect

func (m *ScaledPressure3) GetDialect() string

GetDialect gets the name of the dialect that defines the Message

func (*ScaledPressure3) GetID

func (m *ScaledPressure3) GetID() uint32

GetID gets the ID of the Message

func (*ScaledPressure3) GetMessageName

func (m *ScaledPressure3) GetMessageName() string

GetMessageName gets the name of the Message

func (*ScaledPressure3) GetVersion

func (m *ScaledPressure3) GetVersion() int

GetVersion gets the MAVLink version of the Message contents

func (*ScaledPressure3) HasExtensionFields

func (m *ScaledPressure3) HasExtensionFields() bool

HasExtensionFields returns true if the message definition contained extensions; false otherwise

func (*ScaledPressure3) Read

func (m *ScaledPressure3) Read(frame mavlink2.Frame) (err error)

Read sets the field values of the message from the raw message payload

func (*ScaledPressure3) String

func (m *ScaledPressure3) String() string

func (*ScaledPressure3) Write

func (m *ScaledPressure3) Write(version int) (output []byte, err error)

Write encodes the field values of the message to a byte array

type SerialControl

type SerialControl struct {
	/*Baudrate Baudrate of transfer. Zero means no change. */
	Baudrate uint32
	/*Timeout Timeout for reply data */
	Timeout uint16
	/*Device Serial control device type. */
	Device uint8
	/*Flags Bitmap of serial control flags. */
	Flags uint8
	/*Count how many bytes in this transfer */
	Count uint8
	/*Data serial data */
	Data [70]uint8
	/*HasExtensionFieldValues indicates if this message has any extensions and  */
	HasExtensionFieldValues bool
}

SerialControl 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.

func (*SerialControl) GetDialect

func (m *SerialControl) GetDialect() string

GetDialect gets the name of the dialect that defines the Message

func (*SerialControl) GetID

func (m *SerialControl) GetID() uint32

GetID gets the ID of the Message

func (*SerialControl) GetMessageName

func (m *SerialControl) GetMessageName() string

GetMessageName gets the name of the Message

func (*SerialControl) GetVersion

func (m *SerialControl) GetVersion() int

GetVersion gets the MAVLink version of the Message contents

func (*SerialControl) HasExtensionFields

func (m *SerialControl) HasExtensionFields() bool

HasExtensionFields returns true if the message definition contained extensions; false otherwise

func (*SerialControl) Read

func (m *SerialControl) Read(frame mavlink2.Frame) (err error)

Read sets the field values of the message from the raw message payload

func (*SerialControl) String

func (m *SerialControl) String() string

func (*SerialControl) Write

func (m *SerialControl) Write(version int) (output []byte, err error)

Write encodes the field values of the message to a byte array

type ServoOutputRaw

type ServoOutputRaw struct {
	/*TimeUsec 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 the number. */
	TimeUsec uint32
	/*Servo1Raw Servo output 1 value */
	Servo1Raw uint16
	/*Servo2Raw Servo output 2 value */
	Servo2Raw uint16
	/*Servo3Raw Servo output 3 value */
	Servo3Raw uint16
	/*Servo4Raw Servo output 4 value */
	Servo4Raw uint16
	/*Servo5Raw Servo output 5 value */
	Servo5Raw uint16
	/*Servo6Raw Servo output 6 value */
	Servo6Raw uint16
	/*Servo7Raw Servo output 7 value */
	Servo7Raw uint16
	/*Servo8Raw Servo output 8 value */
	Servo8Raw uint16
	/*Port Servo output port (set of 8 outputs = 1 port). Flight stacks running on Pixhawk should use: 0 = MAIN, 1 = AUX. */
	Port uint8
	/*Servo9Raw Servo output 9 value */
	Servo9Raw uint16
	/*Servo10Raw Servo output 10 value */
	Servo10Raw uint16
	/*Servo11Raw Servo output 11 value */
	Servo11Raw uint16
	/*Servo12Raw Servo output 12 value */
	Servo12Raw uint16
	/*Servo13Raw Servo output 13 value */
	Servo13Raw uint16
	/*Servo14Raw Servo output 14 value */
	Servo14Raw uint16
	/*Servo15Raw Servo output 15 value */
	Servo15Raw uint16
	/*Servo16Raw Servo output 16 value */
	Servo16Raw uint16
	/*HasExtensionFieldValues indicates if this message has any extensions and  */
	HasExtensionFieldValues bool
}

ServoOutputRaw 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%.

func (*ServoOutputRaw) GetDialect

func (m *ServoOutputRaw) GetDialect() string

GetDialect gets the name of the dialect that defines the Message

func (*ServoOutputRaw) GetID

func (m *ServoOutputRaw) GetID() uint32

GetID gets the ID of the Message

func (*ServoOutputRaw) GetMessageName

func (m *ServoOutputRaw) GetMessageName() string

GetMessageName gets the name of the Message

func (*ServoOutputRaw) GetVersion

func (m *ServoOutputRaw) GetVersion() int

GetVersion gets the MAVLink version of the Message contents

func (*ServoOutputRaw) HasExtensionFields

func (m *ServoOutputRaw) HasExtensionFields() bool

HasExtensionFields returns true if the message definition contained extensions; false otherwise

func (*ServoOutputRaw) Read

func (m *ServoOutputRaw) Read(frame mavlink2.Frame) (err error)

Read sets the field values of the message from the raw message payload

func (*ServoOutputRaw) String

func (m *ServoOutputRaw) String() string

func (*ServoOutputRaw) Write

func (m *ServoOutputRaw) Write(version int) (output []byte, err error)

Write encodes the field values of the message to a byte array

type SetActuatorControlTarget

type SetActuatorControlTarget struct {
	/*TimeUsec 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 the number. */
	TimeUsec uint64
	/*Controls Actuator controls. Normed to -1..+1 where 0 is neutral position. Throttle for single rotation direction motors is 0..1, negative range for reverse direction. Standard mapping for attitude controls (group 0): (index 0-7): roll, pitch, yaw, throttle, flaps, spoilers, airbrakes, landing gear. Load a pass-through mixer to repurpose them as generic outputs. */
	Controls [8]float32
	/*GroupMlx Actuator group. The "_mlx" indicates this is a multi-instance message and a MAVLink parser should use this field to difference between instances. */
	GroupMlx uint8
	/*TargetSystem System ID */
	TargetSystem uint8
	/*TargetComponent Component ID */
	TargetComponent uint8
	/*HasExtensionFieldValues indicates if this message has any extensions and  */
	HasExtensionFieldValues bool
}

SetActuatorControlTarget Set the vehicle attitude and body angular rates.

func (*SetActuatorControlTarget) GetDialect

func (m *SetActuatorControlTarget) GetDialect() string

GetDialect gets the name of the dialect that defines the Message

func (*SetActuatorControlTarget) GetID

func (m *SetActuatorControlTarget) GetID() uint32

GetID gets the ID of the Message

func (*SetActuatorControlTarget) GetMessageName

func (m *SetActuatorControlTarget) GetMessageName() string

GetMessageName gets the name of the Message

func (*SetActuatorControlTarget) GetVersion

func (m *SetActuatorControlTarget) GetVersion() int

GetVersion gets the MAVLink version of the Message contents

func (*SetActuatorControlTarget) HasExtensionFields

func (m *SetActuatorControlTarget) HasExtensionFields() bool

HasExtensionFields returns true if the message definition contained extensions; false otherwise

func (*SetActuatorControlTarget) Read

func (m *SetActuatorControlTarget) Read(frame mavlink2.Frame) (err error)

Read sets the field values of the message from the raw message payload

func (*SetActuatorControlTarget) String

func (m *SetActuatorControlTarget) String() string

func (*SetActuatorControlTarget) Write

func (m *SetActuatorControlTarget) Write(version int) (output []byte, err error)

Write encodes the field values of the message to a byte array

type SetAttitudeTarget

type SetAttitudeTarget struct {
	/*TimeBootMs Timestamp (time since system boot). */
	TimeBootMs uint32
	/*Q Attitude quaternion (w, x, y, z order, zero-rotation is 1, 0, 0, 0) */
	Q [4]float32
	/*BodyRollRate Body roll rate */
	BodyRollRate float32
	/*BodyPitchRate Body pitch rate */
	BodyPitchRate float32
	/*BodyYawRate Body yaw rate */
	BodyYawRate float32
	/*Thrust Collective thrust, normalized to 0 .. 1 (-1 .. 1 for vehicles capable of reverse trust) */
	Thrust float32
	/*TargetSystem System ID */
	TargetSystem uint8
	/*TargetComponent Component ID */
	TargetComponent uint8
	/*TypeMask Mappings: If any of these bits are set, the corresponding input should be ignored: bit 1: body roll rate, bit 2: body pitch rate, bit 3: body yaw rate. bit 4-bit 6: reserved, bit 7: throttle, bit 8: attitude */
	TypeMask uint8
	/*HasExtensionFieldValues indicates if this message has any extensions and  */
	HasExtensionFieldValues bool
}

SetAttitudeTarget Sets a desired vehicle attitude. Used by an external controller to command the vehicle (manual controller or other system).

func (*SetAttitudeTarget) GetDialect

func (m *SetAttitudeTarget) GetDialect() string

GetDialect gets the name of the dialect that defines the Message

func (*SetAttitudeTarget) GetID

func (m *SetAttitudeTarget) GetID() uint32

GetID gets the ID of the Message

func (*SetAttitudeTarget) GetMessageName

func (m *SetAttitudeTarget) GetMessageName() string

GetMessageName gets the name of the Message

func (*SetAttitudeTarget) GetVersion

func (m *SetAttitudeTarget) GetVersion() int

GetVersion gets the MAVLink version of the Message contents

func (*SetAttitudeTarget) HasExtensionFields

func (m *SetAttitudeTarget) HasExtensionFields() bool

HasExtensionFields returns true if the message definition contained extensions; false otherwise

func (*SetAttitudeTarget) Read

func (m *SetAttitudeTarget) Read(frame mavlink2.Frame) (err error)

Read sets the field values of the message from the raw message payload

func (*SetAttitudeTarget) String

func (m *SetAttitudeTarget) String() string

func (*SetAttitudeTarget) Write

func (m *SetAttitudeTarget) Write(version int) (output []byte, err error)

Write encodes the field values of the message to a byte array

type SetGPSGlobalOrigin

type SetGPSGlobalOrigin struct {
	/*Latitude Latitude (WGS84) */
	Latitude int32
	/*Longitude Longitude (WGS84) */
	Longitude int32
	/*Altitude Altitude (MSL). Positive for up. */
	Altitude int32
	/*TargetSystem System ID */
	TargetSystem uint8
	/*TimeUsec 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 the number. */
	TimeUsec uint64
	/*HasExtensionFieldValues indicates if this message has any extensions and  */
	HasExtensionFieldValues bool
}

SetGPSGlobalOrigin Sets the GPS co-ordinates 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.

func (*SetGPSGlobalOrigin) GetDialect

func (m *SetGPSGlobalOrigin) GetDialect() string

GetDialect gets the name of the dialect that defines the Message

func (*SetGPSGlobalOrigin) GetID

func (m *SetGPSGlobalOrigin) GetID() uint32

GetID gets the ID of the Message

func (*SetGPSGlobalOrigin) GetMessageName

func (m *SetGPSGlobalOrigin) GetMessageName() string

GetMessageName gets the name of the Message

func (*SetGPSGlobalOrigin) GetVersion

func (m *SetGPSGlobalOrigin) GetVersion() int

GetVersion gets the MAVLink version of the Message contents

func (*SetGPSGlobalOrigin) HasExtensionFields

func (m *SetGPSGlobalOrigin) HasExtensionFields() bool

HasExtensionFields returns true if the message definition contained extensions; false otherwise

func (*SetGPSGlobalOrigin) Read

func (m *SetGPSGlobalOrigin) Read(frame mavlink2.Frame) (err error)

Read sets the field values of the message from the raw message payload

func (*SetGPSGlobalOrigin) String

func (m *SetGPSGlobalOrigin) String() string

func (*SetGPSGlobalOrigin) Write

func (m *SetGPSGlobalOrigin) Write(version int) (output []byte, err error)

Write encodes the field values of the message to a byte array

type SetHomePosition

type SetHomePosition struct {
	/*Latitude Latitude (WGS84) */
	Latitude int32
	/*Longitude Longitude (WGS84) */
	Longitude int32
	/*Altitude Altitude (MSL). Positive for up. */
	Altitude int32
	/*X Local X position of this position in the local coordinate frame */
	X float32
	/*Y Local Y position of this position in the local coordinate frame */
	Y float32
	/*Z Local Z position of this position in the local coordinate frame */
	Z float32
	/*Q World to surface normal and heading transformation of the takeoff position. Used to indicate the heading and slope of the ground */
	Q [4]float32
	/*ApproachX Local X position of the end of the approach vector. Multicopters should set this position based on their takeoff path. Grass-landing fixed wing aircraft should set it the same way as multicopters. Runway-landing fixed wing aircraft should set it to the opposite direction of the takeoff, assuming the takeoff happened from the threshold / touchdown zone. */
	ApproachX float32
	/*ApproachY Local Y position of the end of the approach vector. Multicopters should set this position based on their takeoff path. Grass-landing fixed wing aircraft should set it the same way as multicopters. Runway-landing fixed wing aircraft should set it to the opposite direction of the takeoff, assuming the takeoff happened from the threshold / touchdown zone. */
	ApproachY float32
	/*ApproachZ Local Z position of the end of the approach vector. Multicopters should set this position based on their takeoff path. Grass-landing fixed wing aircraft should set it the same way as multicopters. Runway-landing fixed wing aircraft should set it to the opposite direction of the takeoff, assuming the takeoff happened from the threshold / touchdown zone. */
	ApproachZ float32
	/*TargetSystem System ID. */
	TargetSystem uint8
	/*TimeUsec 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 the number. */
	TimeUsec uint64
	/*HasExtensionFieldValues indicates if this message has any extensions and  */
	HasExtensionFieldValues bool
}

SetHomePosition The position the system will return to and land on. The position is set automatically by the system during the takeoff in case it was not explicitly set by the operator before or after. 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.

func (*SetHomePosition) GetDialect

func (m *SetHomePosition) GetDialect() string

GetDialect gets the name of the dialect that defines the Message

func (*SetHomePosition) GetID

func (m *SetHomePosition) GetID() uint32

GetID gets the ID of the Message

func (*SetHomePosition) GetMessageName

func (m *SetHomePosition) GetMessageName() string

GetMessageName gets the name of the Message

func (*SetHomePosition) GetVersion

func (m *SetHomePosition) GetVersion() int

GetVersion gets the MAVLink version of the Message contents

func (*SetHomePosition) HasExtensionFields

func (m *SetHomePosition) HasExtensionFields() bool

HasExtensionFields returns true if the message definition contained extensions; false otherwise

func (*SetHomePosition) Read

func (m *SetHomePosition) Read(frame mavlink2.Frame) (err error)

Read sets the field values of the message from the raw message payload

func (*SetHomePosition) String

func (m *SetHomePosition) String() string

func (*SetHomePosition) Write

func (m *SetHomePosition) Write(version int) (output []byte, err error)

Write encodes the field values of the message to a byte array

type SetMode

type SetMode struct {
	/*CustomMode The new autopilot-specific mode. This field can be ignored by an autopilot. */
	CustomMode uint32
	/*TargetSystem The system setting the mode */
	TargetSystem uint8
	/*BaseMode The new base mode. */
	BaseMode uint8
	/*HasExtensionFieldValues indicates if this message has any extensions and  */
	HasExtensionFieldValues bool
}

SetMode 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.

func (*SetMode) GetDialect

func (m *SetMode) GetDialect() string

GetDialect gets the name of the dialect that defines the Message

func (*SetMode) GetID

func (m *SetMode) GetID() uint32

GetID gets the ID of the Message

func (*SetMode) GetMessageName

func (m *SetMode) GetMessageName() string

GetMessageName gets the name of the Message

func (*SetMode) GetVersion

func (m *SetMode) GetVersion() int

GetVersion gets the MAVLink version of the Message contents

func (*SetMode) HasExtensionFields

func (m *SetMode) HasExtensionFields() bool

HasExtensionFields returns true if the message definition contained extensions; false otherwise

func (*SetMode) Read

func (m *SetMode) Read(frame mavlink2.Frame) (err error)

Read sets the field values of the message from the raw message payload

func (*SetMode) String

func (m *SetMode) String() string

func (*SetMode) Write

func (m *SetMode) Write(version int) (output []byte, err error)

Write encodes the field values of the message to a byte array

type SetPositionTargetGlobalInt

type SetPositionTargetGlobalInt struct {
	/*TimeBootMs Timestamp (time since system boot). The rationale for the timestamp in the setpoint is to allow the system to compensate for the transport delay of the setpoint. This allows the system to compensate processing latency. */
	TimeBootMs uint32
	/*LatInt X Position in WGS84 frame */
	LatInt int32
	/*LonInt Y Position in WGS84 frame */
	LonInt int32
	/*Alt Altitude (MSL, Relative to home, or AGL - depending on frame) */
	Alt float32
	/*Vx X velocity in NED frame */
	Vx float32
	/*Vy Y velocity in NED frame */
	Vy float32
	/*Vz Z velocity in NED frame */
	Vz float32
	/*Afx X acceleration or force (if bit 10 of type_mask is set) in NED frame in meter / s^2 or N */
	Afx float32
	/*Afy Y acceleration or force (if bit 10 of type_mask is set) in NED frame in meter / s^2 or N */
	Afy float32
	/*Afz Z acceleration or force (if bit 10 of type_mask is set) in NED frame in meter / s^2 or N */
	Afz float32
	/*Yaw yaw setpoint */
	Yaw float32
	/*YawRate yaw rate setpoint */
	YawRate float32
	/*TypeMask Bitmap to indicate which dimensions should be ignored by the vehicle. */
	TypeMask uint16
	/*TargetSystem System ID */
	TargetSystem uint8
	/*TargetComponent Component ID */
	TargetComponent uint8
	/*CoordinateFrame Valid options are: MAV_FRAME_GLOBAL_INT = 5, MAV_FRAME_GLOBAL_RELATIVE_ALT_INT = 6, MAV_FRAME_GLOBAL_TERRAIN_ALT_INT = 11 */
	CoordinateFrame uint8
	/*HasExtensionFieldValues indicates if this message has any extensions and  */
	HasExtensionFieldValues bool
}

SetPositionTargetGlobalInt 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).

func (*SetPositionTargetGlobalInt) GetDialect

func (m *SetPositionTargetGlobalInt) GetDialect() string

GetDialect gets the name of the dialect that defines the Message

func (*SetPositionTargetGlobalInt) GetID

GetID gets the ID of the Message

func (*SetPositionTargetGlobalInt) GetMessageName

func (m *SetPositionTargetGlobalInt) GetMessageName() string

GetMessageName gets the name of the Message

func (*SetPositionTargetGlobalInt) GetVersion

func (m *SetPositionTargetGlobalInt) GetVersion() int

GetVersion gets the MAVLink version of the Message contents

func (*SetPositionTargetGlobalInt) HasExtensionFields

func (m *SetPositionTargetGlobalInt) HasExtensionFields() bool

HasExtensionFields returns true if the message definition contained extensions; false otherwise

func (*SetPositionTargetGlobalInt) Read

func (m *SetPositionTargetGlobalInt) Read(frame mavlink2.Frame) (err error)

Read sets the field values of the message from the raw message payload

func (*SetPositionTargetGlobalInt) String

func (m *SetPositionTargetGlobalInt) String() string

func (*SetPositionTargetGlobalInt) Write

func (m *SetPositionTargetGlobalInt) Write(version int) (output []byte, err error)

Write encodes the field values of the message to a byte array

type SetPositionTargetLocalNed

type SetPositionTargetLocalNed struct {
	/*TimeBootMs Timestamp (time since system boot). */
	TimeBootMs uint32
	/*X X Position in NED frame */
	X float32
	/*Y Y Position in NED frame */
	Y float32
	/*Z Z Position in NED frame (note, altitude is negative in NED) */
	Z float32
	/*Vx X velocity in NED frame */
	Vx float32
	/*Vy Y velocity in NED frame */
	Vy float32
	/*Vz Z velocity in NED frame */
	Vz float32
	/*Afx X acceleration or force (if bit 10 of type_mask is set) in NED frame in meter / s^2 or N */
	Afx float32
	/*Afy Y acceleration or force (if bit 10 of type_mask is set) in NED frame in meter / s^2 or N */
	Afy float32
	/*Afz Z acceleration or force (if bit 10 of type_mask is set) in NED frame in meter / s^2 or N */
	Afz float32
	/*Yaw yaw setpoint */
	Yaw float32
	/*YawRate yaw rate setpoint */
	YawRate float32
	/*TypeMask Bitmap to indicate which dimensions should be ignored by the vehicle. */
	TypeMask uint16
	/*TargetSystem System ID */
	TargetSystem uint8
	/*TargetComponent Component ID */
	TargetComponent uint8
	/*CoordinateFrame Valid options are: MAV_FRAME_LOCAL_NED = 1, MAV_FRAME_LOCAL_OFFSET_NED = 7, MAV_FRAME_BODY_NED = 8, MAV_FRAME_BODY_OFFSET_NED = 9 */
	CoordinateFrame uint8
	/*HasExtensionFieldValues indicates if this message has any extensions and  */
	HasExtensionFieldValues bool
}

SetPositionTargetLocalNed 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).

func (*SetPositionTargetLocalNed) GetDialect

func (m *SetPositionTargetLocalNed) GetDialect() string

GetDialect gets the name of the dialect that defines the Message

func (*SetPositionTargetLocalNed) GetID

func (m *SetPositionTargetLocalNed) GetID() uint32

GetID gets the ID of the Message

func (*SetPositionTargetLocalNed) GetMessageName

func (m *SetPositionTargetLocalNed) GetMessageName() string

GetMessageName gets the name of the Message

func (*SetPositionTargetLocalNed) GetVersion

func (m *SetPositionTargetLocalNed) GetVersion() int

GetVersion gets the MAVLink version of the Message contents

func (*SetPositionTargetLocalNed) HasExtensionFields

func (m *SetPositionTargetLocalNed) HasExtensionFields() bool

HasExtensionFields returns true if the message definition contained extensions; false otherwise

func (*SetPositionTargetLocalNed) Read

func (m *SetPositionTargetLocalNed) Read(frame mavlink2.Frame) (err error)

Read sets the field values of the message from the raw message payload

func (*SetPositionTargetLocalNed) String

func (m *SetPositionTargetLocalNed) String() string

func (*SetPositionTargetLocalNed) Write

func (m *SetPositionTargetLocalNed) Write(version int) (output []byte, err error)

Write encodes the field values of the message to a byte array

type SetupSigning

type SetupSigning struct {
	/*InitialTimestamp initial timestamp */
	InitialTimestamp uint64
	/*TargetSystem system id of the target */
	TargetSystem uint8
	/*TargetComponent component ID of the target */
	TargetComponent uint8
	/*SecretKey signing key */
	SecretKey [32]uint8
	/*HasExtensionFieldValues indicates if this message has any extensions and  */
	HasExtensionFieldValues bool
}

SetupSigning Setup a MAVLink2 signing key. If called with secret_key of all zero and zero initial_timestamp will disable signing

func (*SetupSigning) GetDialect

func (m *SetupSigning) GetDialect() string

GetDialect gets the name of the dialect that defines the Message

func (*SetupSigning) GetID

func (m *SetupSigning) GetID() uint32

GetID gets the ID of the Message

func (*SetupSigning) GetMessageName

func (m *SetupSigning) GetMessageName() string

GetMessageName gets the name of the Message

func (*SetupSigning) GetVersion

func (m *SetupSigning) GetVersion() int

GetVersion gets the MAVLink version of the Message contents

func (*SetupSigning) HasExtensionFields

func (m *SetupSigning) HasExtensionFields() bool

HasExtensionFields returns true if the message definition contained extensions; false otherwise

func (*SetupSigning) Read

func (m *SetupSigning) Read(frame mavlink2.Frame) (err error)

Read sets the field values of the message from the raw message payload

func (*SetupSigning) String

func (m *SetupSigning) String() string

func (*SetupSigning) Write

func (m *SetupSigning) Write(version int) (output []byte, err error)

Write encodes the field values of the message to a byte array

type SimState

type SimState struct {
	/*Q1 True attitude quaternion component 1, w (1 in null-rotation) */
	Q1 float32
	/*Q2 True attitude quaternion component 2, x (0 in null-rotation) */
	Q2 float32
	/*Q3 True attitude quaternion component 3, y (0 in null-rotation) */
	Q3 float32
	/*Q4 True attitude quaternion component 4, z (0 in null-rotation) */
	Q4 float32
	/*Roll Attitude roll expressed as Euler angles, not recommended except for human-readable outputs */
	Roll float32
	/*Pitch Attitude pitch expressed as Euler angles, not recommended except for human-readable outputs */
	Pitch float32
	/*Yaw Attitude yaw expressed as Euler angles, not recommended except for human-readable outputs */
	Yaw float32
	/*Xacc X acceleration */
	Xacc float32
	/*Yacc Y acceleration */
	Yacc float32
	/*Zacc Z acceleration */
	Zacc float32
	/*Xgyro Angular speed around X axis */
	Xgyro float32
	/*Ygyro Angular speed around Y axis */
	Ygyro float32
	/*Zgyro Angular speed around Z axis */
	Zgyro float32
	/*Lat Latitude */
	Lat float32
	/*Lon Longitude */
	Lon float32
	/*Alt Altitude */
	Alt float32
	/*StdDevHorz Horizontal position standard deviation */
	StdDevHorz float32
	/*StdDevVert Vertical position standard deviation */
	StdDevVert float32
	/*Vn True velocity in north direction in earth-fixed NED frame */
	Vn float32
	/*Ve True velocity in east direction in earth-fixed NED frame */
	Ve float32
	/*Vd True velocity in down direction in earth-fixed NED frame */
	Vd float32
	/*HasExtensionFieldValues indicates if this message has any extensions and  */
	HasExtensionFieldValues bool
}

SimState Status of simulation environment, if used

func (*SimState) GetDialect

func (m *SimState) GetDialect() string

GetDialect gets the name of the dialect that defines the Message

func (*SimState) GetID

func (m *SimState) GetID() uint32

GetID gets the ID of the Message

func (*SimState) GetMessageName

func (m *SimState) GetMessageName() string

GetMessageName gets the name of the Message

func (*SimState) GetVersion

func (m *SimState) GetVersion() int

GetVersion gets the MAVLink version of the Message contents

func (*SimState) HasExtensionFields

func (m *SimState) HasExtensionFields() bool

HasExtensionFields returns true if the message definition contained extensions; false otherwise

func (*SimState) Read

func (m *SimState) Read(frame mavlink2.Frame) (err error)

Read sets the field values of the message from the raw message payload

func (*SimState) String

func (m *SimState) String() string

func (*SimState) Write

func (m *SimState) Write(version int) (output []byte, err error)

Write encodes the field values of the message to a byte array

type SmartBatteryInfo

type SmartBatteryInfo struct {
	/*CapacityFullSpecification Capacity when full according to manufacturer, -1: field not provided. */
	CapacityFullSpecification int32
	/*CapacityFull Capacity when full (accounting for battery degradation), -1: field not provided. */
	CapacityFull int32
	/*SerialNumber Serial number. -1: field not provided. */
	SerialNumber int32
	/*CycleCount Charge/discharge cycle count. -1: field not provided. */
	CycleCount uint16
	/*Weight Battery weight. 0: field not provided. */
	Weight uint16
	/*DischargeMinIMUmVoltage Minimum per-cell voltage when discharging. If not supplied set to UINT16_MAX value. */
	DischargeMinIMUmVoltage uint16
	/*ChargingMinIMUmVoltage Minimum per-cell voltage when charging. If not supplied set to UINT16_MAX value. */
	ChargingMinIMUmVoltage uint16
	/*RestingMinIMUmVoltage Minimum per-cell voltage when resting. If not supplied set to UINT16_MAX value. */
	RestingMinIMUmVoltage uint16
	/*ID Battery ID */
	ID uint8
	/*DeviceName Static device name. Encode as manufacturer and product names separated using an underscore. */
	DeviceName [50]byte
	/*HasExtensionFieldValues indicates if this message has any extensions and  */
	HasExtensionFieldValues bool
}

SmartBatteryInfo Smart Battery information (static/infrequent update). Use for updates from: smart battery to flight stack, flight stack to GCS. Use instead of BATTERY_STATUS for smart batteries.

func (*SmartBatteryInfo) GetDeviceName

func (m *SmartBatteryInfo) GetDeviceName() string

GetDeviceName decodes the null-terminated string in the DeviceName

func (*SmartBatteryInfo) GetDialect

func (m *SmartBatteryInfo) GetDialect() string

GetDialect gets the name of the dialect that defines the Message

func (*SmartBatteryInfo) GetID

func (m *SmartBatteryInfo) GetID() uint32

GetID gets the ID of the Message

func (*SmartBatteryInfo) GetMessageName

func (m *SmartBatteryInfo) GetMessageName() string

GetMessageName gets the name of the Message

func (*SmartBatteryInfo) GetVersion

func (m *SmartBatteryInfo) GetVersion() int

GetVersion gets the MAVLink version of the Message contents

func (*SmartBatteryInfo) HasExtensionFields

func (m *SmartBatteryInfo) HasExtensionFields() bool

HasExtensionFields returns true if the message definition contained extensions; false otherwise

func (*SmartBatteryInfo) Read

func (m *SmartBatteryInfo) Read(frame mavlink2.Frame) (err error)

Read sets the field values of the message from the raw message payload

func (*SmartBatteryInfo) SetDeviceName

func (m *SmartBatteryInfo) SetDeviceName(input string) (err error)

SetDeviceName encodes the input string to the DeviceName array

func (*SmartBatteryInfo) String

func (m *SmartBatteryInfo) String() string

func (*SmartBatteryInfo) Write

func (m *SmartBatteryInfo) Write(version int) (output []byte, err error)

Write encodes the field values of the message to a byte array

type SmartBatteryStatus

type SmartBatteryStatus struct {
	/*FaultBitmask Fault/health indications. */
	FaultBitmask int32
	/*TimeRemaining Estimated remaining battery time. -1: field not provided. */
	TimeRemaining int32
	/*ID Battery ID */
	ID uint16
	/*CapacityRemaining Remaining battery energy. Values: [0-100], -1: field not provided. */
	CapacityRemaining int16
	/*Current Battery current (through all cells/loads). Positive if discharging, negative if charging. UINT16_MAX: field not provided. */
	Current int16
	/*Temperature Battery temperature. -1: field not provided. */
	Temperature int16
	/*CellOffset The cell number of the first index in the 'voltages' array field. Using this field allows you to specify cell voltages for batteries with more than 16 cells. */
	CellOffset uint16
	/*Voltages Individual cell voltages. Batteries with more 16 cells can use the cell_offset field to specify the cell offset for the array specified in the current message . Index values above the valid cell count for this battery should have the UINT16_MAX value. */
	Voltages [16]uint16
	/*HasExtensionFieldValues indicates if this message has any extensions and  */
	HasExtensionFieldValues bool
}

SmartBatteryStatus Smart Battery information (dynamic). Use for updates from: smart battery to flight stack, flight stack to GCS. Use instead of BATTERY_STATUS for smart batteries.

func (*SmartBatteryStatus) GetDialect

func (m *SmartBatteryStatus) GetDialect() string

GetDialect gets the name of the dialect that defines the Message

func (*SmartBatteryStatus) GetID

func (m *SmartBatteryStatus) GetID() uint32

GetID gets the ID of the Message

func (*SmartBatteryStatus) GetMessageName

func (m *SmartBatteryStatus) GetMessageName() string

GetMessageName gets the name of the Message

func (*SmartBatteryStatus) GetVersion

func (m *SmartBatteryStatus) GetVersion() int

GetVersion gets the MAVLink version of the Message contents

func (*SmartBatteryStatus) HasExtensionFields

func (m *SmartBatteryStatus) HasExtensionFields() bool

HasExtensionFields returns true if the message definition contained extensions; false otherwise

func (*SmartBatteryStatus) Read

func (m *SmartBatteryStatus) Read(frame mavlink2.Frame) (err error)

Read sets the field values of the message from the raw message payload

func (*SmartBatteryStatus) String

func (m *SmartBatteryStatus) String() string

func (*SmartBatteryStatus) Write

func (m *SmartBatteryStatus) Write(version int) (output []byte, err error)

Write encodes the field values of the message to a byte array

type Statustext

type Statustext struct {
	/*Severity Severity of status. Relies on the definitions within RFC-5424. */
	Severity uint8
	/*Text Status text message, without null termination character */
	Text [50]byte
	/*HasExtensionFieldValues indicates if this message has any extensions and  */
	HasExtensionFieldValues bool
}

Statustext 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).

func (*Statustext) GetDialect

func (m *Statustext) GetDialect() string

GetDialect gets the name of the dialect that defines the Message

func (*Statustext) GetID

func (m *Statustext) GetID() uint32

GetID gets the ID of the Message

func (*Statustext) GetMessageName

func (m *Statustext) GetMessageName() string

GetMessageName gets the name of the Message

func (*Statustext) GetText

func (m *Statustext) GetText() string

GetText decodes the null-terminated string in the Text

func (*Statustext) GetVersion

func (m *Statustext) GetVersion() int

GetVersion gets the MAVLink version of the Message contents

func (*Statustext) HasExtensionFields

func (m *Statustext) HasExtensionFields() bool

HasExtensionFields returns true if the message definition contained extensions; false otherwise

func (*Statustext) Read

func (m *Statustext) Read(frame mavlink2.Frame) (err error)

Read sets the field values of the message from the raw message payload

func (*Statustext) SetText

func (m *Statustext) SetText(input string) (err error)

SetText encodes the input string to the Text array

func (*Statustext) String

func (m *Statustext) String() string

func (*Statustext) Write

func (m *Statustext) Write(version int) (output []byte, err error)

Write encodes the field values of the message to a byte array

type StatustextLong

type StatustextLong struct {
	/*Severity Severity of status. Relies on the definitions within RFC-5424. */
	Severity uint8
	/*Text Status text message, without null termination character. */
	Text [254]byte
	/*HasExtensionFieldValues indicates if this message has any extensions and  */
	HasExtensionFieldValues bool
}

StatustextLong Status text message (use only for important status and error messages). The full message payload can be used for status text, but we recommend that updates be kept concise. Note: The message is intended as a less restrictive replacement for STATUSTEXT.

func (*StatustextLong) GetDialect

func (m *StatustextLong) GetDialect() string

GetDialect gets the name of the dialect that defines the Message

func (*StatustextLong) GetID

func (m *StatustextLong) GetID() uint32

GetID gets the ID of the Message

func (*StatustextLong) GetMessageName

func (m *StatustextLong) GetMessageName() string

GetMessageName gets the name of the Message

func (*StatustextLong) GetText

func (m *StatustextLong) GetText() string

GetText decodes the null-terminated string in the Text

func (*StatustextLong) GetVersion

func (m *StatustextLong) GetVersion() int

GetVersion gets the MAVLink version of the Message contents

func (*StatustextLong) HasExtensionFields

func (m *StatustextLong) HasExtensionFields() bool

HasExtensionFields returns true if the message definition contained extensions; false otherwise

func (*StatustextLong) Read

func (m *StatustextLong) Read(frame mavlink2.Frame) (err error)

Read sets the field values of the message from the raw message payload

func (*StatustextLong) SetText

func (m *StatustextLong) SetText(input string) (err error)

SetText encodes the input string to the Text array

func (*StatustextLong) String

func (m *StatustextLong) String() string

func (*StatustextLong) Write

func (m *StatustextLong) Write(version int) (output []byte, err error)

Write encodes the field values of the message to a byte array

type StorageInformation

type StorageInformation struct {
	/*TimeBootMs Timestamp (time since system boot). */
	TimeBootMs uint32
	/*TotalCapacity Total capacity. If storage is not ready (STORAGE_STATUS_READY) value will be ignored. */
	TotalCapacity float32
	/*UsedCapacity Used capacity. If storage is not ready (STORAGE_STATUS_READY) value will be ignored. */
	UsedCapacity float32
	/*AvailableCapacity Available storage capacity. If storage is not ready (STORAGE_STATUS_READY) value will be ignored. */
	AvailableCapacity float32
	/*ReadSpeed Read speed. */
	ReadSpeed float32
	/*WriteSpeed Write speed. */
	WriteSpeed float32
	/*StorageID Storage ID (1 for first, 2 for second, etc.) */
	StorageID uint8
	/*StorageCount Number of storage devices */
	StorageCount uint8
	/*Status Status of storage */
	Status uint8
	/*HasExtensionFieldValues indicates if this message has any extensions and  */
	HasExtensionFieldValues bool
}

StorageInformation Information about a storage medium. This message is sent in response to a request and whenever the status of the storage changes (STORAGE_STATUS).

func (*StorageInformation) GetDialect

func (m *StorageInformation) GetDialect() string

GetDialect gets the name of the dialect that defines the Message

func (*StorageInformation) GetID

func (m *StorageInformation) GetID() uint32

GetID gets the ID of the Message

func (*StorageInformation) GetMessageName

func (m *StorageInformation) GetMessageName() string

GetMessageName gets the name of the Message

func (*StorageInformation) GetVersion

func (m *StorageInformation) GetVersion() int

GetVersion gets the MAVLink version of the Message contents

func (*StorageInformation) HasExtensionFields

func (m *StorageInformation) HasExtensionFields() bool

HasExtensionFields returns true if the message definition contained extensions; false otherwise

func (*StorageInformation) Read

func (m *StorageInformation) Read(frame mavlink2.Frame) (err error)

Read sets the field values of the message from the raw message payload

func (*StorageInformation) String

func (m *StorageInformation) String() string

func (*StorageInformation) Write

func (m *StorageInformation) Write(version int) (output []byte, err error)

Write encodes the field values of the message to a byte array

type SupportedTunes

type SupportedTunes struct {
	/*Format Bitfield of supported tune formats. */
	Format uint32
	/*TargetSystem System ID */
	TargetSystem uint8
	/*TargetComponent Component ID */
	TargetComponent uint8
	/*HasExtensionFieldValues indicates if this message has any extensions and  */
	HasExtensionFieldValues bool
}

SupportedTunes Tune formats supported by vehicle. This should be emitted as response to MAV_CMD_REQUEST_MESSAGE.

func (*SupportedTunes) GetDialect

func (m *SupportedTunes) GetDialect() string

GetDialect gets the name of the dialect that defines the Message

func (*SupportedTunes) GetID

func (m *SupportedTunes) GetID() uint32

GetID gets the ID of the Message

func (*SupportedTunes) GetMessageName

func (m *SupportedTunes) GetMessageName() string

GetMessageName gets the name of the Message

func (*SupportedTunes) GetVersion

func (m *SupportedTunes) GetVersion() int

GetVersion gets the MAVLink version of the Message contents

func (*SupportedTunes) HasExtensionFields

func (m *SupportedTunes) HasExtensionFields() bool

HasExtensionFields returns true if the message definition contained extensions; false otherwise

func (*SupportedTunes) Read

func (m *SupportedTunes) Read(frame mavlink2.Frame) (err error)

Read sets the field values of the message from the raw message payload

func (*SupportedTunes) String

func (m *SupportedTunes) String() string

func (*SupportedTunes) Write

func (m *SupportedTunes) Write(version int) (output []byte, err error)

Write encodes the field values of the message to a byte array

type SysStatus

type SysStatus struct {
	/*OnboardControlSensorsPresent Bitmap showing which onboard controllers and sensors are present. Value of 0: not present. Value of 1: present. */
	OnboardControlSensorsPresent uint32
	/*OnboardControlSensorsEnabled Bitmap showing which onboard controllers and sensors are enabled:  Value of 0: not enabled. Value of 1: enabled. */
	OnboardControlSensorsEnabled uint32
	/*OnboardControlSensorsHealth Bitmap showing which onboard controllers and sensors have an error (or are operational). Value of 0: error. Value of 1: healthy. */
	OnboardControlSensorsHealth uint32
	/*Load Maximum usage in percent of the mainloop time. Values: [0-1000] - should always be below 1000 */
	Load uint16
	/*VoltageBattery Battery voltage, UINT16_MAX: Voltage not sent by autopilot */
	VoltageBattery uint16
	/*CurrentBattery Battery current, -1: Current not sent by autopilot */
	CurrentBattery int16
	/*DropRateComm Communication drop rate, (UART, I2C, SPI, CAN), dropped packets on all links (packets that were corrupted on reception on the MAV) */
	DropRateComm uint16
	/*ErrorsComm Communication errors (UART, I2C, SPI, CAN), dropped packets on all links (packets that were corrupted on reception on the MAV) */
	ErrorsComm uint16
	/*ErrorsCount1 Autopilot-specific errors */
	ErrorsCount1 uint16
	/*ErrorsCount2 Autopilot-specific errors */
	ErrorsCount2 uint16
	/*ErrorsCount3 Autopilot-specific errors */
	ErrorsCount3 uint16
	/*ErrorsCount4 Autopilot-specific errors */
	ErrorsCount4 uint16
	/*BatteryRemaining Battery energy remaining, -1: Battery remaining energy not sent by autopilot */
	BatteryRemaining int8
	/*HasExtensionFieldValues indicates if this message has any extensions and  */
	HasExtensionFieldValues bool
}

SysStatus 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.

func (*SysStatus) GetDialect

func (m *SysStatus) GetDialect() string

GetDialect gets the name of the dialect that defines the Message

func (*SysStatus) GetID

func (m *SysStatus) GetID() uint32

GetID gets the ID of the Message

func (*SysStatus) GetMessageName

func (m *SysStatus) GetMessageName() string

GetMessageName gets the name of the Message

func (*SysStatus) GetVersion

func (m *SysStatus) GetVersion() int

GetVersion gets the MAVLink version of the Message contents

func (*SysStatus) HasExtensionFields

func (m *SysStatus) HasExtensionFields() bool

HasExtensionFields returns true if the message definition contained extensions; false otherwise

func (*SysStatus) Read

func (m *SysStatus) Read(frame mavlink2.Frame) (err error)

Read sets the field values of the message from the raw message payload

func (*SysStatus) String

func (m *SysStatus) String() string

func (*SysStatus) Write

func (m *SysStatus) Write(version int) (output []byte, err error)

Write encodes the field values of the message to a byte array

type SystemTime

type SystemTime struct {
	/*TimeUnixUsec Timestamp (UNIX epoch time). */
	TimeUnixUsec uint64
	/*TimeBootMs Timestamp (time since system boot). */
	TimeBootMs uint32
	/*HasExtensionFieldValues indicates if this message has any extensions and  */
	HasExtensionFieldValues bool
}

SystemTime The system time is the time of the master clock, typically the computer clock of the main onboard computer.

func (*SystemTime) GetDialect

func (m *SystemTime) GetDialect() string

GetDialect gets the name of the dialect that defines the Message

func (*SystemTime) GetID

func (m *SystemTime) GetID() uint32

GetID gets the ID of the Message

func (*SystemTime) GetMessageName

func (m *SystemTime) GetMessageName() string

GetMessageName gets the name of the Message

func (*SystemTime) GetVersion

func (m *SystemTime) GetVersion() int

GetVersion gets the MAVLink version of the Message contents

func (*SystemTime) HasExtensionFields

func (m *SystemTime) HasExtensionFields() bool

HasExtensionFields returns true if the message definition contained extensions; false otherwise

func (*SystemTime) Read

func (m *SystemTime) Read(frame mavlink2.Frame) (err error)

Read sets the field values of the message from the raw message payload

func (*SystemTime) String

func (m *SystemTime) String() string

func (*SystemTime) Write

func (m *SystemTime) Write(version int) (output []byte, err error)

Write encodes the field values of the message to a byte array

type TerrainCheck

type TerrainCheck struct {
	/*Lat Latitude */
	Lat int32
	/*Lon Longitude */
	Lon int32
	/*HasExtensionFieldValues indicates if this message has any extensions and  */
	HasExtensionFieldValues bool
}

TerrainCheck Request that the vehicle report terrain height at the given location. Used by GCS to check if vehicle has all terrain data needed for a mission.

func (*TerrainCheck) GetDialect

func (m *TerrainCheck) GetDialect() string

GetDialect gets the name of the dialect that defines the Message

func (*TerrainCheck) GetID

func (m *TerrainCheck) GetID() uint32

GetID gets the ID of the Message

func (*TerrainCheck) GetMessageName

func (m *TerrainCheck) GetMessageName() string

GetMessageName gets the name of the Message

func (*TerrainCheck) GetVersion

func (m *TerrainCheck) GetVersion() int

GetVersion gets the MAVLink version of the Message contents

func (*TerrainCheck) HasExtensionFields

func (m *TerrainCheck) HasExtensionFields() bool

HasExtensionFields returns true if the message definition contained extensions; false otherwise

func (*TerrainCheck) Read

func (m *TerrainCheck) Read(frame mavlink2.Frame) (err error)

Read sets the field values of the message from the raw message payload

func (*TerrainCheck) String

func (m *TerrainCheck) String() string

func (*TerrainCheck) Write

func (m *TerrainCheck) Write(version int) (output []byte, err error)

Write encodes the field values of the message to a byte array

type TerrainData

type TerrainData struct {
	/*Lat Latitude of SW corner of first grid */
	Lat int32
	/*Lon Longitude of SW corner of first grid */
	Lon int32
	/*GrIDSpacing Grid spacing */
	GrIDSpacing uint16
	/*Data Terrain data MSL */
	Data [16]int16
	/*GrIDbit bit within the terrain request mask */
	GrIDbit uint8
	/*HasExtensionFieldValues indicates if this message has any extensions and  */
	HasExtensionFieldValues bool
}

TerrainData Terrain data sent from GCS. The lat/lon and grid_spacing must be the same as a lat/lon from a TERRAIN_REQUEST

func (*TerrainData) GetDialect

func (m *TerrainData) GetDialect() string

GetDialect gets the name of the dialect that defines the Message

func (*TerrainData) GetID

func (m *TerrainData) GetID() uint32

GetID gets the ID of the Message

func (*TerrainData) GetMessageName

func (m *TerrainData) GetMessageName() string

GetMessageName gets the name of the Message

func (*TerrainData) GetVersion

func (m *TerrainData) GetVersion() int

GetVersion gets the MAVLink version of the Message contents

func (*TerrainData) HasExtensionFields

func (m *TerrainData) HasExtensionFields() bool

HasExtensionFields returns true if the message definition contained extensions; false otherwise

func (*TerrainData) Read

func (m *TerrainData) Read(frame mavlink2.Frame) (err error)

Read sets the field values of the message from the raw message payload

func (*TerrainData) String

func (m *TerrainData) String() string

func (*TerrainData) Write

func (m *TerrainData) Write(version int) (output []byte, err error)

Write encodes the field values of the message to a byte array

type TerrainReport

type TerrainReport struct {
	/*Lat Latitude */
	Lat int32
	/*Lon Longitude */
	Lon int32
	/*TerrainHeight Terrain height MSL */
	TerrainHeight float32
	/*CurrentHeight Current vehicle height above lat/lon terrain height */
	CurrentHeight float32
	/*Spacing grid spacing (zero if terrain at this location unavailable) */
	Spacing uint16
	/*Pending Number of 4x4 terrain blocks waiting to be received or read from disk */
	Pending uint16
	/*Loaded Number of 4x4 terrain blocks in memory */
	Loaded uint16
	/*HasExtensionFieldValues indicates if this message has any extensions and  */
	HasExtensionFieldValues bool
}

TerrainReport Response from a TERRAIN_CHECK request

func (*TerrainReport) GetDialect

func (m *TerrainReport) GetDialect() string

GetDialect gets the name of the dialect that defines the Message

func (*TerrainReport) GetID

func (m *TerrainReport) GetID() uint32

GetID gets the ID of the Message

func (*TerrainReport) GetMessageName

func (m *TerrainReport) GetMessageName() string

GetMessageName gets the name of the Message

func (*TerrainReport) GetVersion

func (m *TerrainReport) GetVersion() int

GetVersion gets the MAVLink version of the Message contents

func (*TerrainReport) HasExtensionFields

func (m *TerrainReport) HasExtensionFields() bool

HasExtensionFields returns true if the message definition contained extensions; false otherwise

func (*TerrainReport) Read

func (m *TerrainReport) Read(frame mavlink2.Frame) (err error)

Read sets the field values of the message from the raw message payload

func (*TerrainReport) String

func (m *TerrainReport) String() string

func (*TerrainReport) Write

func (m *TerrainReport) Write(version int) (output []byte, err error)

Write encodes the field values of the message to a byte array

type TerrainRequest

type TerrainRequest struct {
	/*Mask Bitmask of requested 4x4 grids (row major 8x7 array of grids, 56 bits) */
	Mask uint64
	/*Lat Latitude of SW corner of first grid */
	Lat int32
	/*Lon Longitude of SW corner of first grid */
	Lon int32
	/*GrIDSpacing Grid spacing */
	GrIDSpacing uint16
	/*HasExtensionFieldValues indicates if this message has any extensions and  */
	HasExtensionFieldValues bool
}

TerrainRequest Request for terrain data and terrain status

func (*TerrainRequest) GetDialect

func (m *TerrainRequest) GetDialect() string

GetDialect gets the name of the dialect that defines the Message

func (*TerrainRequest) GetID

func (m *TerrainRequest) GetID() uint32

GetID gets the ID of the Message

func (*TerrainRequest) GetMessageName

func (m *TerrainRequest) GetMessageName() string

GetMessageName gets the name of the Message

func (*TerrainRequest) GetVersion

func (m *TerrainRequest) GetVersion() int

GetVersion gets the MAVLink version of the Message contents

func (*TerrainRequest) HasExtensionFields

func (m *TerrainRequest) HasExtensionFields() bool

HasExtensionFields returns true if the message definition contained extensions; false otherwise

func (*TerrainRequest) Read

func (m *TerrainRequest) Read(frame mavlink2.Frame) (err error)

Read sets the field values of the message from the raw message payload

func (*TerrainRequest) String

func (m *TerrainRequest) String() string

func (*TerrainRequest) Write

func (m *TerrainRequest) Write(version int) (output []byte, err error)

Write encodes the field values of the message to a byte array

type TimeEstimateToTarget

type TimeEstimateToTarget struct {
	/*SafeReturn Estimated time to complete the vehicle's configured "safe return" action from its current position (e.g. RTL, Smart RTL, etc.). -1 indicates that the vehicle is landed, or that no time estimate available. */
	SafeReturn int32
	/*Land Estimated time for vehicle to complete the LAND action from its current position. -1 indicates that the vehicle is landed, or that no time estimate available. */
	Land int32
	/*MissionNextItem Estimated time for reaching/completing the currently active mission item. -1 means no time estimate available. */
	MissionNextItem int32
	/*MissionEnd Estimated time for completing the current mission. -1 means no mission active and/or no estimate available. */
	MissionEnd int32
	/*CommandedAction Estimated time for completing the current commanded action (i.e. Go To, Takeoff, Land, etc.). -1 means no action active and/or no estimate available. */
	CommandedAction int32
	/*HasExtensionFieldValues indicates if this message has any extensions and  */
	HasExtensionFieldValues bool
}

TimeEstimateToTarget Time/duration estimates for various events and actions given the current vehicle state and position.

func (*TimeEstimateToTarget) GetDialect

func (m *TimeEstimateToTarget) GetDialect() string

GetDialect gets the name of the dialect that defines the Message

func (*TimeEstimateToTarget) GetID

func (m *TimeEstimateToTarget) GetID() uint32

GetID gets the ID of the Message

func (*TimeEstimateToTarget) GetMessageName

func (m *TimeEstimateToTarget) GetMessageName() string

GetMessageName gets the name of the Message

func (*TimeEstimateToTarget) GetVersion

func (m *TimeEstimateToTarget) GetVersion() int

GetVersion gets the MAVLink version of the Message contents

func (*TimeEstimateToTarget) HasExtensionFields

func (m *TimeEstimateToTarget) HasExtensionFields() bool

HasExtensionFields returns true if the message definition contained extensions; false otherwise

func (*TimeEstimateToTarget) Read

func (m *TimeEstimateToTarget) Read(frame mavlink2.Frame) (err error)

Read sets the field values of the message from the raw message payload

func (*TimeEstimateToTarget) String

func (m *TimeEstimateToTarget) String() string

func (*TimeEstimateToTarget) Write

func (m *TimeEstimateToTarget) Write(version int) (output []byte, err error)

Write encodes the field values of the message to a byte array

type Timesync

type Timesync struct {
	/*Tc1 Time sync timestamp 1 */
	Tc1 int64
	/*Ts1 Time sync timestamp 2 */
	Ts1 int64
	/*HasExtensionFieldValues indicates if this message has any extensions and  */
	HasExtensionFieldValues bool
}

Timesync Time synchronization message.

func (*Timesync) GetDialect

func (m *Timesync) GetDialect() string

GetDialect gets the name of the dialect that defines the Message

func (*Timesync) GetID

func (m *Timesync) GetID() uint32

GetID gets the ID of the Message

func (*Timesync) GetMessageName

func (m *Timesync) GetMessageName() string

GetMessageName gets the name of the Message

func (*Timesync) GetVersion

func (m *Timesync) GetVersion() int

GetVersion gets the MAVLink version of the Message contents

func (*Timesync) HasExtensionFields

func (m *Timesync) HasExtensionFields() bool

HasExtensionFields returns true if the message definition contained extensions; false otherwise

func (*Timesync) Read

func (m *Timesync) Read(frame mavlink2.Frame) (err error)

Read sets the field values of the message from the raw message payload

func (*Timesync) String

func (m *Timesync) String() string

func (*Timesync) Write

func (m *Timesync) Write(version int) (output []byte, err error)

Write encodes the field values of the message to a byte array

type TrajectoryRepresentationBezier

type TrajectoryRepresentationBezier struct {
	/*TimeUsec 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 the number. */
	TimeUsec uint64
	/*PosX X-coordinate of starting bezier point, set to NaN if not being used */
	PosX [5]float32
	/*PosY Y-coordinate of starting bezier point, set to NaN if not being used */
	PosY [5]float32
	/*PosZ Z-coordinate of starting bezier point, set to NaN if not being used */
	PosZ [5]float32
	/*Delta Bezier time horizon, set to NaN if velocity/acceleration should not be incorporated */
	Delta [5]float32
	/*PosYaw Yaw, set to NaN for unchanged */
	PosYaw [5]float32
	/*ValIDPoints Number of valid points (up-to 5 waypoints are possible) */
	ValIDPoints uint8
	/*HasExtensionFieldValues indicates if this message has any extensions and  */
	HasExtensionFieldValues bool
}

TrajectoryRepresentationBezier Describe a trajectory using an array of up-to 5 bezier points in the local frame.

func (*TrajectoryRepresentationBezier) GetDialect

func (m *TrajectoryRepresentationBezier) GetDialect() string

GetDialect gets the name of the dialect that defines the Message

func (*TrajectoryRepresentationBezier) GetID

GetID gets the ID of the Message

func (*TrajectoryRepresentationBezier) GetMessageName

func (m *TrajectoryRepresentationBezier) GetMessageName() string

GetMessageName gets the name of the Message

func (*TrajectoryRepresentationBezier) GetVersion

func (m *TrajectoryRepresentationBezier) GetVersion() int

GetVersion gets the MAVLink version of the Message contents

func (*TrajectoryRepresentationBezier) HasExtensionFields

func (m *TrajectoryRepresentationBezier) HasExtensionFields() bool

HasExtensionFields returns true if the message definition contained extensions; false otherwise

func (*TrajectoryRepresentationBezier) Read

func (m *TrajectoryRepresentationBezier) Read(frame mavlink2.Frame) (err error)

Read sets the field values of the message from the raw message payload

func (*TrajectoryRepresentationBezier) String

func (*TrajectoryRepresentationBezier) Write

func (m *TrajectoryRepresentationBezier) Write(version int) (output []byte, err error)

Write encodes the field values of the message to a byte array

type TrajectoryRepresentationWaypoints

type TrajectoryRepresentationWaypoints struct {
	/*TimeUsec 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 the number. */
	TimeUsec uint64
	/*PosX X-coordinate of waypoint, set to NaN if not being used */
	PosX [5]float32
	/*PosY Y-coordinate of waypoint, set to NaN if not being used */
	PosY [5]float32
	/*PosZ Z-coordinate of waypoint, set to NaN if not being used */
	PosZ [5]float32
	/*VelX X-velocity of waypoint, set to NaN if not being used */
	VelX [5]float32
	/*VelY Y-velocity of waypoint, set to NaN if not being used */
	VelY [5]float32
	/*VelZ Z-velocity of waypoint, set to NaN if not being used */
	VelZ [5]float32
	/*AccX X-acceleration of waypoint, set to NaN if not being used */
	AccX [5]float32
	/*AccY Y-acceleration of waypoint, set to NaN if not being used */
	AccY [5]float32
	/*AccZ Z-acceleration of waypoint, set to NaN if not being used */
	AccZ [5]float32
	/*PosYaw Yaw angle, set to NaN if not being used */
	PosYaw [5]float32
	/*VelYaw Yaw rate, set to NaN if not being used */
	VelYaw [5]float32
	/*Command Scheduled action for each waypoint, UINT16_MAX if not being used. */
	Command [5]uint16
	/*ValIDPoints Number of valid points (up-to 5 waypoints are possible) */
	ValIDPoints uint8
	/*HasExtensionFieldValues indicates if this message has any extensions and  */
	HasExtensionFieldValues bool
}

TrajectoryRepresentationWaypoints Describe a trajectory using an array of up-to 5 waypoints in the local frame.

func (*TrajectoryRepresentationWaypoints) GetDialect

func (m *TrajectoryRepresentationWaypoints) GetDialect() string

GetDialect gets the name of the dialect that defines the Message

func (*TrajectoryRepresentationWaypoints) GetID

GetID gets the ID of the Message

func (*TrajectoryRepresentationWaypoints) GetMessageName

func (m *TrajectoryRepresentationWaypoints) GetMessageName() string

GetMessageName gets the name of the Message

func (*TrajectoryRepresentationWaypoints) GetVersion

func (m *TrajectoryRepresentationWaypoints) GetVersion() int

GetVersion gets the MAVLink version of the Message contents

func (*TrajectoryRepresentationWaypoints) HasExtensionFields

func (m *TrajectoryRepresentationWaypoints) HasExtensionFields() bool

HasExtensionFields returns true if the message definition contained extensions; false otherwise

func (*TrajectoryRepresentationWaypoints) Read

func (m *TrajectoryRepresentationWaypoints) Read(frame mavlink2.Frame) (err error)

Read sets the field values of the message from the raw message payload

func (*TrajectoryRepresentationWaypoints) String

func (*TrajectoryRepresentationWaypoints) Write

func (m *TrajectoryRepresentationWaypoints) Write(version int) (output []byte, err error)

Write encodes the field values of the message to a byte array

type Tunnel

type Tunnel struct {
	/*PayloadType A code that identifies the content of the payload (0 for unknown, which is the default). If this code is less than 32768, it is a 'registered' payload type and the corresponding code should be added to the MAV_TUNNEL_PAYLOAD_TYPE enum. Software creators can register blocks of types as needed. Codes greater than 32767 are considered local experiments and should not be checked in to any widely distributed codebase. */
	PayloadType uint16
	/*TargetSystem System ID (can be 0 for broadcast, but this is discouraged) */
	TargetSystem uint8
	/*TargetComponent Component ID (can be 0 for broadcast, but this is discouraged) */
	TargetComponent uint8
	/*PayloadLength Length of the data transported in payload */
	PayloadLength uint8
	/*Payload Variable length payload. The payload length is defined by payload_length. The entire content of this block is opaque unless you understand the encoding specified by payload_type. */
	Payload [128]uint8
	/*HasExtensionFieldValues indicates if this message has any extensions and  */
	HasExtensionFieldValues bool
}

Tunnel 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.

func (*Tunnel) GetDialect

func (m *Tunnel) GetDialect() string

GetDialect gets the name of the dialect that defines the Message

func (*Tunnel) GetID

func (m *Tunnel) GetID() uint32

GetID gets the ID of the Message

func (*Tunnel) GetMessageName

func (m *Tunnel) GetMessageName() string

GetMessageName gets the name of the Message

func (*Tunnel) GetVersion

func (m *Tunnel) GetVersion() int

GetVersion gets the MAVLink version of the Message contents

func (*Tunnel) HasExtensionFields

func (m *Tunnel) HasExtensionFields() bool

HasExtensionFields returns true if the message definition contained extensions; false otherwise

func (*Tunnel) Read

func (m *Tunnel) Read(frame mavlink2.Frame) (err error)

Read sets the field values of the message from the raw message payload

func (*Tunnel) String

func (m *Tunnel) String() string

func (*Tunnel) Write

func (m *Tunnel) Write(version int) (output []byte, err error)

Write encodes the field values of the message to a byte array

type UavcanNodeInfo

type UavcanNodeInfo struct {
	/*TimeUsec 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 the number. */
	TimeUsec uint64
	/*UptimeSec Time since the start-up of the node. */
	UptimeSec uint32
	/*SwVcsCommit Version control system (VCS) revision identifier (e.g. git short commit hash). Zero if unknown. */
	SwVcsCommit uint32
	/*Name Node name string. For example, "sapog.px4.io". */
	Name [80]byte
	/*HWVersionMajor Hardware major version number. */
	HWVersionMajor uint8
	/*HWVersionMinor Hardware minor version number. */
	HWVersionMinor uint8
	/*HWUniqueID Hardware unique 128-bit ID. */
	HWUniqueID [16]uint8
	/*SwVersionMajor Software major version number. */
	SwVersionMajor uint8
	/*SwVersionMinor Software minor version number. */
	SwVersionMinor uint8
	/*HasExtensionFieldValues indicates if this message has any extensions and  */
	HasExtensionFieldValues bool
}

UavcanNodeInfo 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.

func (*UavcanNodeInfo) GetDialect

func (m *UavcanNodeInfo) GetDialect() string

GetDialect gets the name of the dialect that defines the Message

func (*UavcanNodeInfo) GetID

func (m *UavcanNodeInfo) GetID() uint32

GetID gets the ID of the Message

func (*UavcanNodeInfo) GetMessageName

func (m *UavcanNodeInfo) GetMessageName() string

GetMessageName gets the name of the Message

func (*UavcanNodeInfo) GetName

func (m *UavcanNodeInfo) GetName() string

GetName decodes the null-terminated string in the Name

func (*UavcanNodeInfo) GetVersion

func (m *UavcanNodeInfo) GetVersion() int

GetVersion gets the MAVLink version of the Message contents

func (*UavcanNodeInfo) HasExtensionFields

func (m *UavcanNodeInfo) HasExtensionFields() bool

HasExtensionFields returns true if the message definition contained extensions; false otherwise

func (*UavcanNodeInfo) Read

func (m *UavcanNodeInfo) Read(frame mavlink2.Frame) (err error)

Read sets the field values of the message from the raw message payload

func (*UavcanNodeInfo) SetName

func (m *UavcanNodeInfo) SetName(input string) (err error)

SetName encodes the input string to the Name array

func (*UavcanNodeInfo) String

func (m *UavcanNodeInfo) String() string

func (*UavcanNodeInfo) Write

func (m *UavcanNodeInfo) Write(version int) (output []byte, err error)

Write encodes the field values of the message to a byte array

type UavcanNodeStatus

type UavcanNodeStatus struct {
	/*TimeUsec 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 the number. */
	TimeUsec uint64
	/*UptimeSec Time since the start-up of the node. */
	UptimeSec uint32
	/*VendorSpecificStatusCode Vendor-specific status information. */
	VendorSpecificStatusCode uint16
	/*Health Generalized node health status. */
	Health uint8
	/*Mode Generalized operating mode. */
	Mode uint8
	/*SubMode Not used currently. */
	SubMode uint8
	/*HasExtensionFieldValues indicates if this message has any extensions and  */
	HasExtensionFieldValues bool
}

UavcanNodeStatus 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.

func (*UavcanNodeStatus) GetDialect

func (m *UavcanNodeStatus) GetDialect() string

GetDialect gets the name of the dialect that defines the Message

func (*UavcanNodeStatus) GetID

func (m *UavcanNodeStatus) GetID() uint32

GetID gets the ID of the Message

func (*UavcanNodeStatus) GetMessageName

func (m *UavcanNodeStatus) GetMessageName() string

GetMessageName gets the name of the Message

func (*UavcanNodeStatus) GetVersion

func (m *UavcanNodeStatus) GetVersion() int

GetVersion gets the MAVLink version of the Message contents

func (*UavcanNodeStatus) HasExtensionFields

func (m *UavcanNodeStatus) HasExtensionFields() bool

HasExtensionFields returns true if the message definition contained extensions; false otherwise

func (*UavcanNodeStatus) Read

func (m *UavcanNodeStatus) Read(frame mavlink2.Frame) (err error)

Read sets the field values of the message from the raw message payload

func (*UavcanNodeStatus) String

func (m *UavcanNodeStatus) String() string

func (*UavcanNodeStatus) Write

func (m *UavcanNodeStatus) Write(version int) (output []byte, err error)

Write encodes the field values of the message to a byte array

type UtmGlobalPosition

type UtmGlobalPosition struct {
	/*Time Time of applicability of position (microseconds since UNIX epoch). */
	Time uint64
	/*Lat Latitude (WGS84) */
	Lat int32
	/*Lon Longitude (WGS84) */
	Lon int32
	/*Alt Altitude (WGS84) */
	Alt int32
	/*RelativeAlt Altitude above ground */
	RelativeAlt int32
	/*NextLat Next waypoint, latitude (WGS84) */
	NextLat int32
	/*NextLon Next waypoint, longitude (WGS84) */
	NextLon int32
	/*NextAlt Next waypoint, altitude (WGS84) */
	NextAlt int32
	/*Vx Ground X speed (latitude, positive north) */
	Vx int16
	/*Vy Ground Y speed (longitude, positive east) */
	Vy int16
	/*Vz Ground Z speed (altitude, positive down) */
	Vz int16
	/*HAcc Horizontal position uncertainty (standard deviation) */
	HAcc uint16
	/*VAcc Altitude uncertainty (standard deviation) */
	VAcc uint16
	/*VelAcc Speed uncertainty (standard deviation) */
	VelAcc uint16
	/*UpdateRate Time until next update. Set to 0 if unknown or in data driven mode. */
	UpdateRate uint16
	/*UasID Unique UAS ID. */
	UasID [18]uint8
	/*FlightState Flight state */
	FlightState uint8
	/*Flags Bitwise OR combination of the data available flags. */
	Flags uint8
	/*HasExtensionFieldValues indicates if this message has any extensions and  */
	HasExtensionFieldValues bool
}

UtmGlobalPosition The global position resulting from GPS and sensor fusion.

func (*UtmGlobalPosition) GetDialect

func (m *UtmGlobalPosition) GetDialect() string

GetDialect gets the name of the dialect that defines the Message

func (*UtmGlobalPosition) GetID

func (m *UtmGlobalPosition) GetID() uint32

GetID gets the ID of the Message

func (*UtmGlobalPosition) GetMessageName

func (m *UtmGlobalPosition) GetMessageName() string

GetMessageName gets the name of the Message

func (*UtmGlobalPosition) GetVersion

func (m *UtmGlobalPosition) GetVersion() int

GetVersion gets the MAVLink version of the Message contents

func (*UtmGlobalPosition) HasExtensionFields

func (m *UtmGlobalPosition) HasExtensionFields() bool

HasExtensionFields returns true if the message definition contained extensions; false otherwise

func (*UtmGlobalPosition) Read

func (m *UtmGlobalPosition) Read(frame mavlink2.Frame) (err error)

Read sets the field values of the message from the raw message payload

func (*UtmGlobalPosition) String

func (m *UtmGlobalPosition) String() string

func (*UtmGlobalPosition) Write

func (m *UtmGlobalPosition) Write(version int) (output []byte, err error)

Write encodes the field values of the message to a byte array

type V2Extension

type V2Extension struct {
	/*MessageType A code that identifies the software component that understands this message (analogous to USB device classes or mime type strings).  If this code is less than 32768, it is considered a 'registered' protocol extension and the corresponding entry should be added to https://github.com/mavlink/mavlink/extension-message-ids.xml.  Software creators can register blocks of message IDs as needed (useful for GCS specific metadata, etc...). Message_types greater than 32767 are considered local experiments and should not be checked in to any widely distributed codebase. */
	MessageType uint16
	/*TargetNetwork Network ID (0 for broadcast) */
	TargetNetwork uint8
	/*TargetSystem System ID (0 for broadcast) */
	TargetSystem uint8
	/*TargetComponent Component ID (0 for broadcast) */
	TargetComponent uint8
	/*Payload Variable length payload. The length is defined by the remaining message length when subtracting the header and other fields.  The entire content of this block is opaque unless you understand any the encoding message_type.  The particular encoding used can be extension specific and might not always be documented as part of the mavlink specification. */
	Payload [249]byte
	/*HasExtensionFieldValues indicates if this message has any extensions and  */
	HasExtensionFieldValues bool
	/*PayloadLength Length of the variable length Payload*/
	PayloadLength uint8
}

V2Extension Message implementing parts of the V2 payload specs in V1 frames for transitional support.

func (*V2Extension) GetDialect

func (m *V2Extension) GetDialect() string

GetDialect gets the name of the dialect that defines the Message

func (*V2Extension) GetID

func (m *V2Extension) GetID() uint32

GetID gets the ID of the Message

func (*V2Extension) GetMessageName

func (m *V2Extension) GetMessageName() string

GetMessageName gets the name of the Message

func (*V2Extension) GetPayload

func (m *V2Extension) GetPayload() []byte

GetPayloadSlice gets the valid Payload bytes as a slice

func (*V2Extension) GetVersion

func (m *V2Extension) GetVersion() int

GetVersion gets the MAVLink version of the Message contents

func (*V2Extension) HasExtensionFields

func (m *V2Extension) HasExtensionFields() bool

HasExtensionFields returns true if the message definition contained extensions; false otherwise

func (*V2Extension) Read

func (m *V2Extension) Read(frame mavlink2.Frame) (err error)

Read sets the field values of the message from the raw message payload

func (*V2Extension) SetPayloadSlice

func (m *V2Extension) SetPayloadSlice(payload []byte) error

SetPayloadSlice sets the Payload from the slice value provided

func (*V2Extension) String

func (m *V2Extension) String() string

func (*V2Extension) Write

func (m *V2Extension) Write(version int) (output []byte, err error)

Write encodes the field values of the message to a byte array

type VFRHUD

type VFRHUD struct {
	/*Airspeed Current indicated airspeed (IAS). */
	Airspeed float32
	/*Groundspeed Current ground speed. */
	Groundspeed float32
	/*Alt Current altitude (MSL). */
	Alt float32
	/*Climb Current climb rate. */
	Climb float32
	/*Heading Current heading in compass units (0-360, 0=north). */
	Heading int16
	/*Throttle Current throttle setting (0 to 100). */
	Throttle uint16
	/*HasExtensionFieldValues indicates if this message has any extensions and  */
	HasExtensionFieldValues bool
}

VFRHUD Metrics typically displayed on a HUD for fixed wing aircraft.

func (*VFRHUD) GetDialect

func (m *VFRHUD) GetDialect() string

GetDialect gets the name of the dialect that defines the Message

func (*VFRHUD) GetID

func (m *VFRHUD) GetID() uint32

GetID gets the ID of the Message

func (*VFRHUD) GetMessageName

func (m *VFRHUD) GetMessageName() string

GetMessageName gets the name of the Message

func (*VFRHUD) GetVersion

func (m *VFRHUD) GetVersion() int

GetVersion gets the MAVLink version of the Message contents

func (*VFRHUD) HasExtensionFields

func (m *VFRHUD) HasExtensionFields() bool

HasExtensionFields returns true if the message definition contained extensions; false otherwise

func (*VFRHUD) Read

func (m *VFRHUD) Read(frame mavlink2.Frame) (err error)

Read sets the field values of the message from the raw message payload

func (*VFRHUD) String

func (m *VFRHUD) String() string

func (*VFRHUD) Write

func (m *VFRHUD) Write(version int) (output []byte, err error)

Write encodes the field values of the message to a byte array

type VIDeoStreamInformation

type VIDeoStreamInformation struct {
	/*Framerate Frame rate. */
	Framerate float32
	/*Bitrate Bit rate. */
	Bitrate uint32
	/*Flags Bitmap of stream status flags. */
	Flags uint16
	/*ResolutionH Horizontal resolution. */
	ResolutionH uint16
	/*ResolutionV Vertical resolution. */
	ResolutionV uint16
	/*Rotation Video image rotation clockwise. */
	Rotation uint16
	/*Hfov Horizontal Field of view. */
	Hfov uint16
	/*StreamID Video Stream ID (1 for first, 2 for second, etc.) */
	StreamID uint8
	/*Count Number of streams available. */
	Count uint8
	/*Type Type of stream. */
	Type uint8
	/*Name Stream name. */
	Name [32]byte
	/*URI Video stream URI (TCP or RTSP URI ground station should connect to) or port number (UDP port ground station should listen to). */
	URI [160]byte
	/*HasExtensionFieldValues indicates if this message has any extensions and  */
	HasExtensionFieldValues bool
}

VIDeoStreamInformation Information about video stream

func (*VIDeoStreamInformation) GetDialect

func (m *VIDeoStreamInformation) GetDialect() string

GetDialect gets the name of the dialect that defines the Message

func (*VIDeoStreamInformation) GetID

func (m *VIDeoStreamInformation) GetID() uint32

GetID gets the ID of the Message

func (*VIDeoStreamInformation) GetMessageName

func (m *VIDeoStreamInformation) GetMessageName() string

GetMessageName gets the name of the Message

func (*VIDeoStreamInformation) GetName

func (m *VIDeoStreamInformation) GetName() string

GetName decodes the null-terminated string in the Name

func (*VIDeoStreamInformation) GetURI

func (m *VIDeoStreamInformation) GetURI() string

GetURI decodes the null-terminated string in the URI

func (*VIDeoStreamInformation) GetVersion

func (m *VIDeoStreamInformation) GetVersion() int

GetVersion gets the MAVLink version of the Message contents

func (*VIDeoStreamInformation) HasExtensionFields

func (m *VIDeoStreamInformation) HasExtensionFields() bool

HasExtensionFields returns true if the message definition contained extensions; false otherwise

func (*VIDeoStreamInformation) Read

func (m *VIDeoStreamInformation) Read(frame mavlink2.Frame) (err error)

Read sets the field values of the message from the raw message payload

func (*VIDeoStreamInformation) SetName

func (m *VIDeoStreamInformation) SetName(input string) (err error)

SetName encodes the input string to the Name array

func (*VIDeoStreamInformation) SetURI

func (m *VIDeoStreamInformation) SetURI(input string) (err error)

SetURI encodes the input string to the URI array

func (*VIDeoStreamInformation) String

func (m *VIDeoStreamInformation) String() string

func (*VIDeoStreamInformation) Write

func (m *VIDeoStreamInformation) Write(version int) (output []byte, err error)

Write encodes the field values of the message to a byte array

type VIDeoStreamStatus

type VIDeoStreamStatus struct {
	/*Framerate Frame rate */
	Framerate float32
	/*Bitrate Bit rate */
	Bitrate uint32
	/*Flags Bitmap of stream status flags */
	Flags uint16
	/*ResolutionH Horizontal resolution */
	ResolutionH uint16
	/*ResolutionV Vertical resolution */
	ResolutionV uint16
	/*Rotation Video image rotation clockwise */
	Rotation uint16
	/*Hfov Horizontal Field of view */
	Hfov uint16
	/*StreamID Video Stream ID (1 for first, 2 for second, etc.) */
	StreamID uint8
	/*HasExtensionFieldValues indicates if this message has any extensions and  */
	HasExtensionFieldValues bool
}

VIDeoStreamStatus Information about the status of a video stream.

func (*VIDeoStreamStatus) GetDialect

func (m *VIDeoStreamStatus) GetDialect() string

GetDialect gets the name of the dialect that defines the Message

func (*VIDeoStreamStatus) GetID

func (m *VIDeoStreamStatus) GetID() uint32

GetID gets the ID of the Message

func (*VIDeoStreamStatus) GetMessageName

func (m *VIDeoStreamStatus) GetMessageName() string

GetMessageName gets the name of the Message

func (*VIDeoStreamStatus) GetVersion

func (m *VIDeoStreamStatus) GetVersion() int

GetVersion gets the MAVLink version of the Message contents

func (*VIDeoStreamStatus) HasExtensionFields

func (m *VIDeoStreamStatus) HasExtensionFields() bool

HasExtensionFields returns true if the message definition contained extensions; false otherwise

func (*VIDeoStreamStatus) Read

func (m *VIDeoStreamStatus) Read(frame mavlink2.Frame) (err error)

Read sets the field values of the message from the raw message payload

func (*VIDeoStreamStatus) String

func (m *VIDeoStreamStatus) String() string

func (*VIDeoStreamStatus) Write

func (m *VIDeoStreamStatus) Write(version int) (output []byte, err error)

Write encodes the field values of the message to a byte array

type Vibration

type Vibration struct {
	/*TimeUsec 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 the number. */
	TimeUsec uint64
	/*VibrationX Vibration levels on X-axis */
	VibrationX float32
	/*VibrationY Vibration levels on Y-axis */
	VibrationY float32
	/*VibrationZ Vibration levels on Z-axis */
	VibrationZ float32
	/*Clipping0 first accelerometer clipping count */
	Clipping0 uint32
	/*Clipping1 second accelerometer clipping count */
	Clipping1 uint32
	/*Clipping2 third accelerometer clipping count */
	Clipping2 uint32
	/*HasExtensionFieldValues indicates if this message has any extensions and  */
	HasExtensionFieldValues bool
}

Vibration Vibration levels and accelerometer clipping

func (*Vibration) GetDialect

func (m *Vibration) GetDialect() string

GetDialect gets the name of the dialect that defines the Message

func (*Vibration) GetID

func (m *Vibration) GetID() uint32

GetID gets the ID of the Message

func (*Vibration) GetMessageName

func (m *Vibration) GetMessageName() string

GetMessageName gets the name of the Message

func (*Vibration) GetVersion

func (m *Vibration) GetVersion() int

GetVersion gets the MAVLink version of the Message contents

func (*Vibration) HasExtensionFields

func (m *Vibration) HasExtensionFields() bool

HasExtensionFields returns true if the message definition contained extensions; false otherwise

func (*Vibration) Read

func (m *Vibration) Read(frame mavlink2.Frame) (err error)

Read sets the field values of the message from the raw message payload

func (*Vibration) String

func (m *Vibration) String() string

func (*Vibration) Write

func (m *Vibration) Write(version int) (output []byte, err error)

Write encodes the field values of the message to a byte array

type ViconPositionEstimate

type ViconPositionEstimate struct {
	/*Usec Timestamp (UNIX time or time since system boot) */
	Usec uint64
	/*X Global X position */
	X float32
	/*Y Global Y position */
	Y float32
	/*Z Global Z position */
	Z float32
	/*Roll Roll angle */
	Roll float32
	/*Pitch Pitch angle */
	Pitch float32
	/*Yaw Yaw angle */
	Yaw float32
	/*Covariance Row-major representation of 6x6 pose cross-covariance matrix upper right triangle (states: x, y, z, roll, pitch, yaw; first six entries are the first ROW, next five entries are the second ROW, etc.). If unknown, assign NaN value to first element in the array. */
	Covariance [21]float32
	/*HasExtensionFieldValues indicates if this message has any extensions and  */
	HasExtensionFieldValues bool
}

ViconPositionEstimate Global position estimate from a Vicon motion system source.

func (*ViconPositionEstimate) GetDialect

func (m *ViconPositionEstimate) GetDialect() string

GetDialect gets the name of the dialect that defines the Message

func (*ViconPositionEstimate) GetID

func (m *ViconPositionEstimate) GetID() uint32

GetID gets the ID of the Message

func (*ViconPositionEstimate) GetMessageName

func (m *ViconPositionEstimate) GetMessageName() string

GetMessageName gets the name of the Message

func (*ViconPositionEstimate) GetVersion

func (m *ViconPositionEstimate) GetVersion() int

GetVersion gets the MAVLink version of the Message contents

func (*ViconPositionEstimate) HasExtensionFields

func (m *ViconPositionEstimate) HasExtensionFields() bool

HasExtensionFields returns true if the message definition contained extensions; false otherwise

func (*ViconPositionEstimate) Read

func (m *ViconPositionEstimate) Read(frame mavlink2.Frame) (err error)

Read sets the field values of the message from the raw message payload

func (*ViconPositionEstimate) String

func (m *ViconPositionEstimate) String() string

func (*ViconPositionEstimate) Write

func (m *ViconPositionEstimate) Write(version int) (output []byte, err error)

Write encodes the field values of the message to a byte array

type VisionPositionEstimate

type VisionPositionEstimate struct {
	/*Usec Timestamp (UNIX time or time since system boot) */
	Usec uint64
	/*X Local X position */
	X float32
	/*Y Local Y position */
	Y float32
	/*Z Local Z position */
	Z float32
	/*Roll Roll angle */
	Roll float32
	/*Pitch Pitch angle */
	Pitch float32
	/*Yaw Yaw angle */
	Yaw float32
	/*Covariance Row-major representation of pose 6x6 cross-covariance matrix upper right triangle (states: x, y, z, roll, pitch, yaw; first six entries are the first ROW, next five entries are the second ROW, etc.). If unknown, assign NaN value to first element in the array. */
	Covariance [21]float32
	/*ResetCounter Estimate reset counter. This should be incremented when the estimate resets in any of the dimensions (position, velocity, attitude, angular speed). This is designed to be used when e.g an external SLAM system detects a loop-closure and the estimate jumps. */
	ResetCounter uint8
	/*HasExtensionFieldValues indicates if this message has any extensions and  */
	HasExtensionFieldValues bool
}

VisionPositionEstimate Local position/attitude estimate from a vision source.

func (*VisionPositionEstimate) GetDialect

func (m *VisionPositionEstimate) GetDialect() string

GetDialect gets the name of the dialect that defines the Message

func (*VisionPositionEstimate) GetID

func (m *VisionPositionEstimate) GetID() uint32

GetID gets the ID of the Message

func (*VisionPositionEstimate) GetMessageName

func (m *VisionPositionEstimate) GetMessageName() string

GetMessageName gets the name of the Message

func (*VisionPositionEstimate) GetVersion

func (m *VisionPositionEstimate) GetVersion() int

GetVersion gets the MAVLink version of the Message contents

func (*VisionPositionEstimate) HasExtensionFields

func (m *VisionPositionEstimate) HasExtensionFields() bool

HasExtensionFields returns true if the message definition contained extensions; false otherwise

func (*VisionPositionEstimate) Read

func (m *VisionPositionEstimate) Read(frame mavlink2.Frame) (err error)

Read sets the field values of the message from the raw message payload

func (*VisionPositionEstimate) String

func (m *VisionPositionEstimate) String() string

func (*VisionPositionEstimate) Write

func (m *VisionPositionEstimate) Write(version int) (output []byte, err error)

Write encodes the field values of the message to a byte array

type VisionSpeedEstimate

type VisionSpeedEstimate struct {
	/*Usec Timestamp (UNIX time or time since system boot) */
	Usec uint64
	/*X Global X speed */
	X float32
	/*Y Global Y speed */
	Y float32
	/*Z Global Z speed */
	Z float32
	/*Covariance Row-major representation of 3x3 linear velocity covariance matrix (states: vx, vy, vz; 1st three entries - 1st row, etc.). If unknown, assign NaN value to first element in the array. */
	Covariance [9]float32
	/*ResetCounter Estimate reset counter. This should be incremented when the estimate resets in any of the dimensions (position, velocity, attitude, angular speed). This is designed to be used when e.g an external SLAM system detects a loop-closure and the estimate jumps. */
	ResetCounter uint8
	/*HasExtensionFieldValues indicates if this message has any extensions and  */
	HasExtensionFieldValues bool
}

VisionSpeedEstimate Speed estimate from a vision source.

func (*VisionSpeedEstimate) GetDialect

func (m *VisionSpeedEstimate) GetDialect() string

GetDialect gets the name of the dialect that defines the Message

func (*VisionSpeedEstimate) GetID

func (m *VisionSpeedEstimate) GetID() uint32

GetID gets the ID of the Message

func (*VisionSpeedEstimate) GetMessageName

func (m *VisionSpeedEstimate) GetMessageName() string

GetMessageName gets the name of the Message

func (*VisionSpeedEstimate) GetVersion

func (m *VisionSpeedEstimate) GetVersion() int

GetVersion gets the MAVLink version of the Message contents

func (*VisionSpeedEstimate) HasExtensionFields

func (m *VisionSpeedEstimate) HasExtensionFields() bool

HasExtensionFields returns true if the message definition contained extensions; false otherwise

func (*VisionSpeedEstimate) Read

func (m *VisionSpeedEstimate) Read(frame mavlink2.Frame) (err error)

Read sets the field values of the message from the raw message payload

func (*VisionSpeedEstimate) String

func (m *VisionSpeedEstimate) String() string

func (*VisionSpeedEstimate) Write

func (m *VisionSpeedEstimate) Write(version int) (output []byte, err error)

Write encodes the field values of the message to a byte array

type WheelDistance

type WheelDistance struct {
	/*TimeUsec Timestamp (synced to UNIX time or since system boot). */
	TimeUsec uint64
	/*Distance Distance reported by individual wheel encoders. Forward rotations increase values, reverse rotations decrease them. Not all wheels will necessarily have wheel encoders; the mapping of encoders to wheel positions must be agreed/understood by the endpoints. */
	Distance [16]float64
	/*Count Number of wheels reported. */
	Count uint8
	/*HasExtensionFieldValues indicates if this message has any extensions and  */
	HasExtensionFieldValues bool
}

WheelDistance Cumulative distance traveled for each reported wheel.

func (*WheelDistance) GetDialect

func (m *WheelDistance) GetDialect() string

GetDialect gets the name of the dialect that defines the Message

func (*WheelDistance) GetID

func (m *WheelDistance) GetID() uint32

GetID gets the ID of the Message

func (*WheelDistance) GetMessageName

func (m *WheelDistance) GetMessageName() string

GetMessageName gets the name of the Message

func (*WheelDistance) GetVersion

func (m *WheelDistance) GetVersion() int

GetVersion gets the MAVLink version of the Message contents

func (*WheelDistance) HasExtensionFields

func (m *WheelDistance) HasExtensionFields() bool

HasExtensionFields returns true if the message definition contained extensions; false otherwise

func (*WheelDistance) Read

func (m *WheelDistance) Read(frame mavlink2.Frame) (err error)

Read sets the field values of the message from the raw message payload

func (*WheelDistance) String

func (m *WheelDistance) String() string

func (*WheelDistance) Write

func (m *WheelDistance) Write(version int) (output []byte, err error)

Write encodes the field values of the message to a byte array

type WifiConfigAp

type WifiConfigAp struct {
	/*SsID Name of Wi-Fi network (SSID). Leave it blank to leave it unchanged. */
	SsID [32]byte
	/*Password Password. Leave it blank for an open AP. */
	Password [64]byte
	/*HasExtensionFieldValues indicates if this message has any extensions and  */
	HasExtensionFieldValues bool
}

WifiConfigAp Configure AP SSID and Password.

func (*WifiConfigAp) GetDialect

func (m *WifiConfigAp) GetDialect() string

GetDialect gets the name of the dialect that defines the Message

func (*WifiConfigAp) GetID

func (m *WifiConfigAp) GetID() uint32

GetID gets the ID of the Message

func (*WifiConfigAp) GetMessageName

func (m *WifiConfigAp) GetMessageName() string

GetMessageName gets the name of the Message

func (*WifiConfigAp) GetPassword

func (m *WifiConfigAp) GetPassword() string

GetPassword decodes the null-terminated string in the Password

func (*WifiConfigAp) GetSsID

func (m *WifiConfigAp) GetSsID() string

GetSsID decodes the null-terminated string in the SsID

func (*WifiConfigAp) GetVersion

func (m *WifiConfigAp) GetVersion() int

GetVersion gets the MAVLink version of the Message contents

func (*WifiConfigAp) HasExtensionFields

func (m *WifiConfigAp) HasExtensionFields() bool

HasExtensionFields returns true if the message definition contained extensions; false otherwise

func (*WifiConfigAp) Read

func (m *WifiConfigAp) Read(frame mavlink2.Frame) (err error)

Read sets the field values of the message from the raw message payload

func (*WifiConfigAp) SetPassword

func (m *WifiConfigAp) SetPassword(input string) (err error)

SetPassword encodes the input string to the Password array

func (*WifiConfigAp) SetSsID

func (m *WifiConfigAp) SetSsID(input string) (err error)

SetSsID encodes the input string to the SsID array

func (*WifiConfigAp) String

func (m *WifiConfigAp) String() string

func (*WifiConfigAp) Write

func (m *WifiConfigAp) Write(version int) (output []byte, err error)

Write encodes the field values of the message to a byte array

type WindCov

type WindCov struct {
	/*TimeUsec 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 the number. */
	TimeUsec uint64
	/*WindX Wind in X (NED) direction */
	WindX float32
	/*WindY Wind in Y (NED) direction */
	WindY float32
	/*WindZ Wind in Z (NED) direction */
	WindZ float32
	/*VarHoriz Variability of the wind in XY. RMS of a 1 Hz lowpassed wind estimate. */
	VarHoriz float32
	/*VarVert Variability of the wind in Z. RMS of a 1 Hz lowpassed wind estimate. */
	VarVert float32
	/*WindAlt Altitude (MSL) that this measurement was taken at */
	WindAlt float32
	/*HorizAccuracy Horizontal speed 1-STD accuracy */
	HorizAccuracy float32
	/*VertAccuracy Vertical speed 1-STD accuracy */
	VertAccuracy float32
	/*HasExtensionFieldValues indicates if this message has any extensions and  */
	HasExtensionFieldValues bool
}

WindCov Wind covariance estimate from vehicle.

func (*WindCov) GetDialect

func (m *WindCov) GetDialect() string

GetDialect gets the name of the dialect that defines the Message

func (*WindCov) GetID

func (m *WindCov) GetID() uint32

GetID gets the ID of the Message

func (*WindCov) GetMessageName

func (m *WindCov) GetMessageName() string

GetMessageName gets the name of the Message

func (*WindCov) GetVersion

func (m *WindCov) GetVersion() int

GetVersion gets the MAVLink version of the Message contents

func (*WindCov) HasExtensionFields

func (m *WindCov) HasExtensionFields() bool

HasExtensionFields returns true if the message definition contained extensions; false otherwise

func (*WindCov) Read

func (m *WindCov) Read(frame mavlink2.Frame) (err error)

Read sets the field values of the message from the raw message payload

func (*WindCov) String

func (m *WindCov) String() string

func (*WindCov) Write

func (m *WindCov) Write(version int) (output []byte, err error)

Write encodes the field values of the message to a byte array

Source Files

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL