ardupilotmega

package
v1.3.0 Latest Latest
Warning

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

Go to latest
Published: Mar 12, 2023 License: MIT Imports: 8 Imported by: 27

Documentation ¶

Overview ¶

Package ardupilotmega contains the ardupilotmega dialect.

Index ¶

Constants ¶

This section is empty.

Variables ¶

View Source
var Dialect = dial

Dialect contains the dialect definition.

Functions ¶

This section is empty.

Types ¶

type ACCELCAL_VEHICLE_POS ¶

type ACCELCAL_VEHICLE_POS uint32
const (
	ACCELCAL_VEHICLE_POS_LEVEL    ACCELCAL_VEHICLE_POS = 1
	ACCELCAL_VEHICLE_POS_LEFT     ACCELCAL_VEHICLE_POS = 2
	ACCELCAL_VEHICLE_POS_RIGHT    ACCELCAL_VEHICLE_POS = 3
	ACCELCAL_VEHICLE_POS_NOSEDOWN ACCELCAL_VEHICLE_POS = 4
	ACCELCAL_VEHICLE_POS_NOSEUP   ACCELCAL_VEHICLE_POS = 5
	ACCELCAL_VEHICLE_POS_BACK     ACCELCAL_VEHICLE_POS = 6
	ACCELCAL_VEHICLE_POS_SUCCESS  ACCELCAL_VEHICLE_POS = 16777215
	ACCELCAL_VEHICLE_POS_FAILED   ACCELCAL_VEHICLE_POS = 16777216
)

func (ACCELCAL_VEHICLE_POS) MarshalText ¶

func (e ACCELCAL_VEHICLE_POS) MarshalText() ([]byte, error)

MarshalText implements the encoding.TextMarshaler interface.

func (ACCELCAL_VEHICLE_POS) String ¶

func (e ACCELCAL_VEHICLE_POS) String() string

String implements the fmt.Stringer interface.

func (*ACCELCAL_VEHICLE_POS) UnmarshalText ¶

func (e *ACCELCAL_VEHICLE_POS) UnmarshalText(text []byte) error

UnmarshalText implements the encoding.TextUnmarshaler interface.

type ACTUATOR_CONFIGURATION ¶

type ACTUATOR_CONFIGURATION = common.ACTUATOR_CONFIGURATION

Actuator configuration, used to change a setting on an actuator. Component information metadata can be used to know which outputs support which commands.

const (
	// Do nothing.
	ACTUATOR_CONFIGURATION_NONE ACTUATOR_CONFIGURATION = common.ACTUATOR_CONFIGURATION_NONE
	// Command the actuator to beep now.
	ACTUATOR_CONFIGURATION_BEEP ACTUATOR_CONFIGURATION = common.ACTUATOR_CONFIGURATION_BEEP
	// Permanently set the actuator (ESC) to 3D mode (reversible thrust).
	ACTUATOR_CONFIGURATION_3D_MODE_ON ACTUATOR_CONFIGURATION = common.ACTUATOR_CONFIGURATION_3D_MODE_ON
	// Permanently set the actuator (ESC) to non 3D mode (non-reversible thrust).
	ACTUATOR_CONFIGURATION_3D_MODE_OFF ACTUATOR_CONFIGURATION = common.ACTUATOR_CONFIGURATION_3D_MODE_OFF
	// Permanently set the actuator (ESC) to spin direction 1 (which can be clockwise or counter-clockwise).
	ACTUATOR_CONFIGURATION_SPIN_DIRECTION1 ACTUATOR_CONFIGURATION = common.ACTUATOR_CONFIGURATION_SPIN_DIRECTION1
	// Permanently set the actuator (ESC) to spin direction 2 (opposite of direction 1).
	ACTUATOR_CONFIGURATION_SPIN_DIRECTION2 ACTUATOR_CONFIGURATION = common.ACTUATOR_CONFIGURATION_SPIN_DIRECTION2
)

type ACTUATOR_OUTPUT_FUNCTION ¶

type ACTUATOR_OUTPUT_FUNCTION = common.ACTUATOR_OUTPUT_FUNCTION

Actuator output function. Values greater or equal to 1000 are autopilot-specific.

const (
	// No function (disabled).
	ACTUATOR_OUTPUT_FUNCTION_NONE ACTUATOR_OUTPUT_FUNCTION = common.ACTUATOR_OUTPUT_FUNCTION_NONE
	// Motor 1
	ACTUATOR_OUTPUT_FUNCTION_MOTOR1 ACTUATOR_OUTPUT_FUNCTION = common.ACTUATOR_OUTPUT_FUNCTION_MOTOR1
	// Motor 2
	ACTUATOR_OUTPUT_FUNCTION_MOTOR2 ACTUATOR_OUTPUT_FUNCTION = common.ACTUATOR_OUTPUT_FUNCTION_MOTOR2
	// Motor 3
	ACTUATOR_OUTPUT_FUNCTION_MOTOR3 ACTUATOR_OUTPUT_FUNCTION = common.ACTUATOR_OUTPUT_FUNCTION_MOTOR3
	// Motor 4
	ACTUATOR_OUTPUT_FUNCTION_MOTOR4 ACTUATOR_OUTPUT_FUNCTION = common.ACTUATOR_OUTPUT_FUNCTION_MOTOR4
	// Motor 5
	ACTUATOR_OUTPUT_FUNCTION_MOTOR5 ACTUATOR_OUTPUT_FUNCTION = common.ACTUATOR_OUTPUT_FUNCTION_MOTOR5
	// Motor 6
	ACTUATOR_OUTPUT_FUNCTION_MOTOR6 ACTUATOR_OUTPUT_FUNCTION = common.ACTUATOR_OUTPUT_FUNCTION_MOTOR6
	// Motor 7
	ACTUATOR_OUTPUT_FUNCTION_MOTOR7 ACTUATOR_OUTPUT_FUNCTION = common.ACTUATOR_OUTPUT_FUNCTION_MOTOR7
	// Motor 8
	ACTUATOR_OUTPUT_FUNCTION_MOTOR8 ACTUATOR_OUTPUT_FUNCTION = common.ACTUATOR_OUTPUT_FUNCTION_MOTOR8
	// Motor 9
	ACTUATOR_OUTPUT_FUNCTION_MOTOR9 ACTUATOR_OUTPUT_FUNCTION = common.ACTUATOR_OUTPUT_FUNCTION_MOTOR9
	// Motor 10
	ACTUATOR_OUTPUT_FUNCTION_MOTOR10 ACTUATOR_OUTPUT_FUNCTION = common.ACTUATOR_OUTPUT_FUNCTION_MOTOR10
	// Motor 11
	ACTUATOR_OUTPUT_FUNCTION_MOTOR11 ACTUATOR_OUTPUT_FUNCTION = common.ACTUATOR_OUTPUT_FUNCTION_MOTOR11
	// Motor 12
	ACTUATOR_OUTPUT_FUNCTION_MOTOR12 ACTUATOR_OUTPUT_FUNCTION = common.ACTUATOR_OUTPUT_FUNCTION_MOTOR12
	// Motor 13
	ACTUATOR_OUTPUT_FUNCTION_MOTOR13 ACTUATOR_OUTPUT_FUNCTION = common.ACTUATOR_OUTPUT_FUNCTION_MOTOR13
	// Motor 14
	ACTUATOR_OUTPUT_FUNCTION_MOTOR14 ACTUATOR_OUTPUT_FUNCTION = common.ACTUATOR_OUTPUT_FUNCTION_MOTOR14
	// Motor 15
	ACTUATOR_OUTPUT_FUNCTION_MOTOR15 ACTUATOR_OUTPUT_FUNCTION = common.ACTUATOR_OUTPUT_FUNCTION_MOTOR15
	// Motor 16
	ACTUATOR_OUTPUT_FUNCTION_MOTOR16 ACTUATOR_OUTPUT_FUNCTION = common.ACTUATOR_OUTPUT_FUNCTION_MOTOR16
	// Servo 1
	ACTUATOR_OUTPUT_FUNCTION_SERVO1 ACTUATOR_OUTPUT_FUNCTION = common.ACTUATOR_OUTPUT_FUNCTION_SERVO1
	// Servo 2
	ACTUATOR_OUTPUT_FUNCTION_SERVO2 ACTUATOR_OUTPUT_FUNCTION = common.ACTUATOR_OUTPUT_FUNCTION_SERVO2
	// Servo 3
	ACTUATOR_OUTPUT_FUNCTION_SERVO3 ACTUATOR_OUTPUT_FUNCTION = common.ACTUATOR_OUTPUT_FUNCTION_SERVO3
	// Servo 4
	ACTUATOR_OUTPUT_FUNCTION_SERVO4 ACTUATOR_OUTPUT_FUNCTION = common.ACTUATOR_OUTPUT_FUNCTION_SERVO4
	// Servo 5
	ACTUATOR_OUTPUT_FUNCTION_SERVO5 ACTUATOR_OUTPUT_FUNCTION = common.ACTUATOR_OUTPUT_FUNCTION_SERVO5
	// Servo 6
	ACTUATOR_OUTPUT_FUNCTION_SERVO6 ACTUATOR_OUTPUT_FUNCTION = common.ACTUATOR_OUTPUT_FUNCTION_SERVO6
	// Servo 7
	ACTUATOR_OUTPUT_FUNCTION_SERVO7 ACTUATOR_OUTPUT_FUNCTION = common.ACTUATOR_OUTPUT_FUNCTION_SERVO7
	// Servo 8
	ACTUATOR_OUTPUT_FUNCTION_SERVO8 ACTUATOR_OUTPUT_FUNCTION = common.ACTUATOR_OUTPUT_FUNCTION_SERVO8
	// Servo 9
	ACTUATOR_OUTPUT_FUNCTION_SERVO9 ACTUATOR_OUTPUT_FUNCTION = common.ACTUATOR_OUTPUT_FUNCTION_SERVO9
	// Servo 10
	ACTUATOR_OUTPUT_FUNCTION_SERVO10 ACTUATOR_OUTPUT_FUNCTION = common.ACTUATOR_OUTPUT_FUNCTION_SERVO10
	// Servo 11
	ACTUATOR_OUTPUT_FUNCTION_SERVO11 ACTUATOR_OUTPUT_FUNCTION = common.ACTUATOR_OUTPUT_FUNCTION_SERVO11
	// Servo 12
	ACTUATOR_OUTPUT_FUNCTION_SERVO12 ACTUATOR_OUTPUT_FUNCTION = common.ACTUATOR_OUTPUT_FUNCTION_SERVO12
	// Servo 13
	ACTUATOR_OUTPUT_FUNCTION_SERVO13 ACTUATOR_OUTPUT_FUNCTION = common.ACTUATOR_OUTPUT_FUNCTION_SERVO13
	// Servo 14
	ACTUATOR_OUTPUT_FUNCTION_SERVO14 ACTUATOR_OUTPUT_FUNCTION = common.ACTUATOR_OUTPUT_FUNCTION_SERVO14
	// Servo 15
	ACTUATOR_OUTPUT_FUNCTION_SERVO15 ACTUATOR_OUTPUT_FUNCTION = common.ACTUATOR_OUTPUT_FUNCTION_SERVO15
	// Servo 16
	ACTUATOR_OUTPUT_FUNCTION_SERVO16 ACTUATOR_OUTPUT_FUNCTION = common.ACTUATOR_OUTPUT_FUNCTION_SERVO16
)

type ADSB_ALTITUDE_TYPE ¶

type ADSB_ALTITUDE_TYPE = common.ADSB_ALTITUDE_TYPE

Enumeration of the ADSB altimeter types

const (
	// Altitude reported from a Baro source using QNH reference
	ADSB_ALTITUDE_TYPE_PRESSURE_QNH ADSB_ALTITUDE_TYPE = common.ADSB_ALTITUDE_TYPE_PRESSURE_QNH
	// Altitude reported from a GNSS source
	ADSB_ALTITUDE_TYPE_GEOMETRIC ADSB_ALTITUDE_TYPE = common.ADSB_ALTITUDE_TYPE_GEOMETRIC
)

type ADSB_EMITTER_TYPE ¶

type ADSB_EMITTER_TYPE = common.ADSB_EMITTER_TYPE

ADSB classification for the type of vehicle emitting the transponder signal

const (
	ADSB_EMITTER_TYPE_NO_INFO           ADSB_EMITTER_TYPE = common.ADSB_EMITTER_TYPE_NO_INFO
	ADSB_EMITTER_TYPE_LIGHT             ADSB_EMITTER_TYPE = common.ADSB_EMITTER_TYPE_LIGHT
	ADSB_EMITTER_TYPE_SMALL             ADSB_EMITTER_TYPE = common.ADSB_EMITTER_TYPE_SMALL
	ADSB_EMITTER_TYPE_LARGE             ADSB_EMITTER_TYPE = common.ADSB_EMITTER_TYPE_LARGE
	ADSB_EMITTER_TYPE_HIGH_VORTEX_LARGE ADSB_EMITTER_TYPE = common.ADSB_EMITTER_TYPE_HIGH_VORTEX_LARGE
	ADSB_EMITTER_TYPE_HEAVY             ADSB_EMITTER_TYPE = common.ADSB_EMITTER_TYPE_HEAVY
	ADSB_EMITTER_TYPE_HIGHLY_MANUV      ADSB_EMITTER_TYPE = common.ADSB_EMITTER_TYPE_HIGHLY_MANUV
	ADSB_EMITTER_TYPE_ROTOCRAFT         ADSB_EMITTER_TYPE = common.ADSB_EMITTER_TYPE_ROTOCRAFT
	ADSB_EMITTER_TYPE_UNASSIGNED        ADSB_EMITTER_TYPE = common.ADSB_EMITTER_TYPE_UNASSIGNED
	ADSB_EMITTER_TYPE_GLIDER            ADSB_EMITTER_TYPE = common.ADSB_EMITTER_TYPE_GLIDER
	ADSB_EMITTER_TYPE_LIGHTER_AIR       ADSB_EMITTER_TYPE = common.ADSB_EMITTER_TYPE_LIGHTER_AIR
	ADSB_EMITTER_TYPE_PARACHUTE         ADSB_EMITTER_TYPE = common.ADSB_EMITTER_TYPE_PARACHUTE
	ADSB_EMITTER_TYPE_ULTRA_LIGHT       ADSB_EMITTER_TYPE = common.ADSB_EMITTER_TYPE_ULTRA_LIGHT
	ADSB_EMITTER_TYPE_UNASSIGNED2       ADSB_EMITTER_TYPE = common.ADSB_EMITTER_TYPE_UNASSIGNED2
	ADSB_EMITTER_TYPE_UAV               ADSB_EMITTER_TYPE = common.ADSB_EMITTER_TYPE_UAV
	ADSB_EMITTER_TYPE_SPACE             ADSB_EMITTER_TYPE = common.ADSB_EMITTER_TYPE_SPACE
	ADSB_EMITTER_TYPE_UNASSGINED3       ADSB_EMITTER_TYPE = common.ADSB_EMITTER_TYPE_UNASSGINED3
	ADSB_EMITTER_TYPE_EMERGENCY_SURFACE ADSB_EMITTER_TYPE = common.ADSB_EMITTER_TYPE_EMERGENCY_SURFACE
	ADSB_EMITTER_TYPE_SERVICE_SURFACE   ADSB_EMITTER_TYPE = common.ADSB_EMITTER_TYPE_SERVICE_SURFACE
	ADSB_EMITTER_TYPE_POINT_OBSTACLE    ADSB_EMITTER_TYPE = common.ADSB_EMITTER_TYPE_POINT_OBSTACLE
)

type ADSB_FLAGS ¶

type ADSB_FLAGS = common.ADSB_FLAGS

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

const (
	ADSB_FLAGS_VALID_COORDS            ADSB_FLAGS = common.ADSB_FLAGS_VALID_COORDS
	ADSB_FLAGS_VALID_ALTITUDE          ADSB_FLAGS = common.ADSB_FLAGS_VALID_ALTITUDE
	ADSB_FLAGS_VALID_HEADING           ADSB_FLAGS = common.ADSB_FLAGS_VALID_HEADING
	ADSB_FLAGS_VALID_VELOCITY          ADSB_FLAGS = common.ADSB_FLAGS_VALID_VELOCITY
	ADSB_FLAGS_VALID_CALLSIGN          ADSB_FLAGS = common.ADSB_FLAGS_VALID_CALLSIGN
	ADSB_FLAGS_VALID_SQUAWK            ADSB_FLAGS = common.ADSB_FLAGS_VALID_SQUAWK
	ADSB_FLAGS_SIMULATED               ADSB_FLAGS = common.ADSB_FLAGS_SIMULATED
	ADSB_FLAGS_VERTICAL_VELOCITY_VALID ADSB_FLAGS = common.ADSB_FLAGS_VERTICAL_VELOCITY_VALID
	ADSB_FLAGS_BARO_VALID              ADSB_FLAGS = common.ADSB_FLAGS_BARO_VALID
	ADSB_FLAGS_SOURCE_UAT              ADSB_FLAGS = common.ADSB_FLAGS_SOURCE_UAT
)

type AIS_FLAGS ¶

type AIS_FLAGS = common.AIS_FLAGS

These flags are used in the AIS_VESSEL.fields bitmask to indicate validity of data in the other message fields. When set, the data is valid.

const (
	// 1 = Position accuracy less than 10m, 0 = position accuracy greater than 10m.
	AIS_FLAGS_POSITION_ACCURACY AIS_FLAGS = common.AIS_FLAGS_POSITION_ACCURACY
	AIS_FLAGS_VALID_COG         AIS_FLAGS = common.AIS_FLAGS_VALID_COG
	AIS_FLAGS_VALID_VELOCITY    AIS_FLAGS = common.AIS_FLAGS_VALID_VELOCITY
	// 1 = Velocity over 52.5765m/s (102.2 knots)
	AIS_FLAGS_HIGH_VELOCITY   AIS_FLAGS = common.AIS_FLAGS_HIGH_VELOCITY
	AIS_FLAGS_VALID_TURN_RATE AIS_FLAGS = common.AIS_FLAGS_VALID_TURN_RATE
	// Only the sign of the returned turn rate value is valid, either greater than 5deg/30s or less than -5deg/30s
	AIS_FLAGS_TURN_RATE_SIGN_ONLY AIS_FLAGS = common.AIS_FLAGS_TURN_RATE_SIGN_ONLY
	AIS_FLAGS_VALID_DIMENSIONS    AIS_FLAGS = common.AIS_FLAGS_VALID_DIMENSIONS
	// Distance to bow is larger than 511m
	AIS_FLAGS_LARGE_BOW_DIMENSION AIS_FLAGS = common.AIS_FLAGS_LARGE_BOW_DIMENSION
	// Distance to stern is larger than 511m
	AIS_FLAGS_LARGE_STERN_DIMENSION AIS_FLAGS = common.AIS_FLAGS_LARGE_STERN_DIMENSION
	// Distance to port side is larger than 63m
	AIS_FLAGS_LARGE_PORT_DIMENSION AIS_FLAGS = common.AIS_FLAGS_LARGE_PORT_DIMENSION
	// Distance to starboard side is larger than 63m
	AIS_FLAGS_LARGE_STARBOARD_DIMENSION AIS_FLAGS = common.AIS_FLAGS_LARGE_STARBOARD_DIMENSION
	AIS_FLAGS_VALID_CALLSIGN            AIS_FLAGS = common.AIS_FLAGS_VALID_CALLSIGN
	AIS_FLAGS_VALID_NAME                AIS_FLAGS = common.AIS_FLAGS_VALID_NAME
)

type AIS_NAV_STATUS ¶

type AIS_NAV_STATUS = common.AIS_NAV_STATUS

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

const (
	// Under way using engine.
	UNDER_WAY                           AIS_NAV_STATUS = common.UNDER_WAY
	AIS_NAV_ANCHORED                    AIS_NAV_STATUS = common.AIS_NAV_ANCHORED
	AIS_NAV_UN_COMMANDED                AIS_NAV_STATUS = common.AIS_NAV_UN_COMMANDED
	AIS_NAV_RESTRICTED_MANOEUVERABILITY AIS_NAV_STATUS = common.AIS_NAV_RESTRICTED_MANOEUVERABILITY
	AIS_NAV_DRAUGHT_CONSTRAINED         AIS_NAV_STATUS = common.AIS_NAV_DRAUGHT_CONSTRAINED
	AIS_NAV_MOORED                      AIS_NAV_STATUS = common.AIS_NAV_MOORED
	AIS_NAV_AGROUND                     AIS_NAV_STATUS = common.AIS_NAV_AGROUND
	AIS_NAV_FISHING                     AIS_NAV_STATUS = common.AIS_NAV_FISHING
	AIS_NAV_SAILING                     AIS_NAV_STATUS = common.AIS_NAV_SAILING
	AIS_NAV_RESERVED_HSC                AIS_NAV_STATUS = common.AIS_NAV_RESERVED_HSC
	AIS_NAV_RESERVED_WIG                AIS_NAV_STATUS = common.AIS_NAV_RESERVED_WIG
	AIS_NAV_RESERVED_1                  AIS_NAV_STATUS = common.AIS_NAV_RESERVED_1
	AIS_NAV_RESERVED_2                  AIS_NAV_STATUS = common.AIS_NAV_RESERVED_2
	AIS_NAV_RESERVED_3                  AIS_NAV_STATUS = common.AIS_NAV_RESERVED_3
	// Search And Rescue Transponder.
	AIS_NAV_AIS_SART AIS_NAV_STATUS = common.AIS_NAV_AIS_SART
	// Not available (default).
	AIS_NAV_UNKNOWN AIS_NAV_STATUS = common.AIS_NAV_UNKNOWN
)

type AIS_TYPE ¶

type AIS_TYPE = common.AIS_TYPE

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

const (
	// Not available (default).
	AIS_TYPE_UNKNOWN     AIS_TYPE = common.AIS_TYPE_UNKNOWN
	AIS_TYPE_RESERVED_1  AIS_TYPE = common.AIS_TYPE_RESERVED_1
	AIS_TYPE_RESERVED_2  AIS_TYPE = common.AIS_TYPE_RESERVED_2
	AIS_TYPE_RESERVED_3  AIS_TYPE = common.AIS_TYPE_RESERVED_3
	AIS_TYPE_RESERVED_4  AIS_TYPE = common.AIS_TYPE_RESERVED_4
	AIS_TYPE_RESERVED_5  AIS_TYPE = common.AIS_TYPE_RESERVED_5
	AIS_TYPE_RESERVED_6  AIS_TYPE = common.AIS_TYPE_RESERVED_6
	AIS_TYPE_RESERVED_7  AIS_TYPE = common.AIS_TYPE_RESERVED_7
	AIS_TYPE_RESERVED_8  AIS_TYPE = common.AIS_TYPE_RESERVED_8
	AIS_TYPE_RESERVED_9  AIS_TYPE = common.AIS_TYPE_RESERVED_9
	AIS_TYPE_RESERVED_10 AIS_TYPE = common.AIS_TYPE_RESERVED_10
	AIS_TYPE_RESERVED_11 AIS_TYPE = common.AIS_TYPE_RESERVED_11
	AIS_TYPE_RESERVED_12 AIS_TYPE = common.AIS_TYPE_RESERVED_12
	AIS_TYPE_RESERVED_13 AIS_TYPE = common.AIS_TYPE_RESERVED_13
	AIS_TYPE_RESERVED_14 AIS_TYPE = common.AIS_TYPE_RESERVED_14
	AIS_TYPE_RESERVED_15 AIS_TYPE = common.AIS_TYPE_RESERVED_15
	AIS_TYPE_RESERVED_16 AIS_TYPE = common.AIS_TYPE_RESERVED_16
	AIS_TYPE_RESERVED_17 AIS_TYPE = common.AIS_TYPE_RESERVED_17
	AIS_TYPE_RESERVED_18 AIS_TYPE = common.AIS_TYPE_RESERVED_18
	AIS_TYPE_RESERVED_19 AIS_TYPE = common.AIS_TYPE_RESERVED_19
	// Wing In Ground effect.
	AIS_TYPE_WIG             AIS_TYPE = common.AIS_TYPE_WIG
	AIS_TYPE_WIG_HAZARDOUS_A AIS_TYPE = common.AIS_TYPE_WIG_HAZARDOUS_A
	AIS_TYPE_WIG_HAZARDOUS_B AIS_TYPE = common.AIS_TYPE_WIG_HAZARDOUS_B
	AIS_TYPE_WIG_HAZARDOUS_C AIS_TYPE = common.AIS_TYPE_WIG_HAZARDOUS_C
	AIS_TYPE_WIG_HAZARDOUS_D AIS_TYPE = common.AIS_TYPE_WIG_HAZARDOUS_D
	AIS_TYPE_WIG_RESERVED_1  AIS_TYPE = common.AIS_TYPE_WIG_RESERVED_1
	AIS_TYPE_WIG_RESERVED_2  AIS_TYPE = common.AIS_TYPE_WIG_RESERVED_2
	AIS_TYPE_WIG_RESERVED_3  AIS_TYPE = common.AIS_TYPE_WIG_RESERVED_3
	AIS_TYPE_WIG_RESERVED_4  AIS_TYPE = common.AIS_TYPE_WIG_RESERVED_4
	AIS_TYPE_WIG_RESERVED_5  AIS_TYPE = common.AIS_TYPE_WIG_RESERVED_5
	AIS_TYPE_FISHING         AIS_TYPE = common.AIS_TYPE_FISHING
	AIS_TYPE_TOWING          AIS_TYPE = common.AIS_TYPE_TOWING
	// Towing: length exceeds 200m or breadth exceeds 25m.
	AIS_TYPE_TOWING_LARGE AIS_TYPE = common.AIS_TYPE_TOWING_LARGE
	// Dredging or other underwater ops.
	AIS_TYPE_DREDGING    AIS_TYPE = common.AIS_TYPE_DREDGING
	AIS_TYPE_DIVING      AIS_TYPE = common.AIS_TYPE_DIVING
	AIS_TYPE_MILITARY    AIS_TYPE = common.AIS_TYPE_MILITARY
	AIS_TYPE_SAILING     AIS_TYPE = common.AIS_TYPE_SAILING
	AIS_TYPE_PLEASURE    AIS_TYPE = common.AIS_TYPE_PLEASURE
	AIS_TYPE_RESERVED_20 AIS_TYPE = common.AIS_TYPE_RESERVED_20
	AIS_TYPE_RESERVED_21 AIS_TYPE = common.AIS_TYPE_RESERVED_21
	// High Speed Craft.
	AIS_TYPE_HSC             AIS_TYPE = common.AIS_TYPE_HSC
	AIS_TYPE_HSC_HAZARDOUS_A AIS_TYPE = common.AIS_TYPE_HSC_HAZARDOUS_A
	AIS_TYPE_HSC_HAZARDOUS_B AIS_TYPE = common.AIS_TYPE_HSC_HAZARDOUS_B
	AIS_TYPE_HSC_HAZARDOUS_C AIS_TYPE = common.AIS_TYPE_HSC_HAZARDOUS_C
	AIS_TYPE_HSC_HAZARDOUS_D AIS_TYPE = common.AIS_TYPE_HSC_HAZARDOUS_D
	AIS_TYPE_HSC_RESERVED_1  AIS_TYPE = common.AIS_TYPE_HSC_RESERVED_1
	AIS_TYPE_HSC_RESERVED_2  AIS_TYPE = common.AIS_TYPE_HSC_RESERVED_2
	AIS_TYPE_HSC_RESERVED_3  AIS_TYPE = common.AIS_TYPE_HSC_RESERVED_3
	AIS_TYPE_HSC_RESERVED_4  AIS_TYPE = common.AIS_TYPE_HSC_RESERVED_4
	AIS_TYPE_HSC_UNKNOWN     AIS_TYPE = common.AIS_TYPE_HSC_UNKNOWN
	AIS_TYPE_PILOT           AIS_TYPE = common.AIS_TYPE_PILOT
	// Search And Rescue vessel.
	AIS_TYPE_SAR         AIS_TYPE = common.AIS_TYPE_SAR
	AIS_TYPE_TUG         AIS_TYPE = common.AIS_TYPE_TUG
	AIS_TYPE_PORT_TENDER AIS_TYPE = common.AIS_TYPE_PORT_TENDER
	// Anti-pollution equipment.
	AIS_TYPE_ANTI_POLLUTION    AIS_TYPE = common.AIS_TYPE_ANTI_POLLUTION
	AIS_TYPE_LAW_ENFORCEMENT   AIS_TYPE = common.AIS_TYPE_LAW_ENFORCEMENT
	AIS_TYPE_SPARE_LOCAL_1     AIS_TYPE = common.AIS_TYPE_SPARE_LOCAL_1
	AIS_TYPE_SPARE_LOCAL_2     AIS_TYPE = common.AIS_TYPE_SPARE_LOCAL_2
	AIS_TYPE_MEDICAL_TRANSPORT AIS_TYPE = common.AIS_TYPE_MEDICAL_TRANSPORT
	// Noncombatant ship according to RR Resolution No. 18.
	AIS_TYPE_NONECOMBATANT         AIS_TYPE = common.AIS_TYPE_NONECOMBATANT
	AIS_TYPE_PASSENGER             AIS_TYPE = common.AIS_TYPE_PASSENGER
	AIS_TYPE_PASSENGER_HAZARDOUS_A AIS_TYPE = common.AIS_TYPE_PASSENGER_HAZARDOUS_A
	AIS_TYPE_PASSENGER_HAZARDOUS_B AIS_TYPE = common.AIS_TYPE_PASSENGER_HAZARDOUS_B
	AIS_TYPE_PASSENGER_HAZARDOUS_C AIS_TYPE = common.AIS_TYPE_PASSENGER_HAZARDOUS_C
	AIS_TYPE_PASSENGER_HAZARDOUS_D AIS_TYPE = common.AIS_TYPE_PASSENGER_HAZARDOUS_D
	AIS_TYPE_PASSENGER_RESERVED_1  AIS_TYPE = common.AIS_TYPE_PASSENGER_RESERVED_1
	AIS_TYPE_PASSENGER_RESERVED_2  AIS_TYPE = common.AIS_TYPE_PASSENGER_RESERVED_2
	AIS_TYPE_PASSENGER_RESERVED_3  AIS_TYPE = common.AIS_TYPE_PASSENGER_RESERVED_3
	AIS_TYPE_PASSENGER_RESERVED_4  AIS_TYPE = common.AIS_TYPE_PASSENGER_RESERVED_4
	AIS_TYPE_PASSENGER_UNKNOWN     AIS_TYPE = common.AIS_TYPE_PASSENGER_UNKNOWN
	AIS_TYPE_CARGO                 AIS_TYPE = common.AIS_TYPE_CARGO
	AIS_TYPE_CARGO_HAZARDOUS_A     AIS_TYPE = common.AIS_TYPE_CARGO_HAZARDOUS_A
	AIS_TYPE_CARGO_HAZARDOUS_B     AIS_TYPE = common.AIS_TYPE_CARGO_HAZARDOUS_B
	AIS_TYPE_CARGO_HAZARDOUS_C     AIS_TYPE = common.AIS_TYPE_CARGO_HAZARDOUS_C
	AIS_TYPE_CARGO_HAZARDOUS_D     AIS_TYPE = common.AIS_TYPE_CARGO_HAZARDOUS_D
	AIS_TYPE_CARGO_RESERVED_1      AIS_TYPE = common.AIS_TYPE_CARGO_RESERVED_1
	AIS_TYPE_CARGO_RESERVED_2      AIS_TYPE = common.AIS_TYPE_CARGO_RESERVED_2
	AIS_TYPE_CARGO_RESERVED_3      AIS_TYPE = common.AIS_TYPE_CARGO_RESERVED_3
	AIS_TYPE_CARGO_RESERVED_4      AIS_TYPE = common.AIS_TYPE_CARGO_RESERVED_4
	AIS_TYPE_CARGO_UNKNOWN         AIS_TYPE = common.AIS_TYPE_CARGO_UNKNOWN
	AIS_TYPE_TANKER                AIS_TYPE = common.AIS_TYPE_TANKER
	AIS_TYPE_TANKER_HAZARDOUS_A    AIS_TYPE = common.AIS_TYPE_TANKER_HAZARDOUS_A
	AIS_TYPE_TANKER_HAZARDOUS_B    AIS_TYPE = common.AIS_TYPE_TANKER_HAZARDOUS_B
	AIS_TYPE_TANKER_HAZARDOUS_C    AIS_TYPE = common.AIS_TYPE_TANKER_HAZARDOUS_C
	AIS_TYPE_TANKER_HAZARDOUS_D    AIS_TYPE = common.AIS_TYPE_TANKER_HAZARDOUS_D
	AIS_TYPE_TANKER_RESERVED_1     AIS_TYPE = common.AIS_TYPE_TANKER_RESERVED_1
	AIS_TYPE_TANKER_RESERVED_2     AIS_TYPE = common.AIS_TYPE_TANKER_RESERVED_2
	AIS_TYPE_TANKER_RESERVED_3     AIS_TYPE = common.AIS_TYPE_TANKER_RESERVED_3
	AIS_TYPE_TANKER_RESERVED_4     AIS_TYPE = common.AIS_TYPE_TANKER_RESERVED_4
	AIS_TYPE_TANKER_UNKNOWN        AIS_TYPE = common.AIS_TYPE_TANKER_UNKNOWN
	AIS_TYPE_OTHER                 AIS_TYPE = common.AIS_TYPE_OTHER
	AIS_TYPE_OTHER_HAZARDOUS_A     AIS_TYPE = common.AIS_TYPE_OTHER_HAZARDOUS_A
	AIS_TYPE_OTHER_HAZARDOUS_B     AIS_TYPE = common.AIS_TYPE_OTHER_HAZARDOUS_B
	AIS_TYPE_OTHER_HAZARDOUS_C     AIS_TYPE = common.AIS_TYPE_OTHER_HAZARDOUS_C
	AIS_TYPE_OTHER_HAZARDOUS_D     AIS_TYPE = common.AIS_TYPE_OTHER_HAZARDOUS_D
	AIS_TYPE_OTHER_RESERVED_1      AIS_TYPE = common.AIS_TYPE_OTHER_RESERVED_1
	AIS_TYPE_OTHER_RESERVED_2      AIS_TYPE = common.AIS_TYPE_OTHER_RESERVED_2
	AIS_TYPE_OTHER_RESERVED_3      AIS_TYPE = common.AIS_TYPE_OTHER_RESERVED_3
	AIS_TYPE_OTHER_RESERVED_4      AIS_TYPE = common.AIS_TYPE_OTHER_RESERVED_4
	AIS_TYPE_OTHER_UNKNOWN         AIS_TYPE = common.AIS_TYPE_OTHER_UNKNOWN
)

type ATTITUDE_TARGET_TYPEMASK ¶

type ATTITUDE_TARGET_TYPEMASK = common.ATTITUDE_TARGET_TYPEMASK

Bitmap to indicate which dimensions should be ignored by the vehicle: a value of 0b00000000 indicates that none of the setpoint dimensions should be ignored.

const (
	// Ignore body roll rate
	ATTITUDE_TARGET_TYPEMASK_BODY_ROLL_RATE_IGNORE ATTITUDE_TARGET_TYPEMASK = common.ATTITUDE_TARGET_TYPEMASK_BODY_ROLL_RATE_IGNORE
	// Ignore body pitch rate
	ATTITUDE_TARGET_TYPEMASK_BODY_PITCH_RATE_IGNORE ATTITUDE_TARGET_TYPEMASK = common.ATTITUDE_TARGET_TYPEMASK_BODY_PITCH_RATE_IGNORE
	// Ignore body yaw rate
	ATTITUDE_TARGET_TYPEMASK_BODY_YAW_RATE_IGNORE ATTITUDE_TARGET_TYPEMASK = common.ATTITUDE_TARGET_TYPEMASK_BODY_YAW_RATE_IGNORE
	// Use 3D body thrust setpoint instead of throttle
	ATTITUDE_TARGET_TYPEMASK_THRUST_BODY_SET ATTITUDE_TARGET_TYPEMASK = common.ATTITUDE_TARGET_TYPEMASK_THRUST_BODY_SET
	// Ignore throttle
	ATTITUDE_TARGET_TYPEMASK_THROTTLE_IGNORE ATTITUDE_TARGET_TYPEMASK = common.ATTITUDE_TARGET_TYPEMASK_THROTTLE_IGNORE
	// Ignore attitude
	ATTITUDE_TARGET_TYPEMASK_ATTITUDE_IGNORE ATTITUDE_TARGET_TYPEMASK = common.ATTITUDE_TARGET_TYPEMASK_ATTITUDE_IGNORE
)

type AUTOTUNE_AXIS ¶

type AUTOTUNE_AXIS = common.AUTOTUNE_AXIS

Enable axes that will be tuned via autotuning. Used in MAV_CMD_DO_AUTOTUNE_ENABLE.

const (
	// Flight stack tunes axis according to its default settings.
	AUTOTUNE_AXIS_DEFAULT AUTOTUNE_AXIS = common.AUTOTUNE_AXIS_DEFAULT
	// Autotune roll axis.
	AUTOTUNE_AXIS_ROLL AUTOTUNE_AXIS = common.AUTOTUNE_AXIS_ROLL
	// Autotune pitch axis.
	AUTOTUNE_AXIS_PITCH AUTOTUNE_AXIS = common.AUTOTUNE_AXIS_PITCH
	// Autotune yaw axis.
	AUTOTUNE_AXIS_YAW AUTOTUNE_AXIS = common.AUTOTUNE_AXIS_YAW
)

type CAMERA_CAP_FLAGS ¶

type CAMERA_CAP_FLAGS = common.CAMERA_CAP_FLAGS

Camera capability flags (Bitmap)

const (
	// Camera is able to record video
	CAMERA_CAP_FLAGS_CAPTURE_VIDEO CAMERA_CAP_FLAGS = common.CAMERA_CAP_FLAGS_CAPTURE_VIDEO
	// Camera is able to capture images
	CAMERA_CAP_FLAGS_CAPTURE_IMAGE CAMERA_CAP_FLAGS = common.CAMERA_CAP_FLAGS_CAPTURE_IMAGE
	// Camera has separate Video and Image/Photo modes (MAV_CMD_SET_CAMERA_MODE)
	CAMERA_CAP_FLAGS_HAS_MODES CAMERA_CAP_FLAGS = common.CAMERA_CAP_FLAGS_HAS_MODES
	// Camera can capture images while in video mode
	CAMERA_CAP_FLAGS_CAN_CAPTURE_IMAGE_IN_VIDEO_MODE CAMERA_CAP_FLAGS = common.CAMERA_CAP_FLAGS_CAN_CAPTURE_IMAGE_IN_VIDEO_MODE
	// Camera can capture videos while in Photo/Image mode
	CAMERA_CAP_FLAGS_CAN_CAPTURE_VIDEO_IN_IMAGE_MODE CAMERA_CAP_FLAGS = common.CAMERA_CAP_FLAGS_CAN_CAPTURE_VIDEO_IN_IMAGE_MODE
	// Camera has image survey mode (MAV_CMD_SET_CAMERA_MODE)
	CAMERA_CAP_FLAGS_HAS_IMAGE_SURVEY_MODE CAMERA_CAP_FLAGS = common.CAMERA_CAP_FLAGS_HAS_IMAGE_SURVEY_MODE
	// Camera has basic zoom control (MAV_CMD_SET_CAMERA_ZOOM)
	CAMERA_CAP_FLAGS_HAS_BASIC_ZOOM CAMERA_CAP_FLAGS = common.CAMERA_CAP_FLAGS_HAS_BASIC_ZOOM
	// Camera has basic focus control (MAV_CMD_SET_CAMERA_FOCUS)
	CAMERA_CAP_FLAGS_HAS_BASIC_FOCUS CAMERA_CAP_FLAGS = common.CAMERA_CAP_FLAGS_HAS_BASIC_FOCUS
	// Camera has video streaming capabilities (request VIDEO_STREAM_INFORMATION with MAV_CMD_REQUEST_MESSAGE for video streaming info)
	CAMERA_CAP_FLAGS_HAS_VIDEO_STREAM CAMERA_CAP_FLAGS = common.CAMERA_CAP_FLAGS_HAS_VIDEO_STREAM
	// Camera supports tracking of a point on the camera view.
	CAMERA_CAP_FLAGS_HAS_TRACKING_POINT CAMERA_CAP_FLAGS = common.CAMERA_CAP_FLAGS_HAS_TRACKING_POINT
	// Camera supports tracking of a selection rectangle on the camera view.
	CAMERA_CAP_FLAGS_HAS_TRACKING_RECTANGLE CAMERA_CAP_FLAGS = common.CAMERA_CAP_FLAGS_HAS_TRACKING_RECTANGLE
	// Camera supports tracking geo status (CAMERA_TRACKING_GEO_STATUS).
	CAMERA_CAP_FLAGS_HAS_TRACKING_GEO_STATUS CAMERA_CAP_FLAGS = common.CAMERA_CAP_FLAGS_HAS_TRACKING_GEO_STATUS
)

type CAMERA_FEEDBACK_FLAGS ¶

type CAMERA_FEEDBACK_FLAGS uint32
const (
	// Shooting photos, not video.
	CAMERA_FEEDBACK_PHOTO CAMERA_FEEDBACK_FLAGS = 0
	// Shooting video, not stills.
	CAMERA_FEEDBACK_VIDEO CAMERA_FEEDBACK_FLAGS = 1
	// Unable to achieve requested exposure (e.g. shutter speed too low).
	CAMERA_FEEDBACK_BADEXPOSURE CAMERA_FEEDBACK_FLAGS = 2
	// Closed loop feedback from camera, we know for sure it has successfully taken a picture.
	CAMERA_FEEDBACK_CLOSEDLOOP CAMERA_FEEDBACK_FLAGS = 3
	// Open loop camera, an image trigger has been requested but we can't know for sure it has successfully taken a picture.
	CAMERA_FEEDBACK_OPENLOOP CAMERA_FEEDBACK_FLAGS = 4
)

func (CAMERA_FEEDBACK_FLAGS) MarshalText ¶

func (e CAMERA_FEEDBACK_FLAGS) MarshalText() ([]byte, error)

MarshalText implements the encoding.TextMarshaler interface.

func (CAMERA_FEEDBACK_FLAGS) String ¶

func (e CAMERA_FEEDBACK_FLAGS) String() string

String implements the fmt.Stringer interface.

func (*CAMERA_FEEDBACK_FLAGS) UnmarshalText ¶

func (e *CAMERA_FEEDBACK_FLAGS) UnmarshalText(text []byte) error

UnmarshalText implements the encoding.TextUnmarshaler interface.

type CAMERA_MODE ¶

type CAMERA_MODE = common.CAMERA_MODE

Camera Modes.

const (
	// Camera is in image/photo capture mode.
	CAMERA_MODE_IMAGE CAMERA_MODE = common.CAMERA_MODE_IMAGE
	// Camera is in video capture mode.
	CAMERA_MODE_VIDEO CAMERA_MODE = common.CAMERA_MODE_VIDEO
	// Camera is in image survey capture mode. It allows for camera controller to do specific settings for surveys.
	CAMERA_MODE_IMAGE_SURVEY CAMERA_MODE = common.CAMERA_MODE_IMAGE_SURVEY
)

type CAMERA_STATUS_TYPES ¶

type CAMERA_STATUS_TYPES uint32
const (
	// Camera heartbeat, announce camera component ID at 1Hz.
	CAMERA_STATUS_TYPE_HEARTBEAT CAMERA_STATUS_TYPES = 0
	// Camera image triggered.
	CAMERA_STATUS_TYPE_TRIGGER CAMERA_STATUS_TYPES = 1
	// Camera connection lost.
	CAMERA_STATUS_TYPE_DISCONNECT CAMERA_STATUS_TYPES = 2
	// Camera unknown error.
	CAMERA_STATUS_TYPE_ERROR CAMERA_STATUS_TYPES = 3
	// Camera battery low. Parameter p1 shows reported voltage.
	CAMERA_STATUS_TYPE_LOWBATT CAMERA_STATUS_TYPES = 4
	// Camera storage low. Parameter p1 shows reported shots remaining.
	CAMERA_STATUS_TYPE_LOWSTORE CAMERA_STATUS_TYPES = 5
	// Camera storage low. Parameter p1 shows reported video minutes remaining.
	CAMERA_STATUS_TYPE_LOWSTOREV CAMERA_STATUS_TYPES = 6
)

func (CAMERA_STATUS_TYPES) MarshalText ¶

func (e CAMERA_STATUS_TYPES) MarshalText() ([]byte, error)

MarshalText implements the encoding.TextMarshaler interface.

func (CAMERA_STATUS_TYPES) String ¶

func (e CAMERA_STATUS_TYPES) String() string

String implements the fmt.Stringer interface.

func (*CAMERA_STATUS_TYPES) UnmarshalText ¶

func (e *CAMERA_STATUS_TYPES) UnmarshalText(text []byte) error

UnmarshalText implements the encoding.TextUnmarshaler interface.

type CAMERA_TRACKING_MODE ¶

type CAMERA_TRACKING_MODE = common.CAMERA_TRACKING_MODE

Camera tracking modes

const (
	// Not tracking
	CAMERA_TRACKING_MODE_NONE CAMERA_TRACKING_MODE = common.CAMERA_TRACKING_MODE_NONE
	// Target is a point
	CAMERA_TRACKING_MODE_POINT CAMERA_TRACKING_MODE = common.CAMERA_TRACKING_MODE_POINT
	// Target is a rectangle
	CAMERA_TRACKING_MODE_RECTANGLE CAMERA_TRACKING_MODE = common.CAMERA_TRACKING_MODE_RECTANGLE
)

type CAMERA_TRACKING_STATUS_FLAGS ¶

type CAMERA_TRACKING_STATUS_FLAGS = common.CAMERA_TRACKING_STATUS_FLAGS

Camera tracking status flags

const (
	// Camera is not tracking
	CAMERA_TRACKING_STATUS_FLAGS_IDLE CAMERA_TRACKING_STATUS_FLAGS = common.CAMERA_TRACKING_STATUS_FLAGS_IDLE
	// Camera is tracking
	CAMERA_TRACKING_STATUS_FLAGS_ACTIVE CAMERA_TRACKING_STATUS_FLAGS = common.CAMERA_TRACKING_STATUS_FLAGS_ACTIVE
	// Camera tracking in error state
	CAMERA_TRACKING_STATUS_FLAGS_ERROR CAMERA_TRACKING_STATUS_FLAGS = common.CAMERA_TRACKING_STATUS_FLAGS_ERROR
)

type CAMERA_TRACKING_TARGET_DATA ¶

type CAMERA_TRACKING_TARGET_DATA = common.CAMERA_TRACKING_TARGET_DATA

Camera tracking target data (shows where tracked target is within image)

const (
	// No target data
	CAMERA_TRACKING_TARGET_DATA_NONE CAMERA_TRACKING_TARGET_DATA = common.CAMERA_TRACKING_TARGET_DATA_NONE
	// Target data embedded in image data (proprietary)
	CAMERA_TRACKING_TARGET_DATA_EMBEDDED CAMERA_TRACKING_TARGET_DATA = common.CAMERA_TRACKING_TARGET_DATA_EMBEDDED
	// Target data rendered in image
	CAMERA_TRACKING_TARGET_DATA_RENDERED CAMERA_TRACKING_TARGET_DATA = common.CAMERA_TRACKING_TARGET_DATA_RENDERED
	// Target data within status message (Point or Rectangle)
	CAMERA_TRACKING_TARGET_DATA_IN_STATUS CAMERA_TRACKING_TARGET_DATA = common.CAMERA_TRACKING_TARGET_DATA_IN_STATUS
)

type CAMERA_ZOOM_TYPE ¶

type CAMERA_ZOOM_TYPE = common.CAMERA_ZOOM_TYPE

Zoom types for MAV_CMD_SET_CAMERA_ZOOM

const (
	// Zoom one step increment (-1 for wide, 1 for tele)
	ZOOM_TYPE_STEP CAMERA_ZOOM_TYPE = common.ZOOM_TYPE_STEP
	// Continuous zoom up/down until stopped (-1 for wide, 1 for tele, 0 to stop zooming)
	ZOOM_TYPE_CONTINUOUS CAMERA_ZOOM_TYPE = common.ZOOM_TYPE_CONTINUOUS
	// Zoom value as proportion of full camera range (a percentage value between 0.0 and 100.0)
	ZOOM_TYPE_RANGE CAMERA_ZOOM_TYPE = common.ZOOM_TYPE_RANGE
	// Zoom value/variable focal length in millimetres. Note that there is no message to get the valid zoom range of the camera, so this can type can only be used for cameras where the zoom range is known (implying that this cannot reliably be used in a GCS for an arbitrary camera)
	ZOOM_TYPE_FOCAL_LENGTH CAMERA_ZOOM_TYPE = common.ZOOM_TYPE_FOCAL_LENGTH
)

type CAN_FILTER_OP ¶

type CAN_FILTER_OP = common.CAN_FILTER_OP
const (
	CAN_FILTER_REPLACE CAN_FILTER_OP = common.CAN_FILTER_REPLACE
	CAN_FILTER_ADD     CAN_FILTER_OP = common.CAN_FILTER_ADD
	CAN_FILTER_REMOVE  CAN_FILTER_OP = common.CAN_FILTER_REMOVE
)

type CELLULAR_CONFIG_RESPONSE ¶

type CELLULAR_CONFIG_RESPONSE = common.CELLULAR_CONFIG_RESPONSE

Possible responses from a CELLULAR_CONFIG message.

const (
	// Changes accepted.
	CELLULAR_CONFIG_RESPONSE_ACCEPTED CELLULAR_CONFIG_RESPONSE = common.CELLULAR_CONFIG_RESPONSE_ACCEPTED
	// Invalid APN.
	CELLULAR_CONFIG_RESPONSE_APN_ERROR CELLULAR_CONFIG_RESPONSE = common.CELLULAR_CONFIG_RESPONSE_APN_ERROR
	// Invalid PIN.
	CELLULAR_CONFIG_RESPONSE_PIN_ERROR CELLULAR_CONFIG_RESPONSE = common.CELLULAR_CONFIG_RESPONSE_PIN_ERROR
	// Changes rejected.
	CELLULAR_CONFIG_RESPONSE_REJECTED CELLULAR_CONFIG_RESPONSE = common.CELLULAR_CONFIG_RESPONSE_REJECTED
	// PUK is required to unblock SIM card.
	CELLULAR_CONFIG_BLOCKED_PUK_REQUIRED CELLULAR_CONFIG_RESPONSE = common.CELLULAR_CONFIG_BLOCKED_PUK_REQUIRED
)

type CELLULAR_NETWORK_FAILED_REASON ¶

type CELLULAR_NETWORK_FAILED_REASON = common.CELLULAR_NETWORK_FAILED_REASON

These flags are used to diagnose the failure state of CELLULAR_STATUS

const (
	// No error
	CELLULAR_NETWORK_FAILED_REASON_NONE CELLULAR_NETWORK_FAILED_REASON = common.CELLULAR_NETWORK_FAILED_REASON_NONE
	// Error state is unknown
	CELLULAR_NETWORK_FAILED_REASON_UNKNOWN CELLULAR_NETWORK_FAILED_REASON = common.CELLULAR_NETWORK_FAILED_REASON_UNKNOWN
	// SIM is required for the modem but missing
	CELLULAR_NETWORK_FAILED_REASON_SIM_MISSING CELLULAR_NETWORK_FAILED_REASON = common.CELLULAR_NETWORK_FAILED_REASON_SIM_MISSING
	// SIM is available, but not usable for connection
	CELLULAR_NETWORK_FAILED_REASON_SIM_ERROR CELLULAR_NETWORK_FAILED_REASON = common.CELLULAR_NETWORK_FAILED_REASON_SIM_ERROR
)

type CELLULAR_NETWORK_RADIO_TYPE ¶

type CELLULAR_NETWORK_RADIO_TYPE = common.CELLULAR_NETWORK_RADIO_TYPE

Cellular network radio type

type CELLULAR_STATUS_FLAG ¶

type CELLULAR_STATUS_FLAG = common.CELLULAR_STATUS_FLAG

These flags encode the cellular network status

const (
	// State unknown or not reportable.
	CELLULAR_STATUS_FLAG_UNKNOWN CELLULAR_STATUS_FLAG = common.CELLULAR_STATUS_FLAG_UNKNOWN
	// Modem is unusable
	CELLULAR_STATUS_FLAG_FAILED CELLULAR_STATUS_FLAG = common.CELLULAR_STATUS_FLAG_FAILED
	// Modem is being initialized
	CELLULAR_STATUS_FLAG_INITIALIZING CELLULAR_STATUS_FLAG = common.CELLULAR_STATUS_FLAG_INITIALIZING
	// Modem is locked
	CELLULAR_STATUS_FLAG_LOCKED CELLULAR_STATUS_FLAG = common.CELLULAR_STATUS_FLAG_LOCKED
	// Modem is not enabled and is powered down
	CELLULAR_STATUS_FLAG_DISABLED CELLULAR_STATUS_FLAG = common.CELLULAR_STATUS_FLAG_DISABLED
	// Modem is currently transitioning to the CELLULAR_STATUS_FLAG_DISABLED state
	CELLULAR_STATUS_FLAG_DISABLING CELLULAR_STATUS_FLAG = common.CELLULAR_STATUS_FLAG_DISABLING
	// Modem is currently transitioning to the CELLULAR_STATUS_FLAG_ENABLED state
	CELLULAR_STATUS_FLAG_ENABLING CELLULAR_STATUS_FLAG = common.CELLULAR_STATUS_FLAG_ENABLING
	// Modem is enabled and powered on but not registered with a network provider and not available for data connections
	CELLULAR_STATUS_FLAG_ENABLED CELLULAR_STATUS_FLAG = common.CELLULAR_STATUS_FLAG_ENABLED
	// Modem is searching for a network provider to register
	CELLULAR_STATUS_FLAG_SEARCHING CELLULAR_STATUS_FLAG = common.CELLULAR_STATUS_FLAG_SEARCHING
	// Modem is registered with a network provider, and data connections and messaging may be available for use
	CELLULAR_STATUS_FLAG_REGISTERED CELLULAR_STATUS_FLAG = common.CELLULAR_STATUS_FLAG_REGISTERED
	// Modem is disconnecting and deactivating the last active packet data bearer. This state will not be entered if more than one packet data bearer is active and one of the active bearers is deactivated
	CELLULAR_STATUS_FLAG_DISCONNECTING CELLULAR_STATUS_FLAG = common.CELLULAR_STATUS_FLAG_DISCONNECTING
	// Modem is activating and connecting the first packet data bearer. Subsequent bearer activations when another bearer is already active do not cause this state to be entered
	CELLULAR_STATUS_FLAG_CONNECTING CELLULAR_STATUS_FLAG = common.CELLULAR_STATUS_FLAG_CONNECTING
	// One or more packet data bearers is active and connected
	CELLULAR_STATUS_FLAG_CONNECTED CELLULAR_STATUS_FLAG = common.CELLULAR_STATUS_FLAG_CONNECTED
)

type COMP_METADATA_TYPE ¶

type COMP_METADATA_TYPE = common.COMP_METADATA_TYPE

Supported component metadata types. These are used in the "general" metadata file returned by COMPONENT_METADATA to provide information about supported metadata types. The types are not used directly in MAVLink messages.

const (
	// General information about the component. General metadata includes information about other metadata types supported by the component. Files of this type must be supported, and must be downloadable from vehicle using a MAVLink FTP URI.
	COMP_METADATA_TYPE_GENERAL COMP_METADATA_TYPE = common.COMP_METADATA_TYPE_GENERAL
	// Parameter meta data.
	COMP_METADATA_TYPE_PARAMETER COMP_METADATA_TYPE = common.COMP_METADATA_TYPE_PARAMETER
	// Meta data that specifies which commands and command parameters the vehicle supports. (WIP)
	COMP_METADATA_TYPE_COMMANDS COMP_METADATA_TYPE = common.COMP_METADATA_TYPE_COMMANDS
	// Meta data that specifies external non-MAVLink peripherals.
	COMP_METADATA_TYPE_PERIPHERALS COMP_METADATA_TYPE = common.COMP_METADATA_TYPE_PERIPHERALS
	// Meta data for the events interface.
	COMP_METADATA_TYPE_EVENTS COMP_METADATA_TYPE = common.COMP_METADATA_TYPE_EVENTS
	// Meta data for actuator configuration (motors, servos and vehicle geometry) and testing.
	COMP_METADATA_TYPE_ACTUATORS COMP_METADATA_TYPE = common.COMP_METADATA_TYPE_ACTUATORS
)

type COPTER_MODE ¶

type COPTER_MODE uint32

A mapping of copter flight modes for custom_mode field of heartbeat.

const (
	COPTER_MODE_STABILIZE    COPTER_MODE = 0
	COPTER_MODE_ACRO         COPTER_MODE = 1
	COPTER_MODE_ALT_HOLD     COPTER_MODE = 2
	COPTER_MODE_AUTO         COPTER_MODE = 3
	COPTER_MODE_GUIDED       COPTER_MODE = 4
	COPTER_MODE_LOITER       COPTER_MODE = 5
	COPTER_MODE_RTL          COPTER_MODE = 6
	COPTER_MODE_CIRCLE       COPTER_MODE = 7
	COPTER_MODE_LAND         COPTER_MODE = 9
	COPTER_MODE_DRIFT        COPTER_MODE = 11
	COPTER_MODE_SPORT        COPTER_MODE = 13
	COPTER_MODE_FLIP         COPTER_MODE = 14
	COPTER_MODE_AUTOTUNE     COPTER_MODE = 15
	COPTER_MODE_POSHOLD      COPTER_MODE = 16
	COPTER_MODE_BRAKE        COPTER_MODE = 17
	COPTER_MODE_THROW        COPTER_MODE = 18
	COPTER_MODE_AVOID_ADSB   COPTER_MODE = 19
	COPTER_MODE_GUIDED_NOGPS COPTER_MODE = 20
	COPTER_MODE_SMART_RTL    COPTER_MODE = 21
	COPTER_MODE_FLOWHOLD     COPTER_MODE = 22
	COPTER_MODE_FOLLOW       COPTER_MODE = 23
	COPTER_MODE_ZIGZAG       COPTER_MODE = 24
	COPTER_MODE_SYSTEMID     COPTER_MODE = 25
	COPTER_MODE_AUTOROTATE   COPTER_MODE = 26
	COPTER_MODE_AUTO_RTL     COPTER_MODE = 27
)

func (COPTER_MODE) MarshalText ¶

func (e COPTER_MODE) MarshalText() ([]byte, error)

MarshalText implements the encoding.TextMarshaler interface.

func (COPTER_MODE) String ¶

func (e COPTER_MODE) String() string

String implements the fmt.Stringer interface.

func (*COPTER_MODE) UnmarshalText ¶

func (e *COPTER_MODE) UnmarshalText(text []byte) error

UnmarshalText implements the encoding.TextUnmarshaler interface.

type DEEPSTALL_STAGE ¶

type DEEPSTALL_STAGE uint32

Deepstall flight stage.

const (
	// Flying to the landing point.
	DEEPSTALL_STAGE_FLY_TO_LANDING DEEPSTALL_STAGE = 0
	// Building an estimate of the wind.
	DEEPSTALL_STAGE_ESTIMATE_WIND DEEPSTALL_STAGE = 1
	// Waiting to breakout of the loiter to fly the approach.
	DEEPSTALL_STAGE_WAIT_FOR_BREAKOUT DEEPSTALL_STAGE = 2
	// Flying to the first arc point to turn around to the landing point.
	DEEPSTALL_STAGE_FLY_TO_ARC DEEPSTALL_STAGE = 3
	// Turning around back to the deepstall landing point.
	DEEPSTALL_STAGE_ARC DEEPSTALL_STAGE = 4
	// Approaching the landing point.
	DEEPSTALL_STAGE_APPROACH DEEPSTALL_STAGE = 5
	// Stalling and steering towards the land point.
	DEEPSTALL_STAGE_LAND DEEPSTALL_STAGE = 6
)

func (DEEPSTALL_STAGE) MarshalText ¶

func (e DEEPSTALL_STAGE) MarshalText() ([]byte, error)

MarshalText implements the encoding.TextMarshaler interface.

func (DEEPSTALL_STAGE) String ¶

func (e DEEPSTALL_STAGE) String() string

String implements the fmt.Stringer interface.

func (*DEEPSTALL_STAGE) UnmarshalText ¶

func (e *DEEPSTALL_STAGE) UnmarshalText(text []byte) error

UnmarshalText implements the encoding.TextUnmarshaler interface.

type DEVICE_OP_BUSTYPE ¶

type DEVICE_OP_BUSTYPE uint32

Bus types for device operations.

const (
	// I2C Device operation.
	DEVICE_OP_BUSTYPE_I2C DEVICE_OP_BUSTYPE = 0
	// SPI Device operation.
	DEVICE_OP_BUSTYPE_SPI DEVICE_OP_BUSTYPE = 1
)

func (DEVICE_OP_BUSTYPE) MarshalText ¶

func (e DEVICE_OP_BUSTYPE) MarshalText() ([]byte, error)

MarshalText implements the encoding.TextMarshaler interface.

func (DEVICE_OP_BUSTYPE) String ¶

func (e DEVICE_OP_BUSTYPE) String() string

String implements the fmt.Stringer interface.

func (*DEVICE_OP_BUSTYPE) UnmarshalText ¶

func (e *DEVICE_OP_BUSTYPE) UnmarshalText(text []byte) error

UnmarshalText implements the encoding.TextUnmarshaler interface.

type EKF_STATUS_FLAGS ¶

type EKF_STATUS_FLAGS uint32

Flags in EKF_STATUS message.

const (
	// Set if EKF's attitude estimate is good.
	EKF_ATTITUDE EKF_STATUS_FLAGS = 1
	// Set if EKF's horizontal velocity estimate is good.
	EKF_VELOCITY_HORIZ EKF_STATUS_FLAGS = 2
	// Set if EKF's vertical velocity estimate is good.
	EKF_VELOCITY_VERT EKF_STATUS_FLAGS = 4
	// Set if EKF's horizontal position (relative) estimate is good.
	EKF_POS_HORIZ_REL EKF_STATUS_FLAGS = 8
	// Set if EKF's horizontal position (absolute) estimate is good.
	EKF_POS_HORIZ_ABS EKF_STATUS_FLAGS = 16
	// Set if EKF's vertical position (absolute) estimate is good.
	EKF_POS_VERT_ABS EKF_STATUS_FLAGS = 32
	// Set if EKF's vertical position (above ground) estimate is good.
	EKF_POS_VERT_AGL EKF_STATUS_FLAGS = 64
	// EKF is in constant position mode and does not know it's absolute or relative position.
	EKF_CONST_POS_MODE EKF_STATUS_FLAGS = 128
	// Set if EKF's predicted horizontal position (relative) estimate is good.
	EKF_PRED_POS_HORIZ_REL EKF_STATUS_FLAGS = 256
	// Set if EKF's predicted horizontal position (absolute) estimate is good.
	EKF_PRED_POS_HORIZ_ABS EKF_STATUS_FLAGS = 512
	// Set if EKF has never been healthy.
	EKF_UNINITIALIZED EKF_STATUS_FLAGS = 1024
)

func (EKF_STATUS_FLAGS) MarshalText ¶

func (e EKF_STATUS_FLAGS) MarshalText() ([]byte, error)

MarshalText implements the encoding.TextMarshaler interface.

func (EKF_STATUS_FLAGS) String ¶

func (e EKF_STATUS_FLAGS) String() string

String implements the fmt.Stringer interface.

func (*EKF_STATUS_FLAGS) UnmarshalText ¶

func (e *EKF_STATUS_FLAGS) UnmarshalText(text []byte) error

UnmarshalText implements the encoding.TextUnmarshaler interface.

type ESC_CONNECTION_TYPE ¶

type ESC_CONNECTION_TYPE = common.ESC_CONNECTION_TYPE

Indicates the ESC connection type.

const (
	// Traditional PPM ESC.
	ESC_CONNECTION_TYPE_PPM ESC_CONNECTION_TYPE = common.ESC_CONNECTION_TYPE_PPM
	// Serial Bus connected ESC.
	ESC_CONNECTION_TYPE_SERIAL ESC_CONNECTION_TYPE = common.ESC_CONNECTION_TYPE_SERIAL
	// One Shot PPM ESC.
	ESC_CONNECTION_TYPE_ONESHOT ESC_CONNECTION_TYPE = common.ESC_CONNECTION_TYPE_ONESHOT
	// I2C ESC.
	ESC_CONNECTION_TYPE_I2C ESC_CONNECTION_TYPE = common.ESC_CONNECTION_TYPE_I2C
	// CAN-Bus ESC.
	ESC_CONNECTION_TYPE_CAN ESC_CONNECTION_TYPE = common.ESC_CONNECTION_TYPE_CAN
	// DShot ESC.
	ESC_CONNECTION_TYPE_DSHOT ESC_CONNECTION_TYPE = common.ESC_CONNECTION_TYPE_DSHOT
)

type ESC_FAILURE_FLAGS ¶

type ESC_FAILURE_FLAGS = common.ESC_FAILURE_FLAGS

Flags to report ESC failures.

const (
	// No ESC failure.
	ESC_FAILURE_NONE ESC_FAILURE_FLAGS = common.ESC_FAILURE_NONE
	// Over current failure.
	ESC_FAILURE_OVER_CURRENT ESC_FAILURE_FLAGS = common.ESC_FAILURE_OVER_CURRENT
	// Over voltage failure.
	ESC_FAILURE_OVER_VOLTAGE ESC_FAILURE_FLAGS = common.ESC_FAILURE_OVER_VOLTAGE
	// Over temperature failure.
	ESC_FAILURE_OVER_TEMPERATURE ESC_FAILURE_FLAGS = common.ESC_FAILURE_OVER_TEMPERATURE
	// Over RPM failure.
	ESC_FAILURE_OVER_RPM ESC_FAILURE_FLAGS = common.ESC_FAILURE_OVER_RPM
	// Inconsistent command failure i.e. out of bounds.
	ESC_FAILURE_INCONSISTENT_CMD ESC_FAILURE_FLAGS = common.ESC_FAILURE_INCONSISTENT_CMD
	// Motor stuck failure.
	ESC_FAILURE_MOTOR_STUCK ESC_FAILURE_FLAGS = common.ESC_FAILURE_MOTOR_STUCK
	// Generic ESC failure.
	ESC_FAILURE_GENERIC ESC_FAILURE_FLAGS = common.ESC_FAILURE_GENERIC
)

type ESTIMATOR_STATUS_FLAGS ¶

type ESTIMATOR_STATUS_FLAGS = common.ESTIMATOR_STATUS_FLAGS

Flags in ESTIMATOR_STATUS message

const (
	// True if the attitude estimate is good
	ESTIMATOR_ATTITUDE ESTIMATOR_STATUS_FLAGS = common.ESTIMATOR_ATTITUDE
	// True if the horizontal velocity estimate is good
	ESTIMATOR_VELOCITY_HORIZ ESTIMATOR_STATUS_FLAGS = common.ESTIMATOR_VELOCITY_HORIZ
	// True if the  vertical velocity estimate is good
	ESTIMATOR_VELOCITY_VERT ESTIMATOR_STATUS_FLAGS = common.ESTIMATOR_VELOCITY_VERT
	// True if the horizontal position (relative) estimate is good
	ESTIMATOR_POS_HORIZ_REL ESTIMATOR_STATUS_FLAGS = common.ESTIMATOR_POS_HORIZ_REL
	// True if the horizontal position (absolute) estimate is good
	ESTIMATOR_POS_HORIZ_ABS ESTIMATOR_STATUS_FLAGS = common.ESTIMATOR_POS_HORIZ_ABS
	// True if the vertical position (absolute) estimate is good
	ESTIMATOR_POS_VERT_ABS ESTIMATOR_STATUS_FLAGS = common.ESTIMATOR_POS_VERT_ABS
	// True if the vertical position (above ground) estimate is good
	ESTIMATOR_POS_VERT_AGL ESTIMATOR_STATUS_FLAGS = common.ESTIMATOR_POS_VERT_AGL
	// True if the EKF is in a constant position mode and is not using external measurements (eg GPS or optical flow)
	ESTIMATOR_CONST_POS_MODE ESTIMATOR_STATUS_FLAGS = common.ESTIMATOR_CONST_POS_MODE
	// True if the EKF has sufficient data to enter a mode that will provide a (relative) position estimate
	ESTIMATOR_PRED_POS_HORIZ_REL ESTIMATOR_STATUS_FLAGS = common.ESTIMATOR_PRED_POS_HORIZ_REL
	// True if the EKF has sufficient data to enter a mode that will provide a (absolute) position estimate
	ESTIMATOR_PRED_POS_HORIZ_ABS ESTIMATOR_STATUS_FLAGS = common.ESTIMATOR_PRED_POS_HORIZ_ABS
	// True if the EKF has detected a GPS glitch
	ESTIMATOR_GPS_GLITCH ESTIMATOR_STATUS_FLAGS = common.ESTIMATOR_GPS_GLITCH
	// True if the EKF has detected bad accelerometer data
	ESTIMATOR_ACCEL_ERROR ESTIMATOR_STATUS_FLAGS = common.ESTIMATOR_ACCEL_ERROR
)

type FAILURE_TYPE ¶

type FAILURE_TYPE = common.FAILURE_TYPE

List of possible failure type to inject.

const (
	// No failure injected, used to reset a previous failure.
	FAILURE_TYPE_OK FAILURE_TYPE = common.FAILURE_TYPE_OK
	// Sets unit off, so completely non-responsive.
	FAILURE_TYPE_OFF FAILURE_TYPE = common.FAILURE_TYPE_OFF
	// Unit is stuck e.g. keeps reporting the same value.
	FAILURE_TYPE_STUCK FAILURE_TYPE = common.FAILURE_TYPE_STUCK
	// Unit is reporting complete garbage.
	FAILURE_TYPE_GARBAGE FAILURE_TYPE = common.FAILURE_TYPE_GARBAGE
	// Unit is consistently wrong.
	FAILURE_TYPE_WRONG FAILURE_TYPE = common.FAILURE_TYPE_WRONG
	// Unit is slow, so e.g. reporting at slower than expected rate.
	FAILURE_TYPE_SLOW FAILURE_TYPE = common.FAILURE_TYPE_SLOW
	// Data of unit is delayed in time.
	FAILURE_TYPE_DELAYED FAILURE_TYPE = common.FAILURE_TYPE_DELAYED
	// Unit is sometimes working, sometimes not.
	FAILURE_TYPE_INTERMITTENT FAILURE_TYPE = common.FAILURE_TYPE_INTERMITTENT
)

type FAILURE_UNIT ¶

type FAILURE_UNIT = common.FAILURE_UNIT

List of possible units where failures can be injected.

const (
	FAILURE_UNIT_SENSOR_GYRO            FAILURE_UNIT = common.FAILURE_UNIT_SENSOR_GYRO
	FAILURE_UNIT_SENSOR_ACCEL           FAILURE_UNIT = common.FAILURE_UNIT_SENSOR_ACCEL
	FAILURE_UNIT_SENSOR_MAG             FAILURE_UNIT = common.FAILURE_UNIT_SENSOR_MAG
	FAILURE_UNIT_SENSOR_BARO            FAILURE_UNIT = common.FAILURE_UNIT_SENSOR_BARO
	FAILURE_UNIT_SENSOR_GPS             FAILURE_UNIT = common.FAILURE_UNIT_SENSOR_GPS
	FAILURE_UNIT_SENSOR_OPTICAL_FLOW    FAILURE_UNIT = common.FAILURE_UNIT_SENSOR_OPTICAL_FLOW
	FAILURE_UNIT_SENSOR_VIO             FAILURE_UNIT = common.FAILURE_UNIT_SENSOR_VIO
	FAILURE_UNIT_SENSOR_DISTANCE_SENSOR FAILURE_UNIT = common.FAILURE_UNIT_SENSOR_DISTANCE_SENSOR
	FAILURE_UNIT_SENSOR_AIRSPEED        FAILURE_UNIT = common.FAILURE_UNIT_SENSOR_AIRSPEED
	FAILURE_UNIT_SYSTEM_BATTERY         FAILURE_UNIT = common.FAILURE_UNIT_SYSTEM_BATTERY
	FAILURE_UNIT_SYSTEM_MOTOR           FAILURE_UNIT = common.FAILURE_UNIT_SYSTEM_MOTOR
	FAILURE_UNIT_SYSTEM_SERVO           FAILURE_UNIT = common.FAILURE_UNIT_SYSTEM_SERVO
	FAILURE_UNIT_SYSTEM_AVOIDANCE       FAILURE_UNIT = common.FAILURE_UNIT_SYSTEM_AVOIDANCE
	FAILURE_UNIT_SYSTEM_RC_SIGNAL       FAILURE_UNIT = common.FAILURE_UNIT_SYSTEM_RC_SIGNAL
	FAILURE_UNIT_SYSTEM_MAVLINK_SIGNAL  FAILURE_UNIT = common.FAILURE_UNIT_SYSTEM_MAVLINK_SIGNAL
)

type FENCE_ACTION ¶

type FENCE_ACTION = common.FENCE_ACTION

Actions following geofence breach.

const (
	// Disable fenced mode. If used in a plan this would mean the next fence is disabled.
	FENCE_ACTION_NONE FENCE_ACTION = common.FENCE_ACTION_NONE
	// Fly to geofence MAV_CMD_NAV_FENCE_RETURN_POINT in GUIDED mode. Note: This action is only supported by ArduPlane, and may not be supported in all versions.
	FENCE_ACTION_GUIDED FENCE_ACTION = common.FENCE_ACTION_GUIDED
	// Report fence breach, but don't take action
	FENCE_ACTION_REPORT FENCE_ACTION = common.FENCE_ACTION_REPORT
	// Fly to geofence MAV_CMD_NAV_FENCE_RETURN_POINT with manual throttle control in GUIDED mode. Note: This action is only supported by ArduPlane, and may not be supported in all versions.
	FENCE_ACTION_GUIDED_THR_PASS FENCE_ACTION = common.FENCE_ACTION_GUIDED_THR_PASS
	// Return/RTL mode.
	FENCE_ACTION_RTL FENCE_ACTION = common.FENCE_ACTION_RTL
	// Hold at current location.
	FENCE_ACTION_HOLD FENCE_ACTION = common.FENCE_ACTION_HOLD
	// Termination failsafe. Motors are shut down (some flight stacks may trigger other failsafe actions).
	FENCE_ACTION_TERMINATE FENCE_ACTION = common.FENCE_ACTION_TERMINATE
	// Land at current location.
	FENCE_ACTION_LAND FENCE_ACTION = common.FENCE_ACTION_LAND
)

type FENCE_BREACH ¶

type FENCE_BREACH = common.FENCE_BREACH
const (
	// No last fence breach
	FENCE_BREACH_NONE FENCE_BREACH = common.FENCE_BREACH_NONE
	// Breached minimum altitude
	FENCE_BREACH_MINALT FENCE_BREACH = common.FENCE_BREACH_MINALT
	// Breached maximum altitude
	FENCE_BREACH_MAXALT FENCE_BREACH = common.FENCE_BREACH_MAXALT
	// Breached fence boundary
	FENCE_BREACH_BOUNDARY FENCE_BREACH = common.FENCE_BREACH_BOUNDARY
)

type FENCE_MITIGATE ¶

type FENCE_MITIGATE = common.FENCE_MITIGATE

Actions being taken to mitigate/prevent fence breach

const (
	// Unknown
	FENCE_MITIGATE_UNKNOWN FENCE_MITIGATE = common.FENCE_MITIGATE_UNKNOWN
	// No actions being taken
	FENCE_MITIGATE_NONE FENCE_MITIGATE = common.FENCE_MITIGATE_NONE
	// Velocity limiting active to prevent breach
	FENCE_MITIGATE_VEL_LIMIT FENCE_MITIGATE = common.FENCE_MITIGATE_VEL_LIMIT
)

type FIRMWARE_VERSION_TYPE ¶

type FIRMWARE_VERSION_TYPE = common.FIRMWARE_VERSION_TYPE

These values define the type of firmware release. These values indicate the first version or release of this type. For example the first alpha release would be 64, the second would be 65.

const (
	// development release
	FIRMWARE_VERSION_TYPE_DEV FIRMWARE_VERSION_TYPE = common.FIRMWARE_VERSION_TYPE_DEV
	// alpha release
	FIRMWARE_VERSION_TYPE_ALPHA FIRMWARE_VERSION_TYPE = common.FIRMWARE_VERSION_TYPE_ALPHA
	// beta release
	FIRMWARE_VERSION_TYPE_BETA FIRMWARE_VERSION_TYPE = common.FIRMWARE_VERSION_TYPE_BETA
	// release candidate
	FIRMWARE_VERSION_TYPE_RC FIRMWARE_VERSION_TYPE = common.FIRMWARE_VERSION_TYPE_RC
	// official stable release
	FIRMWARE_VERSION_TYPE_OFFICIAL FIRMWARE_VERSION_TYPE = common.FIRMWARE_VERSION_TYPE_OFFICIAL
)

type GIMBAL_AXIS ¶

type GIMBAL_AXIS uint32
const (
	// Gimbal yaw axis.
	GIMBAL_AXIS_YAW GIMBAL_AXIS = 0
	// Gimbal pitch axis.
	GIMBAL_AXIS_PITCH GIMBAL_AXIS = 1
	// Gimbal roll axis.
	GIMBAL_AXIS_ROLL GIMBAL_AXIS = 2
)

func (GIMBAL_AXIS) MarshalText ¶

func (e GIMBAL_AXIS) MarshalText() ([]byte, error)

MarshalText implements the encoding.TextMarshaler interface.

func (GIMBAL_AXIS) String ¶

func (e GIMBAL_AXIS) String() string

String implements the fmt.Stringer interface.

func (*GIMBAL_AXIS) UnmarshalText ¶

func (e *GIMBAL_AXIS) UnmarshalText(text []byte) error

UnmarshalText implements the encoding.TextUnmarshaler interface.

type GIMBAL_AXIS_CALIBRATION_REQUIRED ¶

type GIMBAL_AXIS_CALIBRATION_REQUIRED uint32
const (
	// Whether or not this axis requires calibration is unknown at this time.
	GIMBAL_AXIS_CALIBRATION_REQUIRED_UNKNOWN GIMBAL_AXIS_CALIBRATION_REQUIRED = 0
	// This axis requires calibration.
	GIMBAL_AXIS_CALIBRATION_REQUIRED_TRUE GIMBAL_AXIS_CALIBRATION_REQUIRED = 1
	// This axis does not require calibration.
	GIMBAL_AXIS_CALIBRATION_REQUIRED_FALSE GIMBAL_AXIS_CALIBRATION_REQUIRED = 2
)

func (GIMBAL_AXIS_CALIBRATION_REQUIRED) MarshalText ¶

func (e GIMBAL_AXIS_CALIBRATION_REQUIRED) MarshalText() ([]byte, error)

MarshalText implements the encoding.TextMarshaler interface.

func (GIMBAL_AXIS_CALIBRATION_REQUIRED) String ¶

String implements the fmt.Stringer interface.

func (*GIMBAL_AXIS_CALIBRATION_REQUIRED) UnmarshalText ¶

func (e *GIMBAL_AXIS_CALIBRATION_REQUIRED) UnmarshalText(text []byte) error

UnmarshalText implements the encoding.TextUnmarshaler interface.

type GIMBAL_AXIS_CALIBRATION_STATUS ¶

type GIMBAL_AXIS_CALIBRATION_STATUS uint32
const (
	// Axis calibration is in progress.
	GIMBAL_AXIS_CALIBRATION_STATUS_IN_PROGRESS GIMBAL_AXIS_CALIBRATION_STATUS = 0
	// Axis calibration succeeded.
	GIMBAL_AXIS_CALIBRATION_STATUS_SUCCEEDED GIMBAL_AXIS_CALIBRATION_STATUS = 1
	// Axis calibration failed.
	GIMBAL_AXIS_CALIBRATION_STATUS_FAILED GIMBAL_AXIS_CALIBRATION_STATUS = 2
)

func (GIMBAL_AXIS_CALIBRATION_STATUS) MarshalText ¶

func (e GIMBAL_AXIS_CALIBRATION_STATUS) MarshalText() ([]byte, error)

MarshalText implements the encoding.TextMarshaler interface.

func (GIMBAL_AXIS_CALIBRATION_STATUS) String ¶

String implements the fmt.Stringer interface.

func (*GIMBAL_AXIS_CALIBRATION_STATUS) UnmarshalText ¶

func (e *GIMBAL_AXIS_CALIBRATION_STATUS) UnmarshalText(text []byte) error

UnmarshalText implements the encoding.TextUnmarshaler interface.

type GIMBAL_DEVICE_CAP_FLAGS ¶

type GIMBAL_DEVICE_CAP_FLAGS = common.GIMBAL_DEVICE_CAP_FLAGS

Gimbal device (low level) capability flags (bitmap).

const (
	// Gimbal device supports a retracted position.
	GIMBAL_DEVICE_CAP_FLAGS_HAS_RETRACT GIMBAL_DEVICE_CAP_FLAGS = common.GIMBAL_DEVICE_CAP_FLAGS_HAS_RETRACT
	// Gimbal device supports a horizontal, forward looking position, stabilized.
	GIMBAL_DEVICE_CAP_FLAGS_HAS_NEUTRAL GIMBAL_DEVICE_CAP_FLAGS = common.GIMBAL_DEVICE_CAP_FLAGS_HAS_NEUTRAL
	// Gimbal device supports rotating around roll axis.
	GIMBAL_DEVICE_CAP_FLAGS_HAS_ROLL_AXIS GIMBAL_DEVICE_CAP_FLAGS = common.GIMBAL_DEVICE_CAP_FLAGS_HAS_ROLL_AXIS
	// Gimbal device supports to follow a roll angle relative to the vehicle.
	GIMBAL_DEVICE_CAP_FLAGS_HAS_ROLL_FOLLOW GIMBAL_DEVICE_CAP_FLAGS = common.GIMBAL_DEVICE_CAP_FLAGS_HAS_ROLL_FOLLOW
	// Gimbal device supports locking to a roll angle (generally that's the default with roll stabilized).
	GIMBAL_DEVICE_CAP_FLAGS_HAS_ROLL_LOCK GIMBAL_DEVICE_CAP_FLAGS = common.GIMBAL_DEVICE_CAP_FLAGS_HAS_ROLL_LOCK
	// Gimbal device supports rotating around pitch axis.
	GIMBAL_DEVICE_CAP_FLAGS_HAS_PITCH_AXIS GIMBAL_DEVICE_CAP_FLAGS = common.GIMBAL_DEVICE_CAP_FLAGS_HAS_PITCH_AXIS
	// Gimbal device supports to follow a pitch angle relative to the vehicle.
	GIMBAL_DEVICE_CAP_FLAGS_HAS_PITCH_FOLLOW GIMBAL_DEVICE_CAP_FLAGS = common.GIMBAL_DEVICE_CAP_FLAGS_HAS_PITCH_FOLLOW
	// Gimbal device supports locking to a pitch angle (generally that's the default with pitch stabilized).
	GIMBAL_DEVICE_CAP_FLAGS_HAS_PITCH_LOCK GIMBAL_DEVICE_CAP_FLAGS = common.GIMBAL_DEVICE_CAP_FLAGS_HAS_PITCH_LOCK
	// Gimbal device supports rotating around yaw axis.
	GIMBAL_DEVICE_CAP_FLAGS_HAS_YAW_AXIS GIMBAL_DEVICE_CAP_FLAGS = common.GIMBAL_DEVICE_CAP_FLAGS_HAS_YAW_AXIS
	// Gimbal device supports to follow a yaw angle relative to the vehicle (generally that's the default).
	GIMBAL_DEVICE_CAP_FLAGS_HAS_YAW_FOLLOW GIMBAL_DEVICE_CAP_FLAGS = common.GIMBAL_DEVICE_CAP_FLAGS_HAS_YAW_FOLLOW
	// Gimbal device supports locking to an absolute heading, i.e., yaw angle relative to North (earth frame, often this is an option available).
	GIMBAL_DEVICE_CAP_FLAGS_HAS_YAW_LOCK GIMBAL_DEVICE_CAP_FLAGS = common.GIMBAL_DEVICE_CAP_FLAGS_HAS_YAW_LOCK
	// Gimbal device supports yawing/panning infinetely (e.g. using slip disk).
	GIMBAL_DEVICE_CAP_FLAGS_SUPPORTS_INFINITE_YAW GIMBAL_DEVICE_CAP_FLAGS = common.GIMBAL_DEVICE_CAP_FLAGS_SUPPORTS_INFINITE_YAW
	// Gimbal device supports yaw angles and angular velocities relative to North (earth frame). This usually requires support by an autopilot via AUTOPILOT_STATE_FOR_GIMBAL_DEVICE. Support can go on and off during runtime, which is reported by the flag GIMBAL_DEVICE_FLAGS_CAN_ACCEPT_YAW_IN_EARTH_FRAME.
	GIMBAL_DEVICE_CAP_FLAGS_SUPPORTS_YAW_IN_EARTH_FRAME GIMBAL_DEVICE_CAP_FLAGS = common.GIMBAL_DEVICE_CAP_FLAGS_SUPPORTS_YAW_IN_EARTH_FRAME
	// Gimbal device supports radio control inputs as an alternative input for controlling the gimbal orientation.
	GIMBAL_DEVICE_CAP_FLAGS_HAS_RC_INPUTS GIMBAL_DEVICE_CAP_FLAGS = common.GIMBAL_DEVICE_CAP_FLAGS_HAS_RC_INPUTS
)

type GIMBAL_DEVICE_ERROR_FLAGS ¶

type GIMBAL_DEVICE_ERROR_FLAGS = common.GIMBAL_DEVICE_ERROR_FLAGS

Gimbal device (low level) error flags (bitmap, 0 means no error)

const (
	// Gimbal device is limited by hardware roll limit.
	GIMBAL_DEVICE_ERROR_FLAGS_AT_ROLL_LIMIT GIMBAL_DEVICE_ERROR_FLAGS = common.GIMBAL_DEVICE_ERROR_FLAGS_AT_ROLL_LIMIT
	// Gimbal device is limited by hardware pitch limit.
	GIMBAL_DEVICE_ERROR_FLAGS_AT_PITCH_LIMIT GIMBAL_DEVICE_ERROR_FLAGS = common.GIMBAL_DEVICE_ERROR_FLAGS_AT_PITCH_LIMIT
	// Gimbal device is limited by hardware yaw limit.
	GIMBAL_DEVICE_ERROR_FLAGS_AT_YAW_LIMIT GIMBAL_DEVICE_ERROR_FLAGS = common.GIMBAL_DEVICE_ERROR_FLAGS_AT_YAW_LIMIT
	// There is an error with the gimbal encoders.
	GIMBAL_DEVICE_ERROR_FLAGS_ENCODER_ERROR GIMBAL_DEVICE_ERROR_FLAGS = common.GIMBAL_DEVICE_ERROR_FLAGS_ENCODER_ERROR
	// There is an error with the gimbal power source.
	GIMBAL_DEVICE_ERROR_FLAGS_POWER_ERROR GIMBAL_DEVICE_ERROR_FLAGS = common.GIMBAL_DEVICE_ERROR_FLAGS_POWER_ERROR
	// There is an error with the gimbal motors.
	GIMBAL_DEVICE_ERROR_FLAGS_MOTOR_ERROR GIMBAL_DEVICE_ERROR_FLAGS = common.GIMBAL_DEVICE_ERROR_FLAGS_MOTOR_ERROR
	// There is an error with the gimbal's software.
	GIMBAL_DEVICE_ERROR_FLAGS_SOFTWARE_ERROR GIMBAL_DEVICE_ERROR_FLAGS = common.GIMBAL_DEVICE_ERROR_FLAGS_SOFTWARE_ERROR
	// There is an error with the gimbal's communication.
	GIMBAL_DEVICE_ERROR_FLAGS_COMMS_ERROR GIMBAL_DEVICE_ERROR_FLAGS = common.GIMBAL_DEVICE_ERROR_FLAGS_COMMS_ERROR
	// Gimbal device is currently calibrating.
	GIMBAL_DEVICE_ERROR_FLAGS_CALIBRATION_RUNNING GIMBAL_DEVICE_ERROR_FLAGS = common.GIMBAL_DEVICE_ERROR_FLAGS_CALIBRATION_RUNNING
	// Gimbal device is not assigned to a gimbal manager.
	GIMBAL_DEVICE_ERROR_FLAGS_NO_MANAGER GIMBAL_DEVICE_ERROR_FLAGS = common.GIMBAL_DEVICE_ERROR_FLAGS_NO_MANAGER
)

type GIMBAL_DEVICE_FLAGS ¶

type GIMBAL_DEVICE_FLAGS = common.GIMBAL_DEVICE_FLAGS

Flags for gimbal device (lower level) operation.

const (
	// Set to retracted safe position (no stabilization), takes presedence over all other flags.
	GIMBAL_DEVICE_FLAGS_RETRACT GIMBAL_DEVICE_FLAGS = common.GIMBAL_DEVICE_FLAGS_RETRACT
	// Set to neutral/default position, taking precedence over all other flags except RETRACT. Neutral is commonly forward-facing and horizontal (roll=pitch=yaw=0) but may be any orientation.
	GIMBAL_DEVICE_FLAGS_NEUTRAL GIMBAL_DEVICE_FLAGS = common.GIMBAL_DEVICE_FLAGS_NEUTRAL
	// Lock roll angle to absolute angle relative to horizon (not relative to vehicle). This is generally the default with a stabilizing gimbal.
	GIMBAL_DEVICE_FLAGS_ROLL_LOCK GIMBAL_DEVICE_FLAGS = common.GIMBAL_DEVICE_FLAGS_ROLL_LOCK
	// Lock pitch angle to absolute angle relative to horizon (not relative to vehicle). This is generally the default with a stabilizing gimbal.
	GIMBAL_DEVICE_FLAGS_PITCH_LOCK GIMBAL_DEVICE_FLAGS = common.GIMBAL_DEVICE_FLAGS_PITCH_LOCK
	// Lock yaw angle to absolute angle relative to North (not relative to vehicle). If this flag is set, the yaw angle and z component of angular velocity are relative to North (earth frame, x-axis pointing North), else they are relative to the vehicle heading (vehicle frame, earth frame rotated so that the x-axis is pointing forward).
	GIMBAL_DEVICE_FLAGS_YAW_LOCK GIMBAL_DEVICE_FLAGS = common.GIMBAL_DEVICE_FLAGS_YAW_LOCK
	// Yaw angle and z component of angular velocity are relative to the vehicle heading (vehicle frame, earth frame rotated such that the x-axis is pointing forward).
	GIMBAL_DEVICE_FLAGS_YAW_IN_VEHICLE_FRAME GIMBAL_DEVICE_FLAGS = common.GIMBAL_DEVICE_FLAGS_YAW_IN_VEHICLE_FRAME
	// Yaw angle and z component of angular velocity are relative to North (earth frame, x-axis is pointing North).
	GIMBAL_DEVICE_FLAGS_YAW_IN_EARTH_FRAME GIMBAL_DEVICE_FLAGS = common.GIMBAL_DEVICE_FLAGS_YAW_IN_EARTH_FRAME
	// Gimbal device can accept yaw angle inputs relative to North (earth frame). This flag is only for reporting (attempts to set this flag are ignored).
	GIMBAL_DEVICE_FLAGS_ACCEPTS_YAW_IN_EARTH_FRAME GIMBAL_DEVICE_FLAGS = common.GIMBAL_DEVICE_FLAGS_ACCEPTS_YAW_IN_EARTH_FRAME
	// The gimbal orientation is set exclusively by the RC signals feed to the gimbal's radio control inputs. MAVLink messages for setting the gimbal orientation (GIMBAL_DEVICE_SET_ATTITUDE) are ignored.
	GIMBAL_DEVICE_FLAGS_RC_EXCLUSIVE GIMBAL_DEVICE_FLAGS = common.GIMBAL_DEVICE_FLAGS_RC_EXCLUSIVE
	// The gimbal orientation is determined by combining/mixing the RC signals feed to the gimbal's radio control inputs and the MAVLink messages for setting the gimbal orientation (GIMBAL_DEVICE_SET_ATTITUDE). How these two controls are combined or mixed is not defined by the protocol but is up to the implementation.
	GIMBAL_DEVICE_FLAGS_RC_MIXED GIMBAL_DEVICE_FLAGS = common.GIMBAL_DEVICE_FLAGS_RC_MIXED
)

type GIMBAL_MANAGER_CAP_FLAGS ¶

type GIMBAL_MANAGER_CAP_FLAGS = common.GIMBAL_MANAGER_CAP_FLAGS

Gimbal manager high level capability flags (bitmap). The first 16 bits are identical to the GIMBAL_DEVICE_CAP_FLAGS. However, the gimbal manager does not need to copy the flags from the gimbal but can also enhance the capabilities and thus add flags.

const (
	// Based on GIMBAL_DEVICE_CAP_FLAGS_HAS_RETRACT.
	GIMBAL_MANAGER_CAP_FLAGS_HAS_RETRACT GIMBAL_MANAGER_CAP_FLAGS = common.GIMBAL_MANAGER_CAP_FLAGS_HAS_RETRACT
	// Based on GIMBAL_DEVICE_CAP_FLAGS_HAS_NEUTRAL.
	GIMBAL_MANAGER_CAP_FLAGS_HAS_NEUTRAL GIMBAL_MANAGER_CAP_FLAGS = common.GIMBAL_MANAGER_CAP_FLAGS_HAS_NEUTRAL
	// Based on GIMBAL_DEVICE_CAP_FLAGS_HAS_ROLL_AXIS.
	GIMBAL_MANAGER_CAP_FLAGS_HAS_ROLL_AXIS GIMBAL_MANAGER_CAP_FLAGS = common.GIMBAL_MANAGER_CAP_FLAGS_HAS_ROLL_AXIS
	// Based on GIMBAL_DEVICE_CAP_FLAGS_HAS_ROLL_FOLLOW.
	GIMBAL_MANAGER_CAP_FLAGS_HAS_ROLL_FOLLOW GIMBAL_MANAGER_CAP_FLAGS = common.GIMBAL_MANAGER_CAP_FLAGS_HAS_ROLL_FOLLOW
	// Based on GIMBAL_DEVICE_CAP_FLAGS_HAS_ROLL_LOCK.
	GIMBAL_MANAGER_CAP_FLAGS_HAS_ROLL_LOCK GIMBAL_MANAGER_CAP_FLAGS = common.GIMBAL_MANAGER_CAP_FLAGS_HAS_ROLL_LOCK
	// Based on GIMBAL_DEVICE_CAP_FLAGS_HAS_PITCH_AXIS.
	GIMBAL_MANAGER_CAP_FLAGS_HAS_PITCH_AXIS GIMBAL_MANAGER_CAP_FLAGS = common.GIMBAL_MANAGER_CAP_FLAGS_HAS_PITCH_AXIS
	// Based on GIMBAL_DEVICE_CAP_FLAGS_HAS_PITCH_FOLLOW.
	GIMBAL_MANAGER_CAP_FLAGS_HAS_PITCH_FOLLOW GIMBAL_MANAGER_CAP_FLAGS = common.GIMBAL_MANAGER_CAP_FLAGS_HAS_PITCH_FOLLOW
	// Based on GIMBAL_DEVICE_CAP_FLAGS_HAS_PITCH_LOCK.
	GIMBAL_MANAGER_CAP_FLAGS_HAS_PITCH_LOCK GIMBAL_MANAGER_CAP_FLAGS = common.GIMBAL_MANAGER_CAP_FLAGS_HAS_PITCH_LOCK
	// Based on GIMBAL_DEVICE_CAP_FLAGS_HAS_YAW_AXIS.
	GIMBAL_MANAGER_CAP_FLAGS_HAS_YAW_AXIS GIMBAL_MANAGER_CAP_FLAGS = common.GIMBAL_MANAGER_CAP_FLAGS_HAS_YAW_AXIS
	// Based on GIMBAL_DEVICE_CAP_FLAGS_HAS_YAW_FOLLOW.
	GIMBAL_MANAGER_CAP_FLAGS_HAS_YAW_FOLLOW GIMBAL_MANAGER_CAP_FLAGS = common.GIMBAL_MANAGER_CAP_FLAGS_HAS_YAW_FOLLOW
	// Based on GIMBAL_DEVICE_CAP_FLAGS_HAS_YAW_LOCK.
	GIMBAL_MANAGER_CAP_FLAGS_HAS_YAW_LOCK GIMBAL_MANAGER_CAP_FLAGS = common.GIMBAL_MANAGER_CAP_FLAGS_HAS_YAW_LOCK
	// Based on GIMBAL_DEVICE_CAP_FLAGS_SUPPORTS_INFINITE_YAW.
	GIMBAL_MANAGER_CAP_FLAGS_SUPPORTS_INFINITE_YAW GIMBAL_MANAGER_CAP_FLAGS = common.GIMBAL_MANAGER_CAP_FLAGS_SUPPORTS_INFINITE_YAW
	// Based on GIMBAL_DEVICE_CAP_FLAGS_SUPPORTS_YAW_IN_EARTH_FRAME.
	GIMBAL_MANAGER_CAP_FLAGS_SUPPORTS_YAW_IN_EARTH_FRAME GIMBAL_MANAGER_CAP_FLAGS = common.GIMBAL_MANAGER_CAP_FLAGS_SUPPORTS_YAW_IN_EARTH_FRAME
	// Based on GIMBAL_DEVICE_CAP_FLAGS_HAS_RC_INPUTS.
	GIMBAL_MANAGER_CAP_FLAGS_HAS_RC_INPUTS GIMBAL_MANAGER_CAP_FLAGS = common.GIMBAL_MANAGER_CAP_FLAGS_HAS_RC_INPUTS
	// Gimbal manager supports to point to a local position.
	GIMBAL_MANAGER_CAP_FLAGS_CAN_POINT_LOCATION_LOCAL GIMBAL_MANAGER_CAP_FLAGS = common.GIMBAL_MANAGER_CAP_FLAGS_CAN_POINT_LOCATION_LOCAL
	// Gimbal manager supports to point to a global latitude, longitude, altitude position.
	GIMBAL_MANAGER_CAP_FLAGS_CAN_POINT_LOCATION_GLOBAL GIMBAL_MANAGER_CAP_FLAGS = common.GIMBAL_MANAGER_CAP_FLAGS_CAN_POINT_LOCATION_GLOBAL
)

type GIMBAL_MANAGER_FLAGS ¶

type GIMBAL_MANAGER_FLAGS = common.GIMBAL_MANAGER_FLAGS

Flags for high level gimbal manager operation The first 16 bits are identical to the GIMBAL_DEVICE_FLAGS.

const (
	// Based on GIMBAL_DEVICE_FLAGS_RETRACT.
	GIMBAL_MANAGER_FLAGS_RETRACT GIMBAL_MANAGER_FLAGS = common.GIMBAL_MANAGER_FLAGS_RETRACT
	// Based on GIMBAL_DEVICE_FLAGS_NEUTRAL.
	GIMBAL_MANAGER_FLAGS_NEUTRAL GIMBAL_MANAGER_FLAGS = common.GIMBAL_MANAGER_FLAGS_NEUTRAL
	// Based on GIMBAL_DEVICE_FLAGS_ROLL_LOCK.
	GIMBAL_MANAGER_FLAGS_ROLL_LOCK GIMBAL_MANAGER_FLAGS = common.GIMBAL_MANAGER_FLAGS_ROLL_LOCK
	// Based on GIMBAL_DEVICE_FLAGS_PITCH_LOCK.
	GIMBAL_MANAGER_FLAGS_PITCH_LOCK GIMBAL_MANAGER_FLAGS = common.GIMBAL_MANAGER_FLAGS_PITCH_LOCK
	// Based on GIMBAL_DEVICE_FLAGS_YAW_LOCK.
	GIMBAL_MANAGER_FLAGS_YAW_LOCK GIMBAL_MANAGER_FLAGS = common.GIMBAL_MANAGER_FLAGS_YAW_LOCK
	// Based on GIMBAL_DEVICE_FLAGS_YAW_IN_VEHICLE_FRAME.
	GIMBAL_MANAGER_FLAGS_YAW_IN_VEHICLE_FRAME GIMBAL_MANAGER_FLAGS = common.GIMBAL_MANAGER_FLAGS_YAW_IN_VEHICLE_FRAME
	// Based on GIMBAL_DEVICE_FLAGS_YAW_IN_EARTH_FRAME.
	GIMBAL_MANAGER_FLAGS_YAW_IN_EARTH_FRAME GIMBAL_MANAGER_FLAGS = common.GIMBAL_MANAGER_FLAGS_YAW_IN_EARTH_FRAME
	// Based on GIMBAL_DEVICE_FLAGS_ACCEPTS_YAW_IN_EARTH_FRAME.
	GIMBAL_MANAGER_FLAGS_ACCEPTS_YAW_IN_EARTH_FRAME GIMBAL_MANAGER_FLAGS = common.GIMBAL_MANAGER_FLAGS_ACCEPTS_YAW_IN_EARTH_FRAME
	// Based on GIMBAL_DEVICE_FLAGS_RC_EXCLUSIVE.
	GIMBAL_MANAGER_FLAGS_RC_EXCLUSIVE GIMBAL_MANAGER_FLAGS = common.GIMBAL_MANAGER_FLAGS_RC_EXCLUSIVE
	// Based on GIMBAL_DEVICE_FLAGS_RC_MIXED.
	GIMBAL_MANAGER_FLAGS_RC_MIXED GIMBAL_MANAGER_FLAGS = common.GIMBAL_MANAGER_FLAGS_RC_MIXED
)

type GOPRO_BURST_RATE ¶

type GOPRO_BURST_RATE uint32
const (
	// 3 Shots / 1 Second.
	GOPRO_BURST_RATE_3_IN_1_SECOND GOPRO_BURST_RATE = 0
	// 5 Shots / 1 Second.
	GOPRO_BURST_RATE_5_IN_1_SECOND GOPRO_BURST_RATE = 1
	// 10 Shots / 1 Second.
	GOPRO_BURST_RATE_10_IN_1_SECOND GOPRO_BURST_RATE = 2
	// 10 Shots / 2 Second.
	GOPRO_BURST_RATE_10_IN_2_SECOND GOPRO_BURST_RATE = 3
	// 10 Shots / 3 Second (Hero 4 Only).
	GOPRO_BURST_RATE_10_IN_3_SECOND GOPRO_BURST_RATE = 4
	// 30 Shots / 1 Second.
	GOPRO_BURST_RATE_30_IN_1_SECOND GOPRO_BURST_RATE = 5
	// 30 Shots / 2 Second.
	GOPRO_BURST_RATE_30_IN_2_SECOND GOPRO_BURST_RATE = 6
	// 30 Shots / 3 Second.
	GOPRO_BURST_RATE_30_IN_3_SECOND GOPRO_BURST_RATE = 7
	// 30 Shots / 6 Second.
	GOPRO_BURST_RATE_30_IN_6_SECOND GOPRO_BURST_RATE = 8
)

func (GOPRO_BURST_RATE) MarshalText ¶

func (e GOPRO_BURST_RATE) MarshalText() ([]byte, error)

MarshalText implements the encoding.TextMarshaler interface.

func (GOPRO_BURST_RATE) String ¶

func (e GOPRO_BURST_RATE) String() string

String implements the fmt.Stringer interface.

func (*GOPRO_BURST_RATE) UnmarshalText ¶

func (e *GOPRO_BURST_RATE) UnmarshalText(text []byte) error

UnmarshalText implements the encoding.TextUnmarshaler interface.

type GOPRO_CAPTURE_MODE ¶

type GOPRO_CAPTURE_MODE uint32
const (
	// Video mode.
	GOPRO_CAPTURE_MODE_VIDEO GOPRO_CAPTURE_MODE = 0
	// Photo mode.
	GOPRO_CAPTURE_MODE_PHOTO GOPRO_CAPTURE_MODE = 1
	// Burst mode, Hero 3+ only.
	GOPRO_CAPTURE_MODE_BURST GOPRO_CAPTURE_MODE = 2
	// Time lapse mode, Hero 3+ only.
	GOPRO_CAPTURE_MODE_TIME_LAPSE GOPRO_CAPTURE_MODE = 3
	// Multi shot mode, Hero 4 only.
	GOPRO_CAPTURE_MODE_MULTI_SHOT GOPRO_CAPTURE_MODE = 4
	// Playback mode, Hero 4 only, silver only except when LCD or HDMI is connected to black.
	GOPRO_CAPTURE_MODE_PLAYBACK GOPRO_CAPTURE_MODE = 5
	// Playback mode, Hero 4 only.
	GOPRO_CAPTURE_MODE_SETUP GOPRO_CAPTURE_MODE = 6
	// Mode not yet known.
	GOPRO_CAPTURE_MODE_UNKNOWN GOPRO_CAPTURE_MODE = 255
)

func (GOPRO_CAPTURE_MODE) MarshalText ¶

func (e GOPRO_CAPTURE_MODE) MarshalText() ([]byte, error)

MarshalText implements the encoding.TextMarshaler interface.

func (GOPRO_CAPTURE_MODE) String ¶

func (e GOPRO_CAPTURE_MODE) String() string

String implements the fmt.Stringer interface.

func (*GOPRO_CAPTURE_MODE) UnmarshalText ¶

func (e *GOPRO_CAPTURE_MODE) UnmarshalText(text []byte) error

UnmarshalText implements the encoding.TextUnmarshaler interface.

type GOPRO_CHARGING ¶

type GOPRO_CHARGING uint32
const (
	// Charging disabled.
	GOPRO_CHARGING_DISABLED GOPRO_CHARGING = 0
	// Charging enabled.
	GOPRO_CHARGING_ENABLED GOPRO_CHARGING = 1
)

func (GOPRO_CHARGING) MarshalText ¶

func (e GOPRO_CHARGING) MarshalText() ([]byte, error)

MarshalText implements the encoding.TextMarshaler interface.

func (GOPRO_CHARGING) String ¶

func (e GOPRO_CHARGING) String() string

String implements the fmt.Stringer interface.

func (*GOPRO_CHARGING) UnmarshalText ¶

func (e *GOPRO_CHARGING) UnmarshalText(text []byte) error

UnmarshalText implements the encoding.TextUnmarshaler interface.

type GOPRO_COMMAND ¶

type GOPRO_COMMAND uint32
const (
	// (Get/Set).
	GOPRO_COMMAND_POWER GOPRO_COMMAND = 0
	// (Get/Set).
	GOPRO_COMMAND_CAPTURE_MODE GOPRO_COMMAND = 1
	// (___/Set).
	GOPRO_COMMAND_SHUTTER GOPRO_COMMAND = 2
	// (Get/___).
	GOPRO_COMMAND_BATTERY GOPRO_COMMAND = 3
	// (Get/___).
	GOPRO_COMMAND_MODEL GOPRO_COMMAND = 4
	// (Get/Set).
	GOPRO_COMMAND_VIDEO_SETTINGS GOPRO_COMMAND = 5
	// (Get/Set).
	GOPRO_COMMAND_LOW_LIGHT GOPRO_COMMAND = 6
	// (Get/Set).
	GOPRO_COMMAND_PHOTO_RESOLUTION GOPRO_COMMAND = 7
	// (Get/Set).
	GOPRO_COMMAND_PHOTO_BURST_RATE GOPRO_COMMAND = 8
	// (Get/Set).
	GOPRO_COMMAND_PROTUNE GOPRO_COMMAND = 9
	// (Get/Set) Hero 3+ Only.
	GOPRO_COMMAND_PROTUNE_WHITE_BALANCE GOPRO_COMMAND = 10
	// (Get/Set) Hero 3+ Only.
	GOPRO_COMMAND_PROTUNE_COLOUR GOPRO_COMMAND = 11
	// (Get/Set) Hero 3+ Only.
	GOPRO_COMMAND_PROTUNE_GAIN GOPRO_COMMAND = 12
	// (Get/Set) Hero 3+ Only.
	GOPRO_COMMAND_PROTUNE_SHARPNESS GOPRO_COMMAND = 13
	// (Get/Set) Hero 3+ Only.
	GOPRO_COMMAND_PROTUNE_EXPOSURE GOPRO_COMMAND = 14
	// (Get/Set).
	GOPRO_COMMAND_TIME GOPRO_COMMAND = 15
	// (Get/Set).
	GOPRO_COMMAND_CHARGING GOPRO_COMMAND = 16
)

func (GOPRO_COMMAND) MarshalText ¶

func (e GOPRO_COMMAND) MarshalText() ([]byte, error)

MarshalText implements the encoding.TextMarshaler interface.

func (GOPRO_COMMAND) String ¶

func (e GOPRO_COMMAND) String() string

String implements the fmt.Stringer interface.

func (*GOPRO_COMMAND) UnmarshalText ¶

func (e *GOPRO_COMMAND) UnmarshalText(text []byte) error

UnmarshalText implements the encoding.TextUnmarshaler interface.

type GOPRO_FIELD_OF_VIEW ¶

type GOPRO_FIELD_OF_VIEW uint32
const (
	// 0x00: Wide.
	GOPRO_FIELD_OF_VIEW_WIDE GOPRO_FIELD_OF_VIEW = 0
	// 0x01: Medium.
	GOPRO_FIELD_OF_VIEW_MEDIUM GOPRO_FIELD_OF_VIEW = 1
	// 0x02: Narrow.
	GOPRO_FIELD_OF_VIEW_NARROW GOPRO_FIELD_OF_VIEW = 2
)

func (GOPRO_FIELD_OF_VIEW) MarshalText ¶

func (e GOPRO_FIELD_OF_VIEW) MarshalText() ([]byte, error)

MarshalText implements the encoding.TextMarshaler interface.

func (GOPRO_FIELD_OF_VIEW) String ¶

func (e GOPRO_FIELD_OF_VIEW) String() string

String implements the fmt.Stringer interface.

func (*GOPRO_FIELD_OF_VIEW) UnmarshalText ¶

func (e *GOPRO_FIELD_OF_VIEW) UnmarshalText(text []byte) error

UnmarshalText implements the encoding.TextUnmarshaler interface.

type GOPRO_FRAME_RATE ¶

type GOPRO_FRAME_RATE uint32
const (
	// 12 FPS.
	GOPRO_FRAME_RATE_12 GOPRO_FRAME_RATE = 0
	// 15 FPS.
	GOPRO_FRAME_RATE_15 GOPRO_FRAME_RATE = 1
	// 24 FPS.
	GOPRO_FRAME_RATE_24 GOPRO_FRAME_RATE = 2
	// 25 FPS.
	GOPRO_FRAME_RATE_25 GOPRO_FRAME_RATE = 3
	// 30 FPS.
	GOPRO_FRAME_RATE_30 GOPRO_FRAME_RATE = 4
	// 48 FPS.
	GOPRO_FRAME_RATE_48 GOPRO_FRAME_RATE = 5
	// 50 FPS.
	GOPRO_FRAME_RATE_50 GOPRO_FRAME_RATE = 6
	// 60 FPS.
	GOPRO_FRAME_RATE_60 GOPRO_FRAME_RATE = 7
	// 80 FPS.
	GOPRO_FRAME_RATE_80 GOPRO_FRAME_RATE = 8
	// 90 FPS.
	GOPRO_FRAME_RATE_90 GOPRO_FRAME_RATE = 9
	// 100 FPS.
	GOPRO_FRAME_RATE_100 GOPRO_FRAME_RATE = 10
	// 120 FPS.
	GOPRO_FRAME_RATE_120 GOPRO_FRAME_RATE = 11
	// 240 FPS.
	GOPRO_FRAME_RATE_240 GOPRO_FRAME_RATE = 12
	// 12.5 FPS.
	GOPRO_FRAME_RATE_12_5 GOPRO_FRAME_RATE = 13
)

func (GOPRO_FRAME_RATE) MarshalText ¶

func (e GOPRO_FRAME_RATE) MarshalText() ([]byte, error)

MarshalText implements the encoding.TextMarshaler interface.

func (GOPRO_FRAME_RATE) String ¶

func (e GOPRO_FRAME_RATE) String() string

String implements the fmt.Stringer interface.

func (*GOPRO_FRAME_RATE) UnmarshalText ¶

func (e *GOPRO_FRAME_RATE) UnmarshalText(text []byte) error

UnmarshalText implements the encoding.TextUnmarshaler interface.

type GOPRO_HEARTBEAT_FLAGS ¶

type GOPRO_HEARTBEAT_FLAGS uint32
const (
	// GoPro is currently recording.
	GOPRO_FLAG_RECORDING GOPRO_HEARTBEAT_FLAGS = 1
)

func (GOPRO_HEARTBEAT_FLAGS) MarshalText ¶

func (e GOPRO_HEARTBEAT_FLAGS) MarshalText() ([]byte, error)

MarshalText implements the encoding.TextMarshaler interface.

func (GOPRO_HEARTBEAT_FLAGS) String ¶

func (e GOPRO_HEARTBEAT_FLAGS) String() string

String implements the fmt.Stringer interface.

func (*GOPRO_HEARTBEAT_FLAGS) UnmarshalText ¶

func (e *GOPRO_HEARTBEAT_FLAGS) UnmarshalText(text []byte) error

UnmarshalText implements the encoding.TextUnmarshaler interface.

type GOPRO_HEARTBEAT_STATUS ¶

type GOPRO_HEARTBEAT_STATUS uint32
const (
	// No GoPro connected.
	GOPRO_HEARTBEAT_STATUS_DISCONNECTED GOPRO_HEARTBEAT_STATUS = 0
	// The detected GoPro is not HeroBus compatible.
	GOPRO_HEARTBEAT_STATUS_INCOMPATIBLE GOPRO_HEARTBEAT_STATUS = 1
	// A HeroBus compatible GoPro is connected.
	GOPRO_HEARTBEAT_STATUS_CONNECTED GOPRO_HEARTBEAT_STATUS = 2
	// An unrecoverable error was encountered with the connected GoPro, it may require a power cycle.
	GOPRO_HEARTBEAT_STATUS_ERROR GOPRO_HEARTBEAT_STATUS = 3
)

func (GOPRO_HEARTBEAT_STATUS) MarshalText ¶

func (e GOPRO_HEARTBEAT_STATUS) MarshalText() ([]byte, error)

MarshalText implements the encoding.TextMarshaler interface.

func (GOPRO_HEARTBEAT_STATUS) String ¶

func (e GOPRO_HEARTBEAT_STATUS) String() string

String implements the fmt.Stringer interface.

func (*GOPRO_HEARTBEAT_STATUS) UnmarshalText ¶

func (e *GOPRO_HEARTBEAT_STATUS) UnmarshalText(text []byte) error

UnmarshalText implements the encoding.TextUnmarshaler interface.

type GOPRO_MODEL ¶

type GOPRO_MODEL uint32
const (
	// Unknown gopro model.
	GOPRO_MODEL_UNKNOWN GOPRO_MODEL = 0
	// Hero 3+ Silver (HeroBus not supported by GoPro).
	GOPRO_MODEL_HERO_3_PLUS_SILVER GOPRO_MODEL = 1
	// Hero 3+ Black.
	GOPRO_MODEL_HERO_3_PLUS_BLACK GOPRO_MODEL = 2
	// Hero 4 Silver.
	GOPRO_MODEL_HERO_4_SILVER GOPRO_MODEL = 3
	// Hero 4 Black.
	GOPRO_MODEL_HERO_4_BLACK GOPRO_MODEL = 4
)

func (GOPRO_MODEL) MarshalText ¶

func (e GOPRO_MODEL) MarshalText() ([]byte, error)

MarshalText implements the encoding.TextMarshaler interface.

func (GOPRO_MODEL) String ¶

func (e GOPRO_MODEL) String() string

String implements the fmt.Stringer interface.

func (*GOPRO_MODEL) UnmarshalText ¶

func (e *GOPRO_MODEL) UnmarshalText(text []byte) error

UnmarshalText implements the encoding.TextUnmarshaler interface.

type GOPRO_PHOTO_RESOLUTION ¶

type GOPRO_PHOTO_RESOLUTION uint32
const (
	// 5MP Medium.
	GOPRO_PHOTO_RESOLUTION_5MP_MEDIUM GOPRO_PHOTO_RESOLUTION = 0
	// 7MP Medium.
	GOPRO_PHOTO_RESOLUTION_7MP_MEDIUM GOPRO_PHOTO_RESOLUTION = 1
	// 7MP Wide.
	GOPRO_PHOTO_RESOLUTION_7MP_WIDE GOPRO_PHOTO_RESOLUTION = 2
	// 10MP Wide.
	GOPRO_PHOTO_RESOLUTION_10MP_WIDE GOPRO_PHOTO_RESOLUTION = 3
	// 12MP Wide.
	GOPRO_PHOTO_RESOLUTION_12MP_WIDE GOPRO_PHOTO_RESOLUTION = 4
)

func (GOPRO_PHOTO_RESOLUTION) MarshalText ¶

func (e GOPRO_PHOTO_RESOLUTION) MarshalText() ([]byte, error)

MarshalText implements the encoding.TextMarshaler interface.

func (GOPRO_PHOTO_RESOLUTION) String ¶

func (e GOPRO_PHOTO_RESOLUTION) String() string

String implements the fmt.Stringer interface.

func (*GOPRO_PHOTO_RESOLUTION) UnmarshalText ¶

func (e *GOPRO_PHOTO_RESOLUTION) UnmarshalText(text []byte) error

UnmarshalText implements the encoding.TextUnmarshaler interface.

type GOPRO_PROTUNE_COLOUR ¶

type GOPRO_PROTUNE_COLOUR uint32
const (
	// Auto.
	GOPRO_PROTUNE_COLOUR_STANDARD GOPRO_PROTUNE_COLOUR = 0
	// Neutral.
	GOPRO_PROTUNE_COLOUR_NEUTRAL GOPRO_PROTUNE_COLOUR = 1
)

func (GOPRO_PROTUNE_COLOUR) MarshalText ¶

func (e GOPRO_PROTUNE_COLOUR) MarshalText() ([]byte, error)

MarshalText implements the encoding.TextMarshaler interface.

func (GOPRO_PROTUNE_COLOUR) String ¶

func (e GOPRO_PROTUNE_COLOUR) String() string

String implements the fmt.Stringer interface.

func (*GOPRO_PROTUNE_COLOUR) UnmarshalText ¶

func (e *GOPRO_PROTUNE_COLOUR) UnmarshalText(text []byte) error

UnmarshalText implements the encoding.TextUnmarshaler interface.

type GOPRO_PROTUNE_EXPOSURE ¶

type GOPRO_PROTUNE_EXPOSURE uint32
const (
	// -5.0 EV (Hero 3+ Only).
	GOPRO_PROTUNE_EXPOSURE_NEG_5_0 GOPRO_PROTUNE_EXPOSURE = 0
	// -4.5 EV (Hero 3+ Only).
	GOPRO_PROTUNE_EXPOSURE_NEG_4_5 GOPRO_PROTUNE_EXPOSURE = 1
	// -4.0 EV (Hero 3+ Only).
	GOPRO_PROTUNE_EXPOSURE_NEG_4_0 GOPRO_PROTUNE_EXPOSURE = 2
	// -3.5 EV (Hero 3+ Only).
	GOPRO_PROTUNE_EXPOSURE_NEG_3_5 GOPRO_PROTUNE_EXPOSURE = 3
	// -3.0 EV (Hero 3+ Only).
	GOPRO_PROTUNE_EXPOSURE_NEG_3_0 GOPRO_PROTUNE_EXPOSURE = 4
	// -2.5 EV (Hero 3+ Only).
	GOPRO_PROTUNE_EXPOSURE_NEG_2_5 GOPRO_PROTUNE_EXPOSURE = 5
	// -2.0 EV.
	GOPRO_PROTUNE_EXPOSURE_NEG_2_0 GOPRO_PROTUNE_EXPOSURE = 6
	// -1.5 EV.
	GOPRO_PROTUNE_EXPOSURE_NEG_1_5 GOPRO_PROTUNE_EXPOSURE = 7
	// -1.0 EV.
	GOPRO_PROTUNE_EXPOSURE_NEG_1_0 GOPRO_PROTUNE_EXPOSURE = 8
	// -0.5 EV.
	GOPRO_PROTUNE_EXPOSURE_NEG_0_5 GOPRO_PROTUNE_EXPOSURE = 9
	// 0.0 EV.
	GOPRO_PROTUNE_EXPOSURE_ZERO GOPRO_PROTUNE_EXPOSURE = 10
	// +0.5 EV.
	GOPRO_PROTUNE_EXPOSURE_POS_0_5 GOPRO_PROTUNE_EXPOSURE = 11
	// +1.0 EV.
	GOPRO_PROTUNE_EXPOSURE_POS_1_0 GOPRO_PROTUNE_EXPOSURE = 12
	// +1.5 EV.
	GOPRO_PROTUNE_EXPOSURE_POS_1_5 GOPRO_PROTUNE_EXPOSURE = 13
	// +2.0 EV.
	GOPRO_PROTUNE_EXPOSURE_POS_2_0 GOPRO_PROTUNE_EXPOSURE = 14
	// +2.5 EV (Hero 3+ Only).
	GOPRO_PROTUNE_EXPOSURE_POS_2_5 GOPRO_PROTUNE_EXPOSURE = 15
	// +3.0 EV (Hero 3+ Only).
	GOPRO_PROTUNE_EXPOSURE_POS_3_0 GOPRO_PROTUNE_EXPOSURE = 16
	// +3.5 EV (Hero 3+ Only).
	GOPRO_PROTUNE_EXPOSURE_POS_3_5 GOPRO_PROTUNE_EXPOSURE = 17
	// +4.0 EV (Hero 3+ Only).
	GOPRO_PROTUNE_EXPOSURE_POS_4_0 GOPRO_PROTUNE_EXPOSURE = 18
	// +4.5 EV (Hero 3+ Only).
	GOPRO_PROTUNE_EXPOSURE_POS_4_5 GOPRO_PROTUNE_EXPOSURE = 19
	// +5.0 EV (Hero 3+ Only).
	GOPRO_PROTUNE_EXPOSURE_POS_5_0 GOPRO_PROTUNE_EXPOSURE = 20
)

func (GOPRO_PROTUNE_EXPOSURE) MarshalText ¶

func (e GOPRO_PROTUNE_EXPOSURE) MarshalText() ([]byte, error)

MarshalText implements the encoding.TextMarshaler interface.

func (GOPRO_PROTUNE_EXPOSURE) String ¶

func (e GOPRO_PROTUNE_EXPOSURE) String() string

String implements the fmt.Stringer interface.

func (*GOPRO_PROTUNE_EXPOSURE) UnmarshalText ¶

func (e *GOPRO_PROTUNE_EXPOSURE) UnmarshalText(text []byte) error

UnmarshalText implements the encoding.TextUnmarshaler interface.

type GOPRO_PROTUNE_GAIN ¶

type GOPRO_PROTUNE_GAIN uint32
const (
	// ISO 400.
	GOPRO_PROTUNE_GAIN_400 GOPRO_PROTUNE_GAIN = 0
	// ISO 800 (Only Hero 4).
	GOPRO_PROTUNE_GAIN_800 GOPRO_PROTUNE_GAIN = 1
	// ISO 1600.
	GOPRO_PROTUNE_GAIN_1600 GOPRO_PROTUNE_GAIN = 2
	// ISO 3200 (Only Hero 4).
	GOPRO_PROTUNE_GAIN_3200 GOPRO_PROTUNE_GAIN = 3
	// ISO 6400.
	GOPRO_PROTUNE_GAIN_6400 GOPRO_PROTUNE_GAIN = 4
)

func (GOPRO_PROTUNE_GAIN) MarshalText ¶

func (e GOPRO_PROTUNE_GAIN) MarshalText() ([]byte, error)

MarshalText implements the encoding.TextMarshaler interface.

func (GOPRO_PROTUNE_GAIN) String ¶

func (e GOPRO_PROTUNE_GAIN) String() string

String implements the fmt.Stringer interface.

func (*GOPRO_PROTUNE_GAIN) UnmarshalText ¶

func (e *GOPRO_PROTUNE_GAIN) UnmarshalText(text []byte) error

UnmarshalText implements the encoding.TextUnmarshaler interface.

type GOPRO_PROTUNE_SHARPNESS ¶

type GOPRO_PROTUNE_SHARPNESS uint32
const (
	// Low Sharpness.
	GOPRO_PROTUNE_SHARPNESS_LOW GOPRO_PROTUNE_SHARPNESS = 0
	// Medium Sharpness.
	GOPRO_PROTUNE_SHARPNESS_MEDIUM GOPRO_PROTUNE_SHARPNESS = 1
	// High Sharpness.
	GOPRO_PROTUNE_SHARPNESS_HIGH GOPRO_PROTUNE_SHARPNESS = 2
)

func (GOPRO_PROTUNE_SHARPNESS) MarshalText ¶

func (e GOPRO_PROTUNE_SHARPNESS) MarshalText() ([]byte, error)

MarshalText implements the encoding.TextMarshaler interface.

func (GOPRO_PROTUNE_SHARPNESS) String ¶

func (e GOPRO_PROTUNE_SHARPNESS) String() string

String implements the fmt.Stringer interface.

func (*GOPRO_PROTUNE_SHARPNESS) UnmarshalText ¶

func (e *GOPRO_PROTUNE_SHARPNESS) UnmarshalText(text []byte) error

UnmarshalText implements the encoding.TextUnmarshaler interface.

type GOPRO_PROTUNE_WHITE_BALANCE ¶

type GOPRO_PROTUNE_WHITE_BALANCE uint32
const (
	// Auto.
	GOPRO_PROTUNE_WHITE_BALANCE_AUTO GOPRO_PROTUNE_WHITE_BALANCE = 0
	// 3000K.
	GOPRO_PROTUNE_WHITE_BALANCE_3000K GOPRO_PROTUNE_WHITE_BALANCE = 1
	// 5500K.
	GOPRO_PROTUNE_WHITE_BALANCE_5500K GOPRO_PROTUNE_WHITE_BALANCE = 2
	// 6500K.
	GOPRO_PROTUNE_WHITE_BALANCE_6500K GOPRO_PROTUNE_WHITE_BALANCE = 3
	// Camera Raw.
	GOPRO_PROTUNE_WHITE_BALANCE_RAW GOPRO_PROTUNE_WHITE_BALANCE = 4
)

func (GOPRO_PROTUNE_WHITE_BALANCE) MarshalText ¶

func (e GOPRO_PROTUNE_WHITE_BALANCE) MarshalText() ([]byte, error)

MarshalText implements the encoding.TextMarshaler interface.

func (GOPRO_PROTUNE_WHITE_BALANCE) String ¶

String implements the fmt.Stringer interface.

func (*GOPRO_PROTUNE_WHITE_BALANCE) UnmarshalText ¶

func (e *GOPRO_PROTUNE_WHITE_BALANCE) UnmarshalText(text []byte) error

UnmarshalText implements the encoding.TextUnmarshaler interface.

type GOPRO_REQUEST_STATUS ¶

type GOPRO_REQUEST_STATUS uint32
const (
	// The write message with ID indicated succeeded.
	GOPRO_REQUEST_SUCCESS GOPRO_REQUEST_STATUS = 0
	// The write message with ID indicated failed.
	GOPRO_REQUEST_FAILED GOPRO_REQUEST_STATUS = 1
)

func (GOPRO_REQUEST_STATUS) MarshalText ¶

func (e GOPRO_REQUEST_STATUS) MarshalText() ([]byte, error)

MarshalText implements the encoding.TextMarshaler interface.

func (GOPRO_REQUEST_STATUS) String ¶

func (e GOPRO_REQUEST_STATUS) String() string

String implements the fmt.Stringer interface.

func (*GOPRO_REQUEST_STATUS) UnmarshalText ¶

func (e *GOPRO_REQUEST_STATUS) UnmarshalText(text []byte) error

UnmarshalText implements the encoding.TextUnmarshaler interface.

type GOPRO_RESOLUTION ¶

type GOPRO_RESOLUTION uint32
const (
	// 848 x 480 (480p).
	GOPRO_RESOLUTION_480p GOPRO_RESOLUTION = 0
	// 1280 x 720 (720p).
	GOPRO_RESOLUTION_720p GOPRO_RESOLUTION = 1
	// 1280 x 960 (960p).
	GOPRO_RESOLUTION_960p GOPRO_RESOLUTION = 2
	// 1920 x 1080 (1080p).
	GOPRO_RESOLUTION_1080p GOPRO_RESOLUTION = 3
	// 1920 x 1440 (1440p).
	GOPRO_RESOLUTION_1440p GOPRO_RESOLUTION = 4
	// 2704 x 1440 (2.7k-17:9).
	GOPRO_RESOLUTION_2_7k_17_9 GOPRO_RESOLUTION = 5
	// 2704 x 1524 (2.7k-16:9).
	GOPRO_RESOLUTION_2_7k_16_9 GOPRO_RESOLUTION = 6
	// 2704 x 2028 (2.7k-4:3).
	GOPRO_RESOLUTION_2_7k_4_3 GOPRO_RESOLUTION = 7
	// 3840 x 2160 (4k-16:9).
	GOPRO_RESOLUTION_4k_16_9 GOPRO_RESOLUTION = 8
	// 4096 x 2160 (4k-17:9).
	GOPRO_RESOLUTION_4k_17_9 GOPRO_RESOLUTION = 9
	// 1280 x 720 (720p-SuperView).
	GOPRO_RESOLUTION_720p_SUPERVIEW GOPRO_RESOLUTION = 10
	// 1920 x 1080 (1080p-SuperView).
	GOPRO_RESOLUTION_1080p_SUPERVIEW GOPRO_RESOLUTION = 11
	// 2704 x 1520 (2.7k-SuperView).
	GOPRO_RESOLUTION_2_7k_SUPERVIEW GOPRO_RESOLUTION = 12
	// 3840 x 2160 (4k-SuperView).
	GOPRO_RESOLUTION_4k_SUPERVIEW GOPRO_RESOLUTION = 13
)

func (GOPRO_RESOLUTION) MarshalText ¶

func (e GOPRO_RESOLUTION) MarshalText() ([]byte, error)

MarshalText implements the encoding.TextMarshaler interface.

func (GOPRO_RESOLUTION) String ¶

func (e GOPRO_RESOLUTION) String() string

String implements the fmt.Stringer interface.

func (*GOPRO_RESOLUTION) UnmarshalText ¶

func (e *GOPRO_RESOLUTION) UnmarshalText(text []byte) error

UnmarshalText implements the encoding.TextUnmarshaler interface.

type GOPRO_VIDEO_SETTINGS_FLAGS ¶

type GOPRO_VIDEO_SETTINGS_FLAGS uint32
const (
	// 0=NTSC, 1=PAL.
	GOPRO_VIDEO_SETTINGS_TV_MODE GOPRO_VIDEO_SETTINGS_FLAGS = 1
)

func (GOPRO_VIDEO_SETTINGS_FLAGS) MarshalText ¶

func (e GOPRO_VIDEO_SETTINGS_FLAGS) MarshalText() ([]byte, error)

MarshalText implements the encoding.TextMarshaler interface.

func (GOPRO_VIDEO_SETTINGS_FLAGS) String ¶

String implements the fmt.Stringer interface.

func (*GOPRO_VIDEO_SETTINGS_FLAGS) UnmarshalText ¶

func (e *GOPRO_VIDEO_SETTINGS_FLAGS) UnmarshalText(text []byte) error

UnmarshalText implements the encoding.TextUnmarshaler interface.

type GPS_FIX_TYPE ¶

type GPS_FIX_TYPE = common.GPS_FIX_TYPE

Type of GPS fix

const (
	// No GPS connected
	GPS_FIX_TYPE_NO_GPS GPS_FIX_TYPE = common.GPS_FIX_TYPE_NO_GPS
	// No position information, GPS is connected
	GPS_FIX_TYPE_NO_FIX GPS_FIX_TYPE = common.GPS_FIX_TYPE_NO_FIX
	// 2D position
	GPS_FIX_TYPE_2D_FIX GPS_FIX_TYPE = common.GPS_FIX_TYPE_2D_FIX
	// 3D position
	GPS_FIX_TYPE_3D_FIX GPS_FIX_TYPE = common.GPS_FIX_TYPE_3D_FIX
	// DGPS/SBAS aided 3D position
	GPS_FIX_TYPE_DGPS GPS_FIX_TYPE = common.GPS_FIX_TYPE_DGPS
	// RTK float, 3D position
	GPS_FIX_TYPE_RTK_FLOAT GPS_FIX_TYPE = common.GPS_FIX_TYPE_RTK_FLOAT
	// RTK Fixed, 3D position
	GPS_FIX_TYPE_RTK_FIXED GPS_FIX_TYPE = common.GPS_FIX_TYPE_RTK_FIXED
	// Static fixed, typically used for base stations
	GPS_FIX_TYPE_STATIC GPS_FIX_TYPE = common.GPS_FIX_TYPE_STATIC
	// PPP, 3D position.
	GPS_FIX_TYPE_PPP GPS_FIX_TYPE = common.GPS_FIX_TYPE_PPP
)

type GPS_INPUT_IGNORE_FLAGS ¶

type GPS_INPUT_IGNORE_FLAGS = common.GPS_INPUT_IGNORE_FLAGS
const (
	// ignore altitude field
	GPS_INPUT_IGNORE_FLAG_ALT GPS_INPUT_IGNORE_FLAGS = common.GPS_INPUT_IGNORE_FLAG_ALT
	// ignore hdop field
	GPS_INPUT_IGNORE_FLAG_HDOP GPS_INPUT_IGNORE_FLAGS = common.GPS_INPUT_IGNORE_FLAG_HDOP
	// ignore vdop field
	GPS_INPUT_IGNORE_FLAG_VDOP GPS_INPUT_IGNORE_FLAGS = common.GPS_INPUT_IGNORE_FLAG_VDOP
	// ignore horizontal velocity field (vn and ve)
	GPS_INPUT_IGNORE_FLAG_VEL_HORIZ GPS_INPUT_IGNORE_FLAGS = common.GPS_INPUT_IGNORE_FLAG_VEL_HORIZ
	// ignore vertical velocity field (vd)
	GPS_INPUT_IGNORE_FLAG_VEL_VERT GPS_INPUT_IGNORE_FLAGS = common.GPS_INPUT_IGNORE_FLAG_VEL_VERT
	// ignore speed accuracy field
	GPS_INPUT_IGNORE_FLAG_SPEED_ACCURACY GPS_INPUT_IGNORE_FLAGS = common.GPS_INPUT_IGNORE_FLAG_SPEED_ACCURACY
	// ignore horizontal accuracy field
	GPS_INPUT_IGNORE_FLAG_HORIZONTAL_ACCURACY GPS_INPUT_IGNORE_FLAGS = common.GPS_INPUT_IGNORE_FLAG_HORIZONTAL_ACCURACY
	// ignore vertical accuracy field
	GPS_INPUT_IGNORE_FLAG_VERTICAL_ACCURACY GPS_INPUT_IGNORE_FLAGS = common.GPS_INPUT_IGNORE_FLAG_VERTICAL_ACCURACY
)

type GRIPPER_ACTIONS ¶

type GRIPPER_ACTIONS = common.GRIPPER_ACTIONS

Gripper actions.

const (
	// Gripper release cargo.
	GRIPPER_ACTION_RELEASE GRIPPER_ACTIONS = common.GRIPPER_ACTION_RELEASE
	// Gripper grab onto cargo.
	GRIPPER_ACTION_GRAB GRIPPER_ACTIONS = common.GRIPPER_ACTION_GRAB
)

type HEADING_TYPE ¶

type HEADING_TYPE uint32
const (
	HEADING_TYPE_COURSE_OVER_GROUND HEADING_TYPE = 0
	HEADING_TYPE_HEADING            HEADING_TYPE = 1
)

func (HEADING_TYPE) MarshalText ¶

func (e HEADING_TYPE) MarshalText() ([]byte, error)

MarshalText implements the encoding.TextMarshaler interface.

func (HEADING_TYPE) String ¶

func (e HEADING_TYPE) String() string

String implements the fmt.Stringer interface.

func (*HEADING_TYPE) UnmarshalText ¶

func (e *HEADING_TYPE) UnmarshalText(text []byte) error

UnmarshalText implements the encoding.TextUnmarshaler interface.

type HIGHRES_IMU_UPDATED_FLAGS ¶

type HIGHRES_IMU_UPDATED_FLAGS = common.HIGHRES_IMU_UPDATED_FLAGS

Flags in the HIGHRES_IMU message indicate which fields have updated since the last message

const (
	// None of the fields in HIGHRES_IMU have been updated
	HIGHRES_IMU_UPDATED_NONE HIGHRES_IMU_UPDATED_FLAGS = common.HIGHRES_IMU_UPDATED_NONE
	// The value in the xacc field has been updated
	HIGHRES_IMU_UPDATED_XACC HIGHRES_IMU_UPDATED_FLAGS = common.HIGHRES_IMU_UPDATED_XACC
	// The value in the yacc field has been updated
	HIGHRES_IMU_UPDATED_YACC HIGHRES_IMU_UPDATED_FLAGS = common.HIGHRES_IMU_UPDATED_YACC
	// The value in the zacc field has been updated since
	HIGHRES_IMU_UPDATED_ZACC HIGHRES_IMU_UPDATED_FLAGS = common.HIGHRES_IMU_UPDATED_ZACC
	// The value in the xgyro field has been updated
	HIGHRES_IMU_UPDATED_XGYRO HIGHRES_IMU_UPDATED_FLAGS = common.HIGHRES_IMU_UPDATED_XGYRO
	// The value in the ygyro field has been updated
	HIGHRES_IMU_UPDATED_YGYRO HIGHRES_IMU_UPDATED_FLAGS = common.HIGHRES_IMU_UPDATED_YGYRO
	// The value in the zgyro field has been updated
	HIGHRES_IMU_UPDATED_ZGYRO HIGHRES_IMU_UPDATED_FLAGS = common.HIGHRES_IMU_UPDATED_ZGYRO
	// The value in the xmag field has been updated
	HIGHRES_IMU_UPDATED_XMAG HIGHRES_IMU_UPDATED_FLAGS = common.HIGHRES_IMU_UPDATED_XMAG
	// The value in the ymag field has been updated
	HIGHRES_IMU_UPDATED_YMAG HIGHRES_IMU_UPDATED_FLAGS = common.HIGHRES_IMU_UPDATED_YMAG
	// The value in the zmag field has been updated
	HIGHRES_IMU_UPDATED_ZMAG HIGHRES_IMU_UPDATED_FLAGS = common.HIGHRES_IMU_UPDATED_ZMAG
	// The value in the abs_pressure field has been updated
	HIGHRES_IMU_UPDATED_ABS_PRESSURE HIGHRES_IMU_UPDATED_FLAGS = common.HIGHRES_IMU_UPDATED_ABS_PRESSURE
	// The value in the diff_pressure field has been updated
	HIGHRES_IMU_UPDATED_DIFF_PRESSURE HIGHRES_IMU_UPDATED_FLAGS = common.HIGHRES_IMU_UPDATED_DIFF_PRESSURE
	// The value in the pressure_alt field has been updated
	HIGHRES_IMU_UPDATED_PRESSURE_ALT HIGHRES_IMU_UPDATED_FLAGS = common.HIGHRES_IMU_UPDATED_PRESSURE_ALT
	// The value in the temperature field has been updated
	HIGHRES_IMU_UPDATED_TEMPERATURE HIGHRES_IMU_UPDATED_FLAGS = common.HIGHRES_IMU_UPDATED_TEMPERATURE
	// All fields in HIGHRES_IMU have been updated.
	HIGHRES_IMU_UPDATED_ALL HIGHRES_IMU_UPDATED_FLAGS = common.HIGHRES_IMU_UPDATED_ALL
)

type HIL_SENSOR_UPDATED_FLAGS ¶

type HIL_SENSOR_UPDATED_FLAGS = common.HIL_SENSOR_UPDATED_FLAGS

Flags in the HIL_SENSOR message indicate which fields have updated since the last message

const (
	// None of the fields in HIL_SENSOR have been updated
	HIL_SENSOR_UPDATED_NONE HIL_SENSOR_UPDATED_FLAGS = common.HIL_SENSOR_UPDATED_NONE
	// The value in the xacc field has been updated
	HIL_SENSOR_UPDATED_XACC HIL_SENSOR_UPDATED_FLAGS = common.HIL_SENSOR_UPDATED_XACC
	// The value in the yacc field has been updated
	HIL_SENSOR_UPDATED_YACC HIL_SENSOR_UPDATED_FLAGS = common.HIL_SENSOR_UPDATED_YACC
	// The value in the zacc field has been updated
	HIL_SENSOR_UPDATED_ZACC HIL_SENSOR_UPDATED_FLAGS = common.HIL_SENSOR_UPDATED_ZACC
	// The value in the xgyro field has been updated
	HIL_SENSOR_UPDATED_XGYRO HIL_SENSOR_UPDATED_FLAGS = common.HIL_SENSOR_UPDATED_XGYRO
	// The value in the ygyro field has been updated
	HIL_SENSOR_UPDATED_YGYRO HIL_SENSOR_UPDATED_FLAGS = common.HIL_SENSOR_UPDATED_YGYRO
	// The value in the zgyro field has been updated
	HIL_SENSOR_UPDATED_ZGYRO HIL_SENSOR_UPDATED_FLAGS = common.HIL_SENSOR_UPDATED_ZGYRO
	// The value in the xmag field has been updated
	HIL_SENSOR_UPDATED_XMAG HIL_SENSOR_UPDATED_FLAGS = common.HIL_SENSOR_UPDATED_XMAG
	// The value in the ymag field has been updated
	HIL_SENSOR_UPDATED_YMAG HIL_SENSOR_UPDATED_FLAGS = common.HIL_SENSOR_UPDATED_YMAG
	// The value in the zmag field has been updated
	HIL_SENSOR_UPDATED_ZMAG HIL_SENSOR_UPDATED_FLAGS = common.HIL_SENSOR_UPDATED_ZMAG
	// The value in the abs_pressure field has been updated
	HIL_SENSOR_UPDATED_ABS_PRESSURE HIL_SENSOR_UPDATED_FLAGS = common.HIL_SENSOR_UPDATED_ABS_PRESSURE
	// The value in the diff_pressure field has been updated
	HIL_SENSOR_UPDATED_DIFF_PRESSURE HIL_SENSOR_UPDATED_FLAGS = common.HIL_SENSOR_UPDATED_DIFF_PRESSURE
	// The value in the pressure_alt field has been updated
	HIL_SENSOR_UPDATED_PRESSURE_ALT HIL_SENSOR_UPDATED_FLAGS = common.HIL_SENSOR_UPDATED_PRESSURE_ALT
	// The value in the temperature field has been updated
	HIL_SENSOR_UPDATED_TEMPERATURE HIL_SENSOR_UPDATED_FLAGS = common.HIL_SENSOR_UPDATED_TEMPERATURE
	// Full reset of attitude/position/velocities/etc was performed in sim (Bit 31).
	HIL_SENSOR_UPDATED_RESET HIL_SENSOR_UPDATED_FLAGS = common.HIL_SENSOR_UPDATED_RESET
)

type HL_FAILURE_FLAG ¶

type HL_FAILURE_FLAG = common.HL_FAILURE_FLAG

Flags to report failure cases over the high latency telemtry.

const (
	// GPS failure.
	HL_FAILURE_FLAG_GPS HL_FAILURE_FLAG = common.HL_FAILURE_FLAG_GPS
	// Differential pressure sensor failure.
	HL_FAILURE_FLAG_DIFFERENTIAL_PRESSURE HL_FAILURE_FLAG = common.HL_FAILURE_FLAG_DIFFERENTIAL_PRESSURE
	// Absolute pressure sensor failure.
	HL_FAILURE_FLAG_ABSOLUTE_PRESSURE HL_FAILURE_FLAG = common.HL_FAILURE_FLAG_ABSOLUTE_PRESSURE
	// Accelerometer sensor failure.
	HL_FAILURE_FLAG_3D_ACCEL HL_FAILURE_FLAG = common.HL_FAILURE_FLAG_3D_ACCEL
	// Gyroscope sensor failure.
	HL_FAILURE_FLAG_3D_GYRO HL_FAILURE_FLAG = common.HL_FAILURE_FLAG_3D_GYRO
	// Magnetometer sensor failure.
	HL_FAILURE_FLAG_3D_MAG HL_FAILURE_FLAG = common.HL_FAILURE_FLAG_3D_MAG
	// Terrain subsystem failure.
	HL_FAILURE_FLAG_TERRAIN HL_FAILURE_FLAG = common.HL_FAILURE_FLAG_TERRAIN
	// Battery failure/critical low battery.
	HL_FAILURE_FLAG_BATTERY HL_FAILURE_FLAG = common.HL_FAILURE_FLAG_BATTERY
	// RC receiver failure/no rc connection.
	HL_FAILURE_FLAG_RC_RECEIVER HL_FAILURE_FLAG = common.HL_FAILURE_FLAG_RC_RECEIVER
	// Offboard link failure.
	HL_FAILURE_FLAG_OFFBOARD_LINK HL_FAILURE_FLAG = common.HL_FAILURE_FLAG_OFFBOARD_LINK
	// Engine failure.
	HL_FAILURE_FLAG_ENGINE HL_FAILURE_FLAG = common.HL_FAILURE_FLAG_ENGINE
	// Geofence violation.
	HL_FAILURE_FLAG_GEOFENCE HL_FAILURE_FLAG = common.HL_FAILURE_FLAG_GEOFENCE
	// Estimator failure, for example measurement rejection or large variances.
	HL_FAILURE_FLAG_ESTIMATOR HL_FAILURE_FLAG = common.HL_FAILURE_FLAG_ESTIMATOR
	// Mission failure.
	HL_FAILURE_FLAG_MISSION HL_FAILURE_FLAG = common.HL_FAILURE_FLAG_MISSION
)

type ICAROUS_FMS_STATE ¶

type ICAROUS_FMS_STATE = icarous.ICAROUS_FMS_STATE

type LANDING_TARGET_TYPE ¶

type LANDING_TARGET_TYPE = common.LANDING_TARGET_TYPE

Type of landing target

const (
	// Landing target signaled by light beacon (ex: IR-LOCK)
	LANDING_TARGET_TYPE_LIGHT_BEACON LANDING_TARGET_TYPE = common.LANDING_TARGET_TYPE_LIGHT_BEACON
	// Landing target signaled by radio beacon (ex: ILS, NDB)
	LANDING_TARGET_TYPE_RADIO_BEACON LANDING_TARGET_TYPE = common.LANDING_TARGET_TYPE_RADIO_BEACON
	// Landing target represented by a fiducial marker (ex: ARTag)
	LANDING_TARGET_TYPE_VISION_FIDUCIAL LANDING_TARGET_TYPE = common.LANDING_TARGET_TYPE_VISION_FIDUCIAL
	// Landing target represented by a pre-defined visual shape/feature (ex: X-marker, H-marker, square)
	LANDING_TARGET_TYPE_VISION_OTHER LANDING_TARGET_TYPE = common.LANDING_TARGET_TYPE_VISION_OTHER
)

type LED_CONTROL_PATTERN ¶

type LED_CONTROL_PATTERN uint32
const (
	// LED patterns off (return control to regular vehicle control).
	LED_CONTROL_PATTERN_OFF LED_CONTROL_PATTERN = 0
	// LEDs show pattern during firmware update.
	LED_CONTROL_PATTERN_FIRMWAREUPDATE LED_CONTROL_PATTERN = 1
	// Custom Pattern using custom bytes fields.
	LED_CONTROL_PATTERN_CUSTOM LED_CONTROL_PATTERN = 255
)

func (LED_CONTROL_PATTERN) MarshalText ¶

func (e LED_CONTROL_PATTERN) MarshalText() ([]byte, error)

MarshalText implements the encoding.TextMarshaler interface.

func (LED_CONTROL_PATTERN) String ¶

func (e LED_CONTROL_PATTERN) String() string

String implements the fmt.Stringer interface.

func (*LED_CONTROL_PATTERN) UnmarshalText ¶

func (e *LED_CONTROL_PATTERN) UnmarshalText(text []byte) error

UnmarshalText implements the encoding.TextUnmarshaler interface.

type LIMITS_STATE ¶

type LIMITS_STATE uint32
const (
	// Pre-initialization.
	LIMITS_INIT LIMITS_STATE = 0
	// Disabled.
	LIMITS_DISABLED LIMITS_STATE = 1
	// Checking limits.
	LIMITS_ENABLED LIMITS_STATE = 2
	// A limit has been breached.
	LIMITS_TRIGGERED LIMITS_STATE = 3
	// Taking action e.g. Return/RTL.
	LIMITS_RECOVERING LIMITS_STATE = 4
	// We're no longer in breach of a limit.
	LIMITS_RECOVERED LIMITS_STATE = 5
)

func (LIMITS_STATE) MarshalText ¶

func (e LIMITS_STATE) MarshalText() ([]byte, error)

MarshalText implements the encoding.TextMarshaler interface.

func (LIMITS_STATE) String ¶

func (e LIMITS_STATE) String() string

String implements the fmt.Stringer interface.

func (*LIMITS_STATE) UnmarshalText ¶

func (e *LIMITS_STATE) UnmarshalText(text []byte) error

UnmarshalText implements the encoding.TextUnmarshaler interface.

type LIMIT_MODULE ¶

type LIMIT_MODULE uint32
const (
	// Pre-initialization.
	LIMIT_GPSLOCK LIMIT_MODULE = 1
	// Disabled.
	LIMIT_GEOFENCE LIMIT_MODULE = 2
	// Checking limits.
	LIMIT_ALTITUDE LIMIT_MODULE = 4
)

func (LIMIT_MODULE) MarshalText ¶

func (e LIMIT_MODULE) MarshalText() ([]byte, error)

MarshalText implements the encoding.TextMarshaler interface.

func (LIMIT_MODULE) String ¶

func (e LIMIT_MODULE) String() string

String implements the fmt.Stringer interface.

func (*LIMIT_MODULE) UnmarshalText ¶

func (e *LIMIT_MODULE) UnmarshalText(text []byte) error

UnmarshalText implements the encoding.TextUnmarshaler interface.

type MAG_CAL_STATUS ¶

type MAG_CAL_STATUS = common.MAG_CAL_STATUS
const (
	MAG_CAL_NOT_STARTED      MAG_CAL_STATUS = common.MAG_CAL_NOT_STARTED
	MAG_CAL_WAITING_TO_START MAG_CAL_STATUS = common.MAG_CAL_WAITING_TO_START
	MAG_CAL_RUNNING_STEP_ONE MAG_CAL_STATUS = common.MAG_CAL_RUNNING_STEP_ONE
	MAG_CAL_RUNNING_STEP_TWO MAG_CAL_STATUS = common.MAG_CAL_RUNNING_STEP_TWO
	MAG_CAL_SUCCESS          MAG_CAL_STATUS = common.MAG_CAL_SUCCESS
	MAG_CAL_FAILED           MAG_CAL_STATUS = common.MAG_CAL_FAILED
	MAG_CAL_BAD_ORIENTATION  MAG_CAL_STATUS = common.MAG_CAL_BAD_ORIENTATION
	MAG_CAL_BAD_RADIUS       MAG_CAL_STATUS = common.MAG_CAL_BAD_RADIUS
)

type MAV_ARM_AUTH_DENIED_REASON ¶

type MAV_ARM_AUTH_DENIED_REASON = common.MAV_ARM_AUTH_DENIED_REASON
const (
	// Not a specific reason
	MAV_ARM_AUTH_DENIED_REASON_GENERIC MAV_ARM_AUTH_DENIED_REASON = common.MAV_ARM_AUTH_DENIED_REASON_GENERIC
	// Authorizer will send the error as string to GCS
	MAV_ARM_AUTH_DENIED_REASON_NONE MAV_ARM_AUTH_DENIED_REASON = common.MAV_ARM_AUTH_DENIED_REASON_NONE
	// At least one waypoint have a invalid value
	MAV_ARM_AUTH_DENIED_REASON_INVALID_WAYPOINT MAV_ARM_AUTH_DENIED_REASON = common.MAV_ARM_AUTH_DENIED_REASON_INVALID_WAYPOINT
	// Timeout in the authorizer process(in case it depends on network)
	MAV_ARM_AUTH_DENIED_REASON_TIMEOUT MAV_ARM_AUTH_DENIED_REASON = common.MAV_ARM_AUTH_DENIED_REASON_TIMEOUT
	// Airspace of the mission in use by another vehicle, second result parameter can have the waypoint id that caused it to be denied.
	MAV_ARM_AUTH_DENIED_REASON_AIRSPACE_IN_USE MAV_ARM_AUTH_DENIED_REASON = common.MAV_ARM_AUTH_DENIED_REASON_AIRSPACE_IN_USE
	// Weather is not good to fly
	MAV_ARM_AUTH_DENIED_REASON_BAD_WEATHER MAV_ARM_AUTH_DENIED_REASON = common.MAV_ARM_AUTH_DENIED_REASON_BAD_WEATHER
)

type MAV_AUTOPILOT ¶

type MAV_AUTOPILOT = minimal.MAV_AUTOPILOT

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

const (
	// Generic autopilot, full support for everything
	MAV_AUTOPILOT_GENERIC MAV_AUTOPILOT = minimal.MAV_AUTOPILOT_GENERIC
	// Reserved for future use.
	MAV_AUTOPILOT_RESERVED MAV_AUTOPILOT = minimal.MAV_AUTOPILOT_RESERVED
	// SLUGS autopilot, http://slugsuav.soe.ucsc.edu
	MAV_AUTOPILOT_SLUGS MAV_AUTOPILOT = minimal.MAV_AUTOPILOT_SLUGS
	// ArduPilot - Plane/Copter/Rover/Sub/Tracker, https://ardupilot.org
	MAV_AUTOPILOT_ARDUPILOTMEGA MAV_AUTOPILOT = minimal.MAV_AUTOPILOT_ARDUPILOTMEGA
	// OpenPilot, http://openpilot.org
	MAV_AUTOPILOT_OPENPILOT MAV_AUTOPILOT = minimal.MAV_AUTOPILOT_OPENPILOT
	// Generic autopilot only supporting simple waypoints
	MAV_AUTOPILOT_GENERIC_WAYPOINTS_ONLY MAV_AUTOPILOT = minimal.MAV_AUTOPILOT_GENERIC_WAYPOINTS_ONLY
	// Generic autopilot supporting waypoints and other simple navigation commands
	MAV_AUTOPILOT_GENERIC_WAYPOINTS_AND_SIMPLE_NAVIGATION_ONLY MAV_AUTOPILOT = minimal.MAV_AUTOPILOT_GENERIC_WAYPOINTS_AND_SIMPLE_NAVIGATION_ONLY
	// Generic autopilot supporting the full mission command set
	MAV_AUTOPILOT_GENERIC_MISSION_FULL MAV_AUTOPILOT = minimal.MAV_AUTOPILOT_GENERIC_MISSION_FULL
	// No valid autopilot, e.g. a GCS or other MAVLink component
	MAV_AUTOPILOT_INVALID MAV_AUTOPILOT = minimal.MAV_AUTOPILOT_INVALID
	// PPZ UAV - http://nongnu.org/paparazzi
	MAV_AUTOPILOT_PPZ MAV_AUTOPILOT = minimal.MAV_AUTOPILOT_PPZ
	// UAV Dev Board
	MAV_AUTOPILOT_UDB MAV_AUTOPILOT = minimal.MAV_AUTOPILOT_UDB
	// FlexiPilot
	MAV_AUTOPILOT_FP MAV_AUTOPILOT = minimal.MAV_AUTOPILOT_FP
	// PX4 Autopilot - http://px4.io/
	MAV_AUTOPILOT_PX4 MAV_AUTOPILOT = minimal.MAV_AUTOPILOT_PX4
	// SMACCMPilot - http://smaccmpilot.org
	MAV_AUTOPILOT_SMACCMPILOT MAV_AUTOPILOT = minimal.MAV_AUTOPILOT_SMACCMPILOT
	// AutoQuad -- http://autoquad.org
	MAV_AUTOPILOT_AUTOQUAD MAV_AUTOPILOT = minimal.MAV_AUTOPILOT_AUTOQUAD
	// Armazila -- http://armazila.com
	MAV_AUTOPILOT_ARMAZILA MAV_AUTOPILOT = minimal.MAV_AUTOPILOT_ARMAZILA
	// Aerob -- http://aerob.ru
	MAV_AUTOPILOT_AEROB MAV_AUTOPILOT = minimal.MAV_AUTOPILOT_AEROB
	// ASLUAV autopilot -- http://www.asl.ethz.ch
	MAV_AUTOPILOT_ASLUAV MAV_AUTOPILOT = minimal.MAV_AUTOPILOT_ASLUAV
	// SmartAP Autopilot - http://sky-drones.com
	MAV_AUTOPILOT_SMARTAP MAV_AUTOPILOT = minimal.MAV_AUTOPILOT_SMARTAP
	// AirRails - http://uaventure.com
	MAV_AUTOPILOT_AIRRAILS MAV_AUTOPILOT = minimal.MAV_AUTOPILOT_AIRRAILS
	// Fusion Reflex - https://fusion.engineering
	MAV_AUTOPILOT_REFLEX MAV_AUTOPILOT = minimal.MAV_AUTOPILOT_REFLEX
)

type MAV_BATTERY_CHARGE_STATE ¶

type MAV_BATTERY_CHARGE_STATE = common.MAV_BATTERY_CHARGE_STATE

Enumeration for battery charge states.

const (
	// Low battery state is not provided
	MAV_BATTERY_CHARGE_STATE_UNDEFINED MAV_BATTERY_CHARGE_STATE = common.MAV_BATTERY_CHARGE_STATE_UNDEFINED
	// Battery is not in low state. Normal operation.
	MAV_BATTERY_CHARGE_STATE_OK MAV_BATTERY_CHARGE_STATE = common.MAV_BATTERY_CHARGE_STATE_OK
	// Battery state is low, warn and monitor close.
	MAV_BATTERY_CHARGE_STATE_LOW MAV_BATTERY_CHARGE_STATE = common.MAV_BATTERY_CHARGE_STATE_LOW
	// Battery state is critical, return or abort immediately.
	MAV_BATTERY_CHARGE_STATE_CRITICAL MAV_BATTERY_CHARGE_STATE = common.MAV_BATTERY_CHARGE_STATE_CRITICAL
	// Battery state is too low for ordinary abort sequence. Perform fastest possible emergency stop to prevent damage.
	MAV_BATTERY_CHARGE_STATE_EMERGENCY MAV_BATTERY_CHARGE_STATE = common.MAV_BATTERY_CHARGE_STATE_EMERGENCY
	// Battery failed, damage unavoidable. Possible causes (faults) are listed in MAV_BATTERY_FAULT.
	MAV_BATTERY_CHARGE_STATE_FAILED MAV_BATTERY_CHARGE_STATE = common.MAV_BATTERY_CHARGE_STATE_FAILED
	// Battery is diagnosed to be defective or an error occurred, usage is discouraged / prohibited. Possible causes (faults) are listed in MAV_BATTERY_FAULT.
	MAV_BATTERY_CHARGE_STATE_UNHEALTHY MAV_BATTERY_CHARGE_STATE = common.MAV_BATTERY_CHARGE_STATE_UNHEALTHY
	// Battery is charging.
	MAV_BATTERY_CHARGE_STATE_CHARGING MAV_BATTERY_CHARGE_STATE = common.MAV_BATTERY_CHARGE_STATE_CHARGING
)

type MAV_BATTERY_FAULT ¶

type MAV_BATTERY_FAULT = common.MAV_BATTERY_FAULT

Smart battery supply status/fault flags (bitmask) for health indication. The battery must also report either MAV_BATTERY_CHARGE_STATE_FAILED or MAV_BATTERY_CHARGE_STATE_UNHEALTHY if any of these are set.

const (
	// Battery has deep discharged.
	MAV_BATTERY_FAULT_DEEP_DISCHARGE MAV_BATTERY_FAULT = common.MAV_BATTERY_FAULT_DEEP_DISCHARGE
	// Voltage spikes.
	MAV_BATTERY_FAULT_SPIKES MAV_BATTERY_FAULT = common.MAV_BATTERY_FAULT_SPIKES
	// One or more cells have failed. Battery should also report MAV_BATTERY_CHARGE_STATE_FAILE (and should not be used).
	MAV_BATTERY_FAULT_CELL_FAIL MAV_BATTERY_FAULT = common.MAV_BATTERY_FAULT_CELL_FAIL
	// Over-current fault.
	MAV_BATTERY_FAULT_OVER_CURRENT MAV_BATTERY_FAULT = common.MAV_BATTERY_FAULT_OVER_CURRENT
	// Over-temperature fault.
	MAV_BATTERY_FAULT_OVER_TEMPERATURE MAV_BATTERY_FAULT = common.MAV_BATTERY_FAULT_OVER_TEMPERATURE
	// Under-temperature fault.
	MAV_BATTERY_FAULT_UNDER_TEMPERATURE MAV_BATTERY_FAULT = common.MAV_BATTERY_FAULT_UNDER_TEMPERATURE
	// Vehicle voltage is not compatible with this battery (batteries on same power rail should have similar voltage).
	MAV_BATTERY_FAULT_INCOMPATIBLE_VOLTAGE MAV_BATTERY_FAULT = common.MAV_BATTERY_FAULT_INCOMPATIBLE_VOLTAGE
	// Battery firmware is not compatible with current autopilot firmware.
	MAV_BATTERY_FAULT_INCOMPATIBLE_FIRMWARE MAV_BATTERY_FAULT = common.MAV_BATTERY_FAULT_INCOMPATIBLE_FIRMWARE
	// Battery is not compatible due to cell configuration (e.g. 5s1p when vehicle requires 6s).
	BATTERY_FAULT_INCOMPATIBLE_CELLS_CONFIGURATION MAV_BATTERY_FAULT = common.BATTERY_FAULT_INCOMPATIBLE_CELLS_CONFIGURATION
)

type MAV_BATTERY_FUNCTION ¶

type MAV_BATTERY_FUNCTION = common.MAV_BATTERY_FUNCTION

Enumeration of battery functions

const (
	// Battery function is unknown
	MAV_BATTERY_FUNCTION_UNKNOWN MAV_BATTERY_FUNCTION = common.MAV_BATTERY_FUNCTION_UNKNOWN
	// Battery supports all flight systems
	MAV_BATTERY_FUNCTION_ALL MAV_BATTERY_FUNCTION = common.MAV_BATTERY_FUNCTION_ALL
	// Battery for the propulsion system
	MAV_BATTERY_FUNCTION_PROPULSION MAV_BATTERY_FUNCTION = common.MAV_BATTERY_FUNCTION_PROPULSION
	// Avionics battery
	MAV_BATTERY_FUNCTION_AVIONICS MAV_BATTERY_FUNCTION = common.MAV_BATTERY_FUNCTION_AVIONICS
	// Payload battery
	MAV_BATTERY_FUNCTION_PAYLOAD MAV_BATTERY_FUNCTION = common.MAV_BATTERY_FUNCTION_PAYLOAD
)

type MAV_BATTERY_MODE ¶

type MAV_BATTERY_MODE = common.MAV_BATTERY_MODE

Battery mode. Note, the normal operation mode (i.e. when flying) should be reported as MAV_BATTERY_MODE_UNKNOWN to allow message trimming in normal flight.

const (
	// Battery mode not supported/unknown battery mode/normal operation.
	MAV_BATTERY_MODE_UNKNOWN MAV_BATTERY_MODE = common.MAV_BATTERY_MODE_UNKNOWN
	// Battery is auto discharging (towards storage level).
	MAV_BATTERY_MODE_AUTO_DISCHARGING MAV_BATTERY_MODE = common.MAV_BATTERY_MODE_AUTO_DISCHARGING
	// Battery in hot-swap mode (current limited to prevent spikes that might damage sensitive electrical circuits).
	MAV_BATTERY_MODE_HOT_SWAP MAV_BATTERY_MODE = common.MAV_BATTERY_MODE_HOT_SWAP
)

type MAV_BATTERY_TYPE ¶

type MAV_BATTERY_TYPE = common.MAV_BATTERY_TYPE

Enumeration of battery types

const (
	// Not specified.
	MAV_BATTERY_TYPE_UNKNOWN MAV_BATTERY_TYPE = common.MAV_BATTERY_TYPE_UNKNOWN
	// Lithium polymer battery
	MAV_BATTERY_TYPE_LIPO MAV_BATTERY_TYPE = common.MAV_BATTERY_TYPE_LIPO
	// Lithium-iron-phosphate battery
	MAV_BATTERY_TYPE_LIFE MAV_BATTERY_TYPE = common.MAV_BATTERY_TYPE_LIFE
	// Lithium-ION battery
	MAV_BATTERY_TYPE_LION MAV_BATTERY_TYPE = common.MAV_BATTERY_TYPE_LION
	// Nickel metal hydride battery
	MAV_BATTERY_TYPE_NIMH MAV_BATTERY_TYPE = common.MAV_BATTERY_TYPE_NIMH
)

type MAV_CMD ¶

type MAV_CMD uint32

Commands to be executed by the MAV. They can be executed on user request, or as part of a mission script. If the action is used in a mission, the parameter mapping to the waypoint/mission message is as follows: Param 1, Param 2, Param 3, Param 4, X: Param 5, Y:Param 6, Z:Param 7. This command list is similar what ARINC 424 is for commercial aircraft: A data format how to interpret waypoint/mission data. NaN and INT32_MAX may be used in float/integer params (respectively) to indicate optional/default values (e.g. to use the component's current yaw or latitude rather than a specific value). See https://mavlink.io/en/guide/xml_schema.html#MAV_CMD for information about the structure of the MAV_CMD entries

const (
	// Navigate to waypoint.
	MAV_CMD_NAV_WAYPOINT MAV_CMD = 16
	// Loiter around this waypoint an unlimited amount of time
	MAV_CMD_NAV_LOITER_UNLIM MAV_CMD = 17
	// Loiter around this waypoint for X turns
	MAV_CMD_NAV_LOITER_TURNS MAV_CMD = 18
	// Loiter at the specified latitude, longitude and altitude for a certain amount of time. Multicopter vehicles stop at the point (within a vehicle-specific acceptance radius). Forward-only moving vehicles (e.g. fixed-wing) circle the point with the specified radius/direction. If the Heading Required parameter (2) is non-zero forward moving aircraft will only leave the loiter circle once heading towards the next waypoint.
	MAV_CMD_NAV_LOITER_TIME MAV_CMD = 19
	// Return to launch location
	MAV_CMD_NAV_RETURN_TO_LAUNCH MAV_CMD = 20
	// Land at location.
	MAV_CMD_NAV_LAND MAV_CMD = 21
	// Takeoff from ground / hand. Vehicles that support multiple takeoff modes (e.g. VTOL quadplane) should take off using the currently configured mode.
	MAV_CMD_NAV_TAKEOFF MAV_CMD = 22
	// Land at local position (local frame only)
	MAV_CMD_NAV_LAND_LOCAL MAV_CMD = 23
	// Takeoff from local position (local frame only)
	MAV_CMD_NAV_TAKEOFF_LOCAL MAV_CMD = 24
	// Vehicle following, i.e. this waypoint represents the position of a moving vehicle
	MAV_CMD_NAV_FOLLOW MAV_CMD = 25
	// Continue on the current course and climb/descend to specified altitude.  When the altitude is reached continue to the next command (i.e., don't proceed to the next command until the desired altitude is reached.
	MAV_CMD_NAV_CONTINUE_AND_CHANGE_ALT MAV_CMD = 30
	// Begin loiter at the specified Latitude and Longitude.  If Lat=Lon=0, then loiter at the current position.  Don't consider the navigation command complete (don't leave loiter) until the altitude has been reached. Additionally, if the Heading Required parameter is non-zero the aircraft will not leave the loiter until heading toward the next waypoint.
	MAV_CMD_NAV_LOITER_TO_ALT MAV_CMD = 31
	// Begin following a target
	MAV_CMD_DO_FOLLOW MAV_CMD = 32
	// Reposition the MAV after a follow target command has been sent
	MAV_CMD_DO_FOLLOW_REPOSITION MAV_CMD = 33
	// Start orbiting on the circumference of a circle defined by the parameters. Setting values to NaN/INT32_MAX (as appropriate) results in using defaults.
	MAV_CMD_DO_ORBIT MAV_CMD = 34
	// Sets the region of interest (ROI) for a sensor set or the vehicle itself. This can then be used by the vehicle's control system to control the vehicle attitude and the attitude of various sensors such as cameras.
	MAV_CMD_NAV_ROI MAV_CMD = 80
	// Control autonomous path planning on the MAV.
	MAV_CMD_NAV_PATHPLANNING MAV_CMD = 81
	// Navigate to waypoint using a spline path.
	MAV_CMD_NAV_SPLINE_WAYPOINT MAV_CMD = 82
	// Takeoff from ground using VTOL mode, and transition to forward flight with specified heading. The command should be ignored by vehicles that dont support both VTOL and fixed-wing flight (multicopters, boats,etc.).
	MAV_CMD_NAV_VTOL_TAKEOFF MAV_CMD = 84
	// Land using VTOL mode
	MAV_CMD_NAV_VTOL_LAND MAV_CMD = 85
	// hand control over to an external controller
	MAV_CMD_NAV_GUIDED_ENABLE MAV_CMD = 92
	// Delay the next navigation command a number of seconds or until a specified time
	MAV_CMD_NAV_DELAY MAV_CMD = 93
	// Descend and place payload. Vehicle moves to specified location, descends until it detects a hanging payload has reached the ground, and then releases the payload. If ground is not detected before the reaching the maximum descent value (param1), the command will complete without releasing the payload.
	MAV_CMD_NAV_PAYLOAD_PLACE MAV_CMD = 94
	// NOP - This command is only used to mark the upper limit of the NAV/ACTION commands in the enumeration
	MAV_CMD_NAV_LAST MAV_CMD = 95
	// Delay mission state machine.
	MAV_CMD_CONDITION_DELAY MAV_CMD = 112
	// Ascend/descend to target altitude at specified rate. Delay mission state machine until desired altitude reached.
	MAV_CMD_CONDITION_CHANGE_ALT MAV_CMD = 113
	// Delay mission state machine until within desired distance of next NAV point.
	MAV_CMD_CONDITION_DISTANCE MAV_CMD = 114
	// Reach a certain target angle.
	MAV_CMD_CONDITION_YAW MAV_CMD = 115
	// NOP - This command is only used to mark the upper limit of the CONDITION commands in the enumeration
	MAV_CMD_CONDITION_LAST MAV_CMD = 159
	// Set system mode.
	MAV_CMD_DO_SET_MODE MAV_CMD = 176
	// Jump to the desired command in the mission list.  Repeat this action only the specified number of times
	MAV_CMD_DO_JUMP MAV_CMD = 177
	// Change speed and/or throttle set points. The value persists until it is overridden or there is a mode change.
	MAV_CMD_DO_CHANGE_SPEED MAV_CMD = 178
	// Sets the home position to either to the current position or a specified position.
	// The home position is the default position that the system will return to and land on.
	// The position is set automatically by the system during the takeoff (and may also be set using this command).
	// Note: the current home position may be emitted in a HOME_POSITION message on request (using MAV_CMD_REQUEST_MESSAGE with param1=242).
	MAV_CMD_DO_SET_HOME MAV_CMD = 179
	// Set a system parameter.  Caution!  Use of this command requires knowledge of the numeric enumeration value of the parameter.
	MAV_CMD_DO_SET_PARAMETER MAV_CMD = 180
	// Set a relay to a condition.
	MAV_CMD_DO_SET_RELAY MAV_CMD = 181
	// Cycle a relay on and off for a desired number of cycles with a desired period.
	MAV_CMD_DO_REPEAT_RELAY MAV_CMD = 182
	// Set a servo to a desired PWM value.
	MAV_CMD_DO_SET_SERVO MAV_CMD = 183
	// Cycle a between its nominal setting and a desired PWM for a desired number of cycles with a desired period.
	MAV_CMD_DO_REPEAT_SERVO MAV_CMD = 184
	// Terminate flight immediately.
	// Flight termination immediately and irreversably terminates the current flight, returning the vehicle to ground.
	// The vehicle will ignore RC or other input until it has been power-cycled.
	// Termination may trigger safety measures, including: disabling motors and deployment of parachute on multicopters, and setting flight surfaces to initiate a landing pattern on fixed-wing).
	// On multicopters without a parachute it may trigger a crash landing.
	// Support for this command can be tested using the protocol bit: MAV_PROTOCOL_CAPABILITY_FLIGHT_TERMINATION.
	// Support for this command can also be tested by sending the command with param1=0 (< 0.5); the ACK should be either MAV_RESULT_FAILED or MAV_RESULT_UNSUPPORTED.
	MAV_CMD_DO_FLIGHTTERMINATION MAV_CMD = 185
	// Change altitude set point.
	MAV_CMD_DO_CHANGE_ALTITUDE MAV_CMD = 186
	// Sets actuators (e.g. servos) to a desired value. The actuator numbers are mapped to specific outputs (e.g. on any MAIN or AUX PWM or UAVCAN) using a flight-stack specific mechanism (i.e. a parameter).
	MAV_CMD_DO_SET_ACTUATOR MAV_CMD = 187
	// Mission command to perform a landing. This is used as a marker in a mission to tell the autopilot where a sequence of mission items that represents a landing starts.
	// It may also be sent via a COMMAND_LONG to trigger a landing, in which case the nearest (geographically) landing sequence in the mission will be used.
	// The Latitude/Longitude/Altitude is optional, and may be set to 0 if not needed. If specified then it will be used to help find the closest landing sequence.
	MAV_CMD_DO_LAND_START MAV_CMD = 189
	// Mission command to perform a landing from a rally point.
	MAV_CMD_DO_RALLY_LAND MAV_CMD = 190
	// Mission command to safely abort an autonomous landing.
	MAV_CMD_DO_GO_AROUND MAV_CMD = 191
	// Reposition the vehicle to a specific WGS84 global position.
	MAV_CMD_DO_REPOSITION MAV_CMD = 192
	// If in a GPS controlled position mode, hold the current position or continue.
	MAV_CMD_DO_PAUSE_CONTINUE MAV_CMD = 193
	// Set moving direction to forward or reverse.
	MAV_CMD_DO_SET_REVERSE MAV_CMD = 194
	// Sets the region of interest (ROI) to a location. This can then be used by the vehicle's control system to control the vehicle attitude and the attitude of various sensors such as cameras. This command can be sent to a gimbal manager but not to a gimbal device. A gimbal is not to react to this message.
	MAV_CMD_DO_SET_ROI_LOCATION MAV_CMD = 195
	// Sets the region of interest (ROI) to be toward next waypoint, with optional pitch/roll/yaw offset. This can then be used by the vehicle's control system to control the vehicle attitude and the attitude of various sensors such as cameras. This command can be sent to a gimbal manager but not to a gimbal device. A gimbal device is not to react to this message.
	MAV_CMD_DO_SET_ROI_WPNEXT_OFFSET MAV_CMD = 196
	// Cancels any previous ROI command returning the vehicle/sensors to default flight characteristics. This can then be used by the vehicle's control system to control the vehicle attitude and the attitude of various sensors such as cameras. This command can be sent to a gimbal manager but not to a gimbal device. A gimbal device is not to react to this message. After this command the gimbal manager should go back to manual input if available, and otherwise assume a neutral position.
	MAV_CMD_DO_SET_ROI_NONE MAV_CMD = 197
	// Mount tracks system with specified system ID. Determination of target vehicle position may be done with GLOBAL_POSITION_INT or any other means. This command can be sent to a gimbal manager but not to a gimbal device. A gimbal device is not to react to this message.
	MAV_CMD_DO_SET_ROI_SYSID MAV_CMD = 198
	// Control onboard camera system.
	MAV_CMD_DO_CONTROL_VIDEO MAV_CMD = 200
	// Sets the region of interest (ROI) for a sensor set or the vehicle itself. This can then be used by the vehicle's control system to control the vehicle attitude and the attitude of various sensors such as cameras.
	MAV_CMD_DO_SET_ROI MAV_CMD = 201
	// Configure digital camera. This is a fallback message for systems that have not yet implemented PARAM_EXT_XXX messages and camera definition files (see https://mavlink.io/en/services/camera_def.html ).
	MAV_CMD_DO_DIGICAM_CONFIGURE MAV_CMD = 202
	// Control digital camera. This is a fallback message for systems that have not yet implemented PARAM_EXT_XXX messages and camera definition files (see https://mavlink.io/en/services/camera_def.html ).
	MAV_CMD_DO_DIGICAM_CONTROL MAV_CMD = 203
	// Mission command to configure a camera or antenna mount
	MAV_CMD_DO_MOUNT_CONFIGURE MAV_CMD = 204
	// Mission command to control a camera or antenna mount
	MAV_CMD_DO_MOUNT_CONTROL MAV_CMD = 205
	// Mission command to set camera trigger distance for this flight. The camera is triggered each time this distance is exceeded. This command can also be used to set the shutter integration time for the camera.
	MAV_CMD_DO_SET_CAM_TRIGG_DIST MAV_CMD = 206
	// Mission command to enable the geofence
	MAV_CMD_DO_FENCE_ENABLE MAV_CMD = 207
	// Mission item/command to release a parachute or enable/disable auto release.
	MAV_CMD_DO_PARACHUTE MAV_CMD = 208
	// Command to perform motor test.
	MAV_CMD_DO_MOTOR_TEST MAV_CMD = 209
	// Change to/from inverted flight.
	MAV_CMD_DO_INVERTED_FLIGHT MAV_CMD = 210
	// Mission command to operate a gripper.
	MAV_CMD_DO_GRIPPER MAV_CMD = 211
	// Enable/disable autotune.
	MAV_CMD_DO_AUTOTUNE_ENABLE MAV_CMD = 212
	// Sets a desired vehicle turn angle and speed change.
	MAV_CMD_NAV_SET_YAW_SPEED MAV_CMD = 213
	// Mission command to set camera trigger interval for this flight. If triggering is enabled, the camera is triggered each time this interval expires. This command can also be used to set the shutter integration time for the camera.
	MAV_CMD_DO_SET_CAM_TRIGG_INTERVAL MAV_CMD = 214
	// Mission command to control a camera or antenna mount, using a quaternion as reference.
	MAV_CMD_DO_MOUNT_CONTROL_QUAT MAV_CMD = 220
	// set id of master controller
	MAV_CMD_DO_GUIDED_MASTER MAV_CMD = 221
	// Set limits for external control
	MAV_CMD_DO_GUIDED_LIMITS MAV_CMD = 222
	// Control vehicle engine. This is interpreted by the vehicles engine controller to change the target engine state. It is intended for vehicles with internal combustion engines
	MAV_CMD_DO_ENGINE_CONTROL MAV_CMD = 223
	// Set the mission item with sequence number seq as the current item and emit MISSION_CURRENT (whether or not the mission number changed).
	// If a mission is currently being executed, the system will continue to this new mission item on the shortest path, skipping any intermediate mission items.
	// Note that mission jump repeat counters are not reset unless param2 is set (see MAV_CMD_DO_JUMP param2).
	// This command may trigger a mission state-machine change on some systems: for example from MISSION_STATE_NOT_STARTED or MISSION_STATE_PAUSED to MISSION_STATE_ACTIVE.
	// If the system is in mission mode, on those systems this command might therefore start, restart or resume the mission.
	// If the system is not in mission mode this command must not trigger a switch to mission mode.
	// The mission may be "reset" using param2.
	// Resetting sets jump counters to initial values (to reset counters without changing the current mission item set the param1 to `-1`).
	// Resetting also explicitly changes a mission state of MISSION_STATE_COMPLETE to MISSION_STATE_PAUSED or MISSION_STATE_ACTIVE, potentially allowing it to resume when it is (next) in a mission mode.
	// The command will ACK with MAV_RESULT_FAILED if the sequence number is out of range (including if there is no mission item).
	MAV_CMD_DO_SET_MISSION_CURRENT MAV_CMD = 224
	// NOP - This command is only used to mark the upper limit of the DO commands in the enumeration
	MAV_CMD_DO_LAST MAV_CMD = 240
	// Trigger calibration. This command will be only accepted if in pre-flight mode. Except for Temperature Calibration, only one sensor should be set in a single message and all others should be zero.
	MAV_CMD_PREFLIGHT_CALIBRATION MAV_CMD = 241
	// Set sensor offsets. This command will be only accepted if in pre-flight mode.
	MAV_CMD_PREFLIGHT_SET_SENSOR_OFFSETS MAV_CMD = 242
	// Trigger UAVCAN configuration (actuator ID assignment and direction mapping). Note that this maps to the legacy UAVCAN v0 function UAVCAN_ENUMERATE, which is intended to be executed just once during initial vehicle configuration (it is not a normal pre-flight command and has been poorly named).
	MAV_CMD_PREFLIGHT_UAVCAN MAV_CMD = 243
	// Request storage of different parameter values and logs. This command will be only accepted if in pre-flight mode.
	MAV_CMD_PREFLIGHT_STORAGE MAV_CMD = 245
	// Request the reboot or shutdown of system components.
	MAV_CMD_PREFLIGHT_REBOOT_SHUTDOWN MAV_CMD = 246
	// Override current mission with command to pause mission, pause mission and move to position, continue/resume mission. When param 1 indicates that the mission is paused (MAV_GOTO_DO_HOLD), param 2 defines whether it holds in place or moves to another position.
	MAV_CMD_OVERRIDE_GOTO MAV_CMD = 252
	// Mission command to set a Camera Auto Mount Pivoting Oblique Survey (Replaces CAM_TRIGG_DIST for this purpose). The camera is triggered each time this distance is exceeded, then the mount moves to the next position. Params 4~6 set-up the angle limits and number of positions for oblique survey, where mount-enabled vehicles automatically roll the camera between shots to emulate an oblique camera setup (providing an increased HFOV). This command can also be used to set the shutter integration time for the camera.
	MAV_CMD_OBLIQUE_SURVEY MAV_CMD = 260
	// start running a mission
	MAV_CMD_MISSION_START MAV_CMD = 300
	// Actuator testing command. This is similar to MAV_CMD_DO_MOTOR_TEST but operates on the level of output functions, i.e. it is possible to test Motor1 independent from which output it is configured on. Autopilots typically refuse this command while armed.
	MAV_CMD_ACTUATOR_TEST MAV_CMD = 310
	// Actuator configuration command.
	MAV_CMD_CONFIGURE_ACTUATOR MAV_CMD = 311
	// Arms / Disarms a component
	MAV_CMD_COMPONENT_ARM_DISARM MAV_CMD = 400
	// Instructs a target system to run pre-arm checks.
	// This allows preflight checks to be run on demand, which may be useful on systems that normally run them at low rate, or which do not trigger checks when the armable state might have changed.
	// This command should return MAV_RESULT_ACCEPTED if it will run the checks.
	// The results of the checks are usually then reported in SYS_STATUS messages (this is system-specific).
	// The command should return MAV_RESULT_TEMPORARILY_REJECTED if the system is already armed.
	MAV_CMD_RUN_PREARM_CHECKS MAV_CMD = 401
	// Turns illuminators ON/OFF. An illuminator is a light source that is used for lighting up dark areas external to the sytstem: e.g. a torch or searchlight (as opposed to a light source for illuminating the system itself, e.g. an indicator light).
	MAV_CMD_ILLUMINATOR_ON_OFF MAV_CMD = 405
	// Request the home position from the vehicle.
	// The vehicle will ACK the command and then emit the HOME_POSITION message.
	MAV_CMD_GET_HOME_POSITION MAV_CMD = 410
	// Inject artificial failure for testing purposes. Note that autopilots should implement an additional protection before accepting this command such as a specific param setting.
	MAV_CMD_INJECT_FAILURE MAV_CMD = 420
	// Starts receiver pairing.
	MAV_CMD_START_RX_PAIR MAV_CMD = 500
	// Request the interval between messages for a particular MAVLink message ID.
	// The receiver should ACK the command and then emit its response in a MESSAGE_INTERVAL message.
	MAV_CMD_GET_MESSAGE_INTERVAL MAV_CMD = 510
	// Set the interval between messages for a particular MAVLink message ID. This interface replaces REQUEST_DATA_STREAM.
	MAV_CMD_SET_MESSAGE_INTERVAL MAV_CMD = 511
	// Request the target system(s) emit a single instance of a specified message (i.e. a "one-shot" version of MAV_CMD_SET_MESSAGE_INTERVAL).
	MAV_CMD_REQUEST_MESSAGE MAV_CMD = 512
	// Request MAVLink protocol version compatibility. All receivers should ACK the command and then emit their capabilities in an PROTOCOL_VERSION message
	MAV_CMD_REQUEST_PROTOCOL_VERSION MAV_CMD = 519
	// Request autopilot capabilities. The receiver should ACK the command and then emit its capabilities in an AUTOPILOT_VERSION message
	MAV_CMD_REQUEST_AUTOPILOT_CAPABILITIES MAV_CMD = 520
	// Request camera information (CAMERA_INFORMATION).
	MAV_CMD_REQUEST_CAMERA_INFORMATION MAV_CMD = 521
	// Request camera settings (CAMERA_SETTINGS).
	MAV_CMD_REQUEST_CAMERA_SETTINGS MAV_CMD = 522
	// Request storage information (STORAGE_INFORMATION). Use the command's target_component to target a specific component's storage.
	MAV_CMD_REQUEST_STORAGE_INFORMATION MAV_CMD = 525
	// Format a storage medium. Once format is complete, a STORAGE_INFORMATION message is sent. Use the command's target_component to target a specific component's storage.
	MAV_CMD_STORAGE_FORMAT MAV_CMD = 526
	// Request camera capture status (CAMERA_CAPTURE_STATUS)
	MAV_CMD_REQUEST_CAMERA_CAPTURE_STATUS MAV_CMD = 527
	// Request flight information (FLIGHT_INFORMATION)
	MAV_CMD_REQUEST_FLIGHT_INFORMATION MAV_CMD = 528
	// Reset all camera settings to Factory Default
	MAV_CMD_RESET_CAMERA_SETTINGS MAV_CMD = 529
	// Set camera running mode. Use NaN for reserved values. GCS will send a MAV_CMD_REQUEST_VIDEO_STREAM_STATUS command after a mode change if the camera supports video streaming.
	MAV_CMD_SET_CAMERA_MODE MAV_CMD = 530
	// Set camera zoom. Camera must respond with a CAMERA_SETTINGS message (on success).
	MAV_CMD_SET_CAMERA_ZOOM MAV_CMD = 531
	// Set camera focus. Camera must respond with a CAMERA_SETTINGS message (on success).
	MAV_CMD_SET_CAMERA_FOCUS MAV_CMD = 532
	// Set that a particular storage is the preferred location for saving photos, videos, and/or other media (e.g. to set that an SD card is used for storing videos).
	// There can only be one preferred save location for each particular media type: setting a media usage flag will clear/reset that same flag if set on any other storage.
	// If no flag is set the system should use its default storage.
	// A target system can choose to always use default storage, in which case it should ACK the command with MAV_RESULT_UNSUPPORTED.
	// A target system can choose to not allow a particular storage to be set as preferred storage, in which case it should ACK the command with MAV_RESULT_DENIED.
	MAV_CMD_SET_STORAGE_USAGE MAV_CMD = 533
	// Tagged jump target. Can be jumped to with MAV_CMD_DO_JUMP_TAG.
	MAV_CMD_JUMP_TAG MAV_CMD = 600
	// Jump to the matching tag in the mission list. Repeat this action for the specified number of times. A mission should contain a single matching tag for each jump. If this is not the case then a jump to a missing tag should complete the mission, and a jump where there are multiple matching tags should always select the one with the lowest mission sequence number.
	MAV_CMD_DO_JUMP_TAG MAV_CMD = 601
	// High level setpoint to be sent to a gimbal manager to set a gimbal attitude. It is possible to set combinations of the values below. E.g. an angle as well as a desired angular rate can be used to get to this angle at a certain angular rate, or an angular rate only will result in continuous turning. NaN is to be used to signal unset. Note: a gimbal is never to react to this command but only the gimbal manager.
	MAV_CMD_DO_GIMBAL_MANAGER_PITCHYAW MAV_CMD = 1000
	// Gimbal configuration to set which sysid/compid is in primary and secondary control.
	MAV_CMD_DO_GIMBAL_MANAGER_CONFIGURE MAV_CMD = 1001
	// Start image capture sequence. Sends CAMERA_IMAGE_CAPTURED after each capture. Use NaN for reserved values.
	MAV_CMD_IMAGE_START_CAPTURE MAV_CMD = 2000
	// Stop image capture sequence Use NaN for reserved values.
	MAV_CMD_IMAGE_STOP_CAPTURE MAV_CMD = 2001
	// Re-request a CAMERA_IMAGE_CAPTURED message.
	MAV_CMD_REQUEST_CAMERA_IMAGE_CAPTURE MAV_CMD = 2002
	// Enable or disable on-board camera triggering system.
	MAV_CMD_DO_TRIGGER_CONTROL MAV_CMD = 2003
	// If the camera supports point visual tracking (CAMERA_CAP_FLAGS_HAS_TRACKING_POINT is set), this command allows to initiate the tracking.
	MAV_CMD_CAMERA_TRACK_POINT MAV_CMD = 2004
	// If the camera supports rectangle visual tracking (CAMERA_CAP_FLAGS_HAS_TRACKING_RECTANGLE is set), this command allows to initiate the tracking.
	MAV_CMD_CAMERA_TRACK_RECTANGLE MAV_CMD = 2005
	// Stops ongoing tracking.
	MAV_CMD_CAMERA_STOP_TRACKING MAV_CMD = 2010
	// Starts video capture (recording).
	MAV_CMD_VIDEO_START_CAPTURE MAV_CMD = 2500
	// Stop the current video capture (recording).
	MAV_CMD_VIDEO_STOP_CAPTURE MAV_CMD = 2501
	// Start video streaming
	MAV_CMD_VIDEO_START_STREAMING MAV_CMD = 2502
	// Stop the given video stream
	MAV_CMD_VIDEO_STOP_STREAMING MAV_CMD = 2503
	// Request video stream information (VIDEO_STREAM_INFORMATION)
	MAV_CMD_REQUEST_VIDEO_STREAM_INFORMATION MAV_CMD = 2504
	// Request video stream status (VIDEO_STREAM_STATUS)
	MAV_CMD_REQUEST_VIDEO_STREAM_STATUS MAV_CMD = 2505
	// Request to start streaming logging data over MAVLink (see also LOGGING_DATA message)
	MAV_CMD_LOGGING_START MAV_CMD = 2510
	// Request to stop streaming log data over MAVLink
	MAV_CMD_LOGGING_STOP           MAV_CMD = 2511
	MAV_CMD_AIRFRAME_CONFIGURATION MAV_CMD = 2520
	// Request to start/stop transmitting over the high latency telemetry
	MAV_CMD_CONTROL_HIGH_LATENCY MAV_CMD = 2600
	// Create a panorama at the current position
	MAV_CMD_PANORAMA_CREATE MAV_CMD = 2800
	// Request VTOL transition
	MAV_CMD_DO_VTOL_TRANSITION MAV_CMD = 3000
	// Request authorization to arm the vehicle to a external entity, the arm authorizer is responsible to request all data that is needs from the vehicle before authorize or deny the request. If approved the progress of command_ack message should be set with period of time that this authorization is valid in seconds or in case it was denied it should be set with one of the reasons in ARM_AUTH_DENIED_REASON.
	MAV_CMD_ARM_AUTHORIZATION_REQUEST MAV_CMD = 3001
	// This command sets the submode to standard guided when vehicle is in guided mode. The vehicle holds position and altitude and the user can input the desired velocities along all three axes.
	MAV_CMD_SET_GUIDED_SUBMODE_STANDARD MAV_CMD = 4000
	// This command sets submode circle when vehicle is in guided mode. Vehicle flies along a circle facing the center of the circle. The user can input the velocity along the circle and change the radius. If no input is given the vehicle will hold position.
	MAV_CMD_SET_GUIDED_SUBMODE_CIRCLE MAV_CMD = 4001
	// Delay mission state machine until gate has been reached.
	MAV_CMD_CONDITION_GATE MAV_CMD = 4501
	// Fence return point (there can only be one such point in a geofence definition). If rally points are supported they should be used instead.
	MAV_CMD_NAV_FENCE_RETURN_POINT MAV_CMD = 5000
	// Fence vertex for an inclusion polygon (the polygon must not be self-intersecting). The vehicle must stay within this area. Minimum of 3 vertices required.
	MAV_CMD_NAV_FENCE_POLYGON_VERTEX_INCLUSION MAV_CMD = 5001
	// Fence vertex for an exclusion polygon (the polygon must not be self-intersecting). The vehicle must stay outside this area. Minimum of 3 vertices required.
	MAV_CMD_NAV_FENCE_POLYGON_VERTEX_EXCLUSION MAV_CMD = 5002
	// Circular fence area. The vehicle must stay inside this area.
	MAV_CMD_NAV_FENCE_CIRCLE_INCLUSION MAV_CMD = 5003
	// Circular fence area. The vehicle must stay outside this area.
	MAV_CMD_NAV_FENCE_CIRCLE_EXCLUSION MAV_CMD = 5004
	// Rally point. You can have multiple rally points defined.
	MAV_CMD_NAV_RALLY_POINT MAV_CMD = 5100
	// Commands the vehicle to respond with a sequence of messages UAVCAN_NODE_INFO, one message per every UAVCAN node that is online. Note that some of the response messages can be lost, which the receiver can detect easily by checking whether every received UAVCAN_NODE_STATUS has a matching message UAVCAN_NODE_INFO received earlier; if not, this command should be sent again in order to request re-transmission of the node information messages.
	MAV_CMD_UAVCAN_GET_NODE_INFO MAV_CMD = 5200
	// Trigger the start of an ADSB-out IDENT. This should only be used when requested to do so by an Air Traffic Controller in controlled airspace. This starts the IDENT which is then typically held for 18 seconds by the hardware per the Mode A, C, and S transponder spec.
	MAV_CMD_DO_ADSB_OUT_IDENT MAV_CMD = 10001
	// Deploy payload on a Lat / Lon / Alt position. This includes the navigation to reach the required release position and velocity.
	MAV_CMD_PAYLOAD_PREPARE_DEPLOY MAV_CMD = 30001
	// Control the payload deployment.
	MAV_CMD_PAYLOAD_CONTROL_DEPLOY MAV_CMD = 30002
	// Magnetometer calibration based on provided known yaw. This allows for fast calibration using WMM field tables in the vehicle, given only the known yaw of the vehicle. If Latitude and longitude are both zero then use the current vehicle location.
	MAV_CMD_FIXED_MAG_CAL_YAW MAV_CMD = 42006
	// Command to operate winch.
	MAV_CMD_DO_WINCH MAV_CMD = 42600
	// User defined waypoint item. Ground Station will show the Vehicle as flying through this item.
	MAV_CMD_WAYPOINT_USER_1 MAV_CMD = 31000
	// User defined waypoint item. Ground Station will show the Vehicle as flying through this item.
	MAV_CMD_WAYPOINT_USER_2 MAV_CMD = 31001
	// User defined waypoint item. Ground Station will show the Vehicle as flying through this item.
	MAV_CMD_WAYPOINT_USER_3 MAV_CMD = 31002
	// User defined waypoint item. Ground Station will show the Vehicle as flying through this item.
	MAV_CMD_WAYPOINT_USER_4 MAV_CMD = 31003
	// User defined waypoint item. Ground Station will show the Vehicle as flying through this item.
	MAV_CMD_WAYPOINT_USER_5 MAV_CMD = 31004
	// User defined spatial item. Ground Station will not show the Vehicle as flying through this item. Example: ROI item.
	MAV_CMD_SPATIAL_USER_1 MAV_CMD = 31005
	// User defined spatial item. Ground Station will not show the Vehicle as flying through this item. Example: ROI item.
	MAV_CMD_SPATIAL_USER_2 MAV_CMD = 31006
	// User defined spatial item. Ground Station will not show the Vehicle as flying through this item. Example: ROI item.
	MAV_CMD_SPATIAL_USER_3 MAV_CMD = 31007
	// User defined spatial item. Ground Station will not show the Vehicle as flying through this item. Example: ROI item.
	MAV_CMD_SPATIAL_USER_4 MAV_CMD = 31008
	// User defined spatial item. Ground Station will not show the Vehicle as flying through this item. Example: ROI item.
	MAV_CMD_SPATIAL_USER_5 MAV_CMD = 31009
	// User defined command. Ground Station will not show the Vehicle as flying through this item. Example: MAV_CMD_DO_SET_PARAMETER item.
	MAV_CMD_USER_1 MAV_CMD = 31010
	// User defined command. Ground Station will not show the Vehicle as flying through this item. Example: MAV_CMD_DO_SET_PARAMETER item.
	MAV_CMD_USER_2 MAV_CMD = 31011
	// User defined command. Ground Station will not show the Vehicle as flying through this item. Example: MAV_CMD_DO_SET_PARAMETER item.
	MAV_CMD_USER_3 MAV_CMD = 31012
	// User defined command. Ground Station will not show the Vehicle as flying through this item. Example: MAV_CMD_DO_SET_PARAMETER item.
	MAV_CMD_USER_4 MAV_CMD = 31013
	// User defined command. Ground Station will not show the Vehicle as flying through this item. Example: MAV_CMD_DO_SET_PARAMETER item.
	MAV_CMD_USER_5 MAV_CMD = 31014
	// Request forwarding of CAN packets from the given CAN bus to this component. CAN Frames are sent using CAN_FRAME and CANFD_FRAME messages
	MAV_CMD_CAN_FORWARD MAV_CMD = 32000
	// Set the distance to be repeated on mission resume
	MAV_CMD_DO_SET_RESUME_REPEAT_DIST MAV_CMD = 215
	// Control attached liquid sprayer
	MAV_CMD_DO_SPRAYER MAV_CMD = 216
	// Pass instructions onto scripting, a script should be checking for a new command
	MAV_CMD_DO_SEND_SCRIPT_MESSAGE MAV_CMD = 217
	// Execute auxiliary function
	MAV_CMD_DO_AUX_FUNCTION MAV_CMD = 218
	// Mission command to wait for an altitude or downwards vertical speed. This is meant for high altitude balloon launches, allowing the aircraft to be idle until either an altitude is reached or a negative vertical speed is reached (indicating early balloon burst). The wiggle time is how often to wiggle the control surfaces to prevent them seizing up.
	MAV_CMD_NAV_ALTITUDE_WAIT MAV_CMD = 83
	// A system wide power-off event has been initiated.
	MAV_CMD_POWER_OFF_INITIATED MAV_CMD = 42000
	// FLY button has been clicked.
	MAV_CMD_SOLO_BTN_FLY_CLICK MAV_CMD = 42001
	// FLY button has been held for 1.5 seconds.
	MAV_CMD_SOLO_BTN_FLY_HOLD MAV_CMD = 42002
	// PAUSE button has been clicked.
	MAV_CMD_SOLO_BTN_PAUSE_CLICK MAV_CMD = 42003
	// Magnetometer calibration based on fixed position
	// in earth field given by inclination, declination and intensity.
	MAV_CMD_FIXED_MAG_CAL MAV_CMD = 42004
	// Magnetometer calibration based on fixed expected field values.
	MAV_CMD_FIXED_MAG_CAL_FIELD MAV_CMD = 42005
	// Set EKF sensor source set.
	MAV_CMD_SET_EKF_SOURCE_SET MAV_CMD = 42007
	// Initiate a magnetometer calibration.
	MAV_CMD_DO_START_MAG_CAL MAV_CMD = 42424
	// Accept a magnetometer calibration.
	MAV_CMD_DO_ACCEPT_MAG_CAL MAV_CMD = 42425
	// Cancel a running magnetometer calibration.
	MAV_CMD_DO_CANCEL_MAG_CAL MAV_CMD = 42426
	// Used when doing accelerometer calibration. When sent to the GCS tells it what position to put the vehicle in. When sent to the vehicle says what position the vehicle is in.
	MAV_CMD_ACCELCAL_VEHICLE_POS MAV_CMD = 42429
	// Reply with the version banner.
	MAV_CMD_DO_SEND_BANNER MAV_CMD = 42428
	// Command autopilot to get into factory test/diagnostic mode.
	MAV_CMD_SET_FACTORY_TEST_MODE MAV_CMD = 42427
	// Causes the gimbal to reset and boot as if it was just powered on.
	MAV_CMD_GIMBAL_RESET MAV_CMD = 42501
	// Reports progress and success or failure of gimbal axis calibration procedure.
	MAV_CMD_GIMBAL_AXIS_CALIBRATION_STATUS MAV_CMD = 42502
	// Starts commutation calibration on the gimbal.
	MAV_CMD_GIMBAL_REQUEST_AXIS_CALIBRATION MAV_CMD = 42503
	// Erases gimbal application and parameters.
	MAV_CMD_GIMBAL_FULL_RESET MAV_CMD = 42505
	// Update the bootloader
	MAV_CMD_FLASH_BOOTLOADER MAV_CMD = 42650
	// Reset battery capacity for batteries that accumulate consumed battery via integration.
	MAV_CMD_BATTERY_RESET MAV_CMD = 42651
	// Issue a trap signal to the autopilot process, presumably to enter the debugger.
	MAV_CMD_DEBUG_TRAP MAV_CMD = 42700
	// Control onboard scripting.
	MAV_CMD_SCRIPTING MAV_CMD = 42701
	// Scripting command as NAV command with wait for completion.
	MAV_CMD_NAV_SCRIPT_TIME MAV_CMD = 42702
	// Maintain an attitude for a specified time.
	MAV_CMD_NAV_ATTITUDE_TIME MAV_CMD = 42703
	// Change flight speed at a given rate. This slews the vehicle at a controllable rate between it's previous speed and the new one. (affects GUIDED only. Outside GUIDED, aircraft ignores these commands. Designed for onboard companion-computer command-and-control, not normally operator/GCS control.)
	MAV_CMD_GUIDED_CHANGE_SPEED MAV_CMD = 43000
	// Change target altitude at a given rate. This slews the vehicle at a controllable rate between it's previous altitude and the new one. (affects GUIDED only. Outside GUIDED, aircraft ignores these commands. Designed for onboard companion-computer command-and-control, not normally operator/GCS control.)
	MAV_CMD_GUIDED_CHANGE_ALTITUDE MAV_CMD = 43001
	// Change to target heading at a given rate, overriding previous heading/s. This slews the vehicle at a controllable rate between it's previous heading and the new one. (affects GUIDED only. Exiting GUIDED returns aircraft to normal behaviour defined elsewhere. Designed for onboard companion-computer command-and-control, not normally operator/GCS control.)
	MAV_CMD_GUIDED_CHANGE_HEADING MAV_CMD = 43002
)

func (MAV_CMD) MarshalText ¶

func (e MAV_CMD) MarshalText() ([]byte, error)

MarshalText implements the encoding.TextMarshaler interface.

func (MAV_CMD) String ¶

func (e MAV_CMD) String() string

String implements the fmt.Stringer interface.

func (*MAV_CMD) UnmarshalText ¶

func (e *MAV_CMD) UnmarshalText(text []byte) error

UnmarshalText implements the encoding.TextUnmarshaler interface.

type MAV_CMD_ACK ¶

type MAV_CMD_ACK = common.MAV_CMD_ACK

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

const (
	// Command / mission item is ok.
	MAV_CMD_ACK_OK MAV_CMD_ACK = common.MAV_CMD_ACK_OK
	// Generic error message if none of the other reasons fails or if no detailed error reporting is implemented.
	MAV_CMD_ACK_ERR_FAIL MAV_CMD_ACK = common.MAV_CMD_ACK_ERR_FAIL
	// The system is refusing to accept this command from this source / communication partner.
	MAV_CMD_ACK_ERR_ACCESS_DENIED MAV_CMD_ACK = common.MAV_CMD_ACK_ERR_ACCESS_DENIED
	// Command or mission item is not supported, other commands would be accepted.
	MAV_CMD_ACK_ERR_NOT_SUPPORTED MAV_CMD_ACK = common.MAV_CMD_ACK_ERR_NOT_SUPPORTED
	// The coordinate frame of this command / mission item is not supported.
	MAV_CMD_ACK_ERR_COORDINATE_FRAME_NOT_SUPPORTED MAV_CMD_ACK = common.MAV_CMD_ACK_ERR_COORDINATE_FRAME_NOT_SUPPORTED
	// The coordinate frame of this command is ok, but he coordinate values exceed the safety limits of this system. This is a generic error, please use the more specific error messages below if possible.
	MAV_CMD_ACK_ERR_COORDINATES_OUT_OF_RANGE MAV_CMD_ACK = common.MAV_CMD_ACK_ERR_COORDINATES_OUT_OF_RANGE
	// The X or latitude value is out of range.
	MAV_CMD_ACK_ERR_X_LAT_OUT_OF_RANGE MAV_CMD_ACK = common.MAV_CMD_ACK_ERR_X_LAT_OUT_OF_RANGE
	// The Y or longitude value is out of range.
	MAV_CMD_ACK_ERR_Y_LON_OUT_OF_RANGE MAV_CMD_ACK = common.MAV_CMD_ACK_ERR_Y_LON_OUT_OF_RANGE
	// The Z or altitude value is out of range.
	MAV_CMD_ACK_ERR_Z_ALT_OUT_OF_RANGE MAV_CMD_ACK = common.MAV_CMD_ACK_ERR_Z_ALT_OUT_OF_RANGE
)

type MAV_CMD_DO_AUX_FUNCTION_SWITCH_LEVEL ¶

type MAV_CMD_DO_AUX_FUNCTION_SWITCH_LEVEL uint32
const (
	// Switch Low.
	MAV_CMD_DO_AUX_FUNCTION_SWITCH_LEVEL_LOW MAV_CMD_DO_AUX_FUNCTION_SWITCH_LEVEL = 0
	// Switch Middle.
	MAV_CMD_DO_AUX_FUNCTION_SWITCH_LEVEL_MIDDLE MAV_CMD_DO_AUX_FUNCTION_SWITCH_LEVEL = 1
	// Switch High.
	MAV_CMD_DO_AUX_FUNCTION_SWITCH_LEVEL_HIGH MAV_CMD_DO_AUX_FUNCTION_SWITCH_LEVEL = 2
)

func (MAV_CMD_DO_AUX_FUNCTION_SWITCH_LEVEL) MarshalText ¶

func (e MAV_CMD_DO_AUX_FUNCTION_SWITCH_LEVEL) MarshalText() ([]byte, error)

MarshalText implements the encoding.TextMarshaler interface.

func (MAV_CMD_DO_AUX_FUNCTION_SWITCH_LEVEL) String ¶

String implements the fmt.Stringer interface.

func (*MAV_CMD_DO_AUX_FUNCTION_SWITCH_LEVEL) UnmarshalText ¶

func (e *MAV_CMD_DO_AUX_FUNCTION_SWITCH_LEVEL) UnmarshalText(text []byte) error

UnmarshalText implements the encoding.TextUnmarshaler interface.

type MAV_COLLISION_ACTION ¶

type MAV_COLLISION_ACTION = common.MAV_COLLISION_ACTION

Possible actions an aircraft can take to avoid a collision.

const (
	// Ignore any potential collisions
	MAV_COLLISION_ACTION_NONE MAV_COLLISION_ACTION = common.MAV_COLLISION_ACTION_NONE
	// Report potential collision
	MAV_COLLISION_ACTION_REPORT MAV_COLLISION_ACTION = common.MAV_COLLISION_ACTION_REPORT
	// Ascend or Descend to avoid threat
	MAV_COLLISION_ACTION_ASCEND_OR_DESCEND MAV_COLLISION_ACTION = common.MAV_COLLISION_ACTION_ASCEND_OR_DESCEND
	// Move horizontally to avoid threat
	MAV_COLLISION_ACTION_MOVE_HORIZONTALLY MAV_COLLISION_ACTION = common.MAV_COLLISION_ACTION_MOVE_HORIZONTALLY
	// Aircraft to move perpendicular to the collision's velocity vector
	MAV_COLLISION_ACTION_MOVE_PERPENDICULAR MAV_COLLISION_ACTION = common.MAV_COLLISION_ACTION_MOVE_PERPENDICULAR
	// Aircraft to fly directly back to its launch point
	MAV_COLLISION_ACTION_RTL MAV_COLLISION_ACTION = common.MAV_COLLISION_ACTION_RTL
	// Aircraft to stop in place
	MAV_COLLISION_ACTION_HOVER MAV_COLLISION_ACTION = common.MAV_COLLISION_ACTION_HOVER
)

type MAV_COLLISION_SRC ¶

type MAV_COLLISION_SRC = common.MAV_COLLISION_SRC

Source of information about this collision.

const (
	// ID field references ADSB_VEHICLE packets
	MAV_COLLISION_SRC_ADSB MAV_COLLISION_SRC = common.MAV_COLLISION_SRC_ADSB
	// ID field references MAVLink SRC ID
	MAV_COLLISION_SRC_MAVLINK_GPS_GLOBAL_INT MAV_COLLISION_SRC = common.MAV_COLLISION_SRC_MAVLINK_GPS_GLOBAL_INT
)

type MAV_COLLISION_THREAT_LEVEL ¶

type MAV_COLLISION_THREAT_LEVEL = common.MAV_COLLISION_THREAT_LEVEL

Aircraft-rated danger from this threat.

const (
	// Not a threat
	MAV_COLLISION_THREAT_LEVEL_NONE MAV_COLLISION_THREAT_LEVEL = common.MAV_COLLISION_THREAT_LEVEL_NONE
	// Craft is mildly concerned about this threat
	MAV_COLLISION_THREAT_LEVEL_LOW MAV_COLLISION_THREAT_LEVEL = common.MAV_COLLISION_THREAT_LEVEL_LOW
	// Craft is panicking, and may take actions to avoid threat
	MAV_COLLISION_THREAT_LEVEL_HIGH MAV_COLLISION_THREAT_LEVEL = common.MAV_COLLISION_THREAT_LEVEL_HIGH
)

type MAV_COMPONENT ¶

type MAV_COMPONENT = minimal.MAV_COMPONENT

Component ids (values) for the different types and instances of onboard hardware/software that might make up a MAVLink system (autopilot, cameras, servos, GPS systems, avoidance systems etc.). Components must use the appropriate ID in their source address when sending messages. Components can also use IDs to determine if they are the intended recipient of an incoming message. The MAV_COMP_ID_ALL value is used to indicate messages that must be processed by all components. When creating new entries, components that can have multiple instances (e.g. cameras, servos etc.) should be allocated sequential values. An appropriate number of values should be left free after these components to allow the number of instances to be expanded.

const (
	// Target id (target_component) used to broadcast messages to all components of the receiving system. Components should attempt to process messages with this component ID and forward to components on any other interfaces. Note: This is not a valid *source* component id for a message.
	MAV_COMP_ID_ALL MAV_COMPONENT = minimal.MAV_COMP_ID_ALL
	// System flight controller component ("autopilot"). Only one autopilot is expected in a particular system.
	MAV_COMP_ID_AUTOPILOT1 MAV_COMPONENT = minimal.MAV_COMP_ID_AUTOPILOT1
	// Id for a component on privately managed MAVLink network. Can be used for any purpose but may not be published by components outside of the private network.
	MAV_COMP_ID_USER1 MAV_COMPONENT = minimal.MAV_COMP_ID_USER1
	// Id for a component on privately managed MAVLink network. Can be used for any purpose but may not be published by components outside of the private network.
	MAV_COMP_ID_USER2 MAV_COMPONENT = minimal.MAV_COMP_ID_USER2
	// Id for a component on privately managed MAVLink network. Can be used for any purpose but may not be published by components outside of the private network.
	MAV_COMP_ID_USER3 MAV_COMPONENT = minimal.MAV_COMP_ID_USER3
	// Id for a component on privately managed MAVLink network. Can be used for any purpose but may not be published by components outside of the private network.
	MAV_COMP_ID_USER4 MAV_COMPONENT = minimal.MAV_COMP_ID_USER4
	// Id for a component on privately managed MAVLink network. Can be used for any purpose but may not be published by components outside of the private network.
	MAV_COMP_ID_USER5 MAV_COMPONENT = minimal.MAV_COMP_ID_USER5
	// Id for a component on privately managed MAVLink network. Can be used for any purpose but may not be published by components outside of the private network.
	MAV_COMP_ID_USER6 MAV_COMPONENT = minimal.MAV_COMP_ID_USER6
	// Id for a component on privately managed MAVLink network. Can be used for any purpose but may not be published by components outside of the private network.
	MAV_COMP_ID_USER7 MAV_COMPONENT = minimal.MAV_COMP_ID_USER7
	// Id for a component on privately managed MAVLink network. Can be used for any purpose but may not be published by components outside of the private network.
	MAV_COMP_ID_USER8 MAV_COMPONENT = minimal.MAV_COMP_ID_USER8
	// Id for a component on privately managed MAVLink network. Can be used for any purpose but may not be published by components outside of the private network.
	MAV_COMP_ID_USER9 MAV_COMPONENT = minimal.MAV_COMP_ID_USER9
	// Id for a component on privately managed MAVLink network. Can be used for any purpose but may not be published by components outside of the private network.
	MAV_COMP_ID_USER10 MAV_COMPONENT = minimal.MAV_COMP_ID_USER10
	// Id for a component on privately managed MAVLink network. Can be used for any purpose but may not be published by components outside of the private network.
	MAV_COMP_ID_USER11 MAV_COMPONENT = minimal.MAV_COMP_ID_USER11
	// Id for a component on privately managed MAVLink network. Can be used for any purpose but may not be published by components outside of the private network.
	MAV_COMP_ID_USER12 MAV_COMPONENT = minimal.MAV_COMP_ID_USER12
	// Id for a component on privately managed MAVLink network. Can be used for any purpose but may not be published by components outside of the private network.
	MAV_COMP_ID_USER13 MAV_COMPONENT = minimal.MAV_COMP_ID_USER13
	// Id for a component on privately managed MAVLink network. Can be used for any purpose but may not be published by components outside of the private network.
	MAV_COMP_ID_USER14 MAV_COMPONENT = minimal.MAV_COMP_ID_USER14
	// Id for a component on privately managed MAVLink network. Can be used for any purpose but may not be published by components outside of the private network.
	MAV_COMP_ID_USER15 MAV_COMPONENT = minimal.MAV_COMP_ID_USER15
	// Id for a component on privately managed MAVLink network. Can be used for any purpose but may not be published by components outside of the private network.
	MAV_COMP_ID_USER16 MAV_COMPONENT = minimal.MAV_COMP_ID_USER16
	// Id for a component on privately managed MAVLink network. Can be used for any purpose but may not be published by components outside of the private network.
	MAV_COMP_ID_USER17 MAV_COMPONENT = minimal.MAV_COMP_ID_USER17
	// Id for a component on privately managed MAVLink network. Can be used for any purpose but may not be published by components outside of the private network.
	MAV_COMP_ID_USER18 MAV_COMPONENT = minimal.MAV_COMP_ID_USER18
	// Id for a component on privately managed MAVLink network. Can be used for any purpose but may not be published by components outside of the private network.
	MAV_COMP_ID_USER19 MAV_COMPONENT = minimal.MAV_COMP_ID_USER19
	// Id for a component on privately managed MAVLink network. Can be used for any purpose but may not be published by components outside of the private network.
	MAV_COMP_ID_USER20 MAV_COMPONENT = minimal.MAV_COMP_ID_USER20
	// Id for a component on privately managed MAVLink network. Can be used for any purpose but may not be published by components outside of the private network.
	MAV_COMP_ID_USER21 MAV_COMPONENT = minimal.MAV_COMP_ID_USER21
	// Id for a component on privately managed MAVLink network. Can be used for any purpose but may not be published by components outside of the private network.
	MAV_COMP_ID_USER22 MAV_COMPONENT = minimal.MAV_COMP_ID_USER22
	// Id for a component on privately managed MAVLink network. Can be used for any purpose but may not be published by components outside of the private network.
	MAV_COMP_ID_USER23 MAV_COMPONENT = minimal.MAV_COMP_ID_USER23
	// Id for a component on privately managed MAVLink network. Can be used for any purpose but may not be published by components outside of the private network.
	MAV_COMP_ID_USER24 MAV_COMPONENT = minimal.MAV_COMP_ID_USER24
	// Id for a component on privately managed MAVLink network. Can be used for any purpose but may not be published by components outside of the private network.
	MAV_COMP_ID_USER25 MAV_COMPONENT = minimal.MAV_COMP_ID_USER25
	// Id for a component on privately managed MAVLink network. Can be used for any purpose but may not be published by components outside of the private network.
	MAV_COMP_ID_USER26 MAV_COMPONENT = minimal.MAV_COMP_ID_USER26
	// Id for a component on privately managed MAVLink network. Can be used for any purpose but may not be published by components outside of the private network.
	MAV_COMP_ID_USER27 MAV_COMPONENT = minimal.MAV_COMP_ID_USER27
	// Id for a component on privately managed MAVLink network. Can be used for any purpose but may not be published by components outside of the private network.
	MAV_COMP_ID_USER28 MAV_COMPONENT = minimal.MAV_COMP_ID_USER28
	// Id for a component on privately managed MAVLink network. Can be used for any purpose but may not be published by components outside of the private network.
	MAV_COMP_ID_USER29 MAV_COMPONENT = minimal.MAV_COMP_ID_USER29
	// Id for a component on privately managed MAVLink network. Can be used for any purpose but may not be published by components outside of the private network.
	MAV_COMP_ID_USER30 MAV_COMPONENT = minimal.MAV_COMP_ID_USER30
	// Id for a component on privately managed MAVLink network. Can be used for any purpose but may not be published by components outside of the private network.
	MAV_COMP_ID_USER31 MAV_COMPONENT = minimal.MAV_COMP_ID_USER31
	// Id for a component on privately managed MAVLink network. Can be used for any purpose but may not be published by components outside of the private network.
	MAV_COMP_ID_USER32 MAV_COMPONENT = minimal.MAV_COMP_ID_USER32
	// Id for a component on privately managed MAVLink network. Can be used for any purpose but may not be published by components outside of the private network.
	MAV_COMP_ID_USER33 MAV_COMPONENT = minimal.MAV_COMP_ID_USER33
	// Id for a component on privately managed MAVLink network. Can be used for any purpose but may not be published by components outside of the private network.
	MAV_COMP_ID_USER34 MAV_COMPONENT = minimal.MAV_COMP_ID_USER34
	// Id for a component on privately managed MAVLink network. Can be used for any purpose but may not be published by components outside of the private network.
	MAV_COMP_ID_USER35 MAV_COMPONENT = minimal.MAV_COMP_ID_USER35
	// Id for a component on privately managed MAVLink network. Can be used for any purpose but may not be published by components outside of the private network.
	MAV_COMP_ID_USER36 MAV_COMPONENT = minimal.MAV_COMP_ID_USER36
	// Id for a component on privately managed MAVLink network. Can be used for any purpose but may not be published by components outside of the private network.
	MAV_COMP_ID_USER37 MAV_COMPONENT = minimal.MAV_COMP_ID_USER37
	// Id for a component on privately managed MAVLink network. Can be used for any purpose but may not be published by components outside of the private network.
	MAV_COMP_ID_USER38 MAV_COMPONENT = minimal.MAV_COMP_ID_USER38
	// Id for a component on privately managed MAVLink network. Can be used for any purpose but may not be published by components outside of the private network.
	MAV_COMP_ID_USER39 MAV_COMPONENT = minimal.MAV_COMP_ID_USER39
	// Id for a component on privately managed MAVLink network. Can be used for any purpose but may not be published by components outside of the private network.
	MAV_COMP_ID_USER40 MAV_COMPONENT = minimal.MAV_COMP_ID_USER40
	// Id for a component on privately managed MAVLink network. Can be used for any purpose but may not be published by components outside of the private network.
	MAV_COMP_ID_USER41 MAV_COMPONENT = minimal.MAV_COMP_ID_USER41
	// Id for a component on privately managed MAVLink network. Can be used for any purpose but may not be published by components outside of the private network.
	MAV_COMP_ID_USER42 MAV_COMPONENT = minimal.MAV_COMP_ID_USER42
	// Id for a component on privately managed MAVLink network. Can be used for any purpose but may not be published by components outside of the private network.
	MAV_COMP_ID_USER43 MAV_COMPONENT = minimal.MAV_COMP_ID_USER43
	// Telemetry radio (e.g. SiK radio, or other component that emits RADIO_STATUS messages).
	MAV_COMP_ID_TELEMETRY_RADIO MAV_COMPONENT = minimal.MAV_COMP_ID_TELEMETRY_RADIO
	// Id for a component on privately managed MAVLink network. Can be used for any purpose but may not be published by components outside of the private network.
	MAV_COMP_ID_USER45 MAV_COMPONENT = minimal.MAV_COMP_ID_USER45
	// Id for a component on privately managed MAVLink network. Can be used for any purpose but may not be published by components outside of the private network.
	MAV_COMP_ID_USER46 MAV_COMPONENT = minimal.MAV_COMP_ID_USER46
	// Id for a component on privately managed MAVLink network. Can be used for any purpose but may not be published by components outside of the private network.
	MAV_COMP_ID_USER47 MAV_COMPONENT = minimal.MAV_COMP_ID_USER47
	// Id for a component on privately managed MAVLink network. Can be used for any purpose but may not be published by components outside of the private network.
	MAV_COMP_ID_USER48 MAV_COMPONENT = minimal.MAV_COMP_ID_USER48
	// Id for a component on privately managed MAVLink network. Can be used for any purpose but may not be published by components outside of the private network.
	MAV_COMP_ID_USER49 MAV_COMPONENT = minimal.MAV_COMP_ID_USER49
	// Id for a component on privately managed MAVLink network. Can be used for any purpose but may not be published by components outside of the private network.
	MAV_COMP_ID_USER50 MAV_COMPONENT = minimal.MAV_COMP_ID_USER50
	// Id for a component on privately managed MAVLink network. Can be used for any purpose but may not be published by components outside of the private network.
	MAV_COMP_ID_USER51 MAV_COMPONENT = minimal.MAV_COMP_ID_USER51
	// Id for a component on privately managed MAVLink network. Can be used for any purpose but may not be published by components outside of the private network.
	MAV_COMP_ID_USER52 MAV_COMPONENT = minimal.MAV_COMP_ID_USER52
	// Id for a component on privately managed MAVLink network. Can be used for any purpose but may not be published by components outside of the private network.
	MAV_COMP_ID_USER53 MAV_COMPONENT = minimal.MAV_COMP_ID_USER53
	// Id for a component on privately managed MAVLink network. Can be used for any purpose but may not be published by components outside of the private network.
	MAV_COMP_ID_USER54 MAV_COMPONENT = minimal.MAV_COMP_ID_USER54
	// Id for a component on privately managed MAVLink network. Can be used for any purpose but may not be published by components outside of the private network.
	MAV_COMP_ID_USER55 MAV_COMPONENT = minimal.MAV_COMP_ID_USER55
	// Id for a component on privately managed MAVLink network. Can be used for any purpose but may not be published by components outside of the private network.
	MAV_COMP_ID_USER56 MAV_COMPONENT = minimal.MAV_COMP_ID_USER56
	// Id for a component on privately managed MAVLink network. Can be used for any purpose but may not be published by components outside of the private network.
	MAV_COMP_ID_USER57 MAV_COMPONENT = minimal.MAV_COMP_ID_USER57
	// Id for a component on privately managed MAVLink network. Can be used for any purpose but may not be published by components outside of the private network.
	MAV_COMP_ID_USER58 MAV_COMPONENT = minimal.MAV_COMP_ID_USER58
	// Id for a component on privately managed MAVLink network. Can be used for any purpose but may not be published by components outside of the private network.
	MAV_COMP_ID_USER59 MAV_COMPONENT = minimal.MAV_COMP_ID_USER59
	// Id for a component on privately managed MAVLink network. Can be used for any purpose but may not be published by components outside of the private network.
	MAV_COMP_ID_USER60 MAV_COMPONENT = minimal.MAV_COMP_ID_USER60
	// Id for a component on privately managed MAVLink network. Can be used for any purpose but may not be published by components outside of the private network.
	MAV_COMP_ID_USER61 MAV_COMPONENT = minimal.MAV_COMP_ID_USER61
	// Id for a component on privately managed MAVLink network. Can be used for any purpose but may not be published by components outside of the private network.
	MAV_COMP_ID_USER62 MAV_COMPONENT = minimal.MAV_COMP_ID_USER62
	// Id for a component on privately managed MAVLink network. Can be used for any purpose but may not be published by components outside of the private network.
	MAV_COMP_ID_USER63 MAV_COMPONENT = minimal.MAV_COMP_ID_USER63
	// Id for a component on privately managed MAVLink network. Can be used for any purpose but may not be published by components outside of the private network.
	MAV_COMP_ID_USER64 MAV_COMPONENT = minimal.MAV_COMP_ID_USER64
	// Id for a component on privately managed MAVLink network. Can be used for any purpose but may not be published by components outside of the private network.
	MAV_COMP_ID_USER65 MAV_COMPONENT = minimal.MAV_COMP_ID_USER65
	// Id for a component on privately managed MAVLink network. Can be used for any purpose but may not be published by components outside of the private network.
	MAV_COMP_ID_USER66 MAV_COMPONENT = minimal.MAV_COMP_ID_USER66
	// Id for a component on privately managed MAVLink network. Can be used for any purpose but may not be published by components outside of the private network.
	MAV_COMP_ID_USER67 MAV_COMPONENT = minimal.MAV_COMP_ID_USER67
	// Id for a component on privately managed MAVLink network. Can be used for any purpose but may not be published by components outside of the private network.
	MAV_COMP_ID_USER68 MAV_COMPONENT = minimal.MAV_COMP_ID_USER68
	// Id for a component on privately managed MAVLink network. Can be used for any purpose but may not be published by components outside of the private network.
	MAV_COMP_ID_USER69 MAV_COMPONENT = minimal.MAV_COMP_ID_USER69
	// Id for a component on privately managed MAVLink network. Can be used for any purpose but may not be published by components outside of the private network.
	MAV_COMP_ID_USER70 MAV_COMPONENT = minimal.MAV_COMP_ID_USER70
	// Id for a component on privately managed MAVLink network. Can be used for any purpose but may not be published by components outside of the private network.
	MAV_COMP_ID_USER71 MAV_COMPONENT = minimal.MAV_COMP_ID_USER71
	// Id for a component on privately managed MAVLink network. Can be used for any purpose but may not be published by components outside of the private network.
	MAV_COMP_ID_USER72 MAV_COMPONENT = minimal.MAV_COMP_ID_USER72
	// Id for a component on privately managed MAVLink network. Can be used for any purpose but may not be published by components outside of the private network.
	MAV_COMP_ID_USER73 MAV_COMPONENT = minimal.MAV_COMP_ID_USER73
	// Id for a component on privately managed MAVLink network. Can be used for any purpose but may not be published by components outside of the private network.
	MAV_COMP_ID_USER74 MAV_COMPONENT = minimal.MAV_COMP_ID_USER74
	// Id for a component on privately managed MAVLink network. Can be used for any purpose but may not be published by components outside of the private network.
	MAV_COMP_ID_USER75 MAV_COMPONENT = minimal.MAV_COMP_ID_USER75
	// Camera #1.
	MAV_COMP_ID_CAMERA MAV_COMPONENT = minimal.MAV_COMP_ID_CAMERA
	// Camera #2.
	MAV_COMP_ID_CAMERA2 MAV_COMPONENT = minimal.MAV_COMP_ID_CAMERA2
	// Camera #3.
	MAV_COMP_ID_CAMERA3 MAV_COMPONENT = minimal.MAV_COMP_ID_CAMERA3
	// Camera #4.
	MAV_COMP_ID_CAMERA4 MAV_COMPONENT = minimal.MAV_COMP_ID_CAMERA4
	// Camera #5.
	MAV_COMP_ID_CAMERA5 MAV_COMPONENT = minimal.MAV_COMP_ID_CAMERA5
	// Camera #6.
	MAV_COMP_ID_CAMERA6 MAV_COMPONENT = minimal.MAV_COMP_ID_CAMERA6
	// Servo #1.
	MAV_COMP_ID_SERVO1 MAV_COMPONENT = minimal.MAV_COMP_ID_SERVO1
	// Servo #2.
	MAV_COMP_ID_SERVO2 MAV_COMPONENT = minimal.MAV_COMP_ID_SERVO2
	// Servo #3.
	MAV_COMP_ID_SERVO3 MAV_COMPONENT = minimal.MAV_COMP_ID_SERVO3
	// Servo #4.
	MAV_COMP_ID_SERVO4 MAV_COMPONENT = minimal.MAV_COMP_ID_SERVO4
	// Servo #5.
	MAV_COMP_ID_SERVO5 MAV_COMPONENT = minimal.MAV_COMP_ID_SERVO5
	// Servo #6.
	MAV_COMP_ID_SERVO6 MAV_COMPONENT = minimal.MAV_COMP_ID_SERVO6
	// Servo #7.
	MAV_COMP_ID_SERVO7 MAV_COMPONENT = minimal.MAV_COMP_ID_SERVO7
	// Servo #8.
	MAV_COMP_ID_SERVO8 MAV_COMPONENT = minimal.MAV_COMP_ID_SERVO8
	// Servo #9.
	MAV_COMP_ID_SERVO9 MAV_COMPONENT = minimal.MAV_COMP_ID_SERVO9
	// Servo #10.
	MAV_COMP_ID_SERVO10 MAV_COMPONENT = minimal.MAV_COMP_ID_SERVO10
	// Servo #11.
	MAV_COMP_ID_SERVO11 MAV_COMPONENT = minimal.MAV_COMP_ID_SERVO11
	// Servo #12.
	MAV_COMP_ID_SERVO12 MAV_COMPONENT = minimal.MAV_COMP_ID_SERVO12
	// Servo #13.
	MAV_COMP_ID_SERVO13 MAV_COMPONENT = minimal.MAV_COMP_ID_SERVO13
	// Servo #14.
	MAV_COMP_ID_SERVO14 MAV_COMPONENT = minimal.MAV_COMP_ID_SERVO14
	// Gimbal #1.
	MAV_COMP_ID_GIMBAL MAV_COMPONENT = minimal.MAV_COMP_ID_GIMBAL
	// Logging component.
	MAV_COMP_ID_LOG MAV_COMPONENT = minimal.MAV_COMP_ID_LOG
	// Automatic Dependent Surveillance-Broadcast (ADS-B) component.
	MAV_COMP_ID_ADSB MAV_COMPONENT = minimal.MAV_COMP_ID_ADSB
	// On Screen Display (OSD) devices for video links.
	MAV_COMP_ID_OSD MAV_COMPONENT = minimal.MAV_COMP_ID_OSD
	// Generic autopilot peripheral component ID. Meant for devices that do not implement the parameter microservice.
	MAV_COMP_ID_PERIPHERAL MAV_COMPONENT = minimal.MAV_COMP_ID_PERIPHERAL
	// Gimbal ID for QX1.
	MAV_COMP_ID_QX1_GIMBAL MAV_COMPONENT = minimal.MAV_COMP_ID_QX1_GIMBAL
	// FLARM collision alert component.
	MAV_COMP_ID_FLARM MAV_COMPONENT = minimal.MAV_COMP_ID_FLARM
	// Parachute component.
	MAV_COMP_ID_PARACHUTE MAV_COMPONENT = minimal.MAV_COMP_ID_PARACHUTE
	// Winch component.
	MAV_COMP_ID_WINCH MAV_COMPONENT = minimal.MAV_COMP_ID_WINCH
	// Gimbal #2.
	MAV_COMP_ID_GIMBAL2 MAV_COMPONENT = minimal.MAV_COMP_ID_GIMBAL2
	// Gimbal #3.
	MAV_COMP_ID_GIMBAL3 MAV_COMPONENT = minimal.MAV_COMP_ID_GIMBAL3
	// Gimbal #4
	MAV_COMP_ID_GIMBAL4 MAV_COMPONENT = minimal.MAV_COMP_ID_GIMBAL4
	// Gimbal #5.
	MAV_COMP_ID_GIMBAL5 MAV_COMPONENT = minimal.MAV_COMP_ID_GIMBAL5
	// Gimbal #6.
	MAV_COMP_ID_GIMBAL6 MAV_COMPONENT = minimal.MAV_COMP_ID_GIMBAL6
	// Battery #1.
	MAV_COMP_ID_BATTERY MAV_COMPONENT = minimal.MAV_COMP_ID_BATTERY
	// Battery #2.
	MAV_COMP_ID_BATTERY2 MAV_COMPONENT = minimal.MAV_COMP_ID_BATTERY2
	// CAN over MAVLink client.
	MAV_COMP_ID_MAVCAN MAV_COMPONENT = minimal.MAV_COMP_ID_MAVCAN
	// Component that can generate/supply a mission flight plan (e.g. GCS or developer API).
	MAV_COMP_ID_MISSIONPLANNER MAV_COMPONENT = minimal.MAV_COMP_ID_MISSIONPLANNER
	// Component that lives on the onboard computer (companion computer) and has some generic functionalities, such as settings system parameters and monitoring the status of some processes that don't directly speak mavlink and so on.
	MAV_COMP_ID_ONBOARD_COMPUTER MAV_COMPONENT = minimal.MAV_COMP_ID_ONBOARD_COMPUTER
	// Component that lives on the onboard computer (companion computer) and has some generic functionalities, such as settings system parameters and monitoring the status of some processes that don't directly speak mavlink and so on.
	MAV_COMP_ID_ONBOARD_COMPUTER2 MAV_COMPONENT = minimal.MAV_COMP_ID_ONBOARD_COMPUTER2
	// Component that lives on the onboard computer (companion computer) and has some generic functionalities, such as settings system parameters and monitoring the status of some processes that don't directly speak mavlink and so on.
	MAV_COMP_ID_ONBOARD_COMPUTER3 MAV_COMPONENT = minimal.MAV_COMP_ID_ONBOARD_COMPUTER3
	// Component that lives on the onboard computer (companion computer) and has some generic functionalities, such as settings system parameters and monitoring the status of some processes that don't directly speak mavlink and so on.
	MAV_COMP_ID_ONBOARD_COMPUTER4 MAV_COMPONENT = minimal.MAV_COMP_ID_ONBOARD_COMPUTER4
	// Component that finds an optimal path between points based on a certain constraint (e.g. minimum snap, shortest path, cost, etc.).
	MAV_COMP_ID_PATHPLANNER MAV_COMPONENT = minimal.MAV_COMP_ID_PATHPLANNER
	// Component that plans a collision free path between two points.
	MAV_COMP_ID_OBSTACLE_AVOIDANCE MAV_COMPONENT = minimal.MAV_COMP_ID_OBSTACLE_AVOIDANCE
	// Component that provides position estimates using VIO techniques.
	MAV_COMP_ID_VISUAL_INERTIAL_ODOMETRY MAV_COMPONENT = minimal.MAV_COMP_ID_VISUAL_INERTIAL_ODOMETRY
	// Component that manages pairing of vehicle and GCS.
	MAV_COMP_ID_PAIRING_MANAGER MAV_COMPONENT = minimal.MAV_COMP_ID_PAIRING_MANAGER
	// Inertial Measurement Unit (IMU) #1.
	MAV_COMP_ID_IMU MAV_COMPONENT = minimal.MAV_COMP_ID_IMU
	// Inertial Measurement Unit (IMU) #2.
	MAV_COMP_ID_IMU_2 MAV_COMPONENT = minimal.MAV_COMP_ID_IMU_2
	// Inertial Measurement Unit (IMU) #3.
	MAV_COMP_ID_IMU_3 MAV_COMPONENT = minimal.MAV_COMP_ID_IMU_3
	// GPS #1.
	MAV_COMP_ID_GPS MAV_COMPONENT = minimal.MAV_COMP_ID_GPS
	// GPS #2.
	MAV_COMP_ID_GPS2 MAV_COMPONENT = minimal.MAV_COMP_ID_GPS2
	// Open Drone ID transmitter/receiver (Bluetooth/WiFi/Internet).
	MAV_COMP_ID_ODID_TXRX_1 MAV_COMPONENT = minimal.MAV_COMP_ID_ODID_TXRX_1
	// Open Drone ID transmitter/receiver (Bluetooth/WiFi/Internet).
	MAV_COMP_ID_ODID_TXRX_2 MAV_COMPONENT = minimal.MAV_COMP_ID_ODID_TXRX_2
	// Open Drone ID transmitter/receiver (Bluetooth/WiFi/Internet).
	MAV_COMP_ID_ODID_TXRX_3 MAV_COMPONENT = minimal.MAV_COMP_ID_ODID_TXRX_3
	// Component to bridge MAVLink to UDP (i.e. from a UART).
	MAV_COMP_ID_UDP_BRIDGE MAV_COMPONENT = minimal.MAV_COMP_ID_UDP_BRIDGE
	// Component to bridge to UART (i.e. from UDP).
	MAV_COMP_ID_UART_BRIDGE MAV_COMPONENT = minimal.MAV_COMP_ID_UART_BRIDGE
	// Component handling TUNNEL messages (e.g. vendor specific GUI of a component).
	MAV_COMP_ID_TUNNEL_NODE MAV_COMPONENT = minimal.MAV_COMP_ID_TUNNEL_NODE
	// Deprecated, don't use. Component for handling system messages (e.g. to ARM, takeoff, etc.).
	MAV_COMP_ID_SYSTEM_CONTROL MAV_COMPONENT = minimal.MAV_COMP_ID_SYSTEM_CONTROL
)

type MAV_DATA_STREAM ¶

type MAV_DATA_STREAM = common.MAV_DATA_STREAM

A data stream is not a fixed set of messages, but rather a recommendation to the autopilot software. Individual autopilots may or may not obey the recommended messages.

const (
	// Enable all data streams
	MAV_DATA_STREAM_ALL MAV_DATA_STREAM = common.MAV_DATA_STREAM_ALL
	// Enable IMU_RAW, GPS_RAW, GPS_STATUS packets.
	MAV_DATA_STREAM_RAW_SENSORS MAV_DATA_STREAM = common.MAV_DATA_STREAM_RAW_SENSORS
	// Enable GPS_STATUS, CONTROL_STATUS, AUX_STATUS
	MAV_DATA_STREAM_EXTENDED_STATUS MAV_DATA_STREAM = common.MAV_DATA_STREAM_EXTENDED_STATUS
	// Enable RC_CHANNELS_SCALED, RC_CHANNELS_RAW, SERVO_OUTPUT_RAW
	MAV_DATA_STREAM_RC_CHANNELS MAV_DATA_STREAM = common.MAV_DATA_STREAM_RC_CHANNELS
	// Enable ATTITUDE_CONTROLLER_OUTPUT, POSITION_CONTROLLER_OUTPUT, NAV_CONTROLLER_OUTPUT.
	MAV_DATA_STREAM_RAW_CONTROLLER MAV_DATA_STREAM = common.MAV_DATA_STREAM_RAW_CONTROLLER
	// Enable LOCAL_POSITION, GLOBAL_POSITION_INT messages.
	MAV_DATA_STREAM_POSITION MAV_DATA_STREAM = common.MAV_DATA_STREAM_POSITION
	// Dependent on the autopilot
	MAV_DATA_STREAM_EXTRA1 MAV_DATA_STREAM = common.MAV_DATA_STREAM_EXTRA1
	// Dependent on the autopilot
	MAV_DATA_STREAM_EXTRA2 MAV_DATA_STREAM = common.MAV_DATA_STREAM_EXTRA2
	// Dependent on the autopilot
	MAV_DATA_STREAM_EXTRA3 MAV_DATA_STREAM = common.MAV_DATA_STREAM_EXTRA3
)

type MAV_DISTANCE_SENSOR ¶

type MAV_DISTANCE_SENSOR = common.MAV_DISTANCE_SENSOR

Enumeration of distance sensor types

const (
	// Laser rangefinder, e.g. LightWare SF02/F or PulsedLight units
	MAV_DISTANCE_SENSOR_LASER MAV_DISTANCE_SENSOR = common.MAV_DISTANCE_SENSOR_LASER
	// Ultrasound rangefinder, e.g. MaxBotix units
	MAV_DISTANCE_SENSOR_ULTRASOUND MAV_DISTANCE_SENSOR = common.MAV_DISTANCE_SENSOR_ULTRASOUND
	// Infrared rangefinder, e.g. Sharp units
	MAV_DISTANCE_SENSOR_INFRARED MAV_DISTANCE_SENSOR = common.MAV_DISTANCE_SENSOR_INFRARED
	// Radar type, e.g. uLanding units
	MAV_DISTANCE_SENSOR_RADAR MAV_DISTANCE_SENSOR = common.MAV_DISTANCE_SENSOR_RADAR
	// Broken or unknown type, e.g. analog units
	MAV_DISTANCE_SENSOR_UNKNOWN MAV_DISTANCE_SENSOR = common.MAV_DISTANCE_SENSOR_UNKNOWN
)

type MAV_DO_REPOSITION_FLAGS ¶

type MAV_DO_REPOSITION_FLAGS = common.MAV_DO_REPOSITION_FLAGS

Bitmap of options for the MAV_CMD_DO_REPOSITION

const (
	// The aircraft should immediately transition into guided. This should not be set for follow me applications
	MAV_DO_REPOSITION_FLAGS_CHANGE_MODE MAV_DO_REPOSITION_FLAGS = common.MAV_DO_REPOSITION_FLAGS_CHANGE_MODE
)

type MAV_ESTIMATOR_TYPE ¶

type MAV_ESTIMATOR_TYPE = common.MAV_ESTIMATOR_TYPE

Enumeration of estimator types

const (
	// Unknown type of the estimator.
	MAV_ESTIMATOR_TYPE_UNKNOWN MAV_ESTIMATOR_TYPE = common.MAV_ESTIMATOR_TYPE_UNKNOWN
	// This is a naive estimator without any real covariance feedback.
	MAV_ESTIMATOR_TYPE_NAIVE MAV_ESTIMATOR_TYPE = common.MAV_ESTIMATOR_TYPE_NAIVE
	// Computer vision based estimate. Might be up to scale.
	MAV_ESTIMATOR_TYPE_VISION MAV_ESTIMATOR_TYPE = common.MAV_ESTIMATOR_TYPE_VISION
	// Visual-inertial estimate.
	MAV_ESTIMATOR_TYPE_VIO MAV_ESTIMATOR_TYPE = common.MAV_ESTIMATOR_TYPE_VIO
	// Plain GPS estimate.
	MAV_ESTIMATOR_TYPE_GPS MAV_ESTIMATOR_TYPE = common.MAV_ESTIMATOR_TYPE_GPS
	// Estimator integrating GPS and inertial sensing.
	MAV_ESTIMATOR_TYPE_GPS_INS MAV_ESTIMATOR_TYPE = common.MAV_ESTIMATOR_TYPE_GPS_INS
	// Estimate from external motion capturing system.
	MAV_ESTIMATOR_TYPE_MOCAP MAV_ESTIMATOR_TYPE = common.MAV_ESTIMATOR_TYPE_MOCAP
	// Estimator based on lidar sensor input.
	MAV_ESTIMATOR_TYPE_LIDAR MAV_ESTIMATOR_TYPE = common.MAV_ESTIMATOR_TYPE_LIDAR
	// Estimator on autopilot.
	MAV_ESTIMATOR_TYPE_AUTOPILOT MAV_ESTIMATOR_TYPE = common.MAV_ESTIMATOR_TYPE_AUTOPILOT
)

type MAV_EVENT_CURRENT_SEQUENCE_FLAGS ¶

type MAV_EVENT_CURRENT_SEQUENCE_FLAGS = common.MAV_EVENT_CURRENT_SEQUENCE_FLAGS

Flags for CURRENT_EVENT_SEQUENCE.

const (
	// A sequence reset has happened (e.g. vehicle reboot).
	MAV_EVENT_CURRENT_SEQUENCE_FLAGS_RESET MAV_EVENT_CURRENT_SEQUENCE_FLAGS = common.MAV_EVENT_CURRENT_SEQUENCE_FLAGS_RESET
)

type MAV_EVENT_ERROR_REASON ¶

type MAV_EVENT_ERROR_REASON = common.MAV_EVENT_ERROR_REASON

Reason for an event error response.

const (
	// The requested event is not available (anymore).
	MAV_EVENT_ERROR_REASON_UNAVAILABLE MAV_EVENT_ERROR_REASON = common.MAV_EVENT_ERROR_REASON_UNAVAILABLE
)

type MAV_FRAME ¶

type MAV_FRAME = common.MAV_FRAME

Coordinate frames used by MAVLink. Not all frames are supported by all commands, messages, or vehicles. Global frames use the following naming conventions: - "GLOBAL": Global coordinate frame with WGS84 latitude/longitude and altitude positive over mean sea level (MSL) by default. The following modifiers may be used with "GLOBAL": - "RELATIVE_ALT": Altitude is relative to the vehicle home position rather than MSL. - "TERRAIN_ALT": Altitude is relative to ground level rather than MSL. - "INT": Latitude/longitude (in degrees) are scaled by multiplying by 1E7. Local frames use the following naming conventions: - "LOCAL": Origin of local frame is fixed relative to earth. Unless otherwise specified this origin is the origin of the vehicle position-estimator ("EKF"). - "BODY": Origin of local frame travels with the vehicle. NOTE, "BODY" does NOT indicate alignment of frame axis with vehicle attitude. - "OFFSET": Deprecated synonym for "BODY" (origin travels with the vehicle). Not to be used for new frames. Some deprecated frames do not follow these conventions (e.g. MAV_FRAME_BODY_NED and MAV_FRAME_BODY_OFFSET_NED).

const (
	// Global (WGS84) coordinate frame + MSL altitude. First value / x: latitude, second value / y: longitude, third value / z: positive altitude over mean sea level (MSL).
	MAV_FRAME_GLOBAL MAV_FRAME = common.MAV_FRAME_GLOBAL
	// NED local tangent frame (x: North, y: East, z: Down) with origin fixed relative to earth.
	MAV_FRAME_LOCAL_NED MAV_FRAME = common.MAV_FRAME_LOCAL_NED
	// NOT a coordinate frame, indicates a mission command.
	MAV_FRAME_MISSION MAV_FRAME = common.MAV_FRAME_MISSION
	// Global (WGS84) coordinate frame + altitude relative to the home position.
	// First value / x: latitude, second value / y: longitude, third value / z: positive altitude with 0 being at the altitude of the home position.
	MAV_FRAME_GLOBAL_RELATIVE_ALT MAV_FRAME = common.MAV_FRAME_GLOBAL_RELATIVE_ALT
	// ENU local tangent frame (x: East, y: North, z: Up) with origin fixed relative to earth.
	MAV_FRAME_LOCAL_ENU MAV_FRAME = common.MAV_FRAME_LOCAL_ENU
	// Global (WGS84) coordinate frame (scaled) + MSL altitude. First value / x: latitude in degrees*1E7, second value / y: longitude in degrees*1E7, third value / z: positive altitude over mean sea level (MSL).
	MAV_FRAME_GLOBAL_INT MAV_FRAME = common.MAV_FRAME_GLOBAL_INT
	// Global (WGS84) coordinate frame (scaled) + altitude relative to the home position.
	// First value / x: latitude in degrees*1E7, second value / y: longitude in degrees*1E7, third value / z: positive altitude with 0 being at the altitude of the home position.
	MAV_FRAME_GLOBAL_RELATIVE_ALT_INT MAV_FRAME = common.MAV_FRAME_GLOBAL_RELATIVE_ALT_INT
	// NED local tangent frame (x: North, y: East, z: Down) with origin that travels with the vehicle.
	MAV_FRAME_LOCAL_OFFSET_NED MAV_FRAME = common.MAV_FRAME_LOCAL_OFFSET_NED
	// Same as MAV_FRAME_LOCAL_NED when used to represent position values. Same as MAV_FRAME_BODY_FRD when used with velocity/acceleration values.
	MAV_FRAME_BODY_NED MAV_FRAME = common.MAV_FRAME_BODY_NED
	// This is the same as MAV_FRAME_BODY_FRD.
	MAV_FRAME_BODY_OFFSET_NED MAV_FRAME = common.MAV_FRAME_BODY_OFFSET_NED
	// Global (WGS84) coordinate frame with AGL altitude (at the waypoint coordinate). First value / x: latitude in degrees, second value / y: longitude in degrees, third value / z: positive altitude in meters with 0 being at ground level in terrain model.
	MAV_FRAME_GLOBAL_TERRAIN_ALT MAV_FRAME = common.MAV_FRAME_GLOBAL_TERRAIN_ALT
	// Global (WGS84) coordinate frame (scaled) with AGL altitude (at the waypoint coordinate). First value / x: latitude in degrees*1E7, second value / y: longitude in degrees*1E7, third value / z: positive altitude in meters with 0 being at ground level in terrain model.
	MAV_FRAME_GLOBAL_TERRAIN_ALT_INT MAV_FRAME = common.MAV_FRAME_GLOBAL_TERRAIN_ALT_INT
	// FRD local frame aligned to the vehicle's attitude (x: Forward, y: Right, z: Down) with an origin that travels with vehicle.
	MAV_FRAME_BODY_FRD MAV_FRAME = common.MAV_FRAME_BODY_FRD
	// MAV_FRAME_BODY_FLU - Body fixed frame of reference, Z-up (x: Forward, y: Left, z: Up).
	MAV_FRAME_RESERVED_13 MAV_FRAME = common.MAV_FRAME_RESERVED_13
	// MAV_FRAME_MOCAP_NED - Odometry local coordinate frame of data given by a motion capture system, Z-down (x: North, y: East, z: Down).
	MAV_FRAME_RESERVED_14 MAV_FRAME = common.MAV_FRAME_RESERVED_14
	// MAV_FRAME_MOCAP_ENU - Odometry local coordinate frame of data given by a motion capture system, Z-up (x: East, y: North, z: Up).
	MAV_FRAME_RESERVED_15 MAV_FRAME = common.MAV_FRAME_RESERVED_15
	// MAV_FRAME_VISION_NED - Odometry local coordinate frame of data given by a vision estimation system, Z-down (x: North, y: East, z: Down).
	MAV_FRAME_RESERVED_16 MAV_FRAME = common.MAV_FRAME_RESERVED_16
	// MAV_FRAME_VISION_ENU - Odometry local coordinate frame of data given by a vision estimation system, Z-up (x: East, y: North, z: Up).
	MAV_FRAME_RESERVED_17 MAV_FRAME = common.MAV_FRAME_RESERVED_17
	// MAV_FRAME_ESTIM_NED - Odometry local coordinate frame of data given by an estimator running onboard the vehicle, Z-down (x: North, y: East, z: Down).
	MAV_FRAME_RESERVED_18 MAV_FRAME = common.MAV_FRAME_RESERVED_18
	// MAV_FRAME_ESTIM_ENU - Odometry local coordinate frame of data given by an estimator running onboard the vehicle, Z-up (x: East, y: North, z: Up).
	MAV_FRAME_RESERVED_19 MAV_FRAME = common.MAV_FRAME_RESERVED_19
	// FRD local tangent frame (x: Forward, y: Right, z: Down) with origin fixed relative to earth. The forward axis is aligned to the front of the vehicle in the horizontal plane.
	MAV_FRAME_LOCAL_FRD MAV_FRAME = common.MAV_FRAME_LOCAL_FRD
	// FLU local tangent frame (x: Forward, y: Left, z: Up) with origin fixed relative to earth. The forward axis is aligned to the front of the vehicle in the horizontal plane.
	MAV_FRAME_LOCAL_FLU MAV_FRAME = common.MAV_FRAME_LOCAL_FLU
)

type MAV_FTP_ERR ¶

type MAV_FTP_ERR = common.MAV_FTP_ERR

MAV FTP error codes (https://mavlink.io/en/services/ftp.html)

const (
	// None: No error
	MAV_FTP_ERR_NONE MAV_FTP_ERR = common.MAV_FTP_ERR_NONE
	// Fail: Unknown failure
	MAV_FTP_ERR_FAIL MAV_FTP_ERR = common.MAV_FTP_ERR_FAIL
	// FailErrno: Command failed, Err number sent back in PayloadHeader.data[1].
	// This is a file-system error number understood by the server operating system.
	MAV_FTP_ERR_FAILERRNO MAV_FTP_ERR = common.MAV_FTP_ERR_FAILERRNO
	// InvalidDataSize: Payload size is invalid
	MAV_FTP_ERR_INVALIDDATASIZE MAV_FTP_ERR = common.MAV_FTP_ERR_INVALIDDATASIZE
	// InvalidSession: Session is not currently open
	MAV_FTP_ERR_INVALIDSESSION MAV_FTP_ERR = common.MAV_FTP_ERR_INVALIDSESSION
	// NoSessionsAvailable: All available sessions are already in use
	MAV_FTP_ERR_NOSESSIONSAVAILABLE MAV_FTP_ERR = common.MAV_FTP_ERR_NOSESSIONSAVAILABLE
	// EOF: Offset past end of file for ListDirectory and ReadFile commands
	MAV_FTP_ERR_EOF MAV_FTP_ERR = common.MAV_FTP_ERR_EOF
	// UnknownCommand: Unknown command / opcode
	MAV_FTP_ERR_UNKNOWNCOMMAND MAV_FTP_ERR = common.MAV_FTP_ERR_UNKNOWNCOMMAND
	// FileExists: File/directory already exists
	MAV_FTP_ERR_FILEEXISTS MAV_FTP_ERR = common.MAV_FTP_ERR_FILEEXISTS
	// FileProtected: File/directory is write protected
	MAV_FTP_ERR_FILEPROTECTED MAV_FTP_ERR = common.MAV_FTP_ERR_FILEPROTECTED
	// FileNotFound: File/directory not found
	MAV_FTP_ERR_FILENOTFOUND MAV_FTP_ERR = common.MAV_FTP_ERR_FILENOTFOUND
)

type MAV_FTP_OPCODE ¶

type MAV_FTP_OPCODE = common.MAV_FTP_OPCODE

MAV FTP opcodes: https://mavlink.io/en/services/ftp.html

const (
	// None. Ignored, always ACKed
	MAV_FTP_OPCODE_NONE MAV_FTP_OPCODE = common.MAV_FTP_OPCODE_NONE
	// TerminateSession: Terminates open Read session
	MAV_FTP_OPCODE_TERMINATESESSION MAV_FTP_OPCODE = common.MAV_FTP_OPCODE_TERMINATESESSION
	// ResetSessions: Terminates all open read sessions
	MAV_FTP_OPCODE_RESETSESSION MAV_FTP_OPCODE = common.MAV_FTP_OPCODE_RESETSESSION
	// ListDirectory. List files and directories in path from offset
	MAV_FTP_OPCODE_LISTDIRECTORY MAV_FTP_OPCODE = common.MAV_FTP_OPCODE_LISTDIRECTORY
	// OpenFileRO: Opens file at path for reading, returns session
	MAV_FTP_OPCODE_OPENFILERO MAV_FTP_OPCODE = common.MAV_FTP_OPCODE_OPENFILERO
	// ReadFile: Reads size bytes from offset in session
	MAV_FTP_OPCODE_READFILE MAV_FTP_OPCODE = common.MAV_FTP_OPCODE_READFILE
	// CreateFile: Creates file at path for writing, returns session
	MAV_FTP_OPCODE_CREATEFILE MAV_FTP_OPCODE = common.MAV_FTP_OPCODE_CREATEFILE
	// WriteFile: Writes size bytes to offset in session
	MAV_FTP_OPCODE_WRITEFILE MAV_FTP_OPCODE = common.MAV_FTP_OPCODE_WRITEFILE
	// RemoveFile: Remove file at path
	MAV_FTP_OPCODE_REMOVEFILE MAV_FTP_OPCODE = common.MAV_FTP_OPCODE_REMOVEFILE
	// CreateDirectory: Creates directory at path
	MAV_FTP_OPCODE_CREATEDIRECTORY MAV_FTP_OPCODE = common.MAV_FTP_OPCODE_CREATEDIRECTORY
	// RemoveDirectory: Removes directory at path. The directory must be empty.
	MAV_FTP_OPCODE_REMOVEDIRECTORY MAV_FTP_OPCODE = common.MAV_FTP_OPCODE_REMOVEDIRECTORY
	// OpenFileWO: Opens file at path for writing, returns session
	MAV_FTP_OPCODE_OPENFILEWO MAV_FTP_OPCODE = common.MAV_FTP_OPCODE_OPENFILEWO
	// TruncateFile: Truncate file at path to offset length
	MAV_FTP_OPCODE_TRUNCATEFILE MAV_FTP_OPCODE = common.MAV_FTP_OPCODE_TRUNCATEFILE
	// Rename: Rename path1 to path2
	MAV_FTP_OPCODE_RENAME MAV_FTP_OPCODE = common.MAV_FTP_OPCODE_RENAME
	// CalcFileCRC32: Calculate CRC32 for file at path
	MAV_FTP_OPCODE_CALCFILECRC MAV_FTP_OPCODE = common.MAV_FTP_OPCODE_CALCFILECRC
	// BurstReadFile: Burst download session file
	MAV_FTP_OPCODE_BURSTREADFILE MAV_FTP_OPCODE = common.MAV_FTP_OPCODE_BURSTREADFILE
	// ACK: ACK response
	MAV_FTP_OPCODE_ACK MAV_FTP_OPCODE = common.MAV_FTP_OPCODE_ACK
	// NAK: NAK response
	MAV_FTP_OPCODE_NAK MAV_FTP_OPCODE = common.MAV_FTP_OPCODE_NAK
)

type MAV_GENERATOR_STATUS_FLAG ¶

type MAV_GENERATOR_STATUS_FLAG = common.MAV_GENERATOR_STATUS_FLAG

Flags to report status/failure cases for a power generator (used in GENERATOR_STATUS). Note that FAULTS are conditions that cause the generator to fail. Warnings are conditions that require attention before the next use (they indicate the system is not operating properly).

const (
	// Generator is off.
	MAV_GENERATOR_STATUS_FLAG_OFF MAV_GENERATOR_STATUS_FLAG = common.MAV_GENERATOR_STATUS_FLAG_OFF
	// Generator is ready to start generating power.
	MAV_GENERATOR_STATUS_FLAG_READY MAV_GENERATOR_STATUS_FLAG = common.MAV_GENERATOR_STATUS_FLAG_READY
	// Generator is generating power.
	MAV_GENERATOR_STATUS_FLAG_GENERATING MAV_GENERATOR_STATUS_FLAG = common.MAV_GENERATOR_STATUS_FLAG_GENERATING
	// Generator is charging the batteries (generating enough power to charge and provide the load).
	MAV_GENERATOR_STATUS_FLAG_CHARGING MAV_GENERATOR_STATUS_FLAG = common.MAV_GENERATOR_STATUS_FLAG_CHARGING
	// Generator is operating at a reduced maximum power.
	MAV_GENERATOR_STATUS_FLAG_REDUCED_POWER MAV_GENERATOR_STATUS_FLAG = common.MAV_GENERATOR_STATUS_FLAG_REDUCED_POWER
	// Generator is providing the maximum output.
	MAV_GENERATOR_STATUS_FLAG_MAXPOWER MAV_GENERATOR_STATUS_FLAG = common.MAV_GENERATOR_STATUS_FLAG_MAXPOWER
	// Generator is near the maximum operating temperature, cooling is insufficient.
	MAV_GENERATOR_STATUS_FLAG_OVERTEMP_WARNING MAV_GENERATOR_STATUS_FLAG = common.MAV_GENERATOR_STATUS_FLAG_OVERTEMP_WARNING
	// Generator hit the maximum operating temperature and shutdown.
	MAV_GENERATOR_STATUS_FLAG_OVERTEMP_FAULT MAV_GENERATOR_STATUS_FLAG = common.MAV_GENERATOR_STATUS_FLAG_OVERTEMP_FAULT
	// Power electronics are near the maximum operating temperature, cooling is insufficient.
	MAV_GENERATOR_STATUS_FLAG_ELECTRONICS_OVERTEMP_WARNING MAV_GENERATOR_STATUS_FLAG = common.MAV_GENERATOR_STATUS_FLAG_ELECTRONICS_OVERTEMP_WARNING
	// Power electronics hit the maximum operating temperature and shutdown.
	MAV_GENERATOR_STATUS_FLAG_ELECTRONICS_OVERTEMP_FAULT MAV_GENERATOR_STATUS_FLAG = common.MAV_GENERATOR_STATUS_FLAG_ELECTRONICS_OVERTEMP_FAULT
	// Power electronics experienced a fault and shutdown.
	MAV_GENERATOR_STATUS_FLAG_ELECTRONICS_FAULT MAV_GENERATOR_STATUS_FLAG = common.MAV_GENERATOR_STATUS_FLAG_ELECTRONICS_FAULT
	// The power source supplying the generator failed e.g. mechanical generator stopped, tether is no longer providing power, solar cell is in shade, hydrogen reaction no longer happening.
	MAV_GENERATOR_STATUS_FLAG_POWERSOURCE_FAULT MAV_GENERATOR_STATUS_FLAG = common.MAV_GENERATOR_STATUS_FLAG_POWERSOURCE_FAULT
	// Generator controller having communication problems.
	MAV_GENERATOR_STATUS_FLAG_COMMUNICATION_WARNING MAV_GENERATOR_STATUS_FLAG = common.MAV_GENERATOR_STATUS_FLAG_COMMUNICATION_WARNING
	// Power electronic or generator cooling system error.
	MAV_GENERATOR_STATUS_FLAG_COOLING_WARNING MAV_GENERATOR_STATUS_FLAG = common.MAV_GENERATOR_STATUS_FLAG_COOLING_WARNING
	// Generator controller power rail experienced a fault.
	MAV_GENERATOR_STATUS_FLAG_POWER_RAIL_FAULT MAV_GENERATOR_STATUS_FLAG = common.MAV_GENERATOR_STATUS_FLAG_POWER_RAIL_FAULT
	// Generator controller exceeded the overcurrent threshold and shutdown to prevent damage.
	MAV_GENERATOR_STATUS_FLAG_OVERCURRENT_FAULT MAV_GENERATOR_STATUS_FLAG = common.MAV_GENERATOR_STATUS_FLAG_OVERCURRENT_FAULT
	// Generator controller detected a high current going into the batteries and shutdown to prevent battery damage.
	MAV_GENERATOR_STATUS_FLAG_BATTERY_OVERCHARGE_CURRENT_FAULT MAV_GENERATOR_STATUS_FLAG = common.MAV_GENERATOR_STATUS_FLAG_BATTERY_OVERCHARGE_CURRENT_FAULT
	// Generator controller exceeded it's overvoltage threshold and shutdown to prevent it exceeding the voltage rating.
	MAV_GENERATOR_STATUS_FLAG_OVERVOLTAGE_FAULT MAV_GENERATOR_STATUS_FLAG = common.MAV_GENERATOR_STATUS_FLAG_OVERVOLTAGE_FAULT
	// Batteries are under voltage (generator will not start).
	MAV_GENERATOR_STATUS_FLAG_BATTERY_UNDERVOLT_FAULT MAV_GENERATOR_STATUS_FLAG = common.MAV_GENERATOR_STATUS_FLAG_BATTERY_UNDERVOLT_FAULT
	// Generator start is inhibited by e.g. a safety switch.
	MAV_GENERATOR_STATUS_FLAG_START_INHIBITED MAV_GENERATOR_STATUS_FLAG = common.MAV_GENERATOR_STATUS_FLAG_START_INHIBITED
	// Generator requires maintenance.
	MAV_GENERATOR_STATUS_FLAG_MAINTENANCE_REQUIRED MAV_GENERATOR_STATUS_FLAG = common.MAV_GENERATOR_STATUS_FLAG_MAINTENANCE_REQUIRED
	// Generator is not ready to generate yet.
	MAV_GENERATOR_STATUS_FLAG_WARMING_UP MAV_GENERATOR_STATUS_FLAG = common.MAV_GENERATOR_STATUS_FLAG_WARMING_UP
	// Generator is idle.
	MAV_GENERATOR_STATUS_FLAG_IDLE MAV_GENERATOR_STATUS_FLAG = common.MAV_GENERATOR_STATUS_FLAG_IDLE
)

type MAV_GOTO ¶

type MAV_GOTO = common.MAV_GOTO

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

const (
	// Hold at the current position.
	MAV_GOTO_DO_HOLD MAV_GOTO = common.MAV_GOTO_DO_HOLD
	// Continue with the next item in mission execution.
	MAV_GOTO_DO_CONTINUE MAV_GOTO = common.MAV_GOTO_DO_CONTINUE
	// Hold at the current position of the system
	MAV_GOTO_HOLD_AT_CURRENT_POSITION MAV_GOTO = common.MAV_GOTO_HOLD_AT_CURRENT_POSITION
	// Hold at the position specified in the parameters of the DO_HOLD action
	MAV_GOTO_HOLD_AT_SPECIFIED_POSITION MAV_GOTO = common.MAV_GOTO_HOLD_AT_SPECIFIED_POSITION
)

type MAV_LANDED_STATE ¶

type MAV_LANDED_STATE = common.MAV_LANDED_STATE

Enumeration of landed detector states

const (
	// MAV landed state is unknown
	MAV_LANDED_STATE_UNDEFINED MAV_LANDED_STATE = common.MAV_LANDED_STATE_UNDEFINED
	// MAV is landed (on ground)
	MAV_LANDED_STATE_ON_GROUND MAV_LANDED_STATE = common.MAV_LANDED_STATE_ON_GROUND
	// MAV is in air
	MAV_LANDED_STATE_IN_AIR MAV_LANDED_STATE = common.MAV_LANDED_STATE_IN_AIR
	// MAV currently taking off
	MAV_LANDED_STATE_TAKEOFF MAV_LANDED_STATE = common.MAV_LANDED_STATE_TAKEOFF
	// MAV currently landing
	MAV_LANDED_STATE_LANDING MAV_LANDED_STATE = common.MAV_LANDED_STATE_LANDING
)

type MAV_MISSION_RESULT ¶

type MAV_MISSION_RESULT = common.MAV_MISSION_RESULT

Result of mission operation (in a MISSION_ACK message).

const (
	// mission accepted OK
	MAV_MISSION_ACCEPTED MAV_MISSION_RESULT = common.MAV_MISSION_ACCEPTED
	// Generic error / not accepting mission commands at all right now.
	MAV_MISSION_ERROR MAV_MISSION_RESULT = common.MAV_MISSION_ERROR
	// Coordinate frame is not supported.
	MAV_MISSION_UNSUPPORTED_FRAME MAV_MISSION_RESULT = common.MAV_MISSION_UNSUPPORTED_FRAME
	// Command is not supported.
	MAV_MISSION_UNSUPPORTED MAV_MISSION_RESULT = common.MAV_MISSION_UNSUPPORTED
	// Mission items exceed storage space.
	MAV_MISSION_NO_SPACE MAV_MISSION_RESULT = common.MAV_MISSION_NO_SPACE
	// One of the parameters has an invalid value.
	MAV_MISSION_INVALID MAV_MISSION_RESULT = common.MAV_MISSION_INVALID
	// param1 has an invalid value.
	MAV_MISSION_INVALID_PARAM1 MAV_MISSION_RESULT = common.MAV_MISSION_INVALID_PARAM1
	// param2 has an invalid value.
	MAV_MISSION_INVALID_PARAM2 MAV_MISSION_RESULT = common.MAV_MISSION_INVALID_PARAM2
	// param3 has an invalid value.
	MAV_MISSION_INVALID_PARAM3 MAV_MISSION_RESULT = common.MAV_MISSION_INVALID_PARAM3
	// param4 has an invalid value.
	MAV_MISSION_INVALID_PARAM4 MAV_MISSION_RESULT = common.MAV_MISSION_INVALID_PARAM4
	// x / param5 has an invalid value.
	MAV_MISSION_INVALID_PARAM5_X MAV_MISSION_RESULT = common.MAV_MISSION_INVALID_PARAM5_X
	// y / param6 has an invalid value.
	MAV_MISSION_INVALID_PARAM6_Y MAV_MISSION_RESULT = common.MAV_MISSION_INVALID_PARAM6_Y
	// z / param7 has an invalid value.
	MAV_MISSION_INVALID_PARAM7 MAV_MISSION_RESULT = common.MAV_MISSION_INVALID_PARAM7
	// Mission item received out of sequence
	MAV_MISSION_INVALID_SEQUENCE MAV_MISSION_RESULT = common.MAV_MISSION_INVALID_SEQUENCE
	// Not accepting any mission commands from this communication partner.
	MAV_MISSION_DENIED MAV_MISSION_RESULT = common.MAV_MISSION_DENIED
	// Current mission operation cancelled (e.g. mission upload, mission download).
	MAV_MISSION_OPERATION_CANCELLED MAV_MISSION_RESULT = common.MAV_MISSION_OPERATION_CANCELLED
)

type MAV_MISSION_TYPE ¶

type MAV_MISSION_TYPE = common.MAV_MISSION_TYPE

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

const (
	// Items are mission commands for main mission.
	MAV_MISSION_TYPE_MISSION MAV_MISSION_TYPE = common.MAV_MISSION_TYPE_MISSION
	// Specifies GeoFence area(s). Items are MAV_CMD_NAV_FENCE_ GeoFence items.
	MAV_MISSION_TYPE_FENCE MAV_MISSION_TYPE = common.MAV_MISSION_TYPE_FENCE
	// Specifies the rally points for the vehicle. Rally points are alternative RTL points. Items are MAV_CMD_NAV_RALLY_POINT rally point items.
	MAV_MISSION_TYPE_RALLY MAV_MISSION_TYPE = common.MAV_MISSION_TYPE_RALLY
	// Only used in MISSION_CLEAR_ALL to clear all mission types.
	MAV_MISSION_TYPE_ALL MAV_MISSION_TYPE = common.MAV_MISSION_TYPE_ALL
)

type MAV_MODE ¶

type MAV_MODE = common.MAV_MODE

These defines are predefined OR-combined mode flags. There is no need to use values from this enum, but it simplifies the use of the mode flags. Note that manual input is enabled in all modes as a safety override.

const (
	// System is not ready to fly, booting, calibrating, etc. No flag is set.
	MAV_MODE_PREFLIGHT MAV_MODE = common.MAV_MODE_PREFLIGHT
	// System is allowed to be active, under assisted RC control.
	MAV_MODE_STABILIZE_DISARMED MAV_MODE = common.MAV_MODE_STABILIZE_DISARMED
	// System is allowed to be active, under assisted RC control.
	MAV_MODE_STABILIZE_ARMED MAV_MODE = common.MAV_MODE_STABILIZE_ARMED
	// System is allowed to be active, under manual (RC) control, no stabilization
	MAV_MODE_MANUAL_DISARMED MAV_MODE = common.MAV_MODE_MANUAL_DISARMED
	// System is allowed to be active, under manual (RC) control, no stabilization
	MAV_MODE_MANUAL_ARMED MAV_MODE = common.MAV_MODE_MANUAL_ARMED
	// System is allowed to be active, under autonomous control, manual setpoint
	MAV_MODE_GUIDED_DISARMED MAV_MODE = common.MAV_MODE_GUIDED_DISARMED
	// System is allowed to be active, under autonomous control, manual setpoint
	MAV_MODE_GUIDED_ARMED MAV_MODE = common.MAV_MODE_GUIDED_ARMED
	// System is allowed to be active, under autonomous control and navigation (the trajectory is decided onboard and not pre-programmed by waypoints)
	MAV_MODE_AUTO_DISARMED MAV_MODE = common.MAV_MODE_AUTO_DISARMED
	// System is allowed to be active, under autonomous control and navigation (the trajectory is decided onboard and not pre-programmed by waypoints)
	MAV_MODE_AUTO_ARMED MAV_MODE = common.MAV_MODE_AUTO_ARMED
	// UNDEFINED mode. This solely depends on the autopilot - use with caution, intended for developers only.
	MAV_MODE_TEST_DISARMED MAV_MODE = common.MAV_MODE_TEST_DISARMED
	// UNDEFINED mode. This solely depends on the autopilot - use with caution, intended for developers only.
	MAV_MODE_TEST_ARMED MAV_MODE = common.MAV_MODE_TEST_ARMED
)

type MAV_MODE_FLAG ¶

type MAV_MODE_FLAG = minimal.MAV_MODE_FLAG

These flags encode the MAV mode.

const (
	// 0b10000000 MAV safety set to armed. Motors are enabled / running / can start. Ready to fly. Additional note: this flag is to be ignore when sent in the command MAV_CMD_DO_SET_MODE and MAV_CMD_COMPONENT_ARM_DISARM shall be used instead. The flag can still be used to report the armed state.
	MAV_MODE_FLAG_SAFETY_ARMED MAV_MODE_FLAG = minimal.MAV_MODE_FLAG_SAFETY_ARMED
	// 0b01000000 remote control input is enabled.
	MAV_MODE_FLAG_MANUAL_INPUT_ENABLED MAV_MODE_FLAG = minimal.MAV_MODE_FLAG_MANUAL_INPUT_ENABLED
	// 0b00100000 hardware in the loop simulation. All motors / actuators are blocked, but internal software is full operational.
	MAV_MODE_FLAG_HIL_ENABLED MAV_MODE_FLAG = minimal.MAV_MODE_FLAG_HIL_ENABLED
	// 0b00010000 system stabilizes electronically its attitude (and optionally position). It needs however further control inputs to move around.
	MAV_MODE_FLAG_STABILIZE_ENABLED MAV_MODE_FLAG = minimal.MAV_MODE_FLAG_STABILIZE_ENABLED
	// 0b00001000 guided mode enabled, system flies waypoints / mission items.
	MAV_MODE_FLAG_GUIDED_ENABLED MAV_MODE_FLAG = minimal.MAV_MODE_FLAG_GUIDED_ENABLED
	// 0b00000100 autonomous mode enabled, system finds its own goal positions. Guided flag can be set or not, depends on the actual implementation.
	MAV_MODE_FLAG_AUTO_ENABLED MAV_MODE_FLAG = minimal.MAV_MODE_FLAG_AUTO_ENABLED
	// 0b00000010 system has a test mode enabled. This flag is intended for temporary system tests and should not be used for stable implementations.
	MAV_MODE_FLAG_TEST_ENABLED MAV_MODE_FLAG = minimal.MAV_MODE_FLAG_TEST_ENABLED
	// 0b00000001 Reserved for future use.
	MAV_MODE_FLAG_CUSTOM_MODE_ENABLED MAV_MODE_FLAG = minimal.MAV_MODE_FLAG_CUSTOM_MODE_ENABLED
)

type MAV_MODE_FLAG_DECODE_POSITION ¶

type MAV_MODE_FLAG_DECODE_POSITION = minimal.MAV_MODE_FLAG_DECODE_POSITION

These values encode the bit positions of the decode position. These values can be used to read the value of a flag bit by combining the base_mode variable with AND with the flag position value. The result will be either 0 or 1, depending on if the flag is set or not.

const (
	// First bit:  10000000
	MAV_MODE_FLAG_DECODE_POSITION_SAFETY MAV_MODE_FLAG_DECODE_POSITION = minimal.MAV_MODE_FLAG_DECODE_POSITION_SAFETY
	// Second bit: 01000000
	MAV_MODE_FLAG_DECODE_POSITION_MANUAL MAV_MODE_FLAG_DECODE_POSITION = minimal.MAV_MODE_FLAG_DECODE_POSITION_MANUAL
	// Third bit:  00100000
	MAV_MODE_FLAG_DECODE_POSITION_HIL MAV_MODE_FLAG_DECODE_POSITION = minimal.MAV_MODE_FLAG_DECODE_POSITION_HIL
	// Fourth bit: 00010000
	MAV_MODE_FLAG_DECODE_POSITION_STABILIZE MAV_MODE_FLAG_DECODE_POSITION = minimal.MAV_MODE_FLAG_DECODE_POSITION_STABILIZE
	// Fifth bit:  00001000
	MAV_MODE_FLAG_DECODE_POSITION_GUIDED MAV_MODE_FLAG_DECODE_POSITION = minimal.MAV_MODE_FLAG_DECODE_POSITION_GUIDED
	// Sixth bit:   00000100
	MAV_MODE_FLAG_DECODE_POSITION_AUTO MAV_MODE_FLAG_DECODE_POSITION = minimal.MAV_MODE_FLAG_DECODE_POSITION_AUTO
	// Seventh bit: 00000010
	MAV_MODE_FLAG_DECODE_POSITION_TEST MAV_MODE_FLAG_DECODE_POSITION = minimal.MAV_MODE_FLAG_DECODE_POSITION_TEST
	// Eighth bit: 00000001
	MAV_MODE_FLAG_DECODE_POSITION_CUSTOM_MODE MAV_MODE_FLAG_DECODE_POSITION = minimal.MAV_MODE_FLAG_DECODE_POSITION_CUSTOM_MODE
)

type MAV_MODE_GIMBAL ¶

type MAV_MODE_GIMBAL uint32
const (
	// Gimbal is powered on but has not started initializing yet.
	MAV_MODE_GIMBAL_UNINITIALIZED MAV_MODE_GIMBAL = 0
	// Gimbal is currently running calibration on the pitch axis.
	MAV_MODE_GIMBAL_CALIBRATING_PITCH MAV_MODE_GIMBAL = 1
	// Gimbal is currently running calibration on the roll axis.
	MAV_MODE_GIMBAL_CALIBRATING_ROLL MAV_MODE_GIMBAL = 2
	// Gimbal is currently running calibration on the yaw axis.
	MAV_MODE_GIMBAL_CALIBRATING_YAW MAV_MODE_GIMBAL = 3
	// Gimbal has finished calibrating and initializing, but is relaxed pending reception of first rate command from copter.
	MAV_MODE_GIMBAL_INITIALIZED MAV_MODE_GIMBAL = 4
	// Gimbal is actively stabilizing.
	MAV_MODE_GIMBAL_ACTIVE MAV_MODE_GIMBAL = 5
	// Gimbal is relaxed because it missed more than 10 expected rate command messages in a row. Gimbal will move back to active mode when it receives a new rate command.
	MAV_MODE_GIMBAL_RATE_CMD_TIMEOUT MAV_MODE_GIMBAL = 6
)

func (MAV_MODE_GIMBAL) MarshalText ¶

func (e MAV_MODE_GIMBAL) MarshalText() ([]byte, error)

MarshalText implements the encoding.TextMarshaler interface.

func (MAV_MODE_GIMBAL) String ¶

func (e MAV_MODE_GIMBAL) String() string

String implements the fmt.Stringer interface.

func (*MAV_MODE_GIMBAL) UnmarshalText ¶

func (e *MAV_MODE_GIMBAL) UnmarshalText(text []byte) error

UnmarshalText implements the encoding.TextUnmarshaler interface.

type MAV_MOUNT_MODE ¶

type MAV_MOUNT_MODE = common.MAV_MOUNT_MODE

Enumeration of possible mount operation modes. This message is used by obsolete/deprecated gimbal messages.

const (
	// Load and keep safe position (Roll,Pitch,Yaw) from permant memory and stop stabilization
	MAV_MOUNT_MODE_RETRACT MAV_MOUNT_MODE = common.MAV_MOUNT_MODE_RETRACT
	// Load and keep neutral position (Roll,Pitch,Yaw) from permanent memory.
	MAV_MOUNT_MODE_NEUTRAL MAV_MOUNT_MODE = common.MAV_MOUNT_MODE_NEUTRAL
	// Load neutral position and start MAVLink Roll,Pitch,Yaw control with stabilization
	MAV_MOUNT_MODE_MAVLINK_TARGETING MAV_MOUNT_MODE = common.MAV_MOUNT_MODE_MAVLINK_TARGETING
	// Load neutral position and start RC Roll,Pitch,Yaw control with stabilization
	MAV_MOUNT_MODE_RC_TARGETING MAV_MOUNT_MODE = common.MAV_MOUNT_MODE_RC_TARGETING
	// Load neutral position and start to point to Lat,Lon,Alt
	MAV_MOUNT_MODE_GPS_POINT MAV_MOUNT_MODE = common.MAV_MOUNT_MODE_GPS_POINT
	// Gimbal tracks system with specified system ID
	MAV_MOUNT_MODE_SYSID_TARGET MAV_MOUNT_MODE = common.MAV_MOUNT_MODE_SYSID_TARGET
	// Gimbal tracks home position
	MAV_MOUNT_MODE_HOME_LOCATION MAV_MOUNT_MODE = common.MAV_MOUNT_MODE_HOME_LOCATION
)

type MAV_ODID_ARM_STATUS ¶

type MAV_ODID_ARM_STATUS = common.MAV_ODID_ARM_STATUS
const (
	// Passing arming checks.
	MAV_ODID_ARM_STATUS_GOOD_TO_ARM MAV_ODID_ARM_STATUS = common.MAV_ODID_ARM_STATUS_GOOD_TO_ARM
	// Generic arming failure, see error string for details.
	MAV_ODID_ARM_STATUS_PRE_ARM_FAIL_GENERIC MAV_ODID_ARM_STATUS = common.MAV_ODID_ARM_STATUS_PRE_ARM_FAIL_GENERIC
)

type MAV_ODID_AUTH_TYPE ¶

type MAV_ODID_AUTH_TYPE = common.MAV_ODID_AUTH_TYPE
const (
	// No authentication type is specified.
	MAV_ODID_AUTH_TYPE_NONE MAV_ODID_AUTH_TYPE = common.MAV_ODID_AUTH_TYPE_NONE
	// Signature for the UAS (Unmanned Aircraft System) ID.
	MAV_ODID_AUTH_TYPE_UAS_ID_SIGNATURE MAV_ODID_AUTH_TYPE = common.MAV_ODID_AUTH_TYPE_UAS_ID_SIGNATURE
	// Signature for the Operator ID.
	MAV_ODID_AUTH_TYPE_OPERATOR_ID_SIGNATURE MAV_ODID_AUTH_TYPE = common.MAV_ODID_AUTH_TYPE_OPERATOR_ID_SIGNATURE
	// Signature for the entire message set.
	MAV_ODID_AUTH_TYPE_MESSAGE_SET_SIGNATURE MAV_ODID_AUTH_TYPE = common.MAV_ODID_AUTH_TYPE_MESSAGE_SET_SIGNATURE
	// Authentication is provided by Network Remote ID.
	MAV_ODID_AUTH_TYPE_NETWORK_REMOTE_ID MAV_ODID_AUTH_TYPE = common.MAV_ODID_AUTH_TYPE_NETWORK_REMOTE_ID
	// The exact authentication type is indicated by the first byte of authentication_data and these type values are managed by ICAO.
	MAV_ODID_AUTH_TYPE_SPECIFIC_AUTHENTICATION MAV_ODID_AUTH_TYPE = common.MAV_ODID_AUTH_TYPE_SPECIFIC_AUTHENTICATION
)

type MAV_ODID_CATEGORY_EU ¶

type MAV_ODID_CATEGORY_EU = common.MAV_ODID_CATEGORY_EU
const (
	// The category for the UA, according to the EU specification, is undeclared.
	MAV_ODID_CATEGORY_EU_UNDECLARED MAV_ODID_CATEGORY_EU = common.MAV_ODID_CATEGORY_EU_UNDECLARED
	// The category for the UA, according to the EU specification, is the Open category.
	MAV_ODID_CATEGORY_EU_OPEN MAV_ODID_CATEGORY_EU = common.MAV_ODID_CATEGORY_EU_OPEN
	// The category for the UA, according to the EU specification, is the Specific category.
	MAV_ODID_CATEGORY_EU_SPECIFIC MAV_ODID_CATEGORY_EU = common.MAV_ODID_CATEGORY_EU_SPECIFIC
	// The category for the UA, according to the EU specification, is the Certified category.
	MAV_ODID_CATEGORY_EU_CERTIFIED MAV_ODID_CATEGORY_EU = common.MAV_ODID_CATEGORY_EU_CERTIFIED
)

type MAV_ODID_CLASSIFICATION_TYPE ¶

type MAV_ODID_CLASSIFICATION_TYPE = common.MAV_ODID_CLASSIFICATION_TYPE
const (
	// The classification type for the UA is undeclared.
	MAV_ODID_CLASSIFICATION_TYPE_UNDECLARED MAV_ODID_CLASSIFICATION_TYPE = common.MAV_ODID_CLASSIFICATION_TYPE_UNDECLARED
	// The classification type for the UA follows EU (European Union) specifications.
	MAV_ODID_CLASSIFICATION_TYPE_EU MAV_ODID_CLASSIFICATION_TYPE = common.MAV_ODID_CLASSIFICATION_TYPE_EU
)

type MAV_ODID_CLASS_EU ¶

type MAV_ODID_CLASS_EU = common.MAV_ODID_CLASS_EU
const (
	// The class for the UA, according to the EU specification, is undeclared.
	MAV_ODID_CLASS_EU_UNDECLARED MAV_ODID_CLASS_EU = common.MAV_ODID_CLASS_EU_UNDECLARED
	// The class for the UA, according to the EU specification, is Class 0.
	MAV_ODID_CLASS_EU_CLASS_0 MAV_ODID_CLASS_EU = common.MAV_ODID_CLASS_EU_CLASS_0
	// The class for the UA, according to the EU specification, is Class 1.
	MAV_ODID_CLASS_EU_CLASS_1 MAV_ODID_CLASS_EU = common.MAV_ODID_CLASS_EU_CLASS_1
	// The class for the UA, according to the EU specification, is Class 2.
	MAV_ODID_CLASS_EU_CLASS_2 MAV_ODID_CLASS_EU = common.MAV_ODID_CLASS_EU_CLASS_2
	// The class for the UA, according to the EU specification, is Class 3.
	MAV_ODID_CLASS_EU_CLASS_3 MAV_ODID_CLASS_EU = common.MAV_ODID_CLASS_EU_CLASS_3
	// The class for the UA, according to the EU specification, is Class 4.
	MAV_ODID_CLASS_EU_CLASS_4 MAV_ODID_CLASS_EU = common.MAV_ODID_CLASS_EU_CLASS_4
	// The class for the UA, according to the EU specification, is Class 5.
	MAV_ODID_CLASS_EU_CLASS_5 MAV_ODID_CLASS_EU = common.MAV_ODID_CLASS_EU_CLASS_5
	// The class for the UA, according to the EU specification, is Class 6.
	MAV_ODID_CLASS_EU_CLASS_6 MAV_ODID_CLASS_EU = common.MAV_ODID_CLASS_EU_CLASS_6
)

type MAV_ODID_DESC_TYPE ¶

type MAV_ODID_DESC_TYPE = common.MAV_ODID_DESC_TYPE
const (
	// Optional free-form text description of the purpose of the flight.
	MAV_ODID_DESC_TYPE_TEXT MAV_ODID_DESC_TYPE = common.MAV_ODID_DESC_TYPE_TEXT
	// Optional additional clarification when status == MAV_ODID_STATUS_EMERGENCY.
	MAV_ODID_DESC_TYPE_EMERGENCY MAV_ODID_DESC_TYPE = common.MAV_ODID_DESC_TYPE_EMERGENCY
	// Optional additional clarification when status != MAV_ODID_STATUS_EMERGENCY.
	MAV_ODID_DESC_TYPE_EXTENDED_STATUS MAV_ODID_DESC_TYPE = common.MAV_ODID_DESC_TYPE_EXTENDED_STATUS
)

type MAV_ODID_HEIGHT_REF ¶

type MAV_ODID_HEIGHT_REF = common.MAV_ODID_HEIGHT_REF
const (
	// The height field is relative to the take-off location.
	MAV_ODID_HEIGHT_REF_OVER_TAKEOFF MAV_ODID_HEIGHT_REF = common.MAV_ODID_HEIGHT_REF_OVER_TAKEOFF
	// The height field is relative to ground.
	MAV_ODID_HEIGHT_REF_OVER_GROUND MAV_ODID_HEIGHT_REF = common.MAV_ODID_HEIGHT_REF_OVER_GROUND
)

type MAV_ODID_HOR_ACC ¶

type MAV_ODID_HOR_ACC = common.MAV_ODID_HOR_ACC
const (
	// The horizontal accuracy is unknown.
	MAV_ODID_HOR_ACC_UNKNOWN MAV_ODID_HOR_ACC = common.MAV_ODID_HOR_ACC_UNKNOWN
	// The horizontal accuracy is smaller than 10 Nautical Miles. 18.52 km.
	MAV_ODID_HOR_ACC_10NM MAV_ODID_HOR_ACC = common.MAV_ODID_HOR_ACC_10NM
	// The horizontal accuracy is smaller than 4 Nautical Miles. 7.408 km.
	MAV_ODID_HOR_ACC_4NM MAV_ODID_HOR_ACC = common.MAV_ODID_HOR_ACC_4NM
	// The horizontal accuracy is smaller than 2 Nautical Miles. 3.704 km.
	MAV_ODID_HOR_ACC_2NM MAV_ODID_HOR_ACC = common.MAV_ODID_HOR_ACC_2NM
	// The horizontal accuracy is smaller than 1 Nautical Miles. 1.852 km.
	MAV_ODID_HOR_ACC_1NM MAV_ODID_HOR_ACC = common.MAV_ODID_HOR_ACC_1NM
	// The horizontal accuracy is smaller than 0.5 Nautical Miles. 926 m.
	MAV_ODID_HOR_ACC_0_5NM MAV_ODID_HOR_ACC = common.MAV_ODID_HOR_ACC_0_5NM
	// The horizontal accuracy is smaller than 0.3 Nautical Miles. 555.6 m.
	MAV_ODID_HOR_ACC_0_3NM MAV_ODID_HOR_ACC = common.MAV_ODID_HOR_ACC_0_3NM
	// The horizontal accuracy is smaller than 0.1 Nautical Miles. 185.2 m.
	MAV_ODID_HOR_ACC_0_1NM MAV_ODID_HOR_ACC = common.MAV_ODID_HOR_ACC_0_1NM
	// The horizontal accuracy is smaller than 0.05 Nautical Miles. 92.6 m.
	MAV_ODID_HOR_ACC_0_05NM MAV_ODID_HOR_ACC = common.MAV_ODID_HOR_ACC_0_05NM
	// The horizontal accuracy is smaller than 30 meter.
	MAV_ODID_HOR_ACC_30_METER MAV_ODID_HOR_ACC = common.MAV_ODID_HOR_ACC_30_METER
	// The horizontal accuracy is smaller than 10 meter.
	MAV_ODID_HOR_ACC_10_METER MAV_ODID_HOR_ACC = common.MAV_ODID_HOR_ACC_10_METER
	// The horizontal accuracy is smaller than 3 meter.
	MAV_ODID_HOR_ACC_3_METER MAV_ODID_HOR_ACC = common.MAV_ODID_HOR_ACC_3_METER
	// The horizontal accuracy is smaller than 1 meter.
	MAV_ODID_HOR_ACC_1_METER MAV_ODID_HOR_ACC = common.MAV_ODID_HOR_ACC_1_METER
)

type MAV_ODID_ID_TYPE ¶

type MAV_ODID_ID_TYPE = common.MAV_ODID_ID_TYPE
const (
	// No type defined.
	MAV_ODID_ID_TYPE_NONE MAV_ODID_ID_TYPE = common.MAV_ODID_ID_TYPE_NONE
	// Manufacturer Serial Number (ANSI/CTA-2063 format).
	MAV_ODID_ID_TYPE_SERIAL_NUMBER MAV_ODID_ID_TYPE = common.MAV_ODID_ID_TYPE_SERIAL_NUMBER
	// CAA (Civil Aviation Authority) registered ID. Format: [ICAO Country Code].[CAA Assigned ID].
	MAV_ODID_ID_TYPE_CAA_REGISTRATION_ID MAV_ODID_ID_TYPE = common.MAV_ODID_ID_TYPE_CAA_REGISTRATION_ID
	// UTM (Unmanned Traffic Management) assigned UUID (RFC4122).
	MAV_ODID_ID_TYPE_UTM_ASSIGNED_UUID MAV_ODID_ID_TYPE = common.MAV_ODID_ID_TYPE_UTM_ASSIGNED_UUID
	// A 20 byte ID for a specific flight/session. The exact ID type is indicated by the first byte of uas_id and these type values are managed by ICAO.
	MAV_ODID_ID_TYPE_SPECIFIC_SESSION_ID MAV_ODID_ID_TYPE = common.MAV_ODID_ID_TYPE_SPECIFIC_SESSION_ID
)

type MAV_ODID_OPERATOR_ID_TYPE ¶

type MAV_ODID_OPERATOR_ID_TYPE = common.MAV_ODID_OPERATOR_ID_TYPE
const (
	// CAA (Civil Aviation Authority) registered operator ID.
	MAV_ODID_OPERATOR_ID_TYPE_CAA MAV_ODID_OPERATOR_ID_TYPE = common.MAV_ODID_OPERATOR_ID_TYPE_CAA
)

type MAV_ODID_OPERATOR_LOCATION_TYPE ¶

type MAV_ODID_OPERATOR_LOCATION_TYPE = common.MAV_ODID_OPERATOR_LOCATION_TYPE
const (
	// The location/altitude of the operator is the same as the take-off location.
	MAV_ODID_OPERATOR_LOCATION_TYPE_TAKEOFF MAV_ODID_OPERATOR_LOCATION_TYPE = common.MAV_ODID_OPERATOR_LOCATION_TYPE_TAKEOFF
	// The location/altitude of the operator is dynamic. E.g. based on live GNSS data.
	MAV_ODID_OPERATOR_LOCATION_TYPE_LIVE_GNSS MAV_ODID_OPERATOR_LOCATION_TYPE = common.MAV_ODID_OPERATOR_LOCATION_TYPE_LIVE_GNSS
	// The location/altitude of the operator are fixed values.
	MAV_ODID_OPERATOR_LOCATION_TYPE_FIXED MAV_ODID_OPERATOR_LOCATION_TYPE = common.MAV_ODID_OPERATOR_LOCATION_TYPE_FIXED
)

type MAV_ODID_SPEED_ACC ¶

type MAV_ODID_SPEED_ACC = common.MAV_ODID_SPEED_ACC
const (
	// The speed accuracy is unknown.
	MAV_ODID_SPEED_ACC_UNKNOWN MAV_ODID_SPEED_ACC = common.MAV_ODID_SPEED_ACC_UNKNOWN
	// The speed accuracy is smaller than 10 meters per second.
	MAV_ODID_SPEED_ACC_10_METERS_PER_SECOND MAV_ODID_SPEED_ACC = common.MAV_ODID_SPEED_ACC_10_METERS_PER_SECOND
	// The speed accuracy is smaller than 3 meters per second.
	MAV_ODID_SPEED_ACC_3_METERS_PER_SECOND MAV_ODID_SPEED_ACC = common.MAV_ODID_SPEED_ACC_3_METERS_PER_SECOND
	// The speed accuracy is smaller than 1 meters per second.
	MAV_ODID_SPEED_ACC_1_METERS_PER_SECOND MAV_ODID_SPEED_ACC = common.MAV_ODID_SPEED_ACC_1_METERS_PER_SECOND
	// The speed accuracy is smaller than 0.3 meters per second.
	MAV_ODID_SPEED_ACC_0_3_METERS_PER_SECOND MAV_ODID_SPEED_ACC = common.MAV_ODID_SPEED_ACC_0_3_METERS_PER_SECOND
)

type MAV_ODID_STATUS ¶

type MAV_ODID_STATUS = common.MAV_ODID_STATUS
const (
	// The status of the (UA) Unmanned Aircraft is undefined.
	MAV_ODID_STATUS_UNDECLARED MAV_ODID_STATUS = common.MAV_ODID_STATUS_UNDECLARED
	// The UA is on the ground.
	MAV_ODID_STATUS_GROUND MAV_ODID_STATUS = common.MAV_ODID_STATUS_GROUND
	// The UA is in the air.
	MAV_ODID_STATUS_AIRBORNE MAV_ODID_STATUS = common.MAV_ODID_STATUS_AIRBORNE
	// The UA is having an emergency.
	MAV_ODID_STATUS_EMERGENCY MAV_ODID_STATUS = common.MAV_ODID_STATUS_EMERGENCY
	// The remote ID system is failing or unreliable in some way.
	MAV_ODID_STATUS_REMOTE_ID_SYSTEM_FAILURE MAV_ODID_STATUS = common.MAV_ODID_STATUS_REMOTE_ID_SYSTEM_FAILURE
)

type MAV_ODID_TIME_ACC ¶

type MAV_ODID_TIME_ACC = common.MAV_ODID_TIME_ACC
const (
	// The timestamp accuracy is unknown.
	MAV_ODID_TIME_ACC_UNKNOWN MAV_ODID_TIME_ACC = common.MAV_ODID_TIME_ACC_UNKNOWN
	// The timestamp accuracy is smaller than or equal to 0.1 second.
	MAV_ODID_TIME_ACC_0_1_SECOND MAV_ODID_TIME_ACC = common.MAV_ODID_TIME_ACC_0_1_SECOND
	// The timestamp accuracy is smaller than or equal to 0.2 second.
	MAV_ODID_TIME_ACC_0_2_SECOND MAV_ODID_TIME_ACC = common.MAV_ODID_TIME_ACC_0_2_SECOND
	// The timestamp accuracy is smaller than or equal to 0.3 second.
	MAV_ODID_TIME_ACC_0_3_SECOND MAV_ODID_TIME_ACC = common.MAV_ODID_TIME_ACC_0_3_SECOND
	// The timestamp accuracy is smaller than or equal to 0.4 second.
	MAV_ODID_TIME_ACC_0_4_SECOND MAV_ODID_TIME_ACC = common.MAV_ODID_TIME_ACC_0_4_SECOND
	// The timestamp accuracy is smaller than or equal to 0.5 second.
	MAV_ODID_TIME_ACC_0_5_SECOND MAV_ODID_TIME_ACC = common.MAV_ODID_TIME_ACC_0_5_SECOND
	// The timestamp accuracy is smaller than or equal to 0.6 second.
	MAV_ODID_TIME_ACC_0_6_SECOND MAV_ODID_TIME_ACC = common.MAV_ODID_TIME_ACC_0_6_SECOND
	// The timestamp accuracy is smaller than or equal to 0.7 second.
	MAV_ODID_TIME_ACC_0_7_SECOND MAV_ODID_TIME_ACC = common.MAV_ODID_TIME_ACC_0_7_SECOND
	// The timestamp accuracy is smaller than or equal to 0.8 second.
	MAV_ODID_TIME_ACC_0_8_SECOND MAV_ODID_TIME_ACC = common.MAV_ODID_TIME_ACC_0_8_SECOND
	// The timestamp accuracy is smaller than or equal to 0.9 second.
	MAV_ODID_TIME_ACC_0_9_SECOND MAV_ODID_TIME_ACC = common.MAV_ODID_TIME_ACC_0_9_SECOND
	// The timestamp accuracy is smaller than or equal to 1.0 second.
	MAV_ODID_TIME_ACC_1_0_SECOND MAV_ODID_TIME_ACC = common.MAV_ODID_TIME_ACC_1_0_SECOND
	// The timestamp accuracy is smaller than or equal to 1.1 second.
	MAV_ODID_TIME_ACC_1_1_SECOND MAV_ODID_TIME_ACC = common.MAV_ODID_TIME_ACC_1_1_SECOND
	// The timestamp accuracy is smaller than or equal to 1.2 second.
	MAV_ODID_TIME_ACC_1_2_SECOND MAV_ODID_TIME_ACC = common.MAV_ODID_TIME_ACC_1_2_SECOND
	// The timestamp accuracy is smaller than or equal to 1.3 second.
	MAV_ODID_TIME_ACC_1_3_SECOND MAV_ODID_TIME_ACC = common.MAV_ODID_TIME_ACC_1_3_SECOND
	// The timestamp accuracy is smaller than or equal to 1.4 second.
	MAV_ODID_TIME_ACC_1_4_SECOND MAV_ODID_TIME_ACC = common.MAV_ODID_TIME_ACC_1_4_SECOND
	// The timestamp accuracy is smaller than or equal to 1.5 second.
	MAV_ODID_TIME_ACC_1_5_SECOND MAV_ODID_TIME_ACC = common.MAV_ODID_TIME_ACC_1_5_SECOND
)

type MAV_ODID_UA_TYPE ¶

type MAV_ODID_UA_TYPE = common.MAV_ODID_UA_TYPE
const (
	// No UA (Unmanned Aircraft) type defined.
	MAV_ODID_UA_TYPE_NONE MAV_ODID_UA_TYPE = common.MAV_ODID_UA_TYPE_NONE
	// Aeroplane/Airplane. Fixed wing.
	MAV_ODID_UA_TYPE_AEROPLANE MAV_ODID_UA_TYPE = common.MAV_ODID_UA_TYPE_AEROPLANE
	// Helicopter or multirotor.
	MAV_ODID_UA_TYPE_HELICOPTER_OR_MULTIROTOR MAV_ODID_UA_TYPE = common.MAV_ODID_UA_TYPE_HELICOPTER_OR_MULTIROTOR
	// Gyroplane.
	MAV_ODID_UA_TYPE_GYROPLANE MAV_ODID_UA_TYPE = common.MAV_ODID_UA_TYPE_GYROPLANE
	// VTOL (Vertical Take-Off and Landing). Fixed wing aircraft that can take off vertically.
	MAV_ODID_UA_TYPE_HYBRID_LIFT MAV_ODID_UA_TYPE = common.MAV_ODID_UA_TYPE_HYBRID_LIFT
	// Ornithopter.
	MAV_ODID_UA_TYPE_ORNITHOPTER MAV_ODID_UA_TYPE = common.MAV_ODID_UA_TYPE_ORNITHOPTER
	// Glider.
	MAV_ODID_UA_TYPE_GLIDER MAV_ODID_UA_TYPE = common.MAV_ODID_UA_TYPE_GLIDER
	// Kite.
	MAV_ODID_UA_TYPE_KITE MAV_ODID_UA_TYPE = common.MAV_ODID_UA_TYPE_KITE
	// Free Balloon.
	MAV_ODID_UA_TYPE_FREE_BALLOON MAV_ODID_UA_TYPE = common.MAV_ODID_UA_TYPE_FREE_BALLOON
	// Captive Balloon.
	MAV_ODID_UA_TYPE_CAPTIVE_BALLOON MAV_ODID_UA_TYPE = common.MAV_ODID_UA_TYPE_CAPTIVE_BALLOON
	// Airship. E.g. a blimp.
	MAV_ODID_UA_TYPE_AIRSHIP MAV_ODID_UA_TYPE = common.MAV_ODID_UA_TYPE_AIRSHIP
	// Free Fall/Parachute (unpowered).
	MAV_ODID_UA_TYPE_FREE_FALL_PARACHUTE MAV_ODID_UA_TYPE = common.MAV_ODID_UA_TYPE_FREE_FALL_PARACHUTE
	// Rocket.
	MAV_ODID_UA_TYPE_ROCKET MAV_ODID_UA_TYPE = common.MAV_ODID_UA_TYPE_ROCKET
	// Tethered powered aircraft.
	MAV_ODID_UA_TYPE_TETHERED_POWERED_AIRCRAFT MAV_ODID_UA_TYPE = common.MAV_ODID_UA_TYPE_TETHERED_POWERED_AIRCRAFT
	// Ground Obstacle.
	MAV_ODID_UA_TYPE_GROUND_OBSTACLE MAV_ODID_UA_TYPE = common.MAV_ODID_UA_TYPE_GROUND_OBSTACLE
	// Other type of aircraft not listed earlier.
	MAV_ODID_UA_TYPE_OTHER MAV_ODID_UA_TYPE = common.MAV_ODID_UA_TYPE_OTHER
)

type MAV_ODID_VER_ACC ¶

type MAV_ODID_VER_ACC = common.MAV_ODID_VER_ACC
const (
	// The vertical accuracy is unknown.
	MAV_ODID_VER_ACC_UNKNOWN MAV_ODID_VER_ACC = common.MAV_ODID_VER_ACC_UNKNOWN
	// The vertical accuracy is smaller than 150 meter.
	MAV_ODID_VER_ACC_150_METER MAV_ODID_VER_ACC = common.MAV_ODID_VER_ACC_150_METER
	// The vertical accuracy is smaller than 45 meter.
	MAV_ODID_VER_ACC_45_METER MAV_ODID_VER_ACC = common.MAV_ODID_VER_ACC_45_METER
	// The vertical accuracy is smaller than 25 meter.
	MAV_ODID_VER_ACC_25_METER MAV_ODID_VER_ACC = common.MAV_ODID_VER_ACC_25_METER
	// The vertical accuracy is smaller than 10 meter.
	MAV_ODID_VER_ACC_10_METER MAV_ODID_VER_ACC = common.MAV_ODID_VER_ACC_10_METER
	// The vertical accuracy is smaller than 3 meter.
	MAV_ODID_VER_ACC_3_METER MAV_ODID_VER_ACC = common.MAV_ODID_VER_ACC_3_METER
	// The vertical accuracy is smaller than 1 meter.
	MAV_ODID_VER_ACC_1_METER MAV_ODID_VER_ACC = common.MAV_ODID_VER_ACC_1_METER
)

type MAV_PARAM_EXT_TYPE ¶

type MAV_PARAM_EXT_TYPE = common.MAV_PARAM_EXT_TYPE

Specifies the datatype of a MAVLink extended parameter.

const (
	// 8-bit unsigned integer
	MAV_PARAM_EXT_TYPE_UINT8 MAV_PARAM_EXT_TYPE = common.MAV_PARAM_EXT_TYPE_UINT8
	// 8-bit signed integer
	MAV_PARAM_EXT_TYPE_INT8 MAV_PARAM_EXT_TYPE = common.MAV_PARAM_EXT_TYPE_INT8
	// 16-bit unsigned integer
	MAV_PARAM_EXT_TYPE_UINT16 MAV_PARAM_EXT_TYPE = common.MAV_PARAM_EXT_TYPE_UINT16
	// 16-bit signed integer
	MAV_PARAM_EXT_TYPE_INT16 MAV_PARAM_EXT_TYPE = common.MAV_PARAM_EXT_TYPE_INT16
	// 32-bit unsigned integer
	MAV_PARAM_EXT_TYPE_UINT32 MAV_PARAM_EXT_TYPE = common.MAV_PARAM_EXT_TYPE_UINT32
	// 32-bit signed integer
	MAV_PARAM_EXT_TYPE_INT32 MAV_PARAM_EXT_TYPE = common.MAV_PARAM_EXT_TYPE_INT32
	// 64-bit unsigned integer
	MAV_PARAM_EXT_TYPE_UINT64 MAV_PARAM_EXT_TYPE = common.MAV_PARAM_EXT_TYPE_UINT64
	// 64-bit signed integer
	MAV_PARAM_EXT_TYPE_INT64 MAV_PARAM_EXT_TYPE = common.MAV_PARAM_EXT_TYPE_INT64
	// 32-bit floating-point
	MAV_PARAM_EXT_TYPE_REAL32 MAV_PARAM_EXT_TYPE = common.MAV_PARAM_EXT_TYPE_REAL32
	// 64-bit floating-point
	MAV_PARAM_EXT_TYPE_REAL64 MAV_PARAM_EXT_TYPE = common.MAV_PARAM_EXT_TYPE_REAL64
	// Custom Type
	MAV_PARAM_EXT_TYPE_CUSTOM MAV_PARAM_EXT_TYPE = common.MAV_PARAM_EXT_TYPE_CUSTOM
)

type MAV_PARAM_TYPE ¶

type MAV_PARAM_TYPE = common.MAV_PARAM_TYPE

Specifies the datatype of a MAVLink parameter.

const (
	// 8-bit unsigned integer
	MAV_PARAM_TYPE_UINT8 MAV_PARAM_TYPE = common.MAV_PARAM_TYPE_UINT8
	// 8-bit signed integer
	MAV_PARAM_TYPE_INT8 MAV_PARAM_TYPE = common.MAV_PARAM_TYPE_INT8
	// 16-bit unsigned integer
	MAV_PARAM_TYPE_UINT16 MAV_PARAM_TYPE = common.MAV_PARAM_TYPE_UINT16
	// 16-bit signed integer
	MAV_PARAM_TYPE_INT16 MAV_PARAM_TYPE = common.MAV_PARAM_TYPE_INT16
	// 32-bit unsigned integer
	MAV_PARAM_TYPE_UINT32 MAV_PARAM_TYPE = common.MAV_PARAM_TYPE_UINT32
	// 32-bit signed integer
	MAV_PARAM_TYPE_INT32 MAV_PARAM_TYPE = common.MAV_PARAM_TYPE_INT32
	// 64-bit unsigned integer
	MAV_PARAM_TYPE_UINT64 MAV_PARAM_TYPE = common.MAV_PARAM_TYPE_UINT64
	// 64-bit signed integer
	MAV_PARAM_TYPE_INT64 MAV_PARAM_TYPE = common.MAV_PARAM_TYPE_INT64
	// 32-bit floating-point
	MAV_PARAM_TYPE_REAL32 MAV_PARAM_TYPE = common.MAV_PARAM_TYPE_REAL32
	// 64-bit floating-point
	MAV_PARAM_TYPE_REAL64 MAV_PARAM_TYPE = common.MAV_PARAM_TYPE_REAL64
)

type MAV_POWER_STATUS ¶

type MAV_POWER_STATUS = common.MAV_POWER_STATUS

Power supply status flags (bitmask)

const (
	// main brick power supply valid
	MAV_POWER_STATUS_BRICK_VALID MAV_POWER_STATUS = common.MAV_POWER_STATUS_BRICK_VALID
	// main servo power supply valid for FMU
	MAV_POWER_STATUS_SERVO_VALID MAV_POWER_STATUS = common.MAV_POWER_STATUS_SERVO_VALID
	// USB power is connected
	MAV_POWER_STATUS_USB_CONNECTED MAV_POWER_STATUS = common.MAV_POWER_STATUS_USB_CONNECTED
	// peripheral supply is in over-current state
	MAV_POWER_STATUS_PERIPH_OVERCURRENT MAV_POWER_STATUS = common.MAV_POWER_STATUS_PERIPH_OVERCURRENT
	// hi-power peripheral supply is in over-current state
	MAV_POWER_STATUS_PERIPH_HIPOWER_OVERCURRENT MAV_POWER_STATUS = common.MAV_POWER_STATUS_PERIPH_HIPOWER_OVERCURRENT
	// Power status has changed since boot
	MAV_POWER_STATUS_CHANGED MAV_POWER_STATUS = common.MAV_POWER_STATUS_CHANGED
)

type MAV_PROTOCOL_CAPABILITY ¶

type MAV_PROTOCOL_CAPABILITY = common.MAV_PROTOCOL_CAPABILITY

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

const (
	// Autopilot supports the MISSION_ITEM float message type.
	// Note that MISSION_ITEM is deprecated, and autopilots should use MISSION_INT instead.
	MAV_PROTOCOL_CAPABILITY_MISSION_FLOAT MAV_PROTOCOL_CAPABILITY = common.MAV_PROTOCOL_CAPABILITY_MISSION_FLOAT
	// Autopilot supports the new param float message type.
	MAV_PROTOCOL_CAPABILITY_PARAM_FLOAT MAV_PROTOCOL_CAPABILITY = common.MAV_PROTOCOL_CAPABILITY_PARAM_FLOAT
	// Autopilot supports MISSION_ITEM_INT scaled integer message type.
	// Note that this flag must always be set if missions are supported, because missions must always use MISSION_ITEM_INT (rather than MISSION_ITEM, which is deprecated).
	MAV_PROTOCOL_CAPABILITY_MISSION_INT MAV_PROTOCOL_CAPABILITY = common.MAV_PROTOCOL_CAPABILITY_MISSION_INT
	// Autopilot supports COMMAND_INT scaled integer message type.
	MAV_PROTOCOL_CAPABILITY_COMMAND_INT MAV_PROTOCOL_CAPABILITY = common.MAV_PROTOCOL_CAPABILITY_COMMAND_INT
	// Parameter protocol uses byte-wise encoding of parameter values into param_value (float) fields: https://mavlink.io/en/services/parameter.html#parameter-encoding.
	// Note that either this flag or MAV_PROTOCOL_CAPABILITY_PARAM_ENCODE_C_CAST should be set if the parameter protocol is supported.
	MAV_PROTOCOL_CAPABILITY_PARAM_ENCODE_BYTEWISE MAV_PROTOCOL_CAPABILITY = common.MAV_PROTOCOL_CAPABILITY_PARAM_ENCODE_BYTEWISE
	// Autopilot supports the File Transfer Protocol v1: https://mavlink.io/en/services/ftp.html.
	MAV_PROTOCOL_CAPABILITY_FTP MAV_PROTOCOL_CAPABILITY = common.MAV_PROTOCOL_CAPABILITY_FTP
	// Autopilot supports commanding attitude offboard.
	MAV_PROTOCOL_CAPABILITY_SET_ATTITUDE_TARGET MAV_PROTOCOL_CAPABILITY = common.MAV_PROTOCOL_CAPABILITY_SET_ATTITUDE_TARGET
	// Autopilot supports commanding position and velocity targets in local NED frame.
	MAV_PROTOCOL_CAPABILITY_SET_POSITION_TARGET_LOCAL_NED MAV_PROTOCOL_CAPABILITY = common.MAV_PROTOCOL_CAPABILITY_SET_POSITION_TARGET_LOCAL_NED
	// Autopilot supports commanding position and velocity targets in global scaled integers.
	MAV_PROTOCOL_CAPABILITY_SET_POSITION_TARGET_GLOBAL_INT MAV_PROTOCOL_CAPABILITY = common.MAV_PROTOCOL_CAPABILITY_SET_POSITION_TARGET_GLOBAL_INT
	// Autopilot supports terrain protocol / data handling.
	MAV_PROTOCOL_CAPABILITY_TERRAIN MAV_PROTOCOL_CAPABILITY = common.MAV_PROTOCOL_CAPABILITY_TERRAIN
	// Autopilot supports direct actuator control.
	MAV_PROTOCOL_CAPABILITY_SET_ACTUATOR_TARGET MAV_PROTOCOL_CAPABILITY = common.MAV_PROTOCOL_CAPABILITY_SET_ACTUATOR_TARGET
	// Autopilot supports the MAV_CMD_DO_FLIGHTTERMINATION command (flight termination).
	MAV_PROTOCOL_CAPABILITY_FLIGHT_TERMINATION MAV_PROTOCOL_CAPABILITY = common.MAV_PROTOCOL_CAPABILITY_FLIGHT_TERMINATION
	// Autopilot supports onboard compass calibration.
	MAV_PROTOCOL_CAPABILITY_COMPASS_CALIBRATION MAV_PROTOCOL_CAPABILITY = common.MAV_PROTOCOL_CAPABILITY_COMPASS_CALIBRATION
	// Autopilot supports MAVLink version 2.
	MAV_PROTOCOL_CAPABILITY_MAVLINK2 MAV_PROTOCOL_CAPABILITY = common.MAV_PROTOCOL_CAPABILITY_MAVLINK2
	// Autopilot supports mission fence protocol.
	MAV_PROTOCOL_CAPABILITY_MISSION_FENCE MAV_PROTOCOL_CAPABILITY = common.MAV_PROTOCOL_CAPABILITY_MISSION_FENCE
	// Autopilot supports mission rally point protocol.
	MAV_PROTOCOL_CAPABILITY_MISSION_RALLY MAV_PROTOCOL_CAPABILITY = common.MAV_PROTOCOL_CAPABILITY_MISSION_RALLY
	// Reserved for future use.
	MAV_PROTOCOL_CAPABILITY_RESERVED2 MAV_PROTOCOL_CAPABILITY = common.MAV_PROTOCOL_CAPABILITY_RESERVED2
	// Parameter protocol uses C-cast of parameter values to set the param_value (float) fields: https://mavlink.io/en/services/parameter.html#parameter-encoding.
	// Note that either this flag or MAV_PROTOCOL_CAPABILITY_PARAM_ENCODE_BYTEWISE should be set if the parameter protocol is supported.
	MAV_PROTOCOL_CAPABILITY_PARAM_ENCODE_C_CAST MAV_PROTOCOL_CAPABILITY = common.MAV_PROTOCOL_CAPABILITY_PARAM_ENCODE_C_CAST
)

type MAV_REMOTE_LOG_DATA_BLOCK_COMMANDS ¶

type MAV_REMOTE_LOG_DATA_BLOCK_COMMANDS uint32

Special ACK block numbers control activation of dataflash log streaming.

const (
	// UAV to stop sending DataFlash blocks.
	MAV_REMOTE_LOG_DATA_BLOCK_STOP MAV_REMOTE_LOG_DATA_BLOCK_COMMANDS = 2147483645
	// UAV to start sending DataFlash blocks.
	MAV_REMOTE_LOG_DATA_BLOCK_START MAV_REMOTE_LOG_DATA_BLOCK_COMMANDS = 2147483646
)

func (MAV_REMOTE_LOG_DATA_BLOCK_COMMANDS) MarshalText ¶

func (e MAV_REMOTE_LOG_DATA_BLOCK_COMMANDS) MarshalText() ([]byte, error)

MarshalText implements the encoding.TextMarshaler interface.

func (MAV_REMOTE_LOG_DATA_BLOCK_COMMANDS) String ¶

String implements the fmt.Stringer interface.

func (*MAV_REMOTE_LOG_DATA_BLOCK_COMMANDS) UnmarshalText ¶

func (e *MAV_REMOTE_LOG_DATA_BLOCK_COMMANDS) UnmarshalText(text []byte) error

UnmarshalText implements the encoding.TextUnmarshaler interface.

type MAV_REMOTE_LOG_DATA_BLOCK_STATUSES ¶

type MAV_REMOTE_LOG_DATA_BLOCK_STATUSES uint32

Possible remote log data block statuses.

const (
	// This block has NOT been received.
	MAV_REMOTE_LOG_DATA_BLOCK_NACK MAV_REMOTE_LOG_DATA_BLOCK_STATUSES = 0
	// This block has been received.
	MAV_REMOTE_LOG_DATA_BLOCK_ACK MAV_REMOTE_LOG_DATA_BLOCK_STATUSES = 1
)

func (MAV_REMOTE_LOG_DATA_BLOCK_STATUSES) MarshalText ¶

func (e MAV_REMOTE_LOG_DATA_BLOCK_STATUSES) MarshalText() ([]byte, error)

MarshalText implements the encoding.TextMarshaler interface.

func (MAV_REMOTE_LOG_DATA_BLOCK_STATUSES) String ¶

String implements the fmt.Stringer interface.

func (*MAV_REMOTE_LOG_DATA_BLOCK_STATUSES) UnmarshalText ¶

func (e *MAV_REMOTE_LOG_DATA_BLOCK_STATUSES) UnmarshalText(text []byte) error

UnmarshalText implements the encoding.TextUnmarshaler interface.

type MAV_RESULT ¶

type MAV_RESULT = common.MAV_RESULT

Result from a MAVLink command (MAV_CMD)

const (
	// Command is valid (is supported and has valid parameters), and was executed.
	MAV_RESULT_ACCEPTED MAV_RESULT = common.MAV_RESULT_ACCEPTED
	// Command is valid, but cannot be executed at this time. This is used to indicate a problem that should be fixed just by waiting (e.g. a state machine is busy, can't arm because have not got GPS lock, etc.). Retrying later should work.
	MAV_RESULT_TEMPORARILY_REJECTED MAV_RESULT = common.MAV_RESULT_TEMPORARILY_REJECTED
	// Command is invalid (is supported but has invalid parameters). Retrying same command and parameters will not work.
	MAV_RESULT_DENIED MAV_RESULT = common.MAV_RESULT_DENIED
	// Command is not supported (unknown).
	MAV_RESULT_UNSUPPORTED MAV_RESULT = common.MAV_RESULT_UNSUPPORTED
	// Command is valid, but execution has failed. This is used to indicate any non-temporary or unexpected problem, i.e. any problem that must be fixed before the command can succeed/be retried. For example, attempting to write a file when out of memory, attempting to arm when sensors are not calibrated, etc.
	MAV_RESULT_FAILED MAV_RESULT = common.MAV_RESULT_FAILED
	// Command is valid and is being executed. This will be followed by further progress updates, i.e. the component may send further COMMAND_ACK messages with result MAV_RESULT_IN_PROGRESS (at a rate decided by the implementation), and must terminate by sending a COMMAND_ACK message with final result of the operation. The COMMAND_ACK.progress field can be used to indicate the progress of the operation.
	MAV_RESULT_IN_PROGRESS MAV_RESULT = common.MAV_RESULT_IN_PROGRESS
	// Command has been cancelled (as a result of receiving a COMMAND_CANCEL message).
	MAV_RESULT_CANCELLED MAV_RESULT = common.MAV_RESULT_CANCELLED
)

type MAV_ROI ¶

type MAV_ROI = common.MAV_ROI

The ROI (region of interest) for the vehicle. This can be be used by the vehicle for camera/vehicle attitude alignment (see MAV_CMD_NAV_ROI).

const (
	// No region of interest.
	MAV_ROI_NONE MAV_ROI = common.MAV_ROI_NONE
	// Point toward next waypoint, with optional pitch/roll/yaw offset.
	MAV_ROI_WPNEXT MAV_ROI = common.MAV_ROI_WPNEXT
	// Point toward given waypoint.
	MAV_ROI_WPINDEX MAV_ROI = common.MAV_ROI_WPINDEX
	// Point toward fixed location.
	MAV_ROI_LOCATION MAV_ROI = common.MAV_ROI_LOCATION
	// Point toward of given id.
	MAV_ROI_TARGET MAV_ROI = common.MAV_ROI_TARGET
)

type MAV_SENSOR_ORIENTATION ¶

type MAV_SENSOR_ORIENTATION = common.MAV_SENSOR_ORIENTATION

Enumeration of sensor orientation, according to its rotations

const (
	// Roll: 0, Pitch: 0, Yaw: 0
	MAV_SENSOR_ROTATION_NONE MAV_SENSOR_ORIENTATION = common.MAV_SENSOR_ROTATION_NONE
	// Roll: 0, Pitch: 0, Yaw: 45
	MAV_SENSOR_ROTATION_YAW_45 MAV_SENSOR_ORIENTATION = common.MAV_SENSOR_ROTATION_YAW_45
	// Roll: 0, Pitch: 0, Yaw: 90
	MAV_SENSOR_ROTATION_YAW_90 MAV_SENSOR_ORIENTATION = common.MAV_SENSOR_ROTATION_YAW_90
	// Roll: 0, Pitch: 0, Yaw: 135
	MAV_SENSOR_ROTATION_YAW_135 MAV_SENSOR_ORIENTATION = common.MAV_SENSOR_ROTATION_YAW_135
	// Roll: 0, Pitch: 0, Yaw: 180
	MAV_SENSOR_ROTATION_YAW_180 MAV_SENSOR_ORIENTATION = common.MAV_SENSOR_ROTATION_YAW_180
	// Roll: 0, Pitch: 0, Yaw: 225
	MAV_SENSOR_ROTATION_YAW_225 MAV_SENSOR_ORIENTATION = common.MAV_SENSOR_ROTATION_YAW_225
	// Roll: 0, Pitch: 0, Yaw: 270
	MAV_SENSOR_ROTATION_YAW_270 MAV_SENSOR_ORIENTATION = common.MAV_SENSOR_ROTATION_YAW_270
	// Roll: 0, Pitch: 0, Yaw: 315
	MAV_SENSOR_ROTATION_YAW_315 MAV_SENSOR_ORIENTATION = common.MAV_SENSOR_ROTATION_YAW_315
	// Roll: 180, Pitch: 0, Yaw: 0
	MAV_SENSOR_ROTATION_ROLL_180 MAV_SENSOR_ORIENTATION = common.MAV_SENSOR_ROTATION_ROLL_180
	// Roll: 180, Pitch: 0, Yaw: 45
	MAV_SENSOR_ROTATION_ROLL_180_YAW_45 MAV_SENSOR_ORIENTATION = common.MAV_SENSOR_ROTATION_ROLL_180_YAW_45
	// Roll: 180, Pitch: 0, Yaw: 90
	MAV_SENSOR_ROTATION_ROLL_180_YAW_90 MAV_SENSOR_ORIENTATION = common.MAV_SENSOR_ROTATION_ROLL_180_YAW_90
	// Roll: 180, Pitch: 0, Yaw: 135
	MAV_SENSOR_ROTATION_ROLL_180_YAW_135 MAV_SENSOR_ORIENTATION = common.MAV_SENSOR_ROTATION_ROLL_180_YAW_135
	// Roll: 0, Pitch: 180, Yaw: 0
	MAV_SENSOR_ROTATION_PITCH_180 MAV_SENSOR_ORIENTATION = common.MAV_SENSOR_ROTATION_PITCH_180
	// Roll: 180, Pitch: 0, Yaw: 225
	MAV_SENSOR_ROTATION_ROLL_180_YAW_225 MAV_SENSOR_ORIENTATION = common.MAV_SENSOR_ROTATION_ROLL_180_YAW_225
	// Roll: 180, Pitch: 0, Yaw: 270
	MAV_SENSOR_ROTATION_ROLL_180_YAW_270 MAV_SENSOR_ORIENTATION = common.MAV_SENSOR_ROTATION_ROLL_180_YAW_270
	// Roll: 180, Pitch: 0, Yaw: 315
	MAV_SENSOR_ROTATION_ROLL_180_YAW_315 MAV_SENSOR_ORIENTATION = common.MAV_SENSOR_ROTATION_ROLL_180_YAW_315
	// Roll: 90, Pitch: 0, Yaw: 0
	MAV_SENSOR_ROTATION_ROLL_90 MAV_SENSOR_ORIENTATION = common.MAV_SENSOR_ROTATION_ROLL_90
	// Roll: 90, Pitch: 0, Yaw: 45
	MAV_SENSOR_ROTATION_ROLL_90_YAW_45 MAV_SENSOR_ORIENTATION = common.MAV_SENSOR_ROTATION_ROLL_90_YAW_45
	// Roll: 90, Pitch: 0, Yaw: 90
	MAV_SENSOR_ROTATION_ROLL_90_YAW_90 MAV_SENSOR_ORIENTATION = common.MAV_SENSOR_ROTATION_ROLL_90_YAW_90
	// Roll: 90, Pitch: 0, Yaw: 135
	MAV_SENSOR_ROTATION_ROLL_90_YAW_135 MAV_SENSOR_ORIENTATION = common.MAV_SENSOR_ROTATION_ROLL_90_YAW_135
	// Roll: 270, Pitch: 0, Yaw: 0
	MAV_SENSOR_ROTATION_ROLL_270 MAV_SENSOR_ORIENTATION = common.MAV_SENSOR_ROTATION_ROLL_270
	// Roll: 270, Pitch: 0, Yaw: 45
	MAV_SENSOR_ROTATION_ROLL_270_YAW_45 MAV_SENSOR_ORIENTATION = common.MAV_SENSOR_ROTATION_ROLL_270_YAW_45
	// Roll: 270, Pitch: 0, Yaw: 90
	MAV_SENSOR_ROTATION_ROLL_270_YAW_90 MAV_SENSOR_ORIENTATION = common.MAV_SENSOR_ROTATION_ROLL_270_YAW_90
	// Roll: 270, Pitch: 0, Yaw: 135
	MAV_SENSOR_ROTATION_ROLL_270_YAW_135 MAV_SENSOR_ORIENTATION = common.MAV_SENSOR_ROTATION_ROLL_270_YAW_135
	// Roll: 0, Pitch: 90, Yaw: 0
	MAV_SENSOR_ROTATION_PITCH_90 MAV_SENSOR_ORIENTATION = common.MAV_SENSOR_ROTATION_PITCH_90
	// Roll: 0, Pitch: 270, Yaw: 0
	MAV_SENSOR_ROTATION_PITCH_270 MAV_SENSOR_ORIENTATION = common.MAV_SENSOR_ROTATION_PITCH_270
	// Roll: 0, Pitch: 180, Yaw: 90
	MAV_SENSOR_ROTATION_PITCH_180_YAW_90 MAV_SENSOR_ORIENTATION = common.MAV_SENSOR_ROTATION_PITCH_180_YAW_90
	// Roll: 0, Pitch: 180, Yaw: 270
	MAV_SENSOR_ROTATION_PITCH_180_YAW_270 MAV_SENSOR_ORIENTATION = common.MAV_SENSOR_ROTATION_PITCH_180_YAW_270
	// Roll: 90, Pitch: 90, Yaw: 0
	MAV_SENSOR_ROTATION_ROLL_90_PITCH_90 MAV_SENSOR_ORIENTATION = common.MAV_SENSOR_ROTATION_ROLL_90_PITCH_90
	// Roll: 180, Pitch: 90, Yaw: 0
	MAV_SENSOR_ROTATION_ROLL_180_PITCH_90 MAV_SENSOR_ORIENTATION = common.MAV_SENSOR_ROTATION_ROLL_180_PITCH_90
	// Roll: 270, Pitch: 90, Yaw: 0
	MAV_SENSOR_ROTATION_ROLL_270_PITCH_90 MAV_SENSOR_ORIENTATION = common.MAV_SENSOR_ROTATION_ROLL_270_PITCH_90
	// Roll: 90, Pitch: 180, Yaw: 0
	MAV_SENSOR_ROTATION_ROLL_90_PITCH_180 MAV_SENSOR_ORIENTATION = common.MAV_SENSOR_ROTATION_ROLL_90_PITCH_180
	// Roll: 270, Pitch: 180, Yaw: 0
	MAV_SENSOR_ROTATION_ROLL_270_PITCH_180 MAV_SENSOR_ORIENTATION = common.MAV_SENSOR_ROTATION_ROLL_270_PITCH_180
	// Roll: 90, Pitch: 270, Yaw: 0
	MAV_SENSOR_ROTATION_ROLL_90_PITCH_270 MAV_SENSOR_ORIENTATION = common.MAV_SENSOR_ROTATION_ROLL_90_PITCH_270
	// Roll: 180, Pitch: 270, Yaw: 0
	MAV_SENSOR_ROTATION_ROLL_180_PITCH_270 MAV_SENSOR_ORIENTATION = common.MAV_SENSOR_ROTATION_ROLL_180_PITCH_270
	// Roll: 270, Pitch: 270, Yaw: 0
	MAV_SENSOR_ROTATION_ROLL_270_PITCH_270 MAV_SENSOR_ORIENTATION = common.MAV_SENSOR_ROTATION_ROLL_270_PITCH_270
	// Roll: 90, Pitch: 180, Yaw: 90
	MAV_SENSOR_ROTATION_ROLL_90_PITCH_180_YAW_90 MAV_SENSOR_ORIENTATION = common.MAV_SENSOR_ROTATION_ROLL_90_PITCH_180_YAW_90
	// Roll: 90, Pitch: 0, Yaw: 270
	MAV_SENSOR_ROTATION_ROLL_90_YAW_270 MAV_SENSOR_ORIENTATION = common.MAV_SENSOR_ROTATION_ROLL_90_YAW_270
	// Roll: 90, Pitch: 68, Yaw: 293
	MAV_SENSOR_ROTATION_ROLL_90_PITCH_68_YAW_293 MAV_SENSOR_ORIENTATION = common.MAV_SENSOR_ROTATION_ROLL_90_PITCH_68_YAW_293
	// Pitch: 315
	MAV_SENSOR_ROTATION_PITCH_315 MAV_SENSOR_ORIENTATION = common.MAV_SENSOR_ROTATION_PITCH_315
	// Roll: 90, Pitch: 315
	MAV_SENSOR_ROTATION_ROLL_90_PITCH_315 MAV_SENSOR_ORIENTATION = common.MAV_SENSOR_ROTATION_ROLL_90_PITCH_315
	// Custom orientation
	MAV_SENSOR_ROTATION_CUSTOM MAV_SENSOR_ORIENTATION = common.MAV_SENSOR_ROTATION_CUSTOM
)

type MAV_SEVERITY ¶

type MAV_SEVERITY = common.MAV_SEVERITY

Indicates the severity level, generally used for status messages to indicate their relative urgency. Based on RFC-5424 using expanded definitions at: http://www.kiwisyslog.com/kb/info:-syslog-message-levels/.

const (
	// System is unusable. This is a "panic" condition.
	MAV_SEVERITY_EMERGENCY MAV_SEVERITY = common.MAV_SEVERITY_EMERGENCY
	// Action should be taken immediately. Indicates error in non-critical systems.
	MAV_SEVERITY_ALERT MAV_SEVERITY = common.MAV_SEVERITY_ALERT
	// Action must be taken immediately. Indicates failure in a primary system.
	MAV_SEVERITY_CRITICAL MAV_SEVERITY = common.MAV_SEVERITY_CRITICAL
	// Indicates an error in secondary/redundant systems.
	MAV_SEVERITY_ERROR MAV_SEVERITY = common.MAV_SEVERITY_ERROR
	// Indicates about a possible future error if this is not resolved within a given timeframe. Example would be a low battery warning.
	MAV_SEVERITY_WARNING MAV_SEVERITY = common.MAV_SEVERITY_WARNING
	// An unusual event has occurred, though not an error condition. This should be investigated for the root cause.
	MAV_SEVERITY_NOTICE MAV_SEVERITY = common.MAV_SEVERITY_NOTICE
	// Normal operational messages. Useful for logging. No action is required for these messages.
	MAV_SEVERITY_INFO MAV_SEVERITY = common.MAV_SEVERITY_INFO
	// Useful non-operational messages that can assist in debugging. These should not occur during normal operation.
	MAV_SEVERITY_DEBUG MAV_SEVERITY = common.MAV_SEVERITY_DEBUG
)

type MAV_STATE ¶

type MAV_STATE = minimal.MAV_STATE
const (
	// Uninitialized system, state is unknown.
	MAV_STATE_UNINIT MAV_STATE = minimal.MAV_STATE_UNINIT
	// System is booting up.
	MAV_STATE_BOOT MAV_STATE = minimal.MAV_STATE_BOOT
	// System is calibrating and not flight-ready.
	MAV_STATE_CALIBRATING MAV_STATE = minimal.MAV_STATE_CALIBRATING
	// System is grounded and on standby. It can be launched any time.
	MAV_STATE_STANDBY MAV_STATE = minimal.MAV_STATE_STANDBY
	// System is active and might be already airborne. Motors are engaged.
	MAV_STATE_ACTIVE MAV_STATE = minimal.MAV_STATE_ACTIVE
	// System is in a non-normal flight mode. It can however still navigate.
	MAV_STATE_CRITICAL MAV_STATE = minimal.MAV_STATE_CRITICAL
	// System is in a non-normal flight mode. It lost control over parts or over the whole airframe. It is in mayday and going down.
	MAV_STATE_EMERGENCY MAV_STATE = minimal.MAV_STATE_EMERGENCY
	// System just initialized its power-down sequence, will shut down now.
	MAV_STATE_POWEROFF MAV_STATE = minimal.MAV_STATE_POWEROFF
	// System is terminating itself.
	MAV_STATE_FLIGHT_TERMINATION MAV_STATE = minimal.MAV_STATE_FLIGHT_TERMINATION
)

type MAV_SYS_STATUS_SENSOR ¶

type MAV_SYS_STATUS_SENSOR = common.MAV_SYS_STATUS_SENSOR

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

const (
	// 0x01 3D gyro
	MAV_SYS_STATUS_SENSOR_3D_GYRO MAV_SYS_STATUS_SENSOR = common.MAV_SYS_STATUS_SENSOR_3D_GYRO
	// 0x02 3D accelerometer
	MAV_SYS_STATUS_SENSOR_3D_ACCEL MAV_SYS_STATUS_SENSOR = common.MAV_SYS_STATUS_SENSOR_3D_ACCEL
	// 0x04 3D magnetometer
	MAV_SYS_STATUS_SENSOR_3D_MAG MAV_SYS_STATUS_SENSOR = common.MAV_SYS_STATUS_SENSOR_3D_MAG
	// 0x08 absolute pressure
	MAV_SYS_STATUS_SENSOR_ABSOLUTE_PRESSURE MAV_SYS_STATUS_SENSOR = common.MAV_SYS_STATUS_SENSOR_ABSOLUTE_PRESSURE
	// 0x10 differential pressure
	MAV_SYS_STATUS_SENSOR_DIFFERENTIAL_PRESSURE MAV_SYS_STATUS_SENSOR = common.MAV_SYS_STATUS_SENSOR_DIFFERENTIAL_PRESSURE
	// 0x20 GPS
	MAV_SYS_STATUS_SENSOR_GPS MAV_SYS_STATUS_SENSOR = common.MAV_SYS_STATUS_SENSOR_GPS
	// 0x40 optical flow
	MAV_SYS_STATUS_SENSOR_OPTICAL_FLOW MAV_SYS_STATUS_SENSOR = common.MAV_SYS_STATUS_SENSOR_OPTICAL_FLOW
	// 0x80 computer vision position
	MAV_SYS_STATUS_SENSOR_VISION_POSITION MAV_SYS_STATUS_SENSOR = common.MAV_SYS_STATUS_SENSOR_VISION_POSITION
	// 0x100 laser based position
	MAV_SYS_STATUS_SENSOR_LASER_POSITION MAV_SYS_STATUS_SENSOR = common.MAV_SYS_STATUS_SENSOR_LASER_POSITION
	// 0x200 external ground truth (Vicon or Leica)
	MAV_SYS_STATUS_SENSOR_EXTERNAL_GROUND_TRUTH MAV_SYS_STATUS_SENSOR = common.MAV_SYS_STATUS_SENSOR_EXTERNAL_GROUND_TRUTH
	// 0x400 3D angular rate control
	MAV_SYS_STATUS_SENSOR_ANGULAR_RATE_CONTROL MAV_SYS_STATUS_SENSOR = common.MAV_SYS_STATUS_SENSOR_ANGULAR_RATE_CONTROL
	// 0x800 attitude stabilization
	MAV_SYS_STATUS_SENSOR_ATTITUDE_STABILIZATION MAV_SYS_STATUS_SENSOR = common.MAV_SYS_STATUS_SENSOR_ATTITUDE_STABILIZATION
	// 0x1000 yaw position
	MAV_SYS_STATUS_SENSOR_YAW_POSITION MAV_SYS_STATUS_SENSOR = common.MAV_SYS_STATUS_SENSOR_YAW_POSITION
	// 0x2000 z/altitude control
	MAV_SYS_STATUS_SENSOR_Z_ALTITUDE_CONTROL MAV_SYS_STATUS_SENSOR = common.MAV_SYS_STATUS_SENSOR_Z_ALTITUDE_CONTROL
	// 0x4000 x/y position control
	MAV_SYS_STATUS_SENSOR_XY_POSITION_CONTROL MAV_SYS_STATUS_SENSOR = common.MAV_SYS_STATUS_SENSOR_XY_POSITION_CONTROL
	// 0x8000 motor outputs / control
	MAV_SYS_STATUS_SENSOR_MOTOR_OUTPUTS MAV_SYS_STATUS_SENSOR = common.MAV_SYS_STATUS_SENSOR_MOTOR_OUTPUTS
	// 0x10000 rc receiver
	MAV_SYS_STATUS_SENSOR_RC_RECEIVER MAV_SYS_STATUS_SENSOR = common.MAV_SYS_STATUS_SENSOR_RC_RECEIVER
	// 0x20000 2nd 3D gyro
	MAV_SYS_STATUS_SENSOR_3D_GYRO2 MAV_SYS_STATUS_SENSOR = common.MAV_SYS_STATUS_SENSOR_3D_GYRO2
	// 0x40000 2nd 3D accelerometer
	MAV_SYS_STATUS_SENSOR_3D_ACCEL2 MAV_SYS_STATUS_SENSOR = common.MAV_SYS_STATUS_SENSOR_3D_ACCEL2
	// 0x80000 2nd 3D magnetometer
	MAV_SYS_STATUS_SENSOR_3D_MAG2 MAV_SYS_STATUS_SENSOR = common.MAV_SYS_STATUS_SENSOR_3D_MAG2
	// 0x100000 geofence
	MAV_SYS_STATUS_GEOFENCE MAV_SYS_STATUS_SENSOR = common.MAV_SYS_STATUS_GEOFENCE
	// 0x200000 AHRS subsystem health
	MAV_SYS_STATUS_AHRS MAV_SYS_STATUS_SENSOR = common.MAV_SYS_STATUS_AHRS
	// 0x400000 Terrain subsystem health
	MAV_SYS_STATUS_TERRAIN MAV_SYS_STATUS_SENSOR = common.MAV_SYS_STATUS_TERRAIN
	// 0x800000 Motors are reversed
	MAV_SYS_STATUS_REVERSE_MOTOR MAV_SYS_STATUS_SENSOR = common.MAV_SYS_STATUS_REVERSE_MOTOR
	// 0x1000000 Logging
	MAV_SYS_STATUS_LOGGING MAV_SYS_STATUS_SENSOR = common.MAV_SYS_STATUS_LOGGING
	// 0x2000000 Battery
	MAV_SYS_STATUS_SENSOR_BATTERY MAV_SYS_STATUS_SENSOR = common.MAV_SYS_STATUS_SENSOR_BATTERY
	// 0x4000000 Proximity
	MAV_SYS_STATUS_SENSOR_PROXIMITY MAV_SYS_STATUS_SENSOR = common.MAV_SYS_STATUS_SENSOR_PROXIMITY
	// 0x8000000 Satellite Communication
	MAV_SYS_STATUS_SENSOR_SATCOM MAV_SYS_STATUS_SENSOR = common.MAV_SYS_STATUS_SENSOR_SATCOM
	// 0x10000000 pre-arm check status. Always healthy when armed
	MAV_SYS_STATUS_PREARM_CHECK MAV_SYS_STATUS_SENSOR = common.MAV_SYS_STATUS_PREARM_CHECK
	// 0x20000000 Avoidance/collision prevention
	MAV_SYS_STATUS_OBSTACLE_AVOIDANCE MAV_SYS_STATUS_SENSOR = common.MAV_SYS_STATUS_OBSTACLE_AVOIDANCE
	// 0x40000000 propulsion (actuator, esc, motor or propellor)
	MAV_SYS_STATUS_SENSOR_PROPULSION MAV_SYS_STATUS_SENSOR = common.MAV_SYS_STATUS_SENSOR_PROPULSION
	// 0x80000000 Extended bit-field are used for further sensor status bits (needs to be set in onboard_control_sensors_present only)
	MAV_SYS_STATUS_EXTENSION_USED MAV_SYS_STATUS_SENSOR = common.MAV_SYS_STATUS_EXTENSION_USED
)

type MAV_SYS_STATUS_SENSOR_EXTENDED ¶

type MAV_SYS_STATUS_SENSOR_EXTENDED = common.MAV_SYS_STATUS_SENSOR_EXTENDED

These encode the sensors whose status is sent as part of the SYS_STATUS message in the extended fields.

const (
	// 0x01 Recovery system (parachute, balloon, retracts etc)
	MAV_SYS_STATUS_RECOVERY_SYSTEM MAV_SYS_STATUS_SENSOR_EXTENDED = common.MAV_SYS_STATUS_RECOVERY_SYSTEM
)

type MAV_TUNNEL_PAYLOAD_TYPE ¶

type MAV_TUNNEL_PAYLOAD_TYPE = common.MAV_TUNNEL_PAYLOAD_TYPE
const (
	// Encoding of payload unknown.
	MAV_TUNNEL_PAYLOAD_TYPE_UNKNOWN MAV_TUNNEL_PAYLOAD_TYPE = common.MAV_TUNNEL_PAYLOAD_TYPE_UNKNOWN
	// Registered for STorM32 gimbal controller.
	MAV_TUNNEL_PAYLOAD_TYPE_STORM32_RESERVED0 MAV_TUNNEL_PAYLOAD_TYPE = common.MAV_TUNNEL_PAYLOAD_TYPE_STORM32_RESERVED0
	// Registered for STorM32 gimbal controller.
	MAV_TUNNEL_PAYLOAD_TYPE_STORM32_RESERVED1 MAV_TUNNEL_PAYLOAD_TYPE = common.MAV_TUNNEL_PAYLOAD_TYPE_STORM32_RESERVED1
	// Registered for STorM32 gimbal controller.
	MAV_TUNNEL_PAYLOAD_TYPE_STORM32_RESERVED2 MAV_TUNNEL_PAYLOAD_TYPE = common.MAV_TUNNEL_PAYLOAD_TYPE_STORM32_RESERVED2
	// Registered for STorM32 gimbal controller.
	MAV_TUNNEL_PAYLOAD_TYPE_STORM32_RESERVED3 MAV_TUNNEL_PAYLOAD_TYPE = common.MAV_TUNNEL_PAYLOAD_TYPE_STORM32_RESERVED3
	// Registered for STorM32 gimbal controller.
	MAV_TUNNEL_PAYLOAD_TYPE_STORM32_RESERVED4 MAV_TUNNEL_PAYLOAD_TYPE = common.MAV_TUNNEL_PAYLOAD_TYPE_STORM32_RESERVED4
	// Registered for STorM32 gimbal controller.
	MAV_TUNNEL_PAYLOAD_TYPE_STORM32_RESERVED5 MAV_TUNNEL_PAYLOAD_TYPE = common.MAV_TUNNEL_PAYLOAD_TYPE_STORM32_RESERVED5
	// Registered for STorM32 gimbal controller.
	MAV_TUNNEL_PAYLOAD_TYPE_STORM32_RESERVED6 MAV_TUNNEL_PAYLOAD_TYPE = common.MAV_TUNNEL_PAYLOAD_TYPE_STORM32_RESERVED6
	// Registered for STorM32 gimbal controller.
	MAV_TUNNEL_PAYLOAD_TYPE_STORM32_RESERVED7 MAV_TUNNEL_PAYLOAD_TYPE = common.MAV_TUNNEL_PAYLOAD_TYPE_STORM32_RESERVED7
	// Registered for STorM32 gimbal controller.
	MAV_TUNNEL_PAYLOAD_TYPE_STORM32_RESERVED8 MAV_TUNNEL_PAYLOAD_TYPE = common.MAV_TUNNEL_PAYLOAD_TYPE_STORM32_RESERVED8
	// Registered for STorM32 gimbal controller.
	MAV_TUNNEL_PAYLOAD_TYPE_STORM32_RESERVED9 MAV_TUNNEL_PAYLOAD_TYPE = common.MAV_TUNNEL_PAYLOAD_TYPE_STORM32_RESERVED9
)

type MAV_TYPE ¶

type MAV_TYPE = minimal.MAV_TYPE

MAVLINK component type reported in HEARTBEAT message. Flight controllers must report the type of the vehicle on which they are mounted (e.g. MAV_TYPE_OCTOROTOR). All other components must report a value appropriate for their type (e.g. a camera must use MAV_TYPE_CAMERA).

const (
	// Generic micro air vehicle
	MAV_TYPE_GENERIC MAV_TYPE = minimal.MAV_TYPE_GENERIC
	// Fixed wing aircraft.
	MAV_TYPE_FIXED_WING MAV_TYPE = minimal.MAV_TYPE_FIXED_WING
	// Quadrotor
	MAV_TYPE_QUADROTOR MAV_TYPE = minimal.MAV_TYPE_QUADROTOR
	// Coaxial helicopter
	MAV_TYPE_COAXIAL MAV_TYPE = minimal.MAV_TYPE_COAXIAL
	// Normal helicopter with tail rotor.
	MAV_TYPE_HELICOPTER MAV_TYPE = minimal.MAV_TYPE_HELICOPTER
	// Ground installation
	MAV_TYPE_ANTENNA_TRACKER MAV_TYPE = minimal.MAV_TYPE_ANTENNA_TRACKER
	// Operator control unit / ground control station
	MAV_TYPE_GCS MAV_TYPE = minimal.MAV_TYPE_GCS
	// Airship, controlled
	MAV_TYPE_AIRSHIP MAV_TYPE = minimal.MAV_TYPE_AIRSHIP
	// Free balloon, uncontrolled
	MAV_TYPE_FREE_BALLOON MAV_TYPE = minimal.MAV_TYPE_FREE_BALLOON
	// Rocket
	MAV_TYPE_ROCKET MAV_TYPE = minimal.MAV_TYPE_ROCKET
	// Ground rover
	MAV_TYPE_GROUND_ROVER MAV_TYPE = minimal.MAV_TYPE_GROUND_ROVER
	// Surface vessel, boat, ship
	MAV_TYPE_SURFACE_BOAT MAV_TYPE = minimal.MAV_TYPE_SURFACE_BOAT
	// Submarine
	MAV_TYPE_SUBMARINE MAV_TYPE = minimal.MAV_TYPE_SUBMARINE
	// Hexarotor
	MAV_TYPE_HEXAROTOR MAV_TYPE = minimal.MAV_TYPE_HEXAROTOR
	// Octorotor
	MAV_TYPE_OCTOROTOR MAV_TYPE = minimal.MAV_TYPE_OCTOROTOR
	// Tricopter
	MAV_TYPE_TRICOPTER MAV_TYPE = minimal.MAV_TYPE_TRICOPTER
	// Flapping wing
	MAV_TYPE_FLAPPING_WING MAV_TYPE = minimal.MAV_TYPE_FLAPPING_WING
	// Kite
	MAV_TYPE_KITE MAV_TYPE = minimal.MAV_TYPE_KITE
	// Onboard companion controller
	MAV_TYPE_ONBOARD_CONTROLLER MAV_TYPE = minimal.MAV_TYPE_ONBOARD_CONTROLLER
	// Two-rotor Tailsitter VTOL that additionally uses control surfaces in vertical operation. Note, value previously named MAV_TYPE_VTOL_DUOROTOR.
	MAV_TYPE_VTOL_TAILSITTER_DUOROTOR MAV_TYPE = minimal.MAV_TYPE_VTOL_TAILSITTER_DUOROTOR
	// Quad-rotor Tailsitter VTOL using a V-shaped quad config in vertical operation. Note: value previously named MAV_TYPE_VTOL_QUADROTOR.
	MAV_TYPE_VTOL_TAILSITTER_QUADROTOR MAV_TYPE = minimal.MAV_TYPE_VTOL_TAILSITTER_QUADROTOR
	// Tiltrotor VTOL. Fuselage and wings stay (nominally) horizontal in all flight phases. It able to tilt (some) rotors to provide thrust in cruise flight.
	MAV_TYPE_VTOL_TILTROTOR MAV_TYPE = minimal.MAV_TYPE_VTOL_TILTROTOR
	// VTOL with separate fixed rotors for hover and cruise flight. Fuselage and wings stay (nominally) horizontal in all flight phases.
	MAV_TYPE_VTOL_FIXEDROTOR MAV_TYPE = minimal.MAV_TYPE_VTOL_FIXEDROTOR
	// Tailsitter VTOL. Fuselage and wings orientation changes depending on flight phase: vertical for hover, horizontal for cruise. Use more specific VTOL MAV_TYPE_VTOL_DUOROTOR or MAV_TYPE_VTOL_QUADROTOR if appropriate.
	MAV_TYPE_VTOL_TAILSITTER MAV_TYPE = minimal.MAV_TYPE_VTOL_TAILSITTER
	// Tiltwing VTOL. Fuselage stays horizontal in all flight phases. The whole wing, along with any attached engine, can tilt between vertical and horizontal mode.
	MAV_TYPE_VTOL_TILTWING MAV_TYPE = minimal.MAV_TYPE_VTOL_TILTWING
	// VTOL reserved 5
	MAV_TYPE_VTOL_RESERVED5 MAV_TYPE = minimal.MAV_TYPE_VTOL_RESERVED5
	// Gimbal
	MAV_TYPE_GIMBAL MAV_TYPE = minimal.MAV_TYPE_GIMBAL
	// ADSB system
	MAV_TYPE_ADSB MAV_TYPE = minimal.MAV_TYPE_ADSB
	// Steerable, nonrigid airfoil
	MAV_TYPE_PARAFOIL MAV_TYPE = minimal.MAV_TYPE_PARAFOIL
	// Dodecarotor
	MAV_TYPE_DODECAROTOR MAV_TYPE = minimal.MAV_TYPE_DODECAROTOR
	// Camera
	MAV_TYPE_CAMERA MAV_TYPE = minimal.MAV_TYPE_CAMERA
	// Charging station
	MAV_TYPE_CHARGING_STATION MAV_TYPE = minimal.MAV_TYPE_CHARGING_STATION
	// FLARM collision avoidance system
	MAV_TYPE_FLARM MAV_TYPE = minimal.MAV_TYPE_FLARM
	// Servo
	MAV_TYPE_SERVO MAV_TYPE = minimal.MAV_TYPE_SERVO
	// Open Drone ID. See https://mavlink.io/en/services/opendroneid.html.
	MAV_TYPE_ODID MAV_TYPE = minimal.MAV_TYPE_ODID
	// Decarotor
	MAV_TYPE_DECAROTOR MAV_TYPE = minimal.MAV_TYPE_DECAROTOR
	// Battery
	MAV_TYPE_BATTERY MAV_TYPE = minimal.MAV_TYPE_BATTERY
	// Parachute
	MAV_TYPE_PARACHUTE MAV_TYPE = minimal.MAV_TYPE_PARACHUTE
	// Log
	MAV_TYPE_LOG MAV_TYPE = minimal.MAV_TYPE_LOG
	// OSD
	MAV_TYPE_OSD MAV_TYPE = minimal.MAV_TYPE_OSD
	// IMU
	MAV_TYPE_IMU MAV_TYPE = minimal.MAV_TYPE_IMU
	// GPS
	MAV_TYPE_GPS MAV_TYPE = minimal.MAV_TYPE_GPS
	// Winch
	MAV_TYPE_WINCH MAV_TYPE = minimal.MAV_TYPE_WINCH
)

type MAV_VTOL_STATE ¶

type MAV_VTOL_STATE = common.MAV_VTOL_STATE

Enumeration of VTOL states

const (
	// MAV is not configured as VTOL
	MAV_VTOL_STATE_UNDEFINED MAV_VTOL_STATE = common.MAV_VTOL_STATE_UNDEFINED
	// VTOL is in transition from multicopter to fixed-wing
	MAV_VTOL_STATE_TRANSITION_TO_FW MAV_VTOL_STATE = common.MAV_VTOL_STATE_TRANSITION_TO_FW
	// VTOL is in transition from fixed-wing to multicopter
	MAV_VTOL_STATE_TRANSITION_TO_MC MAV_VTOL_STATE = common.MAV_VTOL_STATE_TRANSITION_TO_MC
	// VTOL is in multicopter state
	MAV_VTOL_STATE_MC MAV_VTOL_STATE = common.MAV_VTOL_STATE_MC
	// VTOL is in fixed-wing state
	MAV_VTOL_STATE_FW MAV_VTOL_STATE = common.MAV_VTOL_STATE_FW
)

type MAV_WINCH_STATUS_FLAG ¶

type MAV_WINCH_STATUS_FLAG = common.MAV_WINCH_STATUS_FLAG

Winch status flags used in WINCH_STATUS

const (
	// Winch is healthy
	MAV_WINCH_STATUS_HEALTHY MAV_WINCH_STATUS_FLAG = common.MAV_WINCH_STATUS_HEALTHY
	// Winch line is fully retracted
	MAV_WINCH_STATUS_FULLY_RETRACTED MAV_WINCH_STATUS_FLAG = common.MAV_WINCH_STATUS_FULLY_RETRACTED
	// Winch motor is moving
	MAV_WINCH_STATUS_MOVING MAV_WINCH_STATUS_FLAG = common.MAV_WINCH_STATUS_MOVING
	// Winch clutch is engaged allowing motor to move freely.
	MAV_WINCH_STATUS_CLUTCH_ENGAGED MAV_WINCH_STATUS_FLAG = common.MAV_WINCH_STATUS_CLUTCH_ENGAGED
	// Winch is locked by locking mechanism.
	MAV_WINCH_STATUS_LOCKED MAV_WINCH_STATUS_FLAG = common.MAV_WINCH_STATUS_LOCKED
	// Winch is gravity dropping payload.
	MAV_WINCH_STATUS_DROPPING MAV_WINCH_STATUS_FLAG = common.MAV_WINCH_STATUS_DROPPING
	// Winch is arresting payload descent.
	MAV_WINCH_STATUS_ARRESTING MAV_WINCH_STATUS_FLAG = common.MAV_WINCH_STATUS_ARRESTING
	// Winch is using torque measurements to sense the ground.
	MAV_WINCH_STATUS_GROUND_SENSE MAV_WINCH_STATUS_FLAG = common.MAV_WINCH_STATUS_GROUND_SENSE
	// Winch is returning to the fully retracted position.
	MAV_WINCH_STATUS_RETRACTING MAV_WINCH_STATUS_FLAG = common.MAV_WINCH_STATUS_RETRACTING
	// Winch is redelivering the payload. This is a failover state if the line tension goes above a threshold during RETRACTING.
	MAV_WINCH_STATUS_REDELIVER MAV_WINCH_STATUS_FLAG = common.MAV_WINCH_STATUS_REDELIVER
	// Winch is abandoning the line and possibly payload. Winch unspools the entire calculated line length. This is a failover state from REDELIVER if the number of attempts exceeds a threshold.
	MAV_WINCH_STATUS_ABANDON_LINE MAV_WINCH_STATUS_FLAG = common.MAV_WINCH_STATUS_ABANDON_LINE
	// Winch is engaging the locking mechanism.
	MAV_WINCH_STATUS_LOCKING MAV_WINCH_STATUS_FLAG = common.MAV_WINCH_STATUS_LOCKING
	// Winch is spooling on line.
	MAV_WINCH_STATUS_LOAD_LINE MAV_WINCH_STATUS_FLAG = common.MAV_WINCH_STATUS_LOAD_LINE
	// Winch is loading a payload.
	MAV_WINCH_STATUS_LOAD_PAYLOAD MAV_WINCH_STATUS_FLAG = common.MAV_WINCH_STATUS_LOAD_PAYLOAD
)

type MISSION_STATE ¶

type MISSION_STATE = common.MISSION_STATE

States of the mission state machine. Note that these states are independent of whether the mission is in a mode that can execute mission items or not (is suspended). They may not all be relevant on all vehicles.

const (
	// The mission status reporting is not supported.
	MISSION_STATE_UNKNOWN MISSION_STATE = common.MISSION_STATE_UNKNOWN
	// No mission on the vehicle.
	MISSION_STATE_NO_MISSION MISSION_STATE = common.MISSION_STATE_NO_MISSION
	// Mission has not started. This is the case after a mission has uploaded but not yet started executing.
	MISSION_STATE_NOT_STARTED MISSION_STATE = common.MISSION_STATE_NOT_STARTED
	// Mission is active, and will execute mission items when in auto mode.
	MISSION_STATE_ACTIVE MISSION_STATE = common.MISSION_STATE_ACTIVE
	// Mission is paused when in auto mode.
	MISSION_STATE_PAUSED MISSION_STATE = common.MISSION_STATE_PAUSED
	// Mission has executed all mission items.
	MISSION_STATE_COMPLETE MISSION_STATE = common.MISSION_STATE_COMPLETE
)

type MOTOR_TEST_ORDER ¶

type MOTOR_TEST_ORDER = common.MOTOR_TEST_ORDER

Sequence that motors are tested when using MAV_CMD_DO_MOTOR_TEST.

const (
	// Default autopilot motor test method.
	MOTOR_TEST_ORDER_DEFAULT MOTOR_TEST_ORDER = common.MOTOR_TEST_ORDER_DEFAULT
	// Motor numbers are specified as their index in a predefined vehicle-specific sequence.
	MOTOR_TEST_ORDER_SEQUENCE MOTOR_TEST_ORDER = common.MOTOR_TEST_ORDER_SEQUENCE
	// Motor numbers are specified as the output as labeled on the board.
	MOTOR_TEST_ORDER_BOARD MOTOR_TEST_ORDER = common.MOTOR_TEST_ORDER_BOARD
)

type MOTOR_TEST_THROTTLE_TYPE ¶

type MOTOR_TEST_THROTTLE_TYPE = common.MOTOR_TEST_THROTTLE_TYPE

Defines how throttle value is represented in MAV_CMD_DO_MOTOR_TEST.

const (
	// Throttle as a percentage (0 ~ 100)
	MOTOR_TEST_THROTTLE_PERCENT MOTOR_TEST_THROTTLE_TYPE = common.MOTOR_TEST_THROTTLE_PERCENT
	// Throttle as an absolute PWM value (normally in range of 1000~2000).
	MOTOR_TEST_THROTTLE_PWM MOTOR_TEST_THROTTLE_TYPE = common.MOTOR_TEST_THROTTLE_PWM
	// Throttle pass-through from pilot's transmitter.
	MOTOR_TEST_THROTTLE_PILOT MOTOR_TEST_THROTTLE_TYPE = common.MOTOR_TEST_THROTTLE_PILOT
	// Per-motor compass calibration test.
	MOTOR_TEST_COMPASS_CAL MOTOR_TEST_THROTTLE_TYPE = common.MOTOR_TEST_COMPASS_CAL
)

type MessageActuatorControlTarget ¶

type MessageActuatorControlTarget = common.MessageActuatorControlTarget

Set the vehicle attitude and body angular rates.

type MessageActuatorOutputStatus ¶

type MessageActuatorOutputStatus = common.MessageActuatorOutputStatus

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

type MessageAdapTuning ¶

type MessageAdapTuning struct {
	// Axis.
	Axis PID_TUNING_AXIS `mavenum:"uint8"`
	// Desired rate.
	Desired float32
	// Achieved rate.
	Achieved float32
	// Error between model and vehicle.
	Error float32
	// Theta estimated state predictor.
	Theta float32
	// Omega estimated state predictor.
	Omega float32
	// Sigma estimated state predictor.
	Sigma float32
	// Theta derivative.
	ThetaDot float32
	// Omega derivative.
	OmegaDot float32
	// Sigma derivative.
	SigmaDot float32
	// Projection operator value.
	F float32
	// Projection operator derivative.
	FDot float32
	// u adaptive controlled output command.
	U float32
}

Adaptive Controller tuning information.

func (*MessageAdapTuning) GetID ¶

func (*MessageAdapTuning) GetID() uint32

GetID implements the message.Message interface.

type MessageAdsbVehicle ¶

type MessageAdsbVehicle = common.MessageAdsbVehicle

The location and information of an ADSB vehicle

type MessageAhrs ¶

type MessageAhrs struct {
	// X gyro drift estimate.
	Omegaix float32 `mavname:"omegaIx"`
	// Y gyro drift estimate.
	Omegaiy float32 `mavname:"omegaIy"`
	// Z gyro drift estimate.
	Omegaiz float32 `mavname:"omegaIz"`
	// Average accel_weight.
	AccelWeight float32
	// Average renormalisation value.
	RenormVal float32
	// Average error_roll_pitch value.
	ErrorRp float32
	// Average error_yaw value.
	ErrorYaw float32
}

Status of DCM attitude estimator.

func (*MessageAhrs) GetID ¶

func (*MessageAhrs) GetID() uint32

GetID implements the message.Message interface.

type MessageAhrs2 ¶

type MessageAhrs2 struct {
	// Roll angle.
	Roll float32
	// Pitch angle.
	Pitch float32
	// Yaw angle.
	Yaw float32
	// Altitude (MSL).
	Altitude float32
	// Latitude.
	Lat int32
	// Longitude.
	Lng int32
}

Status of secondary AHRS filter if available.

func (*MessageAhrs2) GetID ¶

func (*MessageAhrs2) GetID() uint32

GetID implements the message.Message interface.

type MessageAhrs3 ¶

type MessageAhrs3 struct {
	// Roll angle.
	Roll float32
	// Pitch angle.
	Pitch float32
	// Yaw angle.
	Yaw float32
	// Altitude (MSL).
	Altitude float32
	// Latitude.
	Lat int32
	// Longitude.
	Lng int32
	// Test variable1.
	V1 float32
	// Test variable2.
	V2 float32
	// Test variable3.
	V3 float32
	// Test variable4.
	V4 float32
}

Status of third AHRS filter if available. This is for ANU research group (Ali and Sean).

func (*MessageAhrs3) GetID ¶

func (*MessageAhrs3) GetID() uint32

GetID implements the message.Message interface.

type MessageAirspeedAutocal ¶

type MessageAirspeedAutocal struct {
	// GPS velocity north.
	Vx float32
	// GPS velocity east.
	Vy float32
	// GPS velocity down.
	Vz float32
	// Differential pressure.
	DiffPressure float32
	// Estimated to true airspeed ratio.
	Eas2tas float32 `mavname:"EAS2TAS"`
	// Airspeed ratio.
	Ratio float32
	// EKF state x.
	StateX float32
	// EKF state y.
	StateY float32
	// EKF state z.
	StateZ float32
	// EKF Pax.
	Pax float32 `mavname:"Pax"`
	// EKF Pby.
	Pby float32 `mavname:"Pby"`
	// EKF Pcz.
	Pcz float32 `mavname:"Pcz"`
}

Airspeed auto-calibration.

func (*MessageAirspeedAutocal) GetID ¶

func (*MessageAirspeedAutocal) GetID() uint32

GetID implements the message.Message interface.

type MessageAisVessel ¶

type MessageAisVessel = common.MessageAisVessel

The location and information of an AIS vessel

type MessageAltitude ¶

type MessageAltitude = common.MessageAltitude

The current system altitude.

type MessageAoaSsa ¶

type MessageAoaSsa struct {
	// Timestamp (since boot or Unix epoch).
	TimeUsec uint64
	// Angle of Attack.
	Aoa float32 `mavname:"AOA"`
	// Side Slip Angle.
	Ssa float32 `mavname:"SSA"`
}

Angle of Attack and Side Slip Angle.

func (*MessageAoaSsa) GetID ¶

func (*MessageAoaSsa) GetID() uint32

GetID implements the message.Message interface.

type MessageApAdc ¶

type MessageApAdc struct {
	// ADC output 1.
	Adc1 uint16
	// ADC output 2.
	Adc2 uint16
	// ADC output 3.
	Adc3 uint16
	// ADC output 4.
	Adc4 uint16
	// ADC output 5.
	Adc5 uint16
	// ADC output 6.
	Adc6 uint16
}

Raw ADC output.

func (*MessageApAdc) GetID ¶

func (*MessageApAdc) GetID() uint32

GetID implements the message.Message interface.

type MessageAttPosMocap ¶

type MessageAttPosMocap = common.MessageAttPosMocap

Motion capture attitude and position

type MessageAttitude ¶

type MessageAttitude = common.MessageAttitude

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

type MessageAttitudeQuaternion ¶

type MessageAttitudeQuaternion = common.MessageAttitudeQuaternion

The attitude in the aeronautical frame (right-handed, Z-down, X-front, Y-right), expressed as quaternion. Quaternion order is w, x, y, z and a zero rotation would be expressed as (1 0 0 0).

type MessageAttitudeQuaternionCov ¶

type MessageAttitudeQuaternionCov = common.MessageAttitudeQuaternionCov

The attitude in the aeronautical frame (right-handed, Z-down, X-front, Y-right), expressed as quaternion. Quaternion order is w, x, y, z and a zero rotation would be expressed as (1 0 0 0).

type MessageAttitudeTarget ¶

type MessageAttitudeTarget = common.MessageAttitudeTarget

Reports the current commanded attitude of the vehicle as specified by the autopilot. This should match the commands sent in a SET_ATTITUDE_TARGET message if the vehicle is being controlled this way.

type MessageAuthKey ¶

type MessageAuthKey = common.MessageAuthKey

Emit an encrypted signature / key identifying this system. PLEASE NOTE: This protocol has been kept simple, so transmitting the key requires an encrypted channel for true safety.

type MessageAutopilotStateForGimbalDevice ¶

type MessageAutopilotStateForGimbalDevice = common.MessageAutopilotStateForGimbalDevice

Low level message containing autopilot state relevant for a gimbal device. This message is to be sent from the autopilot to the gimbal device component. The data of this message are for the gimbal device's estimator corrections, in particular horizon compensation, as well as indicates autopilot control intentions, e.g. feed forward angular control in the z-axis.

type MessageAutopilotVersion ¶

type MessageAutopilotVersion = common.MessageAutopilotVersion

Version and capability of autopilot software. This should be emitted in response to a request with MAV_CMD_REQUEST_MESSAGE.

type MessageAutopilotVersionRequest ¶

type MessageAutopilotVersionRequest struct {
	// System ID.
	TargetSystem uint8
	// Component ID.
	TargetComponent uint8
}

Request the autopilot version from the system/component.

func (*MessageAutopilotVersionRequest) GetID ¶

GetID implements the message.Message interface.

type MessageBattery2 ¶

type MessageBattery2 struct {
	// Voltage.
	Voltage uint16
	// Battery current, -1: autopilot does not measure the current.
	CurrentBattery int16
}

2nd Battery status

func (*MessageBattery2) GetID ¶

func (*MessageBattery2) GetID() uint32

GetID implements the message.Message interface.

type MessageBatteryStatus ¶

type MessageBatteryStatus = common.MessageBatteryStatus

Battery information. Updates GCS with flight controller battery status. Smart batteries also use this message, but may additionally send SMART_BATTERY_INFO.

type MessageButtonChange ¶

type MessageButtonChange = common.MessageButtonChange

Report button state change.

type MessageCameraCaptureStatus ¶

type MessageCameraCaptureStatus = common.MessageCameraCaptureStatus

Information about the status of a capture. Can be requested with a MAV_CMD_REQUEST_MESSAGE command.

type MessageCameraFeedback ¶

type MessageCameraFeedback struct {
	// Image timestamp (since UNIX epoch), as passed in by CAMERA_STATUS message (or autopilot if no CCB).
	TimeUsec uint64
	// System ID.
	TargetSystem uint8
	// Camera ID.
	CamIdx uint8
	// Image index.
	ImgIdx uint16
	// Latitude.
	Lat int32
	// Longitude.
	Lng int32
	// Altitude (MSL).
	AltMsl float32
	// Altitude (Relative to HOME location).
	AltRel float32
	// Camera Roll angle (earth frame, +-180).
	Roll float32
	// Camera Pitch angle (earth frame, +-180).
	Pitch float32
	// Camera Yaw (earth frame, 0-360, true).
	Yaw float32
	// Focal Length.
	FocLen float32
	// Feedback flags.
	Flags CAMERA_FEEDBACK_FLAGS `mavenum:"uint8"`
	// Completed image captures.
	CompletedCaptures uint16 `mavext:"true"`
}

Camera Capture Feedback.

func (*MessageCameraFeedback) GetID ¶

func (*MessageCameraFeedback) GetID() uint32

GetID implements the message.Message interface.

type MessageCameraFovStatus ¶

type MessageCameraFovStatus = common.MessageCameraFovStatus

Information about the field of view of a camera. Can be requested with a MAV_CMD_REQUEST_MESSAGE command.

type MessageCameraImageCaptured ¶

type MessageCameraImageCaptured = common.MessageCameraImageCaptured

Information about a captured image. This is emitted every time a message is captured. MAV_CMD_REQUEST_MESSAGE can be used to (re)request this message for a specific sequence number or range of sequence numbers: MAV_CMD_REQUEST_MESSAGE.param2 indicates the sequence number the first image to send, or set to -1 to send the message for all sequence numbers. MAV_CMD_REQUEST_MESSAGE.param3 is used to specify a range of messages to send: set to 0 (default) to send just the the message for the sequence number in param 2, set to -1 to send the message for the sequence number in param 2 and all the following sequence numbers, set to the sequence number of the final message in the range.

type MessageCameraInformation ¶

type MessageCameraInformation = common.MessageCameraInformation

Information about a camera. Can be requested with a MAV_CMD_REQUEST_MESSAGE command.

type MessageCameraSettings ¶

type MessageCameraSettings = common.MessageCameraSettings

Settings of a camera. Can be requested with a MAV_CMD_REQUEST_MESSAGE command.

type MessageCameraStatus ¶

type MessageCameraStatus struct {
	// Image timestamp (since UNIX epoch, according to camera clock).
	TimeUsec uint64
	// System ID.
	TargetSystem uint8
	// Camera ID.
	CamIdx uint8
	// Image index.
	ImgIdx uint16
	// Event type.
	EventId CAMERA_STATUS_TYPES `mavenum:"uint8"`
	// Parameter 1 (meaning depends on event_id, see CAMERA_STATUS_TYPES enum).
	P1 float32
	// Parameter 2 (meaning depends on event_id, see CAMERA_STATUS_TYPES enum).
	P2 float32
	// Parameter 3 (meaning depends on event_id, see CAMERA_STATUS_TYPES enum).
	P3 float32
	// Parameter 4 (meaning depends on event_id, see CAMERA_STATUS_TYPES enum).
	P4 float32
}

Camera Event.

func (*MessageCameraStatus) GetID ¶

func (*MessageCameraStatus) GetID() uint32

GetID implements the message.Message interface.

type MessageCameraTrackingGeoStatus ¶

type MessageCameraTrackingGeoStatus = common.MessageCameraTrackingGeoStatus

Camera tracking status, sent while in active tracking. Use MAV_CMD_SET_MESSAGE_INTERVAL to define message interval.

type MessageCameraTrackingImageStatus ¶

type MessageCameraTrackingImageStatus = common.MessageCameraTrackingImageStatus

Camera tracking status, sent while in active tracking. Use MAV_CMD_SET_MESSAGE_INTERVAL to define message interval.

type MessageCameraTrigger ¶

type MessageCameraTrigger = common.MessageCameraTrigger

Camera-IMU triggering and synchronisation message.

type MessageCanFilterModify ¶

type MessageCanFilterModify = common.MessageCanFilterModify

Modify the filter of what CAN messages to forward over the mavlink. This can be used to make CAN forwarding work well on low bandwidth links. The filtering is applied on bits 8 to 24 of the CAN id (2nd and 3rd bytes) which corresponds to the DroneCAN message ID for DroneCAN. Filters with more than 16 IDs can be constructed by sending multiple CAN_FILTER_MODIFY messages.

type MessageCanFrame ¶

type MessageCanFrame = common.MessageCanFrame

A forwarded CAN frame as requested by MAV_CMD_CAN_FORWARD.

type MessageCanfdFrame ¶

type MessageCanfdFrame = common.MessageCanfdFrame

A forwarded CANFD frame as requested by MAV_CMD_CAN_FORWARD. These are separated from CAN_FRAME as they need different handling (eg. TAO handling)

type MessageCellularConfig ¶

type MessageCellularConfig = common.MessageCellularConfig

Configure cellular modems. This message is re-emitted as an acknowledgement by the modem. The message may also be explicitly requested using MAV_CMD_REQUEST_MESSAGE.

type MessageCellularStatus ¶

type MessageCellularStatus = common.MessageCellularStatus

Report current used cellular network status

type MessageChangeOperatorControl ¶

type MessageChangeOperatorControl = common.MessageChangeOperatorControl

Request to control this MAV

type MessageChangeOperatorControlAck ¶

type MessageChangeOperatorControlAck = common.MessageChangeOperatorControlAck

Accept / deny control of this MAV

type MessageCollision ¶

type MessageCollision = common.MessageCollision

Information about a potential collision

type MessageCommandAck ¶

type MessageCommandAck = common.MessageCommandAck

Report status of a command. Includes feedback whether the command was executed. The command microservice is documented at https://mavlink.io/en/services/command.html

type MessageCommandCancel ¶

type MessageCommandCancel = common.MessageCommandCancel

Cancel a long running command. The target system should respond with a COMMAND_ACK to the original command with result=MAV_RESULT_CANCELLED if the long running process was cancelled. If it has already completed, the cancel action can be ignored. The cancel action can be retried until some sort of acknowledgement to the original command has been received. The command microservice is documented at https://mavlink.io/en/services/command.html

type MessageCommandInt ¶

type MessageCommandInt = common.MessageCommandInt

Send a command with up to seven parameters to the MAV, where params 5 and 6 are integers and the other values are floats. This is preferred over COMMAND_LONG when sending positional data in params 5 and 6, as it allows for greater precision when sending latitudes/longitudes. Param 5 and 6 encode positional data as scaled integers, where the scaling depends on the actual command value. NaN or INT32_MAX may be used in float/integer params (respectively) to indicate optional/default values (e.g. to use the component's current latitude, yaw rather than a specific value). The command microservice is documented at https://mavlink.io/en/services/command.html

type MessageCommandLong ¶

type MessageCommandLong = common.MessageCommandLong

Send a command with up to seven parameters to the MAV. COMMAND_INT is generally preferred when sending MAV_CMD commands where param 5 and param 6 contain latitude/longitude data, as sending these in floats can result in a significant loss of precision. COMMAND_LONG is required for commands that mandate float values in params 5 and 6. The command microservice is documented at https://mavlink.io/en/services/command.html

type MessageCompassmotStatus ¶

type MessageCompassmotStatus struct {
	// Throttle.
	Throttle uint16
	// Current.
	Current float32
	// Interference.
	Interference uint16
	// Motor Compensation X.
	Compensationx float32 `mavname:"CompensationX"`
	// Motor Compensation Y.
	Compensationy float32 `mavname:"CompensationY"`
	// Motor Compensation Z.
	Compensationz float32 `mavname:"CompensationZ"`
}

Status of compassmot calibration.

func (*MessageCompassmotStatus) GetID ¶

GetID implements the message.Message interface.

type MessageComponentInformation ¶

type MessageComponentInformation = common.MessageComponentInformation

Component information message, which may be requested using MAV_CMD_REQUEST_MESSAGE.

type MessageComponentMetadata ¶

type MessageComponentMetadata = common.MessageComponentMetadata

Component metadata message, which may be requested using MAV_CMD_REQUEST_MESSAGE. This contains the MAVLink FTP URI and CRC for the component's general metadata file. The file must be hosted on the component, and may be xz compressed. The file CRC can be used for file caching. The general metadata file can be read to get the locations of other metadata files (COMP_METADATA_TYPE) and translations, which may be hosted either on the vehicle or the internet. For more information see: https://mavlink.io/en/services/component_information.html. Note: Camera components should use CAMERA_INFORMATION instead, and autopilots may use both this message and AUTOPILOT_VERSION.

type MessageControlSystemState ¶

type MessageControlSystemState = common.MessageControlSystemState

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

type MessageCubepilotFirmwareUpdateResp ¶ added in v1.1.0

type MessageCubepilotFirmwareUpdateResp = cubepilot.MessageCubepilotFirmwareUpdateResp

offset response to encapsulated data.

type MessageCubepilotFirmwareUpdateStart ¶ added in v1.1.0

type MessageCubepilotFirmwareUpdateStart = cubepilot.MessageCubepilotFirmwareUpdateStart

Start firmware update with encapsulated data.

type MessageCubepilotRawRc ¶ added in v1.1.0

type MessageCubepilotRawRc = cubepilot.MessageCubepilotRawRc

Raw RC Data

type MessageCurrentEventSequence ¶

type MessageCurrentEventSequence = common.MessageCurrentEventSequence

Regular broadcast for the current latest event sequence number for a component. This is used to check for dropped events.

type MessageData16 ¶

type MessageData16 struct {
	// Data type.
	Type uint8
	// Data length.
	Len uint8
	// Raw data.
	Data [16]uint8
}

Data packet, size 16.

func (*MessageData16) GetID ¶

func (*MessageData16) GetID() uint32

GetID implements the message.Message interface.

type MessageData32 ¶

type MessageData32 struct {
	// Data type.
	Type uint8
	// Data length.
	Len uint8
	// Raw data.
	Data [32]uint8
}

Data packet, size 32.

func (*MessageData32) GetID ¶

func (*MessageData32) GetID() uint32

GetID implements the message.Message interface.

type MessageData64 ¶

type MessageData64 struct {
	// Data type.
	Type uint8
	// Data length.
	Len uint8
	// Raw data.
	Data [64]uint8
}

Data packet, size 64.

func (*MessageData64) GetID ¶

func (*MessageData64) GetID() uint32

GetID implements the message.Message interface.

type MessageData96 ¶

type MessageData96 struct {
	// Data type.
	Type uint8
	// Data length.
	Len uint8
	// Raw data.
	Data [96]uint8
}

Data packet, size 96.

func (*MessageData96) GetID ¶

func (*MessageData96) GetID() uint32

GetID implements the message.Message interface.

type MessageDataStream ¶

type MessageDataStream = common.MessageDataStream

Data stream status information.

type MessageDataTransmissionHandshake ¶

type MessageDataTransmissionHandshake = common.MessageDataTransmissionHandshake

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

type MessageDebug ¶

type MessageDebug = common.MessageDebug

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

type MessageDebugFloatArray ¶

type MessageDebugFloatArray = common.MessageDebugFloatArray

Large debug/prototyping array. The message uses the maximum available payload for data. The array_id and name fields are used to discriminate between messages in code and in user interfaces (respectively). Do not use in production code.

type MessageDebugVect ¶

type MessageDebugVect = common.MessageDebugVect

To debug something using a named 3D vector.

type MessageDeepstall ¶

type MessageDeepstall struct {
	// Landing latitude.
	LandingLat int32
	// Landing longitude.
	LandingLon int32
	// Final heading start point, latitude.
	PathLat int32
	// Final heading start point, longitude.
	PathLon int32
	// Arc entry point, latitude.
	ArcEntryLat int32
	// Arc entry point, longitude.
	ArcEntryLon int32
	// Altitude.
	Altitude float32
	// Distance the aircraft expects to travel during the deepstall.
	ExpectedTravelDistance float32
	// Deepstall cross track error (only valid when in DEEPSTALL_STAGE_LAND).
	CrossTrackError float32
	// Deepstall stage.
	Stage DEEPSTALL_STAGE `mavenum:"uint8"`
}

Deepstall path planning.

func (*MessageDeepstall) GetID ¶

func (*MessageDeepstall) GetID() uint32

GetID implements the message.Message interface.

type MessageDeviceOpRead ¶

type MessageDeviceOpRead struct {
	// System ID.
	TargetSystem uint8
	// Component ID.
	TargetComponent uint8
	// Request ID - copied to reply.
	RequestId uint32
	// The bus type.
	Bustype DEVICE_OP_BUSTYPE `mavenum:"uint8"`
	// Bus number.
	Bus uint8
	// Bus address.
	Address uint8
	// Name of device on bus (for SPI).
	Busname string `mavlen:"40"`
	// First register to read.
	Regstart uint8
	// Count of registers to read.
	Count uint8
	// Bank number.
	Bank uint8 `mavext:"true"`
}

Read registers for a device.

func (*MessageDeviceOpRead) GetID ¶

func (*MessageDeviceOpRead) GetID() uint32

GetID implements the message.Message interface.

type MessageDeviceOpReadReply ¶

type MessageDeviceOpReadReply struct {
	// Request ID - copied from request.
	RequestId uint32
	// 0 for success, anything else is failure code.
	Result uint8
	// Starting register.
	Regstart uint8
	// Count of bytes read.
	Count uint8
	// Reply data.
	Data [128]uint8
	// Bank number.
	Bank uint8 `mavext:"true"`
}

Read registers reply.

func (*MessageDeviceOpReadReply) GetID ¶

GetID implements the message.Message interface.

type MessageDeviceOpWrite ¶

type MessageDeviceOpWrite struct {
	// System ID.
	TargetSystem uint8
	// Component ID.
	TargetComponent uint8
	// Request ID - copied to reply.
	RequestId uint32
	// The bus type.
	Bustype DEVICE_OP_BUSTYPE `mavenum:"uint8"`
	// Bus number.
	Bus uint8
	// Bus address.
	Address uint8
	// Name of device on bus (for SPI).
	Busname string `mavlen:"40"`
	// First register to write.
	Regstart uint8
	// Count of registers to write.
	Count uint8
	// Write data.
	Data [128]uint8
	// Bank number.
	Bank uint8 `mavext:"true"`
}

Write registers for a device.

func (*MessageDeviceOpWrite) GetID ¶

func (*MessageDeviceOpWrite) GetID() uint32

GetID implements the message.Message interface.

type MessageDeviceOpWriteReply ¶

type MessageDeviceOpWriteReply struct {
	// Request ID - copied from request.
	RequestId uint32
	// 0 for success, anything else is failure code.
	Result uint8
}

Write registers reply.

func (*MessageDeviceOpWriteReply) GetID ¶

GetID implements the message.Message interface.

type MessageDigicamConfigure ¶

type MessageDigicamConfigure struct {
	// System ID.
	TargetSystem uint8
	// Component ID.
	TargetComponent uint8
	// Mode enumeration from 1 to N //P, TV, AV, M, etc. (0 means ignore).
	Mode uint8
	// Divisor number //e.g. 1000 means 1/1000 (0 means ignore).
	ShutterSpeed uint16
	// F stop number x 10 //e.g. 28 means 2.8 (0 means ignore).
	Aperture uint8
	// ISO enumeration from 1 to N //e.g. 80, 100, 200, Etc (0 means ignore).
	Iso uint8
	// Exposure type enumeration from 1 to N (0 means ignore).
	ExposureType uint8
	// Command Identity (incremental loop: 0 to 255). //A command sent multiple times will be executed or pooled just once.
	CommandId uint8
	// Main engine cut-off time before camera trigger (0 means no cut-off).
	EngineCutOff uint8
	// Extra parameters enumeration (0 means ignore).
	ExtraParam uint8
	// Correspondent value to given extra_param.
	ExtraValue float32
}

Configure on-board Camera Control System.

func (*MessageDigicamConfigure) GetID ¶

GetID implements the message.Message interface.

type MessageDigicamControl ¶

type MessageDigicamControl struct {
	// System ID.
	TargetSystem uint8
	// Component ID.
	TargetComponent uint8
	// 0: stop, 1: start or keep it up //Session control e.g. show/hide lens.
	Session uint8
	// 1 to N //Zoom's absolute position (0 means ignore).
	ZoomPos uint8
	// -100 to 100 //Zooming step value to offset zoom from the current position.
	ZoomStep int8
	// 0: unlock focus or keep unlocked, 1: lock focus or keep locked, 3: re-lock focus.
	FocusLock uint8
	// 0: ignore, 1: shot or start filming.
	Shot uint8
	// Command Identity (incremental loop: 0 to 255)//A command sent multiple times will be executed or pooled just once.
	CommandId uint8
	// Extra parameters enumeration (0 means ignore).
	ExtraParam uint8
	// Correspondent value to given extra_param.
	ExtraValue float32
}

Control on-board Camera Control System to take shots.

func (*MessageDigicamControl) GetID ¶

func (*MessageDigicamControl) GetID() uint32

GetID implements the message.Message interface.

type MessageDistanceSensor ¶

type MessageDistanceSensor = common.MessageDistanceSensor

Distance sensor information for an onboard rangefinder.

type MessageEfiStatus ¶

type MessageEfiStatus = common.MessageEfiStatus

EFI status output

type MessageEkfStatusReport ¶

type MessageEkfStatusReport struct {
	// Flags.
	Flags EKF_STATUS_FLAGS `mavenum:"uint16"`
	// Velocity variance.
	VelocityVariance float32
	// Horizontal Position variance.
	PosHorizVariance float32
	// Vertical Position variance.
	PosVertVariance float32
	// Compass variance.
	CompassVariance float32
	// Terrain Altitude variance.
	TerrainAltVariance float32
	// Airspeed variance.
	AirspeedVariance float32 `mavext:"true"`
}

EKF Status message including flags and variances.

func (*MessageEkfStatusReport) GetID ¶

func (*MessageEkfStatusReport) GetID() uint32

GetID implements the message.Message interface.

type MessageEncapsulatedData ¶

type MessageEncapsulatedData = common.MessageEncapsulatedData

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

type MessageEscInfo ¶

type MessageEscInfo = common.MessageEscInfo

ESC information for lower rate streaming. Recommended streaming rate 1Hz. See ESC_STATUS for higher-rate ESC data.

type MessageEscStatus ¶

type MessageEscStatus = common.MessageEscStatus

ESC information for higher rate streaming. Recommended streaming rate is ~10 Hz. Information that changes more slowly is sent in ESC_INFO. It should typically only be streamed on high-bandwidth links (i.e. to a companion computer).

type MessageEscTelemetry_1To_4 ¶

type MessageEscTelemetry_1To_4 struct {
	// Temperature.
	Temperature [4]uint8
	// Voltage.
	Voltage [4]uint16
	// Current.
	Current [4]uint16
	// Total current.
	Totalcurrent [4]uint16
	// RPM (eRPM).
	Rpm [4]uint16
	// count of telemetry packets received (wraps at 65535).
	Count [4]uint16
}

ESC Telemetry Data for ESCs 1 to 4, matching data sent by BLHeli ESCs.

func (*MessageEscTelemetry_1To_4) GetID ¶

GetID implements the message.Message interface.

type MessageEscTelemetry_5To_8 ¶

type MessageEscTelemetry_5To_8 struct {
	// Temperature.
	Temperature [4]uint8
	// Voltage.
	Voltage [4]uint16
	// Current.
	Current [4]uint16
	// Total current.
	Totalcurrent [4]uint16
	// RPM (eRPM).
	Rpm [4]uint16
	// count of telemetry packets received (wraps at 65535).
	Count [4]uint16
}

ESC Telemetry Data for ESCs 5 to 8, matching data sent by BLHeli ESCs.

func (*MessageEscTelemetry_5To_8) GetID ¶

GetID implements the message.Message interface.

type MessageEscTelemetry_9To_12 ¶

type MessageEscTelemetry_9To_12 struct {
	// Temperature.
	Temperature [4]uint8
	// Voltage.
	Voltage [4]uint16
	// Current.
	Current [4]uint16
	// Total current.
	Totalcurrent [4]uint16
	// RPM (eRPM).
	Rpm [4]uint16
	// count of telemetry packets received (wraps at 65535).
	Count [4]uint16
}

ESC Telemetry Data for ESCs 9 to 12, matching data sent by BLHeli ESCs.

func (*MessageEscTelemetry_9To_12) GetID ¶

GetID implements the message.Message interface.

type MessageEstimatorStatus ¶

type MessageEstimatorStatus = common.MessageEstimatorStatus

Estimator status message including flags, innovation test ratios and estimated accuracies. The flags message is an integer bitmask containing information on which EKF outputs are valid. See the ESTIMATOR_STATUS_FLAGS enum definition for further information. The innovation test ratios show the magnitude of the sensor innovation divided by the innovation check threshold. Under normal operation the innovation test ratios should be below 0.5 with occasional values up to 1.0. Values greater than 1.0 should be rare under normal operation and indicate that a measurement has been rejected by the filter. The user should be notified if an innovation test ratio greater than 1.0 is recorded. Notifications for values in the range between 0.5 and 1.0 should be optional and controllable by the user.

type MessageEvent ¶

type MessageEvent = common.MessageEvent

Event message. Each new event from a particular component gets a new sequence number. The same message might be sent multiple times if (re-)requested. Most events are broadcast, some can be specific to a target component (as receivers keep track of the sequence for missed events, all events need to be broadcast. Thus we use destination_component instead of target_component).

type MessageExtendedSysState ¶

type MessageExtendedSysState = common.MessageExtendedSysState

Provides state for additional features

type MessageFenceFetchPoint ¶

type MessageFenceFetchPoint struct {
	// System ID.
	TargetSystem uint8
	// Component ID.
	TargetComponent uint8
	// Point index (first point is 1, 0 is for return point).
	Idx uint8
}

Request a current fence point from MAV.

func (*MessageFenceFetchPoint) GetID ¶

func (*MessageFenceFetchPoint) GetID() uint32

GetID implements the message.Message interface.

type MessageFencePoint ¶

type MessageFencePoint struct {
	// System ID.
	TargetSystem uint8
	// Component ID.
	TargetComponent uint8
	// Point index (first point is 1, 0 is for return point).
	Idx uint8
	// Total number of points (for sanity checking).
	Count uint8
	// Latitude of point.
	Lat float32
	// Longitude of point.
	Lng float32
}

A fence point. Used to set a point when from GCS -> MAV. Also used to return a point from MAV -> GCS.

func (*MessageFencePoint) GetID ¶

func (*MessageFencePoint) GetID() uint32

GetID implements the message.Message interface.

type MessageFenceStatus ¶

type MessageFenceStatus = common.MessageFenceStatus

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

type MessageFileTransferProtocol ¶

type MessageFileTransferProtocol = common.MessageFileTransferProtocol

File transfer protocol message: https://mavlink.io/en/services/ftp.html.

type MessageFlightInformation ¶

type MessageFlightInformation = common.MessageFlightInformation

Information about flight since last arming. This can be requested using MAV_CMD_REQUEST_MESSAGE.

type MessageFollowTarget ¶

type MessageFollowTarget = common.MessageFollowTarget

Current motion information from a designated system

type MessageGeneratorStatus ¶

type MessageGeneratorStatus = common.MessageGeneratorStatus

Telemetry of power generation system. Alternator or mechanical generator.

type MessageGimbalControl ¶

type MessageGimbalControl struct {
	// System ID.
	TargetSystem uint8
	// Component ID.
	TargetComponent uint8
	// Demanded angular rate X.
	DemandedRateX float32
	// Demanded angular rate Y.
	DemandedRateY float32
	// Demanded angular rate Z.
	DemandedRateZ float32
}

Control message for rate gimbal.

func (*MessageGimbalControl) GetID ¶

func (*MessageGimbalControl) GetID() uint32

GetID implements the message.Message interface.

type MessageGimbalDeviceAttitudeStatus ¶

type MessageGimbalDeviceAttitudeStatus = common.MessageGimbalDeviceAttitudeStatus

Message reporting the status of a gimbal device. This message should be broadcast by a gimbal device component at a low regular rate (e.g. 5 Hz). For the angles encoded in the quaternion and the angular velocities holds: If the flag GIMBAL_DEVICE_FLAGS_YAW_IN_VEHICLE_FRAME is set, then they are relative to the vehicle heading (vehicle frame). If the flag GIMBAL_DEVICE_FLAGS_YAW_IN_EARTH_FRAME is set, then they are relative to absolute North (earth frame). If neither of these flags are set, then (for backwards compatibility) it holds: If the flag GIMBAL_DEVICE_FLAGS_YAW_LOCK is set, then they are relative to absolute North (earth frame), else they are relative to the vehicle heading (vehicle frame). Other conditions of the flags are not allowed. The quaternion and angular velocities in the other frame can be calculated from delta_yaw and delta_yaw_velocity as q_earth = q_delta_yaw * q_vehicle and w_earth = w_delta_yaw_velocity + w_vehicle (if not NaN). If neither the GIMBAL_DEVICE_FLAGS_YAW_IN_VEHICLE_FRAME nor the GIMBAL_DEVICE_FLAGS_YAW_IN_EARTH_FRAME flag is set, then (for backwards compatibility) the data in the delta_yaw and delta_yaw_velocity fields are to be ignored. New implementations should always set either GIMBAL_DEVICE_FLAGS_YAW_IN_VEHICLE_FRAME or GIMBAL_DEVICE_FLAGS_YAW_IN_EARTH_FRAME, and always should set delta_yaw and delta_yaw_velocity either to the proper value or NaN.

type MessageGimbalDeviceInformation ¶

type MessageGimbalDeviceInformation = common.MessageGimbalDeviceInformation

Information about a low level gimbal. This message should be requested by the gimbal manager or a ground station using MAV_CMD_REQUEST_MESSAGE. The maximum angles and rates are the limits by hardware. However, the limits by software used are likely different/smaller and dependent on mode/settings/etc..

type MessageGimbalDeviceSetAttitude ¶

type MessageGimbalDeviceSetAttitude = common.MessageGimbalDeviceSetAttitude

Low level message to control a gimbal device's attitude. This message is to be sent from the gimbal manager to the gimbal device component. The quaternion and angular velocities can be set to NaN according to use case. For the angles encoded in the quaternion and the angular velocities holds: If the flag GIMBAL_DEVICE_FLAGS_YAW_IN_VEHICLE_FRAME is set, then they are relative to the vehicle heading (vehicle frame). If the flag GIMBAL_DEVICE_FLAGS_YAW_IN_EARTH_FRAME is set, then they are relative to absolute North (earth frame). If neither of these flags are set, then (for backwards compatibility) it holds: If the flag GIMBAL_DEVICE_FLAGS_YAW_LOCK is set, then they are relative to absolute North (earth frame), else they are relative to the vehicle heading (vehicle frame). Setting both GIMBAL_DEVICE_FLAGS_YAW_IN_VEHICLE_FRAME and GIMBAL_DEVICE_FLAGS_YAW_IN_EARTH_FRAME is not allowed. These rules are to ensure backwards compatibility. New implementations should always set either GIMBAL_DEVICE_FLAGS_YAW_IN_VEHICLE_FRAME or GIMBAL_DEVICE_FLAGS_YAW_IN_EARTH_FRAME.

type MessageGimbalManagerInformation ¶

type MessageGimbalManagerInformation = common.MessageGimbalManagerInformation

Information about a high level gimbal manager. This message should be requested by a ground station using MAV_CMD_REQUEST_MESSAGE.

type MessageGimbalManagerSetAttitude ¶

type MessageGimbalManagerSetAttitude = common.MessageGimbalManagerSetAttitude

High level message to control a gimbal's attitude. This message is to be sent to the gimbal manager (e.g. from a ground station). Angles and rates can be set to NaN according to use case.

type MessageGimbalManagerSetManualControl ¶

type MessageGimbalManagerSetManualControl = common.MessageGimbalManagerSetManualControl

High level message to control a gimbal manually. The angles or angular rates are unitless; the actual rates will depend on internal gimbal manager settings/configuration (e.g. set by parameters). This message is to be sent to the gimbal manager (e.g. from a ground station). Angles and rates can be set to NaN according to use case.

type MessageGimbalManagerSetPitchyaw ¶

type MessageGimbalManagerSetPitchyaw = common.MessageGimbalManagerSetPitchyaw

High level message to control a gimbal's pitch and yaw angles. This message is to be sent to the gimbal manager (e.g. from a ground station). Angles and rates can be set to NaN according to use case.

type MessageGimbalManagerStatus ¶

type MessageGimbalManagerStatus = common.MessageGimbalManagerStatus

Current status about a high level gimbal manager. This message should be broadcast at a low regular rate (e.g. 5Hz).

type MessageGimbalReport ¶

type MessageGimbalReport struct {
	// System ID.
	TargetSystem uint8
	// Component ID.
	TargetComponent uint8
	// Time since last update.
	DeltaTime float32
	// Delta angle X.
	DeltaAngleX float32
	// Delta angle Y.
	DeltaAngleY float32
	// Delta angle X.
	DeltaAngleZ float32
	// Delta velocity X.
	DeltaVelocityX float32
	// Delta velocity Y.
	DeltaVelocityY float32
	// Delta velocity Z.
	DeltaVelocityZ float32
	// Joint ROLL.
	JointRoll float32
	// Joint EL.
	JointEl float32
	// Joint AZ.
	JointAz float32
}

3 axis gimbal measurements.

func (*MessageGimbalReport) GetID ¶

func (*MessageGimbalReport) GetID() uint32

GetID implements the message.Message interface.

type MessageGimbalTorqueCmdReport ¶

type MessageGimbalTorqueCmdReport struct {
	// System ID.
	TargetSystem uint8
	// Component ID.
	TargetComponent uint8
	// Roll Torque Command.
	RlTorqueCmd int16
	// Elevation Torque Command.
	ElTorqueCmd int16
	// Azimuth Torque Command.
	AzTorqueCmd int16
}

100 Hz gimbal torque command telemetry.

func (*MessageGimbalTorqueCmdReport) GetID ¶

GetID implements the message.Message interface.

type MessageGlobalPositionInt ¶

type MessageGlobalPositionInt = common.MessageGlobalPositionInt

The filtered global position (e.g. fused GPS and accelerometers). The position is in GPS-frame (right-handed, Z-up). It is designed as scaled integer message since the resolution of float is not sufficient.

type MessageGlobalPositionIntCov ¶

type MessageGlobalPositionIntCov = common.MessageGlobalPositionIntCov

The filtered global position (e.g. fused GPS and accelerometers). The position is in GPS-frame (right-handed, Z-up). It is designed as scaled integer message since the resolution of float is not sufficient. NOTE: This message is intended for onboard networks / companion computers and higher-bandwidth links and optimized for accuracy and completeness. Please use the GLOBAL_POSITION_INT message for a minimal subset.

type MessageGlobalVisionPositionEstimate ¶

type MessageGlobalVisionPositionEstimate = common.MessageGlobalVisionPositionEstimate

Global position/attitude estimate from a vision source.

type MessageGoproGetRequest ¶

type MessageGoproGetRequest struct {
	// System ID.
	TargetSystem uint8
	// Component ID.
	TargetComponent uint8
	// Command ID.
	CmdId GOPRO_COMMAND `mavenum:"uint8"`
}

Request a GOPRO_COMMAND response from the GoPro.

func (*MessageGoproGetRequest) GetID ¶

func (*MessageGoproGetRequest) GetID() uint32

GetID implements the message.Message interface.

type MessageGoproGetResponse ¶

type MessageGoproGetResponse struct {
	// Command ID.
	CmdId GOPRO_COMMAND `mavenum:"uint8"`
	// Status.
	Status GOPRO_REQUEST_STATUS `mavenum:"uint8"`
	// Value.
	Value [4]uint8
}

Response from a GOPRO_COMMAND get request.

func (*MessageGoproGetResponse) GetID ¶

GetID implements the message.Message interface.

type MessageGoproHeartbeat ¶

type MessageGoproHeartbeat struct {
	// Status.
	Status GOPRO_HEARTBEAT_STATUS `mavenum:"uint8"`
	// Current capture mode.
	CaptureMode GOPRO_CAPTURE_MODE `mavenum:"uint8"`
	// Additional status bits.
	Flags GOPRO_HEARTBEAT_FLAGS `mavenum:"uint8"`
}

Heartbeat from a HeroBus attached GoPro.

func (*MessageGoproHeartbeat) GetID ¶

func (*MessageGoproHeartbeat) GetID() uint32

GetID implements the message.Message interface.

type MessageGoproSetRequest ¶

type MessageGoproSetRequest struct {
	// System ID.
	TargetSystem uint8
	// Component ID.
	TargetComponent uint8
	// Command ID.
	CmdId GOPRO_COMMAND `mavenum:"uint8"`
	// Value.
	Value [4]uint8
}

Request to set a GOPRO_COMMAND with a desired.

func (*MessageGoproSetRequest) GetID ¶

func (*MessageGoproSetRequest) GetID() uint32

GetID implements the message.Message interface.

type MessageGoproSetResponse ¶

type MessageGoproSetResponse struct {
	// Command ID.
	CmdId GOPRO_COMMAND `mavenum:"uint8"`
	// Status.
	Status GOPRO_REQUEST_STATUS `mavenum:"uint8"`
}

Response from a GOPRO_COMMAND set request.

func (*MessageGoproSetResponse) GetID ¶

GetID implements the message.Message interface.

type MessageGps2Raw ¶

type MessageGps2Raw = common.MessageGps2Raw

Second GPS data.

type MessageGps2Rtk ¶

type MessageGps2Rtk = common.MessageGps2Rtk

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

type MessageGpsGlobalOrigin ¶

type MessageGpsGlobalOrigin = common.MessageGpsGlobalOrigin

Publishes the GPS coordinates of the vehicle local origin (0,0,0) position. Emitted whenever a new GPS-Local position mapping is requested or set - e.g. following SET_GPS_GLOBAL_ORIGIN message.

type MessageGpsInjectData ¶

type MessageGpsInjectData = common.MessageGpsInjectData

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

type MessageGpsInput ¶

type MessageGpsInput = common.MessageGpsInput

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

type MessageGpsRawInt ¶

type MessageGpsRawInt = common.MessageGpsRawInt

The global position, as returned by the Global Positioning System (GPS). This is NOT the global position estimate of the system, but rather a RAW sensor value. See message GLOBAL_POSITION_INT for the global position estimate.

type MessageGpsRtcmData ¶

type MessageGpsRtcmData = common.MessageGpsRtcmData

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

type MessageGpsRtk ¶

type MessageGpsRtk = common.MessageGpsRtk

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

type MessageGpsStatus ¶

type MessageGpsStatus = common.MessageGpsStatus

The positioning status, as reported by GPS. This message is intended to display status information about each satellite visible to the receiver. See message GLOBAL_POSITION_INT for the global position estimate. This message can contain information for up to 20 satellites.

type MessageHeartbeat ¶

type MessageHeartbeat = minimal.MessageHeartbeat

The heartbeat message shows that a system or component is present and responding. The type and autopilot fields (along with the message component id), allow the receiving system to treat further messages from this system appropriately (e.g. by laying out the user interface based on the autopilot). This microservice is documented at https://mavlink.io/en/services/heartbeat.html

type MessageHerelinkTelem ¶ added in v1.1.0

type MessageHerelinkTelem = cubepilot.MessageHerelinkTelem

Herelink Telemetry

type MessageHerelinkVideoStreamInformation ¶ added in v1.1.0

type MessageHerelinkVideoStreamInformation = cubepilot.MessageHerelinkVideoStreamInformation

Information about video stream

type MessageHighLatency ¶

type MessageHighLatency = common.MessageHighLatency

Message appropriate for high latency connections like Iridium

type MessageHighLatency2 ¶

type MessageHighLatency2 = common.MessageHighLatency2

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

type MessageHighresImu ¶

type MessageHighresImu = common.MessageHighresImu

The IMU readings in SI units in NED body frame

type MessageHilActuatorControls ¶

type MessageHilActuatorControls = common.MessageHilActuatorControls

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

type MessageHilControls ¶

type MessageHilControls = common.MessageHilControls

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

type MessageHilGps ¶

type MessageHilGps = common.MessageHilGps

The global position, as returned by the Global Positioning System (GPS). This is NOT the global position estimate of the system, but rather a RAW sensor value. See message GLOBAL_POSITION_INT for the global position estimate.

type MessageHilOpticalFlow ¶

type MessageHilOpticalFlow = common.MessageHilOpticalFlow

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

type MessageHilRcInputsRaw ¶

type MessageHilRcInputsRaw = common.MessageHilRcInputsRaw

Sent from simulation to autopilot. The RAW values of the RC channels received. The standard PPM modulation is as follows: 1000 microseconds: 0%, 2000 microseconds: 100%. Individual receivers/transmitters might violate this specification.

type MessageHilSensor ¶

type MessageHilSensor = common.MessageHilSensor

The IMU readings in SI units in NED body frame

type MessageHilState ¶

type MessageHilState = common.MessageHilState

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

type MessageHilStateQuaternion ¶

type MessageHilStateQuaternion = common.MessageHilStateQuaternion

Sent from simulation to autopilot, avoids in contrast to HIL_STATE singularities. This packet is useful for high throughput applications such as hardware in the loop simulations.

type MessageHomePosition ¶

type MessageHomePosition = common.MessageHomePosition

Contains the home position. The home position is the default position that the system will return to and land on. The position must be set automatically by the system during the takeoff, and may also be explicitly set using MAV_CMD_DO_SET_HOME. The global and local positions encode the position in the respective coordinate frames, while the q parameter encodes the orientation of the surface. Under normal conditions it describes the heading and terrain slope, which can be used by the aircraft to adjust the approach. The approach 3D vector describes the point to which the system should fly in normal flight mode and then perform a landing sequence along the vector. Note: this message can be requested by sending the MAV_CMD_REQUEST_MESSAGE with param1=242 (or the deprecated MAV_CMD_GET_HOME_POSITION command).

type MessageHwstatus ¶

type MessageHwstatus struct {
	// Board voltage.
	Vcc uint16 `mavname:"Vcc"`
	// I2C error count.
	I2cerr uint8 `mavname:"I2Cerr"`
}

Status of key hardware.

func (*MessageHwstatus) GetID ¶

func (*MessageHwstatus) GetID() uint32

GetID implements the message.Message interface.

type MessageHygrometerSensor ¶

type MessageHygrometerSensor = common.MessageHygrometerSensor

Temperature and humidity from hygrometer.

type MessageIcarousHeartbeat ¶

type MessageIcarousHeartbeat = icarous.MessageIcarousHeartbeat

ICAROUS heartbeat

type MessageIcarousKinematicBands ¶

type MessageIcarousKinematicBands = icarous.MessageIcarousKinematicBands

Kinematic multi bands (track) output from Daidalus

type MessageIsbdLinkStatus ¶

type MessageIsbdLinkStatus = common.MessageIsbdLinkStatus

Status of the Iridium SBD link.

type MessageLandingTarget ¶

type MessageLandingTarget = common.MessageLandingTarget

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

type MessageLedControl ¶

type MessageLedControl struct {
	// System ID.
	TargetSystem uint8
	// Component ID.
	TargetComponent uint8
	// Instance (LED instance to control or 255 for all LEDs).
	Instance uint8
	// Pattern (see LED_PATTERN_ENUM).
	Pattern uint8
	// Custom Byte Length.
	CustomLen uint8
	// Custom Bytes.
	CustomBytes [24]uint8
}

Control vehicle LEDs.

func (*MessageLedControl) GetID ¶

func (*MessageLedControl) GetID() uint32

GetID implements the message.Message interface.

type MessageLimitsStatus ¶

type MessageLimitsStatus struct {
	// State of AP_Limits.
	LimitsState LIMITS_STATE `mavenum:"uint8"`
	// Time (since boot) of last breach.
	LastTrigger uint32
	// Time (since boot) of last recovery action.
	LastAction uint32
	// Time (since boot) of last successful recovery.
	LastRecovery uint32
	// Time (since boot) of last all-clear.
	LastClear uint32
	// Number of fence breaches.
	BreachCount uint16
	// AP_Limit_Module bitfield of enabled modules.
	ModsEnabled LIMIT_MODULE `mavenum:"uint8"`
	// AP_Limit_Module bitfield of required modules.
	ModsRequired LIMIT_MODULE `mavenum:"uint8"`
	// AP_Limit_Module bitfield of triggered modules.
	ModsTriggered LIMIT_MODULE `mavenum:"uint8"`
}

Status of AP_Limits. Sent in extended status stream when AP_Limits is enabled.

func (*MessageLimitsStatus) GetID ¶

func (*MessageLimitsStatus) GetID() uint32

GetID implements the message.Message interface.

type MessageLinkNodeStatus ¶

type MessageLinkNodeStatus = common.MessageLinkNodeStatus

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

type MessageLocalPositionNed ¶

type MessageLocalPositionNed = common.MessageLocalPositionNed

The filtered local position (e.g. fused computer vision and accelerometers). Coordinate frame is right-handed, Z-axis down (aeronautical frame, NED / north-east-down convention)

type MessageLocalPositionNedCov ¶

type MessageLocalPositionNedCov = common.MessageLocalPositionNedCov

The filtered local position (e.g. fused computer vision and accelerometers). Coordinate frame is right-handed, Z-axis down (aeronautical frame, NED / north-east-down convention)

type MessageLocalPositionNedSystemGlobalOffset ¶

type MessageLocalPositionNedSystemGlobalOffset = common.MessageLocalPositionNedSystemGlobalOffset

The offset in X, Y, Z and yaw between the LOCAL_POSITION_NED messages of MAV X and the global coordinate frame in NED coordinates. Coordinate frame is right-handed, Z-axis down (aeronautical frame, NED / north-east-down convention)

type MessageLogData ¶

type MessageLogData = common.MessageLogData

Reply to LOG_REQUEST_DATA

type MessageLogEntry ¶

type MessageLogEntry = common.MessageLogEntry

Reply to LOG_REQUEST_LIST

type MessageLogErase ¶

type MessageLogErase = common.MessageLogErase

Erase all logs

type MessageLogRequestData ¶

type MessageLogRequestData = common.MessageLogRequestData

Request a chunk of a log

type MessageLogRequestEnd ¶

type MessageLogRequestEnd = common.MessageLogRequestEnd

Stop log transfer and resume normal logging

type MessageLogRequestList ¶

type MessageLogRequestList = common.MessageLogRequestList

Request a list of available logs. On some systems calling this may stop on-board logging until LOG_REQUEST_END is called. If there are no log files available this request shall be answered with one LOG_ENTRY message with id = 0 and num_logs = 0.

type MessageLoggingAck ¶

type MessageLoggingAck = common.MessageLoggingAck

An ack for a LOGGING_DATA_ACKED message

type MessageLoggingData ¶

type MessageLoggingData = common.MessageLoggingData

A message containing logged data (see also MAV_CMD_LOGGING_START)

type MessageLoggingDataAcked ¶

type MessageLoggingDataAcked = common.MessageLoggingDataAcked

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

type MessageMagCalProgress ¶

type MessageMagCalProgress struct {
	// Compass being calibrated.
	CompassId uint8
	// Bitmask of compasses being calibrated.
	CalMask uint8
	// Calibration Status.
	CalStatus MAG_CAL_STATUS `mavenum:"uint8"`
	// Attempt number.
	Attempt uint8
	// Completion percentage.
	CompletionPct uint8
	// Bitmask of sphere sections (see http://en.wikipedia.org/wiki/Geodesic_grid).
	CompletionMask [10]uint8
	// Body frame direction vector for display.
	DirectionX float32
	// Body frame direction vector for display.
	DirectionY float32
	// Body frame direction vector for display.
	DirectionZ float32
}

Reports progress of compass calibration.

func (*MessageMagCalProgress) GetID ¶

func (*MessageMagCalProgress) GetID() uint32

GetID implements the message.Message interface.

type MessageMagCalReport ¶

type MessageMagCalReport = common.MessageMagCalReport

Reports results of completed compass calibration. Sent until MAG_CAL_ACK received.

type MessageManualControl ¶

type MessageManualControl = common.MessageManualControl

This message provides an API for manually controlling the vehicle using standard joystick axes nomenclature, along with a joystick-like input device. Unused axes can be disabled and buttons states are transmitted as individual on/off bits of a bitmask

type MessageManualSetpoint ¶

type MessageManualSetpoint = common.MessageManualSetpoint

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

type MessageMcuStatus ¶

type MessageMcuStatus struct {
	// MCU instance
	Id uint8
	// MCU Internal temperature
	McuTemperature int16 `mavname:"MCU_temperature"`
	// MCU voltage
	McuVoltage uint16 `mavname:"MCU_voltage"`
	// MCU voltage minimum
	McuVoltageMin uint16 `mavname:"MCU_voltage_min"`
	// MCU voltage maximum
	McuVoltageMax uint16 `mavname:"MCU_voltage_max"`
}

The MCU status, giving MCU temperature and voltage. The min and max voltages are to allow for detecting power supply instability.

func (*MessageMcuStatus) GetID ¶

func (*MessageMcuStatus) GetID() uint32

GetID implements the message.Message interface.

type MessageMeminfo ¶

type MessageMeminfo struct {
	// Heap top.
	Brkval uint16
	// Free memory.
	Freemem uint16
	// Free memory (32 bit).
	Freemem32 uint32 `mavext:"true"`
}

State of autopilot RAM.

func (*MessageMeminfo) GetID ¶

func (*MessageMeminfo) GetID() uint32

GetID implements the message.Message interface.

type MessageMemoryVect ¶

type MessageMemoryVect = common.MessageMemoryVect

Send raw controller memory. The use of this message is discouraged for normal packets, but a quite efficient way for testing new messages and getting experimental debug output.

type MessageMessageInterval ¶

type MessageMessageInterval = common.MessageMessageInterval

The interval between messages for a particular MAVLink message ID. This message is sent in response to the MAV_CMD_REQUEST_MESSAGE command with param1=244 (this message) and param2=message_id (the id of the message for which the interval is required). It may also be sent in response to MAV_CMD_GET_MESSAGE_INTERVAL. This interface replaces DATA_STREAM.

type MessageMissionAck ¶

type MessageMissionAck = common.MessageMissionAck

Acknowledgment message during waypoint handling. The type field states if this message is a positive ack (type=0) or if an error happened (type=non-zero).

type MessageMissionClearAll ¶

type MessageMissionClearAll = common.MessageMissionClearAll

Delete all mission items at once.

type MessageMissionCount ¶

type MessageMissionCount = common.MessageMissionCount

This message is emitted as response to MISSION_REQUEST_LIST by the MAV and to initiate a write transaction. The GCS can then request the individual mission item based on the knowledge of the total number of waypoints.

type MessageMissionCurrent ¶

type MessageMissionCurrent = common.MessageMissionCurrent

Message that announces the sequence number of the current target mission item (that the system will fly towards/execute when the mission is running). This message should be streamed all the time (nominally at 1Hz). This message should be emitted following a call to MAV_CMD_DO_SET_MISSION_CURRENT or SET_MISSION_CURRENT.

type MessageMissionItem ¶

type MessageMissionItem = common.MessageMissionItem

Message encoding a mission item. This message is emitted to announce the presence of a mission item and to set a mission item on the system. The mission item can be either in x, y, z meters (type: LOCAL) or x:lat, y:lon, z:altitude. Local frame is Z-down, right handed (NED), global frame is Z-up, right handed (ENU). NaN may be used to indicate an optional/default value (e.g. to use the system's current latitude or yaw rather than a specific value). See also https://mavlink.io/en/services/mission.html.

type MessageMissionItemInt ¶

type MessageMissionItemInt = common.MessageMissionItemInt

Message encoding a mission item. This message is emitted to announce the presence of a mission item and to set a mission item on the system. The mission item can be either in x, y, z meters (type: LOCAL) or x:lat, y:lon, z:altitude. Local frame is Z-down, right handed (NED), global frame is Z-up, right handed (ENU). NaN or INT32_MAX may be used in float/integer params (respectively) to indicate optional/default values (e.g. to use the component's current latitude, yaw rather than a specific value). See also https://mavlink.io/en/services/mission.html.

type MessageMissionItemReached ¶

type MessageMissionItemReached = common.MessageMissionItemReached

A certain mission item has been reached. The system will either hold this position (or circle on the orbit) or (if the autocontinue on the WP was set) continue to the next waypoint.

type MessageMissionRequest ¶

type MessageMissionRequest = common.MessageMissionRequest

Request the information of the mission item with the sequence number seq. The response of the system to this message should be a MISSION_ITEM message. https://mavlink.io/en/services/mission.html

type MessageMissionRequestInt ¶

type MessageMissionRequestInt = common.MessageMissionRequestInt

Request the information of the mission item with the sequence number seq. The response of the system to this message should be a MISSION_ITEM_INT message. https://mavlink.io/en/services/mission.html

type MessageMissionRequestList ¶

type MessageMissionRequestList = common.MessageMissionRequestList

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

type MessageMissionRequestPartialList ¶

type MessageMissionRequestPartialList = common.MessageMissionRequestPartialList

Request a partial list of mission items from the system/component. https://mavlink.io/en/services/mission.html. If start and end index are the same, just send one waypoint.

type MessageMissionSetCurrent ¶

type MessageMissionSetCurrent = common.MessageMissionSetCurrent

Set the mission item with sequence number seq as the current item and emit MISSION_CURRENT (whether or not the mission number changed). If a mission is currently being executed, the system will continue to this new mission item on the shortest path, skipping any intermediate mission items. Note that mission jump repeat counters are not reset (see MAV_CMD_DO_JUMP param2). This message may trigger a mission state-machine change on some systems: for example from MISSION_STATE_NOT_STARTED or MISSION_STATE_PAUSED to MISSION_STATE_ACTIVE. If the system is in mission mode, on those systems this command might therefore start, restart or resume the mission. If the system is not in mission mode this message must not trigger a switch to mission mode.

type MessageMissionWritePartialList ¶

type MessageMissionWritePartialList = common.MessageMissionWritePartialList

This message is sent to the MAV to write a partial list. If start index == end index, only one item will be transmitted / updated. If the start index is NOT 0 and above the current list size, this request should be REJECTED!

type MessageMountConfigure ¶

type MessageMountConfigure struct {
	// System ID.
	TargetSystem uint8
	// Component ID.
	TargetComponent uint8
	// Mount operating mode.
	MountMode MAV_MOUNT_MODE `mavenum:"uint8"`
	// (1 = yes, 0 = no).
	StabRoll uint8
	// (1 = yes, 0 = no).
	StabPitch uint8
	// (1 = yes, 0 = no).
	StabYaw uint8
}

Message to configure a camera mount, directional antenna, etc.

func (*MessageMountConfigure) GetID ¶

func (*MessageMountConfigure) GetID() uint32

GetID implements the message.Message interface.

type MessageMountControl ¶

type MessageMountControl struct {
	// System ID.
	TargetSystem uint8
	// Component ID.
	TargetComponent uint8
	// Pitch (centi-degrees) or lat (degE7), depending on mount mode.
	InputA int32
	// Roll (centi-degrees) or lon (degE7) depending on mount mode.
	InputB int32
	// Yaw (centi-degrees) or alt (cm) depending on mount mode.
	InputC int32
	// If "1" it will save current trimmed position on EEPROM (just valid for NEUTRAL and LANDING).
	SavePosition uint8
}

Message to control a camera mount, directional antenna, etc.

func (*MessageMountControl) GetID ¶

func (*MessageMountControl) GetID() uint32

GetID implements the message.Message interface.

type MessageMountOrientation ¶

type MessageMountOrientation = common.MessageMountOrientation

Orientation of a mount

type MessageMountStatus ¶

type MessageMountStatus struct {
	// System ID.
	TargetSystem uint8
	// Component ID.
	TargetComponent uint8
	// Pitch.
	PointingA int32
	// Roll.
	PointingB int32
	// Yaw.
	PointingC int32
	// Mount operating mode.
	MountMode MAV_MOUNT_MODE `mavenum:"uint8" mavext:"true"`
}

Message with some status from autopilot to GCS about camera or antenna mount.

func (*MessageMountStatus) GetID ¶

func (*MessageMountStatus) GetID() uint32

GetID implements the message.Message interface.

type MessageNamedValueFloat ¶

type MessageNamedValueFloat = common.MessageNamedValueFloat

Send a key-value pair as float. The use of this message is discouraged for normal packets, but a quite efficient way for testing new messages and getting experimental debug output.

type MessageNamedValueInt ¶

type MessageNamedValueInt = common.MessageNamedValueInt

Send a key-value pair as integer. The use of this message is discouraged for normal packets, but a quite efficient way for testing new messages and getting experimental debug output.

type MessageNavControllerOutput ¶

type MessageNavControllerOutput = common.MessageNavControllerOutput

The state of the navigation and position controller.

type MessageObstacleDistance ¶

type MessageObstacleDistance = common.MessageObstacleDistance

Obstacle distances in front of the sensor, starting from the left in increment degrees to the right

type MessageObstacleDistance_3d ¶

type MessageObstacleDistance_3d struct {
	// Timestamp (time since system boot).
	TimeBootMs uint32
	// Class id of the distance sensor type.
	SensorType MAV_DISTANCE_SENSOR `mavenum:"uint8"`
	// Coordinate frame of reference.
	Frame MAV_FRAME `mavenum:"uint8"`
	// Unique ID given to each obstacle so that its movement can be tracked. Use UINT16_MAX if object ID is unknown or cannot be determined.
	ObstacleId uint16
	// X position of the obstacle.
	X float32
	// Y position of the obstacle.
	Y float32
	// Z position of the obstacle.
	Z float32
	// Minimum distance the sensor can measure.
	MinDistance float32
	// Maximum distance the sensor can measure.
	MaxDistance float32
}

Obstacle located as a 3D vector.

func (*MessageObstacleDistance_3d) GetID ¶

GetID implements the message.Message interface.

type MessageOdometry ¶

type MessageOdometry = common.MessageOdometry

Odometry message to communicate odometry information with an external interface. Fits ROS REP 147 standard for aerial vehicles (http://www.ros.org/reps/rep-0147.html).

type MessageOnboardComputerStatus ¶

type MessageOnboardComputerStatus = common.MessageOnboardComputerStatus

Hardware status sent by an onboard computer.

type MessageOpenDroneIdArmStatus ¶

type MessageOpenDroneIdArmStatus = common.MessageOpenDroneIdArmStatus

Transmitter (remote ID system) is enabled and ready to start sending location and other required information. This is streamed by transmitter. A flight controller uses it as a condition to arm.

type MessageOpenDroneIdAuthentication ¶

type MessageOpenDroneIdAuthentication = common.MessageOpenDroneIdAuthentication

Data for filling the OpenDroneID Authentication message. The Authentication Message defines a field that can provide a means of authenticity for the identity of the UAS (Unmanned Aircraft System). The Authentication message can have two different formats. For data page 0, the fields PageCount, Length and TimeStamp are present and AuthData is only 17 bytes. For data page 1 through 15, PageCount, Length and TimeStamp are not present and the size of AuthData is 23 bytes.

type MessageOpenDroneIdBasicId ¶

type MessageOpenDroneIdBasicId = common.MessageOpenDroneIdBasicId

Data for filling the OpenDroneID Basic ID message. This and the below messages are primarily meant for feeding data to/from an OpenDroneID implementation. E.g. https://github.com/opendroneid/opendroneid-core-c. These messages are compatible with the ASTM F3411 Remote ID standard and the ASD-STAN prEN 4709-002 Direct Remote ID standard. Additional information and usage of these messages is documented at https://mavlink.io/en/services/opendroneid.html.

type MessageOpenDroneIdLocation ¶

type MessageOpenDroneIdLocation = common.MessageOpenDroneIdLocation

Data for filling the OpenDroneID Location message. The float data types are 32-bit IEEE 754. The Location message provides the location, altitude, direction and speed of the aircraft.

type MessageOpenDroneIdMessagePack ¶

type MessageOpenDroneIdMessagePack = common.MessageOpenDroneIdMessagePack

An OpenDroneID message pack is a container for multiple encoded OpenDroneID messages (i.e. not in the format given for the above message descriptions but after encoding into the compressed OpenDroneID byte format). Used e.g. when transmitting on Bluetooth 5.0 Long Range/Extended Advertising or on WiFi Neighbor Aware Networking or on WiFi Beacon.

type MessageOpenDroneIdOperatorId ¶

type MessageOpenDroneIdOperatorId = common.MessageOpenDroneIdOperatorId

Data for filling the OpenDroneID Operator ID message, which contains the CAA (Civil Aviation Authority) issued operator ID.

type MessageOpenDroneIdSelfId ¶

type MessageOpenDroneIdSelfId = common.MessageOpenDroneIdSelfId

Data for filling the OpenDroneID Self ID message. The Self ID Message is an opportunity for the operator to (optionally) declare their identity and purpose of the flight. This message can provide additional information that could reduce the threat profile of a UA (Unmanned Aircraft) flying in a particular area or manner. This message can also be used to provide optional additional clarification in an emergency/remote ID system failure situation.

type MessageOpenDroneIdSystem ¶

type MessageOpenDroneIdSystem = common.MessageOpenDroneIdSystem

Data for filling the OpenDroneID System message. The System Message contains general system information including the operator location/altitude and possible aircraft group and/or category/class information.

type MessageOpenDroneIdSystemUpdate ¶

type MessageOpenDroneIdSystemUpdate = common.MessageOpenDroneIdSystemUpdate

Update the data in the OPEN_DRONE_ID_SYSTEM message with new location information. This can be sent to update the location information for the operator when no other information in the SYSTEM message has changed. This message allows for efficient operation on radio links which have limited uplink bandwidth while meeting requirements for update frequency of the operator location.

type MessageOpticalFlow ¶

type MessageOpticalFlow = common.MessageOpticalFlow

Optical flow from a flow sensor (e.g. optical mouse sensor)

type MessageOpticalFlowRad ¶

type MessageOpticalFlowRad = common.MessageOpticalFlowRad

Optical flow from an angular rate flow sensor (e.g. PX4FLOW or mouse sensor)

type MessageOrbitExecutionStatus ¶

type MessageOrbitExecutionStatus = common.MessageOrbitExecutionStatus

Vehicle status report that is sent out while orbit execution is in progress (see MAV_CMD_DO_ORBIT).

type MessageOsdParamConfig ¶

type MessageOsdParamConfig struct {
	// System ID.
	TargetSystem uint8
	// Component ID.
	TargetComponent uint8
	// Request ID - copied to reply.
	RequestId uint32
	// OSD parameter screen index.
	OsdScreen uint8
	// OSD parameter display index.
	OsdIndex uint8
	// 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 string `mavlen:"16"`
	// Config type.
	ConfigType OSD_PARAM_CONFIG_TYPE `mavenum:"uint8"`
	// OSD parameter minimum value.
	MinValue float32
	// OSD parameter maximum value.
	MaxValue float32
	// OSD parameter increment.
	Increment float32
}

Configure an OSD parameter slot.

func (*MessageOsdParamConfig) GetID ¶

func (*MessageOsdParamConfig) GetID() uint32

GetID implements the message.Message interface.

type MessageOsdParamConfigReply ¶

type MessageOsdParamConfigReply struct {
	// Request ID - copied from request.
	RequestId uint32
	// Config error type.
	Result OSD_PARAM_CONFIG_ERROR `mavenum:"uint8"`
}

Configure OSD parameter reply.

func (*MessageOsdParamConfigReply) GetID ¶

GetID implements the message.Message interface.

type MessageOsdParamShowConfig ¶

type MessageOsdParamShowConfig struct {
	// System ID.
	TargetSystem uint8
	// Component ID.
	TargetComponent uint8
	// Request ID - copied to reply.
	RequestId uint32
	// OSD parameter screen index.
	OsdScreen uint8
	// OSD parameter display index.
	OsdIndex uint8
}

Read a configured an OSD parameter slot.

func (*MessageOsdParamShowConfig) GetID ¶

GetID implements the message.Message interface.

type MessageOsdParamShowConfigReply ¶

type MessageOsdParamShowConfigReply struct {
	// Request ID - copied from request.
	RequestId uint32
	// Config error type.
	Result OSD_PARAM_CONFIG_ERROR `mavenum:"uint8"`
	// 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 string `mavlen:"16"`
	// Config type.
	ConfigType OSD_PARAM_CONFIG_TYPE `mavenum:"uint8"`
	// OSD parameter minimum value.
	MinValue float32
	// OSD parameter maximum value.
	MaxValue float32
	// OSD parameter increment.
	Increment float32
}

Read configured OSD parameter reply.

func (*MessageOsdParamShowConfigReply) GetID ¶

GetID implements the message.Message interface.

type MessageParamExtAck ¶

type MessageParamExtAck = common.MessageParamExtAck

Response from a PARAM_EXT_SET message.

type MessageParamExtRequestList ¶

type MessageParamExtRequestList = common.MessageParamExtRequestList

Request all parameters of this component. All parameters should be emitted in response as PARAM_EXT_VALUE.

type MessageParamExtRequestRead ¶

type MessageParamExtRequestRead = common.MessageParamExtRequestRead

Request to read the value of a parameter with either the param_id string id or param_index. PARAM_EXT_VALUE should be emitted in response.

type MessageParamExtSet ¶

type MessageParamExtSet = common.MessageParamExtSet

Set a parameter value. In order to deal with message loss (and retransmission of PARAM_EXT_SET), when setting a parameter value and the new value is the same as the current value, you will immediately get a PARAM_ACK_ACCEPTED response. If the current state is PARAM_ACK_IN_PROGRESS, you will accordingly receive a PARAM_ACK_IN_PROGRESS in response.

type MessageParamExtValue ¶

type MessageParamExtValue = common.MessageParamExtValue

Emit the value of a parameter. The inclusion of param_count and param_index in the message allows the recipient to keep track of received parameters and allows them to re-request missing parameters after a loss or timeout.

type MessageParamMapRc ¶

type MessageParamMapRc = common.MessageParamMapRc

Bind a RC channel to a parameter. The parameter should change according to the RC channel value.

type MessageParamRequestList ¶

type MessageParamRequestList = common.MessageParamRequestList

Request all parameters of this component. After this request, all parameters are emitted. The parameter microservice is documented at https://mavlink.io/en/services/parameter.html

type MessageParamRequestRead ¶

type MessageParamRequestRead = common.MessageParamRequestRead

Request to read the onboard parameter with the param_id string id. Onboard parameters are stored as key[const char*] -> value[float]. This allows to send a parameter to any other component (such as the GCS) without the need of previous knowledge of possible parameter names. Thus the same GCS can store different parameters for different autopilots. See also https://mavlink.io/en/services/parameter.html for a full documentation of QGroundControl and IMU code.

type MessageParamSet ¶

type MessageParamSet = common.MessageParamSet

Set a parameter value (write new value to permanent storage). The receiving component should acknowledge the new parameter value by broadcasting a PARAM_VALUE message (broadcasting ensures that multiple GCS all have an up-to-date list of all parameters). If the sending GCS did not receive a PARAM_VALUE within its timeout time, it should re-send the PARAM_SET message. The parameter microservice is documented at https://mavlink.io/en/services/parameter.html. PARAM_SET may also be called within the context of a transaction (started with MAV_CMD_PARAM_TRANSACTION). Within a transaction the receiving component should respond with PARAM_ACK_TRANSACTION to the setter component (instead of broadcasting PARAM_VALUE), and PARAM_SET should be re-sent if this is ACK not received.

type MessageParamValue ¶

type MessageParamValue = common.MessageParamValue

Emit the value of a onboard parameter. The inclusion of param_count and param_index in the message allows the recipient to keep track of received parameters and allows him to re-request missing parameters after a loss or timeout. The parameter microservice is documented at https://mavlink.io/en/services/parameter.html

type MessagePidTuning ¶

type MessagePidTuning struct {
	// Axis.
	Axis PID_TUNING_AXIS `mavenum:"uint8"`
	// Desired rate.
	Desired float32
	// Achieved rate.
	Achieved float32
	// FF component.
	Ff float32 `mavname:"FF"`
	// P component.
	P float32 `mavname:"P"`
	// I component.
	I float32 `mavname:"I"`
	// D component.
	D float32 `mavname:"D"`
	// Slew rate.
	Srate float32 `mavext:"true" mavname:"SRate"`
	// P/D oscillation modifier.
	Pdmod float32 `mavext:"true" mavname:"PDmod"`
}

PID tuning information.

func (*MessagePidTuning) GetID ¶

func (*MessagePidTuning) GetID() uint32

GetID implements the message.Message interface.

type MessagePing ¶

type MessagePing = common.MessagePing

A ping message either requesting or responding to a ping. This allows to measure the system latencies, including serial port, radio modem and UDP connections. The ping microservice is documented at https://mavlink.io/en/services/ping.html

type MessagePlayTune ¶

type MessagePlayTune = common.MessagePlayTune

Control vehicle tone generation (buzzer).

type MessagePlayTuneV2 ¶

type MessagePlayTuneV2 = common.MessagePlayTuneV2

Play vehicle tone/tune (buzzer). Supersedes message PLAY_TUNE.

type MessagePositionTargetGlobalInt ¶

type MessagePositionTargetGlobalInt = common.MessagePositionTargetGlobalInt

Reports the current commanded vehicle position, velocity, and acceleration as specified by the autopilot. This should match the commands sent in SET_POSITION_TARGET_GLOBAL_INT if the vehicle is being controlled this way.

type MessagePositionTargetLocalNed ¶

type MessagePositionTargetLocalNed = common.MessagePositionTargetLocalNed

Reports the current commanded vehicle position, velocity, and acceleration as specified by the autopilot. This should match the commands sent in SET_POSITION_TARGET_LOCAL_NED if the vehicle is being controlled this way.

type MessagePowerStatus ¶

type MessagePowerStatus = common.MessagePowerStatus

Power supply status

type MessageProtocolVersion ¶

type MessageProtocolVersion = minimal.MessageProtocolVersion

Version and capability of protocol version. This message can be requested with MAV_CMD_REQUEST_MESSAGE and is used as part of the handshaking to establish which MAVLink version should be used on the network. Every node should respond to a request for PROTOCOL_VERSION to enable the handshaking. Library implementers should consider adding this into the default decoding state machine to allow the protocol core to respond directly.

type MessageRadio ¶

type MessageRadio struct {
	// Local signal strength.
	Rssi uint8
	// Remote signal strength.
	Remrssi uint8
	// How full the tx buffer is.
	Txbuf uint8
	// Background noise level.
	Noise uint8
	// Remote background noise level.
	Remnoise uint8
	// Receive errors.
	Rxerrors uint16
	// Count of error corrected packets.
	Fixed uint16
}

Status generated by radio.

func (*MessageRadio) GetID ¶

func (*MessageRadio) GetID() uint32

GetID implements the message.Message interface.

type MessageRadioStatus ¶

type MessageRadioStatus = common.MessageRadioStatus

Status generated by radio and injected into MAVLink stream.

type MessageRallyFetchPoint ¶

type MessageRallyFetchPoint struct {
	// System ID.
	TargetSystem uint8
	// Component ID.
	TargetComponent uint8
	// Point index (first point is 0).
	Idx uint8
}

Request a current rally point from MAV. MAV should respond with a RALLY_POINT message. MAV should not respond if the request is invalid.

func (*MessageRallyFetchPoint) GetID ¶

func (*MessageRallyFetchPoint) GetID() uint32

GetID implements the message.Message interface.

type MessageRallyPoint ¶

type MessageRallyPoint struct {
	// System ID.
	TargetSystem uint8
	// Component ID.
	TargetComponent uint8
	// Point index (first point is 0).
	Idx uint8
	// Total number of points (for sanity checking).
	Count uint8
	// Latitude of point.
	Lat int32
	// Longitude of point.
	Lng int32
	// Transit / loiter altitude relative to home.
	Alt int16
	// Break altitude relative to home.
	BreakAlt int16
	// Heading to aim for when landing.
	LandDir uint16
	// Configuration flags.
	Flags RALLY_FLAGS `mavenum:"uint8"`
}

A rally point. Used to set a point when from GCS -> MAV. Also used to return a point from MAV -> GCS.

func (*MessageRallyPoint) GetID ¶

func (*MessageRallyPoint) GetID() uint32

GetID implements the message.Message interface.

type MessageRangefinder ¶

type MessageRangefinder struct {
	// Distance.
	Distance float32
	// Raw voltage if available, zero otherwise.
	Voltage float32
}

Rangefinder reporting.

func (*MessageRangefinder) GetID ¶

func (*MessageRangefinder) GetID() uint32

GetID implements the message.Message interface.

type MessageRawImu ¶

type MessageRawImu = common.MessageRawImu

The RAW IMU readings for a 9DOF sensor, which is identified by the id (default IMU1). This message should always contain the true raw values without any scaling to allow data capture and system debugging.

type MessageRawPressure ¶

type MessageRawPressure = common.MessageRawPressure

The RAW pressure readings for the typical setup of one absolute pressure and one differential pressure sensor. The sensor values should be the raw, UNSCALED ADC values.

type MessageRawRpm ¶

type MessageRawRpm = common.MessageRawRpm

RPM sensor data message.

type MessageRcChannels ¶

type MessageRcChannels = common.MessageRcChannels

The PPM values of the RC channels received. The standard PPM modulation is as follows: 1000 microseconds: 0%, 2000 microseconds: 100%. A value of UINT16_MAX implies the channel is unused. Individual receivers/transmitters might violate this specification.

type MessageRcChannelsOverride ¶

type MessageRcChannelsOverride = common.MessageRcChannelsOverride

The RAW values of the RC channels sent to the MAV to override info received from the RC radio. The standard PPM modulation is as follows: 1000 microseconds: 0%, 2000 microseconds: 100%. Individual receivers/transmitters might violate this specification. Note carefully the semantic differences between the first 8 channels and the subsequent channels

type MessageRcChannelsRaw ¶

type MessageRcChannelsRaw = common.MessageRcChannelsRaw

The RAW values of the RC channels received. The standard PPM modulation is as follows: 1000 microseconds: 0%, 2000 microseconds: 100%. A value of UINT16_MAX implies the channel is unused. Individual receivers/transmitters might violate this specification.

type MessageRcChannelsScaled ¶

type MessageRcChannelsScaled = common.MessageRcChannelsScaled

The scaled values of the RC channels received: (-100%) -10000, (0%) 0, (100%) 10000. Channels that are inactive should be set to UINT16_MAX.

type MessageRemoteLogBlockStatus ¶

type MessageRemoteLogBlockStatus struct {
	// System ID.
	TargetSystem uint8
	// Component ID.
	TargetComponent uint8
	// Log data block sequence number.
	Seqno uint32
	// Log data block status.
	Status MAV_REMOTE_LOG_DATA_BLOCK_STATUSES `mavenum:"uint8"`
}

Send Status of each log block that autopilot board might have sent.

func (*MessageRemoteLogBlockStatus) GetID ¶

GetID implements the message.Message interface.

type MessageRemoteLogDataBlock ¶

type MessageRemoteLogDataBlock struct {
	// System ID.
	TargetSystem uint8
	// Component ID.
	TargetComponent uint8
	// Log data block sequence number.
	Seqno MAV_REMOTE_LOG_DATA_BLOCK_COMMANDS `mavenum:"uint32"`
	// Log data block.
	Data [200]uint8
}

Send a block of log data to remote location.

func (*MessageRemoteLogDataBlock) GetID ¶

GetID implements the message.Message interface.

type MessageRequestDataStream ¶

type MessageRequestDataStream = common.MessageRequestDataStream

Request a data stream.

type MessageRequestEvent ¶

type MessageRequestEvent = common.MessageRequestEvent

Request one or more events to be (re-)sent. If first_sequence==last_sequence, only a single event is requested. Note that first_sequence can be larger than last_sequence (because the sequence number can wrap). Each sequence will trigger an EVENT or EVENT_ERROR response.

type MessageResourceRequest ¶

type MessageResourceRequest = common.MessageResourceRequest

The autopilot is requesting a resource (file, binary, other type of data)

type MessageResponseEventError ¶

type MessageResponseEventError = common.MessageResponseEventError

Response to a REQUEST_EVENT in case of an error (e.g. the event is not available anymore).

type MessageRpm ¶

type MessageRpm struct {
	// RPM Sensor1.
	Rpm1 float32
	// RPM Sensor2.
	Rpm2 float32
}

RPM sensor output.

func (*MessageRpm) GetID ¶

func (*MessageRpm) GetID() uint32

GetID implements the message.Message interface.

type MessageSafetyAllowedArea ¶

type MessageSafetyAllowedArea = common.MessageSafetyAllowedArea

Read out the safety zone the MAV currently assumes.

type MessageSafetySetAllowedArea ¶

type MessageSafetySetAllowedArea = common.MessageSafetySetAllowedArea

Set a safety zone (volume), which is defined by two corners of a cube. This message can be used to tell the MAV which setpoints/waypoints to accept and which to reject. Safety areas are often enforced by national or competition regulations.

type MessageScaledImu ¶

type MessageScaledImu = common.MessageScaledImu

The RAW IMU readings for the usual 9DOF sensor setup. This message should contain the scaled values to the described units

type MessageScaledImu2 ¶

type MessageScaledImu2 = common.MessageScaledImu2

The RAW IMU readings for secondary 9DOF sensor setup. This message should contain the scaled values to the described units

type MessageScaledImu3 ¶

type MessageScaledImu3 = common.MessageScaledImu3

The RAW IMU readings for 3rd 9DOF sensor setup. This message should contain the scaled values to the described units

type MessageScaledPressure ¶

type MessageScaledPressure = common.MessageScaledPressure

The pressure readings for the typical setup of one absolute and differential pressure sensor. The units are as specified in each field.

type MessageScaledPressure2 ¶

type MessageScaledPressure2 = common.MessageScaledPressure2

Barometer readings for 2nd barometer

type MessageScaledPressure3 ¶

type MessageScaledPressure3 = common.MessageScaledPressure3

Barometer readings for 3rd barometer

type MessageSensorOffsets ¶

type MessageSensorOffsets struct {
	// Magnetometer X offset.
	MagOfsX int16
	// Magnetometer Y offset.
	MagOfsY int16
	// Magnetometer Z offset.
	MagOfsZ int16
	// Magnetic declination.
	MagDeclination float32
	// Raw pressure from barometer.
	RawPress int32
	// Raw temperature from barometer.
	RawTemp int32
	// Gyro X calibration.
	GyroCalX float32
	// Gyro Y calibration.
	GyroCalY float32
	// Gyro Z calibration.
	GyroCalZ float32
	// Accel X calibration.
	AccelCalX float32
	// Accel Y calibration.
	AccelCalY float32
	// Accel Z calibration.
	AccelCalZ float32
}

Offsets and calibrations values for hardware sensors. This makes it easier to debug the calibration process.

func (*MessageSensorOffsets) GetID ¶

func (*MessageSensorOffsets) GetID() uint32

GetID implements the message.Message interface.

type MessageSerialControl ¶

type MessageSerialControl = common.MessageSerialControl

Control a serial port. This can be used for raw access to an onboard serial peripheral such as a GPS or telemetry radio. It is designed to make it possible to update the devices firmware via MAVLink messages or change the devices settings. A message with zero bytes can be used to change just the baudrate.

type MessageServoOutputRaw ¶

type MessageServoOutputRaw = common.MessageServoOutputRaw

Superseded by ACTUATOR_OUTPUT_STATUS. The RAW values of the servo outputs (for RC input from the remote, use the RC_CHANNELS messages). The standard PPM modulation is as follows: 1000 microseconds: 0%, 2000 microseconds: 100%.

type MessageSetActuatorControlTarget ¶

type MessageSetActuatorControlTarget = common.MessageSetActuatorControlTarget

Set the vehicle attitude and body angular rates.

type MessageSetAttitudeTarget ¶

type MessageSetAttitudeTarget = common.MessageSetAttitudeTarget

Sets a desired vehicle attitude. Used by an external controller to command the vehicle (manual controller or other system).

type MessageSetGpsGlobalOrigin ¶

type MessageSetGpsGlobalOrigin = common.MessageSetGpsGlobalOrigin

Sets the GPS coordinates of the vehicle local origin (0,0,0) position. Vehicle should emit GPS_GLOBAL_ORIGIN irrespective of whether the origin is changed. This enables transform between the local coordinate frame and the global (GPS) coordinate frame, which may be necessary when (for example) indoor and outdoor settings are connected and the MAV should move from in- to outdoor.

type MessageSetHomePosition ¶

type MessageSetHomePosition = common.MessageSetHomePosition

Sets the home position. The home position is the default position that the system will return to and land on. The position is set automatically by the system during the takeoff (and may also be set using this message). The global and local positions encode the position in the respective coordinate frames, while the q parameter encodes the orientation of the surface. Under normal conditions it describes the heading and terrain slope, which can be used by the aircraft to adjust the approach. The approach 3D vector describes the point to which the system should fly in normal flight mode and then perform a landing sequence along the vector. Note: the current home position may be emitted in a HOME_POSITION message on request (using MAV_CMD_REQUEST_MESSAGE with param1=242).

type MessageSetMagOffsets ¶

type MessageSetMagOffsets struct {
	// System ID.
	TargetSystem uint8
	// Component ID.
	TargetComponent uint8
	// Magnetometer X offset.
	MagOfsX int16
	// Magnetometer Y offset.
	MagOfsY int16
	// Magnetometer Z offset.
	MagOfsZ int16
}

Set the magnetometer offsets

func (*MessageSetMagOffsets) GetID ¶

func (*MessageSetMagOffsets) GetID() uint32

GetID implements the message.Message interface.

type MessageSetMode ¶

type MessageSetMode = common.MessageSetMode

Set the system mode, as defined by enum MAV_MODE. There is no target component id as the mode is by definition for the overall aircraft, not only for one component.

type MessageSetPositionTargetGlobalInt ¶

type MessageSetPositionTargetGlobalInt = common.MessageSetPositionTargetGlobalInt

Sets a desired vehicle position, velocity, and/or acceleration in a global coordinate system (WGS84). Used by an external controller to command the vehicle (manual controller or other system).

type MessageSetPositionTargetLocalNed ¶

type MessageSetPositionTargetLocalNed = common.MessageSetPositionTargetLocalNed

Sets a desired vehicle position in a local north-east-down coordinate frame. Used by an external controller to command the vehicle (manual controller or other system).

type MessageSetupSigning ¶

type MessageSetupSigning = common.MessageSetupSigning

Setup a MAVLink2 signing key. If called with secret_key of all zero and zero initial_timestamp will disable signing

type MessageSimState ¶

type MessageSimState = common.MessageSimState

Status of simulation environment, if used

type MessageSimstate ¶

type MessageSimstate struct {
	// Roll angle.
	Roll float32
	// Pitch angle.
	Pitch float32
	// Yaw angle.
	Yaw float32
	// X acceleration.
	Xacc float32
	// Y acceleration.
	Yacc float32
	// Z acceleration.
	Zacc float32
	// Angular speed around X axis.
	Xgyro float32
	// Angular speed around Y axis.
	Ygyro float32
	// Angular speed around Z axis.
	Zgyro float32
	// Latitude.
	Lat int32
	// Longitude.
	Lng int32
}

Status of simulation environment, if used.

func (*MessageSimstate) GetID ¶

func (*MessageSimstate) GetID() uint32

GetID implements the message.Message interface.

type MessageSmartBatteryInfo ¶

type MessageSmartBatteryInfo = common.MessageSmartBatteryInfo

Smart Battery information (static/infrequent update). Use for updates from: smart battery to flight stack, flight stack to GCS. Use BATTERY_STATUS for smart battery frequent updates.

type MessageStatustext ¶

type MessageStatustext = common.MessageStatustext

Status text message. These messages are printed in yellow in the COMM console of QGroundControl. WARNING: They consume quite some bandwidth, so use only for important status and error messages. If implemented wisely, these messages are buffered on the MCU and sent only at a limited rate (e.g. 10 Hz).

type MessageStorageInformation ¶

type MessageStorageInformation = common.MessageStorageInformation

Information about a storage medium. This message is sent in response to a request with MAV_CMD_REQUEST_MESSAGE and whenever the status of the storage changes (STORAGE_STATUS). Use MAV_CMD_REQUEST_MESSAGE.param2 to indicate the index/id of requested storage: 0 for all, 1 for first, 2 for second, etc.

type MessageSupportedTunes ¶

type MessageSupportedTunes = common.MessageSupportedTunes

Tune formats supported by vehicle. This should be emitted as response to MAV_CMD_REQUEST_MESSAGE.

type MessageSysStatus ¶

type MessageSysStatus = common.MessageSysStatus

The general system state. If the system is following the MAVLink standard, the system state is mainly defined by three orthogonal states/modes: The system mode, which is either LOCKED (motors shut down and locked), MANUAL (system under RC control), GUIDED (system with autonomous position control, position setpoint controlled manually) or AUTO (system guided by path/waypoint planner). The NAV_MODE defined the current flight state: LIFTOFF (often an open-loop maneuver), LANDING, WAYPOINTS or VECTOR. This represents the internal navigation state machine. The system status shows whether the system is currently active or not and if an emergency occurred. During the CRITICAL and EMERGENCY states the MAV is still considered to be active, but should start emergency procedures autonomously. After a failure occurred it should first move from active to critical to allow manual intervention and then move to emergency after a certain timeout.

type MessageSystemTime ¶

type MessageSystemTime = common.MessageSystemTime

The system time is the time of the master clock, typically the computer clock of the main onboard computer.

type MessageTerrainCheck ¶

type MessageTerrainCheck = common.MessageTerrainCheck

Request that the vehicle report terrain height at the given location (expected response is a TERRAIN_REPORT). Used by GCS to check if vehicle has all terrain data needed for a mission.

type MessageTerrainData ¶

type MessageTerrainData = common.MessageTerrainData

Terrain data sent from GCS. The lat/lon and grid_spacing must be the same as a lat/lon from a TERRAIN_REQUEST. See terrain protocol docs: https://mavlink.io/en/services/terrain.html

type MessageTerrainReport ¶

type MessageTerrainReport = common.MessageTerrainReport

Streamed from drone to report progress of terrain map download (initiated by TERRAIN_REQUEST), or sent as a response to a TERRAIN_CHECK request. See terrain protocol docs: https://mavlink.io/en/services/terrain.html

type MessageTerrainRequest ¶

type MessageTerrainRequest = common.MessageTerrainRequest

Request for terrain data and terrain status. See terrain protocol docs: https://mavlink.io/en/services/terrain.html

type MessageTimeEstimateToTarget ¶

type MessageTimeEstimateToTarget = common.MessageTimeEstimateToTarget

Time/duration estimates for various events and actions given the current vehicle state and position.

type MessageTimesync ¶

type MessageTimesync = common.MessageTimesync

Time synchronization message. The message is used for both timesync requests and responses. The request is sent with `ts1=syncing component timestamp` and `tc1=0`, and may be broadcast or targeted to a specific system/component. The response is sent with `ts1=syncing component timestamp` (mirror back unchanged), and `tc1=responding component timestamp`, with the `target_system` and `target_component` set to ids of the original request. Systems can determine if they are receiving a request or response based on the value of `tc`. If the response has `target_system==target_component==0` the remote system has not been updated to use the component IDs and cannot reliably timesync; the requestor may report an error. Timestamps are UNIX Epoch time or time since system boot in nanoseconds (the timestamp format can be inferred by checking for the magnitude of the number; generally it doesn't matter as only the offset is used). The message sequence is repeated numerous times with results being filtered/averaged to estimate the offset.

type MessageTrajectoryRepresentationBezier ¶

type MessageTrajectoryRepresentationBezier = common.MessageTrajectoryRepresentationBezier

Describe a trajectory using an array of up-to 5 bezier control points in the local frame (MAV_FRAME_LOCAL_NED).

type MessageTrajectoryRepresentationWaypoints ¶

type MessageTrajectoryRepresentationWaypoints = common.MessageTrajectoryRepresentationWaypoints

Describe a trajectory using an array of up-to 5 waypoints in the local frame (MAV_FRAME_LOCAL_NED).

type MessageTunnel ¶

type MessageTunnel = common.MessageTunnel

Message for transporting "arbitrary" variable-length data from one component to another (broadcast is not forbidden, but discouraged). The encoding of the data is usually extension specific, i.e. determined by the source, and is usually not documented as part of the MAVLink specification.

type MessageUavcanNodeInfo ¶

type MessageUavcanNodeInfo = common.MessageUavcanNodeInfo

General information describing a particular UAVCAN node. Please refer to the definition of the UAVCAN service "uavcan.protocol.GetNodeInfo" for the background information. This message should be emitted by the system whenever a new node appears online, or an existing node reboots. Additionally, it can be emitted upon request from the other end of the MAVLink channel (see MAV_CMD_UAVCAN_GET_NODE_INFO). It is also not prohibited to emit this message unconditionally at a low frequency. The UAVCAN specification is available at http://uavcan.org.

type MessageUavcanNodeStatus ¶

type MessageUavcanNodeStatus = common.MessageUavcanNodeStatus

General status information of an UAVCAN node. Please refer to the definition of the UAVCAN message "uavcan.protocol.NodeStatus" for the background information. The UAVCAN specification is available at http://uavcan.org.

type MessageUavionixAdsbOutCfg ¶

type MessageUavionixAdsbOutCfg = uavionix.MessageUavionixAdsbOutCfg

Static data to configure the ADS-B transponder (send within 10 sec of a POR and every 10 sec thereafter)

type MessageUavionixAdsbOutDynamic ¶

type MessageUavionixAdsbOutDynamic = uavionix.MessageUavionixAdsbOutDynamic

Dynamic data used to generate ADS-B out transponder data (send at 5Hz)

type MessageUavionixAdsbTransceiverHealthReport ¶

type MessageUavionixAdsbTransceiverHealthReport = uavionix.MessageUavionixAdsbTransceiverHealthReport

Transceiver heartbeat with health report (updated every 10s)

type MessageUtmGlobalPosition ¶

type MessageUtmGlobalPosition = common.MessageUtmGlobalPosition

The global position resulting from GPS and sensor fusion.

type MessageV2Extension ¶

type MessageV2Extension = common.MessageV2Extension

Message implementing parts of the V2 payload specs in V1 frames for transitional support.

type MessageVfrHud ¶

type MessageVfrHud = common.MessageVfrHud

Metrics typically displayed on a HUD for fixed wing aircraft.

type MessageVibration ¶

type MessageVibration = common.MessageVibration

Vibration levels and accelerometer clipping

type MessageViconPositionEstimate ¶

type MessageViconPositionEstimate = common.MessageViconPositionEstimate

Global position estimate from a Vicon motion system source.

type MessageVideoStreamInformation ¶

type MessageVideoStreamInformation = common.MessageVideoStreamInformation

Information about video stream. It may be requested using MAV_CMD_REQUEST_MESSAGE, where param2 indicates the video stream id: 0 for all streams, 1 for first, 2 for second, etc.

type MessageVideoStreamStatus ¶

type MessageVideoStreamStatus = common.MessageVideoStreamStatus

Information about the status of a video stream. It may be requested using MAV_CMD_REQUEST_MESSAGE.

type MessageVisionPositionDelta ¶

type MessageVisionPositionDelta struct {
	// Timestamp (synced to UNIX time or since system boot).
	TimeUsec uint64
	// Time since the last reported camera frame.
	TimeDeltaUsec uint64
	// Defines a rotation vector [roll, pitch, yaw] to the current MAV_FRAME_BODY_FRD from the previous MAV_FRAME_BODY_FRD.
	AngleDelta [3]float32
	// Change in position to the current MAV_FRAME_BODY_FRD from the previous FRAME_BODY_FRD rotated to the current MAV_FRAME_BODY_FRD.
	PositionDelta [3]float32
	// Normalised confidence value from 0 to 100.
	Confidence float32
}

Camera vision based attitude and position deltas.

func (*MessageVisionPositionDelta) GetID ¶

GetID implements the message.Message interface.

type MessageVisionPositionEstimate ¶

type MessageVisionPositionEstimate = common.MessageVisionPositionEstimate

Local position/attitude estimate from a vision source.

type MessageVisionSpeedEstimate ¶

type MessageVisionSpeedEstimate = common.MessageVisionSpeedEstimate

Speed estimate from a vision source.

type MessageWaterDepth ¶

type MessageWaterDepth struct {
	// Timestamp (time since system boot)
	TimeBootMs uint32
	// Onboard ID of the sensor
	Id uint8
	// Sensor data healthy (0=unhealthy, 1=healthy)
	Healthy uint8
	// Latitude
	Lat int32
	// Longitude
	Lng int32
	// Altitude (MSL) of vehicle
	Alt float32
	// Roll angle
	Roll float32
	// Pitch angle
	Pitch float32
	// Yaw angle
	Yaw float32
	// Distance (uncorrected)
	Distance float32
	// Water temperature
	Temperature float32
}

Water depth

func (*MessageWaterDepth) GetID ¶

func (*MessageWaterDepth) GetID() uint32

GetID implements the message.Message interface.

type MessageWheelDistance ¶

type MessageWheelDistance = common.MessageWheelDistance

Cumulative distance traveled for each reported wheel.

type MessageWifiConfigAp ¶

type MessageWifiConfigAp = common.MessageWifiConfigAp

Configure WiFi AP SSID, password, and mode. This message is re-emitted as an acknowledgement by the AP. The message may also be explicitly requested using MAV_CMD_REQUEST_MESSAGE

type MessageWinchStatus ¶

type MessageWinchStatus = common.MessageWinchStatus

Winch status.

type MessageWind ¶

type MessageWind struct {
	// Wind direction (that wind is coming from).
	Direction float32
	// Wind speed in ground plane.
	Speed float32
	// Vertical wind speed.
	SpeedZ float32
}

Wind estimation.

func (*MessageWind) GetID ¶

func (*MessageWind) GetID() uint32

GetID implements the message.Message interface.

type MessageWindCov ¶

type MessageWindCov = common.MessageWindCov

Wind estimate from vehicle. Note that despite the name, this message does not actually contain any covariances but instead variability and accuracy fields in terms of standard deviation (1-STD).

type NAV_VTOL_LAND_OPTIONS = common.NAV_VTOL_LAND_OPTIONS
const (
	// Default autopilot landing behaviour.
	NAV_VTOL_LAND_OPTIONS_DEFAULT NAV_VTOL_LAND_OPTIONS = common.NAV_VTOL_LAND_OPTIONS_DEFAULT
	// Descend in fixed wing mode, transitioning to multicopter mode for vertical landing when close to the ground.
	// The fixed wing descent pattern is at the discretion of the vehicle (e.g. transition altitude, loiter direction, radius, and speed, etc.).
	NAV_VTOL_LAND_OPTIONS_FW_DESCENT NAV_VTOL_LAND_OPTIONS = common.NAV_VTOL_LAND_OPTIONS_FW_DESCENT
	// Land in multicopter mode on reaching the landing coordinates (the whole landing is by "hover descent").
	NAV_VTOL_LAND_OPTIONS_HOVER_DESCENT NAV_VTOL_LAND_OPTIONS = common.NAV_VTOL_LAND_OPTIONS_HOVER_DESCENT
)

type ORBIT_YAW_BEHAVIOUR ¶

type ORBIT_YAW_BEHAVIOUR = common.ORBIT_YAW_BEHAVIOUR

Yaw behaviour during orbit flight.

const (
	// Vehicle front points to the center (default).
	ORBIT_YAW_BEHAVIOUR_HOLD_FRONT_TO_CIRCLE_CENTER ORBIT_YAW_BEHAVIOUR = common.ORBIT_YAW_BEHAVIOUR_HOLD_FRONT_TO_CIRCLE_CENTER
	// Vehicle front holds heading when message received.
	ORBIT_YAW_BEHAVIOUR_HOLD_INITIAL_HEADING ORBIT_YAW_BEHAVIOUR = common.ORBIT_YAW_BEHAVIOUR_HOLD_INITIAL_HEADING
	// Yaw uncontrolled.
	ORBIT_YAW_BEHAVIOUR_UNCONTROLLED ORBIT_YAW_BEHAVIOUR = common.ORBIT_YAW_BEHAVIOUR_UNCONTROLLED
	// Vehicle front follows flight path (tangential to circle).
	ORBIT_YAW_BEHAVIOUR_HOLD_FRONT_TANGENT_TO_CIRCLE ORBIT_YAW_BEHAVIOUR = common.ORBIT_YAW_BEHAVIOUR_HOLD_FRONT_TANGENT_TO_CIRCLE
	// Yaw controlled by RC input.
	ORBIT_YAW_BEHAVIOUR_RC_CONTROLLED ORBIT_YAW_BEHAVIOUR = common.ORBIT_YAW_BEHAVIOUR_RC_CONTROLLED
)

type OSD_PARAM_CONFIG_ERROR ¶

type OSD_PARAM_CONFIG_ERROR uint32

The error type for the OSD parameter editor.

const (
	OSD_PARAM_SUCCESS                 OSD_PARAM_CONFIG_ERROR = 0
	OSD_PARAM_INVALID_SCREEN          OSD_PARAM_CONFIG_ERROR = 1
	OSD_PARAM_INVALID_PARAMETER_INDEX OSD_PARAM_CONFIG_ERROR = 2
	OSD_PARAM_INVALID_PARAMETER       OSD_PARAM_CONFIG_ERROR = 3
)

func (OSD_PARAM_CONFIG_ERROR) MarshalText ¶

func (e OSD_PARAM_CONFIG_ERROR) MarshalText() ([]byte, error)

MarshalText implements the encoding.TextMarshaler interface.

func (OSD_PARAM_CONFIG_ERROR) String ¶

func (e OSD_PARAM_CONFIG_ERROR) String() string

String implements the fmt.Stringer interface.

func (*OSD_PARAM_CONFIG_ERROR) UnmarshalText ¶

func (e *OSD_PARAM_CONFIG_ERROR) UnmarshalText(text []byte) error

UnmarshalText implements the encoding.TextUnmarshaler interface.

type OSD_PARAM_CONFIG_TYPE ¶

type OSD_PARAM_CONFIG_TYPE uint32

The type of parameter for the OSD parameter editor.

const (
	OSD_PARAM_NONE              OSD_PARAM_CONFIG_TYPE = 0
	OSD_PARAM_SERIAL_PROTOCOL   OSD_PARAM_CONFIG_TYPE = 1
	OSD_PARAM_SERVO_FUNCTION    OSD_PARAM_CONFIG_TYPE = 2
	OSD_PARAM_AUX_FUNCTION      OSD_PARAM_CONFIG_TYPE = 3
	OSD_PARAM_FLIGHT_MODE       OSD_PARAM_CONFIG_TYPE = 4
	OSD_PARAM_FAILSAFE_ACTION   OSD_PARAM_CONFIG_TYPE = 5
	OSD_PARAM_FAILSAFE_ACTION_1 OSD_PARAM_CONFIG_TYPE = 6
	OSD_PARAM_FAILSAFE_ACTION_2 OSD_PARAM_CONFIG_TYPE = 7
	OSD_PARAM_NUM_TYPES         OSD_PARAM_CONFIG_TYPE = 8
)

func (OSD_PARAM_CONFIG_TYPE) MarshalText ¶

func (e OSD_PARAM_CONFIG_TYPE) MarshalText() ([]byte, error)

MarshalText implements the encoding.TextMarshaler interface.

func (OSD_PARAM_CONFIG_TYPE) String ¶

func (e OSD_PARAM_CONFIG_TYPE) String() string

String implements the fmt.Stringer interface.

func (*OSD_PARAM_CONFIG_TYPE) UnmarshalText ¶

func (e *OSD_PARAM_CONFIG_TYPE) UnmarshalText(text []byte) error

UnmarshalText implements the encoding.TextUnmarshaler interface.

type PARACHUTE_ACTION ¶

type PARACHUTE_ACTION = common.PARACHUTE_ACTION

Parachute actions. Trigger release and enable/disable auto-release.

const (
	// Disable auto-release of parachute (i.e. release triggered by crash detectors).
	PARACHUTE_DISABLE PARACHUTE_ACTION = common.PARACHUTE_DISABLE
	// Enable auto-release of parachute.
	PARACHUTE_ENABLE PARACHUTE_ACTION = common.PARACHUTE_ENABLE
	// Release parachute and kill motors.
	PARACHUTE_RELEASE PARACHUTE_ACTION = common.PARACHUTE_RELEASE
)

type PARAM_ACK ¶

type PARAM_ACK = common.PARAM_ACK

Result from PARAM_EXT_SET message (or a PARAM_SET within a transaction).

const (
	// Parameter value ACCEPTED and SET
	PARAM_ACK_ACCEPTED PARAM_ACK = common.PARAM_ACK_ACCEPTED
	// Parameter value UNKNOWN/UNSUPPORTED
	PARAM_ACK_VALUE_UNSUPPORTED PARAM_ACK = common.PARAM_ACK_VALUE_UNSUPPORTED
	// Parameter failed to set
	PARAM_ACK_FAILED PARAM_ACK = common.PARAM_ACK_FAILED
	// Parameter value received but not yet set/accepted. A subsequent PARAM_ACK_TRANSACTION or PARAM_EXT_ACK with the final result will follow once operation is completed. This is returned immediately for parameters that take longer to set, indicating that the the parameter was received and does not need to be resent.
	PARAM_ACK_IN_PROGRESS PARAM_ACK = common.PARAM_ACK_IN_PROGRESS
)

type PID_TUNING_AXIS ¶

type PID_TUNING_AXIS uint32
const (
	PID_TUNING_ROLL    PID_TUNING_AXIS = 1
	PID_TUNING_PITCH   PID_TUNING_AXIS = 2
	PID_TUNING_YAW     PID_TUNING_AXIS = 3
	PID_TUNING_ACCZ    PID_TUNING_AXIS = 4
	PID_TUNING_STEER   PID_TUNING_AXIS = 5
	PID_TUNING_LANDING PID_TUNING_AXIS = 6
)

func (PID_TUNING_AXIS) MarshalText ¶

func (e PID_TUNING_AXIS) MarshalText() ([]byte, error)

MarshalText implements the encoding.TextMarshaler interface.

func (PID_TUNING_AXIS) String ¶

func (e PID_TUNING_AXIS) String() string

String implements the fmt.Stringer interface.

func (*PID_TUNING_AXIS) UnmarshalText ¶

func (e *PID_TUNING_AXIS) UnmarshalText(text []byte) error

UnmarshalText implements the encoding.TextUnmarshaler interface.

type PLANE_MODE ¶

type PLANE_MODE uint32

A mapping of plane flight modes for custom_mode field of heartbeat.

const (
	PLANE_MODE_MANUAL        PLANE_MODE = 0
	PLANE_MODE_CIRCLE        PLANE_MODE = 1
	PLANE_MODE_STABILIZE     PLANE_MODE = 2
	PLANE_MODE_TRAINING      PLANE_MODE = 3
	PLANE_MODE_ACRO          PLANE_MODE = 4
	PLANE_MODE_FLY_BY_WIRE_A PLANE_MODE = 5
	PLANE_MODE_FLY_BY_WIRE_B PLANE_MODE = 6
	PLANE_MODE_CRUISE        PLANE_MODE = 7
	PLANE_MODE_AUTOTUNE      PLANE_MODE = 8
	PLANE_MODE_AUTO          PLANE_MODE = 10
	PLANE_MODE_RTL           PLANE_MODE = 11
	PLANE_MODE_LOITER        PLANE_MODE = 12
	PLANE_MODE_TAKEOFF       PLANE_MODE = 13
	PLANE_MODE_AVOID_ADSB    PLANE_MODE = 14
	PLANE_MODE_GUIDED        PLANE_MODE = 15
	PLANE_MODE_INITIALIZING  PLANE_MODE = 16
	PLANE_MODE_QSTABILIZE    PLANE_MODE = 17
	PLANE_MODE_QHOVER        PLANE_MODE = 18
	PLANE_MODE_QLOITER       PLANE_MODE = 19
	PLANE_MODE_QLAND         PLANE_MODE = 20
	PLANE_MODE_QRTL          PLANE_MODE = 21
	PLANE_MODE_QAUTOTUNE     PLANE_MODE = 22
	PLANE_MODE_QACRO         PLANE_MODE = 23
	PLANE_MODE_THERMAL       PLANE_MODE = 24
)

func (PLANE_MODE) MarshalText ¶

func (e PLANE_MODE) MarshalText() ([]byte, error)

MarshalText implements the encoding.TextMarshaler interface.

func (PLANE_MODE) String ¶

func (e PLANE_MODE) String() string

String implements the fmt.Stringer interface.

func (*PLANE_MODE) UnmarshalText ¶

func (e *PLANE_MODE) UnmarshalText(text []byte) error

UnmarshalText implements the encoding.TextUnmarshaler interface.

type POSITION_TARGET_TYPEMASK ¶

type POSITION_TARGET_TYPEMASK = common.POSITION_TARGET_TYPEMASK

Bitmap to indicate which dimensions should be ignored by the vehicle: a value of 0b0000000000000000 or 0b0000001000000000 indicates that none of the setpoint dimensions should be ignored. If bit 9 is set the floats afx afy afz should be interpreted as force instead of acceleration.

const (
	// Ignore position x
	POSITION_TARGET_TYPEMASK_X_IGNORE POSITION_TARGET_TYPEMASK = common.POSITION_TARGET_TYPEMASK_X_IGNORE
	// Ignore position y
	POSITION_TARGET_TYPEMASK_Y_IGNORE POSITION_TARGET_TYPEMASK = common.POSITION_TARGET_TYPEMASK_Y_IGNORE
	// Ignore position z
	POSITION_TARGET_TYPEMASK_Z_IGNORE POSITION_TARGET_TYPEMASK = common.POSITION_TARGET_TYPEMASK_Z_IGNORE
	// Ignore velocity x
	POSITION_TARGET_TYPEMASK_VX_IGNORE POSITION_TARGET_TYPEMASK = common.POSITION_TARGET_TYPEMASK_VX_IGNORE
	// Ignore velocity y
	POSITION_TARGET_TYPEMASK_VY_IGNORE POSITION_TARGET_TYPEMASK = common.POSITION_TARGET_TYPEMASK_VY_IGNORE
	// Ignore velocity z
	POSITION_TARGET_TYPEMASK_VZ_IGNORE POSITION_TARGET_TYPEMASK = common.POSITION_TARGET_TYPEMASK_VZ_IGNORE
	// Ignore acceleration x
	POSITION_TARGET_TYPEMASK_AX_IGNORE POSITION_TARGET_TYPEMASK = common.POSITION_TARGET_TYPEMASK_AX_IGNORE
	// Ignore acceleration y
	POSITION_TARGET_TYPEMASK_AY_IGNORE POSITION_TARGET_TYPEMASK = common.POSITION_TARGET_TYPEMASK_AY_IGNORE
	// Ignore acceleration z
	POSITION_TARGET_TYPEMASK_AZ_IGNORE POSITION_TARGET_TYPEMASK = common.POSITION_TARGET_TYPEMASK_AZ_IGNORE
	// Use force instead of acceleration
	POSITION_TARGET_TYPEMASK_FORCE_SET POSITION_TARGET_TYPEMASK = common.POSITION_TARGET_TYPEMASK_FORCE_SET
	// Ignore yaw
	POSITION_TARGET_TYPEMASK_YAW_IGNORE POSITION_TARGET_TYPEMASK = common.POSITION_TARGET_TYPEMASK_YAW_IGNORE
	// Ignore yaw rate
	POSITION_TARGET_TYPEMASK_YAW_RATE_IGNORE POSITION_TARGET_TYPEMASK = common.POSITION_TARGET_TYPEMASK_YAW_RATE_IGNORE
)

type PRECISION_LAND_MODE ¶

type PRECISION_LAND_MODE = common.PRECISION_LAND_MODE

Precision land modes (used in MAV_CMD_NAV_LAND).

const (
	// Normal (non-precision) landing.
	PRECISION_LAND_MODE_DISABLED PRECISION_LAND_MODE = common.PRECISION_LAND_MODE_DISABLED
	// Use precision landing if beacon detected when land command accepted, otherwise land normally.
	PRECISION_LAND_MODE_OPPORTUNISTIC PRECISION_LAND_MODE = common.PRECISION_LAND_MODE_OPPORTUNISTIC
	// Use precision landing, searching for beacon if not found when land command accepted (land normally if beacon cannot be found).
	PRECISION_LAND_MODE_REQUIRED PRECISION_LAND_MODE = common.PRECISION_LAND_MODE_REQUIRED
)

type PREFLIGHT_STORAGE_MISSION_ACTION ¶

type PREFLIGHT_STORAGE_MISSION_ACTION = common.PREFLIGHT_STORAGE_MISSION_ACTION

Actions for reading and writing plan information (mission, rally points, geofence) between persistent and volatile storage when using MAV_CMD_PREFLIGHT_STORAGE. (Commonly missions are loaded from persistent storage (flash/EEPROM) into volatile storage (RAM) on startup and written back when they are changed.)

const (
	// Read current mission data from persistent storage
	MISSION_READ_PERSISTENT PREFLIGHT_STORAGE_MISSION_ACTION = common.MISSION_READ_PERSISTENT
	// Write current mission data to persistent storage
	MISSION_WRITE_PERSISTENT PREFLIGHT_STORAGE_MISSION_ACTION = common.MISSION_WRITE_PERSISTENT
	// Erase all mission data stored on the vehicle (both persistent and volatile storage)
	MISSION_RESET_DEFAULT PREFLIGHT_STORAGE_MISSION_ACTION = common.MISSION_RESET_DEFAULT
)

type PREFLIGHT_STORAGE_PARAMETER_ACTION ¶

type PREFLIGHT_STORAGE_PARAMETER_ACTION = common.PREFLIGHT_STORAGE_PARAMETER_ACTION

Actions for reading/writing parameters between persistent and volatile storage when using MAV_CMD_PREFLIGHT_STORAGE. (Commonly parameters are loaded from persistent storage (flash/EEPROM) into volatile storage (RAM) on startup and written back when they are changed.)

const (
	// Read all parameters from persistent storage. Replaces values in volatile storage.
	PARAM_READ_PERSISTENT PREFLIGHT_STORAGE_PARAMETER_ACTION = common.PARAM_READ_PERSISTENT
	// Write all parameter values to persistent storage (flash/EEPROM)
	PARAM_WRITE_PERSISTENT PREFLIGHT_STORAGE_PARAMETER_ACTION = common.PARAM_WRITE_PERSISTENT
	// Reset all user configurable parameters to their default value (including airframe selection, sensor calibration data, safety settings, and so on). Does not reset values that contain operation counters and vehicle computed statistics.
	PARAM_RESET_CONFIG_DEFAULT PREFLIGHT_STORAGE_PARAMETER_ACTION = common.PARAM_RESET_CONFIG_DEFAULT
	// Reset only sensor calibration parameters to factory defaults (or firmware default if not available)
	PARAM_RESET_SENSOR_DEFAULT PREFLIGHT_STORAGE_PARAMETER_ACTION = common.PARAM_RESET_SENSOR_DEFAULT
	// Reset all parameters, including operation counters, to default values
	PARAM_RESET_ALL_DEFAULT PREFLIGHT_STORAGE_PARAMETER_ACTION = common.PARAM_RESET_ALL_DEFAULT
)

type RALLY_FLAGS ¶

type RALLY_FLAGS uint32

Flags in RALLY_POINT message.

const (
	// Flag set when requiring favorable winds for landing.
	FAVORABLE_WIND RALLY_FLAGS = 1
	// Flag set when plane is to immediately descend to break altitude and land without GCS intervention. Flag not set when plane is to loiter at Rally point until commanded to land.
	LAND_IMMEDIATELY RALLY_FLAGS = 2
)

func (RALLY_FLAGS) MarshalText ¶

func (e RALLY_FLAGS) MarshalText() ([]byte, error)

MarshalText implements the encoding.TextMarshaler interface.

func (RALLY_FLAGS) String ¶

func (e RALLY_FLAGS) String() string

String implements the fmt.Stringer interface.

func (*RALLY_FLAGS) UnmarshalText ¶

func (e *RALLY_FLAGS) UnmarshalText(text []byte) error

UnmarshalText implements the encoding.TextUnmarshaler interface.

type RC_TYPE ¶

type RC_TYPE = common.RC_TYPE

RC type

const (
	// Spektrum DSM2
	RC_TYPE_SPEKTRUM_DSM2 RC_TYPE = common.RC_TYPE_SPEKTRUM_DSM2
	// Spektrum DSMX
	RC_TYPE_SPEKTRUM_DSMX RC_TYPE = common.RC_TYPE_SPEKTRUM_DSMX
)

type ROVER_MODE ¶

type ROVER_MODE uint32

A mapping of rover flight modes for custom_mode field of heartbeat.

const (
	ROVER_MODE_MANUAL       ROVER_MODE = 0
	ROVER_MODE_ACRO         ROVER_MODE = 1
	ROVER_MODE_STEERING     ROVER_MODE = 3
	ROVER_MODE_HOLD         ROVER_MODE = 4
	ROVER_MODE_LOITER       ROVER_MODE = 5
	ROVER_MODE_FOLLOW       ROVER_MODE = 6
	ROVER_MODE_SIMPLE       ROVER_MODE = 7
	ROVER_MODE_AUTO         ROVER_MODE = 10
	ROVER_MODE_RTL          ROVER_MODE = 11
	ROVER_MODE_SMART_RTL    ROVER_MODE = 12
	ROVER_MODE_GUIDED       ROVER_MODE = 15
	ROVER_MODE_INITIALIZING ROVER_MODE = 16
)

func (ROVER_MODE) MarshalText ¶

func (e ROVER_MODE) MarshalText() ([]byte, error)

MarshalText implements the encoding.TextMarshaler interface.

func (ROVER_MODE) String ¶

func (e ROVER_MODE) String() string

String implements the fmt.Stringer interface.

func (*ROVER_MODE) UnmarshalText ¶

func (e *ROVER_MODE) UnmarshalText(text []byte) error

UnmarshalText implements the encoding.TextUnmarshaler interface.

type RTK_BASELINE_COORDINATE_SYSTEM ¶

type RTK_BASELINE_COORDINATE_SYSTEM = common.RTK_BASELINE_COORDINATE_SYSTEM

RTK GPS baseline coordinate system, used for RTK corrections

const (
	// Earth-centered, Earth-fixed
	RTK_BASELINE_COORDINATE_SYSTEM_ECEF RTK_BASELINE_COORDINATE_SYSTEM = common.RTK_BASELINE_COORDINATE_SYSTEM_ECEF
	// RTK basestation centered, north, east, down
	RTK_BASELINE_COORDINATE_SYSTEM_NED RTK_BASELINE_COORDINATE_SYSTEM = common.RTK_BASELINE_COORDINATE_SYSTEM_NED
)

type SCRIPTING_CMD ¶

type SCRIPTING_CMD uint32
const (
	// Start a REPL session.
	SCRIPTING_CMD_REPL_START SCRIPTING_CMD = 0
	// End a REPL session.
	SCRIPTING_CMD_REPL_STOP SCRIPTING_CMD = 1
	// Stop execution of scripts.
	SCRIPTING_CMD_STOP SCRIPTING_CMD = 2
	// Stop execution of scripts and restart.
	SCRIPTING_CMD_STOP_AND_RESTART SCRIPTING_CMD = 3
)

func (SCRIPTING_CMD) MarshalText ¶

func (e SCRIPTING_CMD) MarshalText() ([]byte, error)

MarshalText implements the encoding.TextMarshaler interface.

func (SCRIPTING_CMD) String ¶

func (e SCRIPTING_CMD) String() string

String implements the fmt.Stringer interface.

func (*SCRIPTING_CMD) UnmarshalText ¶

func (e *SCRIPTING_CMD) UnmarshalText(text []byte) error

UnmarshalText implements the encoding.TextUnmarshaler interface.

type SERIAL_CONTROL_DEV ¶

type SERIAL_CONTROL_DEV = common.SERIAL_CONTROL_DEV

SERIAL_CONTROL device types

const (
	// First telemetry port
	SERIAL_CONTROL_DEV_TELEM1 SERIAL_CONTROL_DEV = common.SERIAL_CONTROL_DEV_TELEM1
	// Second telemetry port
	SERIAL_CONTROL_DEV_TELEM2 SERIAL_CONTROL_DEV = common.SERIAL_CONTROL_DEV_TELEM2
	// First GPS port
	SERIAL_CONTROL_DEV_GPS1 SERIAL_CONTROL_DEV = common.SERIAL_CONTROL_DEV_GPS1
	// Second GPS port
	SERIAL_CONTROL_DEV_GPS2 SERIAL_CONTROL_DEV = common.SERIAL_CONTROL_DEV_GPS2
	// system shell
	SERIAL_CONTROL_DEV_SHELL SERIAL_CONTROL_DEV = common.SERIAL_CONTROL_DEV_SHELL
	// SERIAL0
	SERIAL_CONTROL_SERIAL0 SERIAL_CONTROL_DEV = common.SERIAL_CONTROL_SERIAL0
	// SERIAL1
	SERIAL_CONTROL_SERIAL1 SERIAL_CONTROL_DEV = common.SERIAL_CONTROL_SERIAL1
	// SERIAL2
	SERIAL_CONTROL_SERIAL2 SERIAL_CONTROL_DEV = common.SERIAL_CONTROL_SERIAL2
	// SERIAL3
	SERIAL_CONTROL_SERIAL3 SERIAL_CONTROL_DEV = common.SERIAL_CONTROL_SERIAL3
	// SERIAL4
	SERIAL_CONTROL_SERIAL4 SERIAL_CONTROL_DEV = common.SERIAL_CONTROL_SERIAL4
	// SERIAL5
	SERIAL_CONTROL_SERIAL5 SERIAL_CONTROL_DEV = common.SERIAL_CONTROL_SERIAL5
	// SERIAL6
	SERIAL_CONTROL_SERIAL6 SERIAL_CONTROL_DEV = common.SERIAL_CONTROL_SERIAL6
	// SERIAL7
	SERIAL_CONTROL_SERIAL7 SERIAL_CONTROL_DEV = common.SERIAL_CONTROL_SERIAL7
	// SERIAL8
	SERIAL_CONTROL_SERIAL8 SERIAL_CONTROL_DEV = common.SERIAL_CONTROL_SERIAL8
	// SERIAL9
	SERIAL_CONTROL_SERIAL9 SERIAL_CONTROL_DEV = common.SERIAL_CONTROL_SERIAL9
)

type SERIAL_CONTROL_FLAG ¶

type SERIAL_CONTROL_FLAG = common.SERIAL_CONTROL_FLAG

SERIAL_CONTROL flags (bitmask)

const (
	// Set if this is a reply
	SERIAL_CONTROL_FLAG_REPLY SERIAL_CONTROL_FLAG = common.SERIAL_CONTROL_FLAG_REPLY
	// Set if the sender wants the receiver to send a response as another SERIAL_CONTROL message
	SERIAL_CONTROL_FLAG_RESPOND SERIAL_CONTROL_FLAG = common.SERIAL_CONTROL_FLAG_RESPOND
	// Set if access to the serial port should be removed from whatever driver is currently using it, giving exclusive access to the SERIAL_CONTROL protocol. The port can be handed back by sending a request without this flag set
	SERIAL_CONTROL_FLAG_EXCLUSIVE SERIAL_CONTROL_FLAG = common.SERIAL_CONTROL_FLAG_EXCLUSIVE
	// Block on writes to the serial port
	SERIAL_CONTROL_FLAG_BLOCKING SERIAL_CONTROL_FLAG = common.SERIAL_CONTROL_FLAG_BLOCKING
	// Send multiple replies until port is drained
	SERIAL_CONTROL_FLAG_MULTI SERIAL_CONTROL_FLAG = common.SERIAL_CONTROL_FLAG_MULTI
)

type SET_FOCUS_TYPE ¶

type SET_FOCUS_TYPE = common.SET_FOCUS_TYPE

Focus types for MAV_CMD_SET_CAMERA_FOCUS

const (
	// Focus one step increment (-1 for focusing in, 1 for focusing out towards infinity).
	FOCUS_TYPE_STEP SET_FOCUS_TYPE = common.FOCUS_TYPE_STEP
	// Continuous focus up/down until stopped (-1 for focusing in, 1 for focusing out towards infinity, 0 to stop focusing)
	FOCUS_TYPE_CONTINUOUS SET_FOCUS_TYPE = common.FOCUS_TYPE_CONTINUOUS
	// Focus value as proportion of full camera focus range (a value between 0.0 and 100.0)
	FOCUS_TYPE_RANGE SET_FOCUS_TYPE = common.FOCUS_TYPE_RANGE
	// Focus value in metres. Note that there is no message to get the valid focus range of the camera, so this can type can only be used for cameras where the range is known (implying that this cannot reliably be used in a GCS for an arbitrary camera).
	FOCUS_TYPE_METERS SET_FOCUS_TYPE = common.FOCUS_TYPE_METERS
	// Focus automatically.
	FOCUS_TYPE_AUTO SET_FOCUS_TYPE = common.FOCUS_TYPE_AUTO
	// Single auto focus. Mainly used for still pictures. Usually abbreviated as AF-S.
	FOCUS_TYPE_AUTO_SINGLE SET_FOCUS_TYPE = common.FOCUS_TYPE_AUTO_SINGLE
	// Continuous auto focus. Mainly used for dynamic scenes. Abbreviated as AF-C.
	FOCUS_TYPE_AUTO_CONTINUOUS SET_FOCUS_TYPE = common.FOCUS_TYPE_AUTO_CONTINUOUS
)

type SPEED_TYPE ¶

type SPEED_TYPE uint32
const (
	SPEED_TYPE_AIRSPEED    SPEED_TYPE = 0
	SPEED_TYPE_GROUNDSPEED SPEED_TYPE = 1
)

func (SPEED_TYPE) MarshalText ¶

func (e SPEED_TYPE) MarshalText() ([]byte, error)

MarshalText implements the encoding.TextMarshaler interface.

func (SPEED_TYPE) String ¶

func (e SPEED_TYPE) String() string

String implements the fmt.Stringer interface.

func (*SPEED_TYPE) UnmarshalText ¶

func (e *SPEED_TYPE) UnmarshalText(text []byte) error

UnmarshalText implements the encoding.TextUnmarshaler interface.

type STORAGE_STATUS ¶

type STORAGE_STATUS = common.STORAGE_STATUS

Flags to indicate the status of camera storage.

const (
	// Storage is missing (no microSD card loaded for example.)
	STORAGE_STATUS_EMPTY STORAGE_STATUS = common.STORAGE_STATUS_EMPTY
	// Storage present but unformatted.
	STORAGE_STATUS_UNFORMATTED STORAGE_STATUS = common.STORAGE_STATUS_UNFORMATTED
	// Storage present and ready.
	STORAGE_STATUS_READY STORAGE_STATUS = common.STORAGE_STATUS_READY
	// Camera does not supply storage status information. Capacity information in STORAGE_INFORMATION fields will be ignored.
	STORAGE_STATUS_NOT_SUPPORTED STORAGE_STATUS = common.STORAGE_STATUS_NOT_SUPPORTED
)

type STORAGE_TYPE ¶

type STORAGE_TYPE = common.STORAGE_TYPE

Flags to indicate the type of storage.

const (
	// Storage type is not known.
	STORAGE_TYPE_UNKNOWN STORAGE_TYPE = common.STORAGE_TYPE_UNKNOWN
	// Storage type is USB device.
	STORAGE_TYPE_USB_STICK STORAGE_TYPE = common.STORAGE_TYPE_USB_STICK
	// Storage type is SD card.
	STORAGE_TYPE_SD STORAGE_TYPE = common.STORAGE_TYPE_SD
	// Storage type is microSD card.
	STORAGE_TYPE_MICROSD STORAGE_TYPE = common.STORAGE_TYPE_MICROSD
	// Storage type is CFast.
	STORAGE_TYPE_CF STORAGE_TYPE = common.STORAGE_TYPE_CF
	// Storage type is CFexpress.
	STORAGE_TYPE_CFE STORAGE_TYPE = common.STORAGE_TYPE_CFE
	// Storage type is XQD.
	STORAGE_TYPE_XQD STORAGE_TYPE = common.STORAGE_TYPE_XQD
	// Storage type is HD mass storage type.
	STORAGE_TYPE_HD STORAGE_TYPE = common.STORAGE_TYPE_HD
	// Storage type is other, not listed type.
	STORAGE_TYPE_OTHER STORAGE_TYPE = common.STORAGE_TYPE_OTHER
)

type STORAGE_USAGE_FLAG ¶

type STORAGE_USAGE_FLAG = common.STORAGE_USAGE_FLAG

Flags to indicate usage for a particular storage (see STORAGE_INFORMATION.storage_usage and MAV_CMD_SET_STORAGE_USAGE).

const (
	// Always set to 1 (indicates STORAGE_INFORMATION.storage_usage is supported).
	STORAGE_USAGE_FLAG_SET STORAGE_USAGE_FLAG = common.STORAGE_USAGE_FLAG_SET
	// Storage for saving photos.
	STORAGE_USAGE_FLAG_PHOTO STORAGE_USAGE_FLAG = common.STORAGE_USAGE_FLAG_PHOTO
	// Storage for saving videos.
	STORAGE_USAGE_FLAG_VIDEO STORAGE_USAGE_FLAG = common.STORAGE_USAGE_FLAG_VIDEO
	// Storage for saving logs.
	STORAGE_USAGE_FLAG_LOGS STORAGE_USAGE_FLAG = common.STORAGE_USAGE_FLAG_LOGS
)

type SUB_MODE ¶

type SUB_MODE uint32

A mapping of sub flight modes for custom_mode field of heartbeat.

const (
	SUB_MODE_STABILIZE SUB_MODE = 0
	SUB_MODE_ACRO      SUB_MODE = 1
	SUB_MODE_ALT_HOLD  SUB_MODE = 2
	SUB_MODE_AUTO      SUB_MODE = 3
	SUB_MODE_GUIDED    SUB_MODE = 4
	SUB_MODE_CIRCLE    SUB_MODE = 7
	SUB_MODE_SURFACE   SUB_MODE = 9
	SUB_MODE_POSHOLD   SUB_MODE = 16
	SUB_MODE_MANUAL    SUB_MODE = 19
)

func (SUB_MODE) MarshalText ¶

func (e SUB_MODE) MarshalText() ([]byte, error)

MarshalText implements the encoding.TextMarshaler interface.

func (SUB_MODE) String ¶

func (e SUB_MODE) String() string

String implements the fmt.Stringer interface.

func (*SUB_MODE) UnmarshalText ¶

func (e *SUB_MODE) UnmarshalText(text []byte) error

UnmarshalText implements the encoding.TextUnmarshaler interface.

type TRACKER_MODE ¶

type TRACKER_MODE uint32

A mapping of antenna tracker flight modes for custom_mode field of heartbeat.

const (
	TRACKER_MODE_MANUAL       TRACKER_MODE = 0
	TRACKER_MODE_STOP         TRACKER_MODE = 1
	TRACKER_MODE_SCAN         TRACKER_MODE = 2
	TRACKER_MODE_SERVO_TEST   TRACKER_MODE = 3
	TRACKER_MODE_AUTO         TRACKER_MODE = 10
	TRACKER_MODE_INITIALIZING TRACKER_MODE = 16
)

func (TRACKER_MODE) MarshalText ¶

func (e TRACKER_MODE) MarshalText() ([]byte, error)

MarshalText implements the encoding.TextMarshaler interface.

func (TRACKER_MODE) String ¶

func (e TRACKER_MODE) String() string

String implements the fmt.Stringer interface.

func (*TRACKER_MODE) UnmarshalText ¶

func (e *TRACKER_MODE) UnmarshalText(text []byte) error

UnmarshalText implements the encoding.TextUnmarshaler interface.

type TUNE_FORMAT ¶

type TUNE_FORMAT = common.TUNE_FORMAT

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

const (
	// Format is QBasic 1.1 Play: https://www.qbasic.net/en/reference/qb11/Statement/PLAY-006.htm.
	TUNE_FORMAT_QBASIC1_1 TUNE_FORMAT = common.TUNE_FORMAT_QBASIC1_1
	// Format is Modern Music Markup Language (MML): https://en.wikipedia.org/wiki/Music_Macro_Language#Modern_MML.
	TUNE_FORMAT_MML_MODERN TUNE_FORMAT = common.TUNE_FORMAT_MML_MODERN
)

type UAVCAN_NODE_HEALTH ¶

type UAVCAN_NODE_HEALTH = common.UAVCAN_NODE_HEALTH

Generalized UAVCAN node health

const (
	// The node is functioning properly.
	UAVCAN_NODE_HEALTH_OK UAVCAN_NODE_HEALTH = common.UAVCAN_NODE_HEALTH_OK
	// A critical parameter went out of range or the node has encountered a minor failure.
	UAVCAN_NODE_HEALTH_WARNING UAVCAN_NODE_HEALTH = common.UAVCAN_NODE_HEALTH_WARNING
	// The node has encountered a major failure.
	UAVCAN_NODE_HEALTH_ERROR UAVCAN_NODE_HEALTH = common.UAVCAN_NODE_HEALTH_ERROR
	// The node has suffered a fatal malfunction.
	UAVCAN_NODE_HEALTH_CRITICAL UAVCAN_NODE_HEALTH = common.UAVCAN_NODE_HEALTH_CRITICAL
)

type UAVCAN_NODE_MODE ¶

type UAVCAN_NODE_MODE = common.UAVCAN_NODE_MODE

Generalized UAVCAN node mode

const (
	// The node is performing its primary functions.
	UAVCAN_NODE_MODE_OPERATIONAL UAVCAN_NODE_MODE = common.UAVCAN_NODE_MODE_OPERATIONAL
	// The node is initializing; this mode is entered immediately after startup.
	UAVCAN_NODE_MODE_INITIALIZATION UAVCAN_NODE_MODE = common.UAVCAN_NODE_MODE_INITIALIZATION
	// The node is under maintenance.
	UAVCAN_NODE_MODE_MAINTENANCE UAVCAN_NODE_MODE = common.UAVCAN_NODE_MODE_MAINTENANCE
	// The node is in the process of updating its software.
	UAVCAN_NODE_MODE_SOFTWARE_UPDATE UAVCAN_NODE_MODE = common.UAVCAN_NODE_MODE_SOFTWARE_UPDATE
	// The node is no longer available online.
	UAVCAN_NODE_MODE_OFFLINE UAVCAN_NODE_MODE = common.UAVCAN_NODE_MODE_OFFLINE
)

type UAVIONIX_ADSB_OUT_CFG_AIRCRAFT_SIZE ¶

type UAVIONIX_ADSB_OUT_CFG_AIRCRAFT_SIZE = uavionix.UAVIONIX_ADSB_OUT_CFG_AIRCRAFT_SIZE

Definitions for aircraft size

const (
	UAVIONIX_ADSB_OUT_CFG_AIRCRAFT_SIZE_NO_DATA     UAVIONIX_ADSB_OUT_CFG_AIRCRAFT_SIZE = uavionix.UAVIONIX_ADSB_OUT_CFG_AIRCRAFT_SIZE_NO_DATA
	UAVIONIX_ADSB_OUT_CFG_AIRCRAFT_SIZE_L15M_W23M   UAVIONIX_ADSB_OUT_CFG_AIRCRAFT_SIZE = uavionix.UAVIONIX_ADSB_OUT_CFG_AIRCRAFT_SIZE_L15M_W23M
	UAVIONIX_ADSB_OUT_CFG_AIRCRAFT_SIZE_L25M_W28P5M UAVIONIX_ADSB_OUT_CFG_AIRCRAFT_SIZE = uavionix.UAVIONIX_ADSB_OUT_CFG_AIRCRAFT_SIZE_L25M_W28P5M
	UAVIONIX_ADSB_OUT_CFG_AIRCRAFT_SIZE_L25_34M     UAVIONIX_ADSB_OUT_CFG_AIRCRAFT_SIZE = uavionix.UAVIONIX_ADSB_OUT_CFG_AIRCRAFT_SIZE_L25_34M
	UAVIONIX_ADSB_OUT_CFG_AIRCRAFT_SIZE_L35_33M     UAVIONIX_ADSB_OUT_CFG_AIRCRAFT_SIZE = uavionix.UAVIONIX_ADSB_OUT_CFG_AIRCRAFT_SIZE_L35_33M
	UAVIONIX_ADSB_OUT_CFG_AIRCRAFT_SIZE_L35_38M     UAVIONIX_ADSB_OUT_CFG_AIRCRAFT_SIZE = uavionix.UAVIONIX_ADSB_OUT_CFG_AIRCRAFT_SIZE_L35_38M
	UAVIONIX_ADSB_OUT_CFG_AIRCRAFT_SIZE_L45_39P5M   UAVIONIX_ADSB_OUT_CFG_AIRCRAFT_SIZE = uavionix.UAVIONIX_ADSB_OUT_CFG_AIRCRAFT_SIZE_L45_39P5M
	UAVIONIX_ADSB_OUT_CFG_AIRCRAFT_SIZE_L45_45M     UAVIONIX_ADSB_OUT_CFG_AIRCRAFT_SIZE = uavionix.UAVIONIX_ADSB_OUT_CFG_AIRCRAFT_SIZE_L45_45M
	UAVIONIX_ADSB_OUT_CFG_AIRCRAFT_SIZE_L55_45M     UAVIONIX_ADSB_OUT_CFG_AIRCRAFT_SIZE = uavionix.UAVIONIX_ADSB_OUT_CFG_AIRCRAFT_SIZE_L55_45M
	UAVIONIX_ADSB_OUT_CFG_AIRCRAFT_SIZE_L55_52M     UAVIONIX_ADSB_OUT_CFG_AIRCRAFT_SIZE = uavionix.UAVIONIX_ADSB_OUT_CFG_AIRCRAFT_SIZE_L55_52M
	UAVIONIX_ADSB_OUT_CFG_AIRCRAFT_SIZE_L65_59P5M   UAVIONIX_ADSB_OUT_CFG_AIRCRAFT_SIZE = uavionix.UAVIONIX_ADSB_OUT_CFG_AIRCRAFT_SIZE_L65_59P5M
	UAVIONIX_ADSB_OUT_CFG_AIRCRAFT_SIZE_L65_67M     UAVIONIX_ADSB_OUT_CFG_AIRCRAFT_SIZE = uavionix.UAVIONIX_ADSB_OUT_CFG_AIRCRAFT_SIZE_L65_67M
	UAVIONIX_ADSB_OUT_CFG_AIRCRAFT_SIZE_L75_W72P5M  UAVIONIX_ADSB_OUT_CFG_AIRCRAFT_SIZE = uavionix.UAVIONIX_ADSB_OUT_CFG_AIRCRAFT_SIZE_L75_W72P5M
	UAVIONIX_ADSB_OUT_CFG_AIRCRAFT_SIZE_L75_W80M    UAVIONIX_ADSB_OUT_CFG_AIRCRAFT_SIZE = uavionix.UAVIONIX_ADSB_OUT_CFG_AIRCRAFT_SIZE_L75_W80M
	UAVIONIX_ADSB_OUT_CFG_AIRCRAFT_SIZE_L85_W80M    UAVIONIX_ADSB_OUT_CFG_AIRCRAFT_SIZE = uavionix.UAVIONIX_ADSB_OUT_CFG_AIRCRAFT_SIZE_L85_W80M
	UAVIONIX_ADSB_OUT_CFG_AIRCRAFT_SIZE_L85_W90M    UAVIONIX_ADSB_OUT_CFG_AIRCRAFT_SIZE = uavionix.UAVIONIX_ADSB_OUT_CFG_AIRCRAFT_SIZE_L85_W90M
)

type UAVIONIX_ADSB_OUT_CFG_GPS_OFFSET_LON ¶

type UAVIONIX_ADSB_OUT_CFG_GPS_OFFSET_LON = uavionix.UAVIONIX_ADSB_OUT_CFG_GPS_OFFSET_LON

GPS longitudinal offset encoding

type UAVIONIX_ADSB_OUT_DYNAMIC_STATE ¶

type UAVIONIX_ADSB_OUT_DYNAMIC_STATE = uavionix.UAVIONIX_ADSB_OUT_DYNAMIC_STATE

State flags for ADS-B transponder dynamic report

type UAVIONIX_ADSB_OUT_RF_SELECT ¶

type UAVIONIX_ADSB_OUT_RF_SELECT = uavionix.UAVIONIX_ADSB_OUT_RF_SELECT

Transceiver RF control flags for ADS-B transponder dynamic reports

type UAVIONIX_ADSB_RF_HEALTH ¶

type UAVIONIX_ADSB_RF_HEALTH = uavionix.UAVIONIX_ADSB_RF_HEALTH

Status flags for ADS-B transponder dynamic output

type UTM_DATA_AVAIL_FLAGS ¶

type UTM_DATA_AVAIL_FLAGS = common.UTM_DATA_AVAIL_FLAGS

Flags for the global position report.

const (
	// The field time contains valid data.
	UTM_DATA_AVAIL_FLAGS_TIME_VALID UTM_DATA_AVAIL_FLAGS = common.UTM_DATA_AVAIL_FLAGS_TIME_VALID
	// The field uas_id contains valid data.
	UTM_DATA_AVAIL_FLAGS_UAS_ID_AVAILABLE UTM_DATA_AVAIL_FLAGS = common.UTM_DATA_AVAIL_FLAGS_UAS_ID_AVAILABLE
	// The fields lat, lon and h_acc contain valid data.
	UTM_DATA_AVAIL_FLAGS_POSITION_AVAILABLE UTM_DATA_AVAIL_FLAGS = common.UTM_DATA_AVAIL_FLAGS_POSITION_AVAILABLE
	// The fields alt and v_acc contain valid data.
	UTM_DATA_AVAIL_FLAGS_ALTITUDE_AVAILABLE UTM_DATA_AVAIL_FLAGS = common.UTM_DATA_AVAIL_FLAGS_ALTITUDE_AVAILABLE
	// The field relative_alt contains valid data.
	UTM_DATA_AVAIL_FLAGS_RELATIVE_ALTITUDE_AVAILABLE UTM_DATA_AVAIL_FLAGS = common.UTM_DATA_AVAIL_FLAGS_RELATIVE_ALTITUDE_AVAILABLE
	// The fields vx and vy contain valid data.
	UTM_DATA_AVAIL_FLAGS_HORIZONTAL_VELO_AVAILABLE UTM_DATA_AVAIL_FLAGS = common.UTM_DATA_AVAIL_FLAGS_HORIZONTAL_VELO_AVAILABLE
	// The field vz contains valid data.
	UTM_DATA_AVAIL_FLAGS_VERTICAL_VELO_AVAILABLE UTM_DATA_AVAIL_FLAGS = common.UTM_DATA_AVAIL_FLAGS_VERTICAL_VELO_AVAILABLE
	// The fields next_lat, next_lon and next_alt contain valid data.
	UTM_DATA_AVAIL_FLAGS_NEXT_WAYPOINT_AVAILABLE UTM_DATA_AVAIL_FLAGS = common.UTM_DATA_AVAIL_FLAGS_NEXT_WAYPOINT_AVAILABLE
)

type UTM_FLIGHT_STATE ¶

type UTM_FLIGHT_STATE = common.UTM_FLIGHT_STATE

Airborne status of UAS.

const (
	// The flight state can't be determined.
	UTM_FLIGHT_STATE_UNKNOWN UTM_FLIGHT_STATE = common.UTM_FLIGHT_STATE_UNKNOWN
	// UAS on ground.
	UTM_FLIGHT_STATE_GROUND UTM_FLIGHT_STATE = common.UTM_FLIGHT_STATE_GROUND
	// UAS airborne.
	UTM_FLIGHT_STATE_AIRBORNE UTM_FLIGHT_STATE = common.UTM_FLIGHT_STATE_AIRBORNE
	// UAS is in an emergency flight state.
	UTM_FLIGHT_STATE_EMERGENCY UTM_FLIGHT_STATE = common.UTM_FLIGHT_STATE_EMERGENCY
	// UAS has no active controls.
	UTM_FLIGHT_STATE_NOCTRL UTM_FLIGHT_STATE = common.UTM_FLIGHT_STATE_NOCTRL
)

type VIDEO_STREAM_STATUS_FLAGS ¶

type VIDEO_STREAM_STATUS_FLAGS = common.VIDEO_STREAM_STATUS_FLAGS

Stream status flags (Bitmap)

const (
	// Stream is active (running)
	VIDEO_STREAM_STATUS_FLAGS_RUNNING VIDEO_STREAM_STATUS_FLAGS = common.VIDEO_STREAM_STATUS_FLAGS_RUNNING
	// Stream is thermal imaging
	VIDEO_STREAM_STATUS_FLAGS_THERMAL VIDEO_STREAM_STATUS_FLAGS = common.VIDEO_STREAM_STATUS_FLAGS_THERMAL
)

type VIDEO_STREAM_TYPE ¶

type VIDEO_STREAM_TYPE = common.VIDEO_STREAM_TYPE

Video stream types

const (
	// Stream is RTSP
	VIDEO_STREAM_TYPE_RTSP VIDEO_STREAM_TYPE = common.VIDEO_STREAM_TYPE_RTSP
	// Stream is RTP UDP (URI gives the port number)
	VIDEO_STREAM_TYPE_RTPUDP VIDEO_STREAM_TYPE = common.VIDEO_STREAM_TYPE_RTPUDP
	// Stream is MPEG on TCP
	VIDEO_STREAM_TYPE_TCP_MPEG VIDEO_STREAM_TYPE = common.VIDEO_STREAM_TYPE_TCP_MPEG
	// Stream is h.264 on MPEG TS (URI gives the port number)
	VIDEO_STREAM_TYPE_MPEG_TS_H264 VIDEO_STREAM_TYPE = common.VIDEO_STREAM_TYPE_MPEG_TS_H264
)

type VTOL_TRANSITION_HEADING ¶

type VTOL_TRANSITION_HEADING = common.VTOL_TRANSITION_HEADING

Direction of VTOL transition

const (
	// Respect the heading configuration of the vehicle.
	VTOL_TRANSITION_HEADING_VEHICLE_DEFAULT VTOL_TRANSITION_HEADING = common.VTOL_TRANSITION_HEADING_VEHICLE_DEFAULT
	// Use the heading pointing towards the next waypoint.
	VTOL_TRANSITION_HEADING_NEXT_WAYPOINT VTOL_TRANSITION_HEADING = common.VTOL_TRANSITION_HEADING_NEXT_WAYPOINT
	// Use the heading on takeoff (while sitting on the ground).
	VTOL_TRANSITION_HEADING_TAKEOFF VTOL_TRANSITION_HEADING = common.VTOL_TRANSITION_HEADING_TAKEOFF
	// Use the specified heading in parameter 4.
	VTOL_TRANSITION_HEADING_SPECIFIED VTOL_TRANSITION_HEADING = common.VTOL_TRANSITION_HEADING_SPECIFIED
	// Use the current heading when reaching takeoff altitude (potentially facing the wind when weather-vaning is active).
	VTOL_TRANSITION_HEADING_ANY VTOL_TRANSITION_HEADING = common.VTOL_TRANSITION_HEADING_ANY
)

type WIFI_CONFIG_AP_MODE ¶

type WIFI_CONFIG_AP_MODE = common.WIFI_CONFIG_AP_MODE

WiFi Mode.

const (
	// WiFi mode is undefined.
	WIFI_CONFIG_AP_MODE_UNDEFINED WIFI_CONFIG_AP_MODE = common.WIFI_CONFIG_AP_MODE_UNDEFINED
	// WiFi configured as an access point.
	WIFI_CONFIG_AP_MODE_AP WIFI_CONFIG_AP_MODE = common.WIFI_CONFIG_AP_MODE_AP
	// WiFi configured as a station connected to an existing local WiFi network.
	WIFI_CONFIG_AP_MODE_STATION WIFI_CONFIG_AP_MODE = common.WIFI_CONFIG_AP_MODE_STATION
	// WiFi disabled.
	WIFI_CONFIG_AP_MODE_DISABLED WIFI_CONFIG_AP_MODE = common.WIFI_CONFIG_AP_MODE_DISABLED
)

type WIFI_CONFIG_AP_RESPONSE ¶

type WIFI_CONFIG_AP_RESPONSE = common.WIFI_CONFIG_AP_RESPONSE

Possible responses from a WIFI_CONFIG_AP message.

const (
	// Undefined response. Likely an indicative of a system that doesn't support this request.
	WIFI_CONFIG_AP_RESPONSE_UNDEFINED WIFI_CONFIG_AP_RESPONSE = common.WIFI_CONFIG_AP_RESPONSE_UNDEFINED
	// Changes accepted.
	WIFI_CONFIG_AP_RESPONSE_ACCEPTED WIFI_CONFIG_AP_RESPONSE = common.WIFI_CONFIG_AP_RESPONSE_ACCEPTED
	// Changes rejected.
	WIFI_CONFIG_AP_RESPONSE_REJECTED WIFI_CONFIG_AP_RESPONSE = common.WIFI_CONFIG_AP_RESPONSE_REJECTED
	// Invalid Mode.
	WIFI_CONFIG_AP_RESPONSE_MODE_ERROR WIFI_CONFIG_AP_RESPONSE = common.WIFI_CONFIG_AP_RESPONSE_MODE_ERROR
	// Invalid SSID.
	WIFI_CONFIG_AP_RESPONSE_SSID_ERROR WIFI_CONFIG_AP_RESPONSE = common.WIFI_CONFIG_AP_RESPONSE_SSID_ERROR
	// Invalid Password.
	WIFI_CONFIG_AP_RESPONSE_PASSWORD_ERROR WIFI_CONFIG_AP_RESPONSE = common.WIFI_CONFIG_AP_RESPONSE_PASSWORD_ERROR
)

type WINCH_ACTIONS ¶

type WINCH_ACTIONS = common.WINCH_ACTIONS

Winch actions.

const (
	// Allow motor to freewheel.
	WINCH_RELAXED WINCH_ACTIONS = common.WINCH_RELAXED
	// Wind or unwind specified length of line, optionally using specified rate.
	WINCH_RELATIVE_LENGTH_CONTROL WINCH_ACTIONS = common.WINCH_RELATIVE_LENGTH_CONTROL
	// Wind or unwind line at specified rate.
	WINCH_RATE_CONTROL WINCH_ACTIONS = common.WINCH_RATE_CONTROL
	// Perform the locking sequence to relieve motor while in the fully retracted position. Only action and instance command parameters are used, others are ignored.
	WINCH_LOCK WINCH_ACTIONS = common.WINCH_LOCK
	// Sequence of drop, slow down, touch down, reel up, lock. Only action and instance command parameters are used, others are ignored.
	WINCH_DELIVER WINCH_ACTIONS = common.WINCH_DELIVER
	// Engage motor and hold current position. Only action and instance command parameters are used, others are ignored.
	WINCH_HOLD WINCH_ACTIONS = common.WINCH_HOLD
	// Return the reel to the fully retracted position. Only action and instance command parameters are used, others are ignored.
	WINCH_RETRACT WINCH_ACTIONS = common.WINCH_RETRACT
	// Load the reel with line. The winch will calculate the total loaded length and stop when the tension exceeds a threshold. Only action and instance command parameters are used, others are ignored.
	WINCH_LOAD_LINE WINCH_ACTIONS = common.WINCH_LOAD_LINE
	// Spool out the entire length of the line. Only action and instance command parameters are used, others are ignored.
	WINCH_ABANDON_LINE WINCH_ACTIONS = common.WINCH_ABANDON_LINE
	// Spools out just enough to present the hook to the user to load the payload. Only action and instance command parameters are used, others are ignored
	WINCH_LOAD_PAYLOAD WINCH_ACTIONS = common.WINCH_LOAD_PAYLOAD
)

Source Files ¶

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL