parrotbebop

package module
v0.0.0-...-e2afb4b Latest Latest
Warning

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

Go to latest
Published: Jan 9, 2021 License: Apache-2.0 Imports: 17 Imported by: 0

README

Parrot Bebop

Work in progress! Building a driver for the Parrot Bebop 2 drone in Go.

The idea behind writing this new driver, was to have a new driver in Go that can utilize all the functions and sensors the Parrot Bebop provide.

Alongside the driver is also a lexer and parser that will take the whole xml of the AR Protocol Specification and parse it into Go code. That package can be found here https://github.com/postmannen/lexmlparser

Documentation

Index

Constants

View Source
const (
	// Standard actions.
	//
	ActionPcmdFlag                       inputAction = iota
	ActionPcmdRollLeft                   inputAction = iota
	ActionPcmdRollRight                  inputAction = iota
	ActionPcmdPitchForward               inputAction = iota
	ActionPcmdPitchBackward              inputAction = iota
	ActionPcmdYawClockwise               inputAction = iota
	ActionPcmdYawCounterClockwise        inputAction = iota
	ActionPcmdHover                      inputAction = iota
	ActionPcmdGazInc                     inputAction = iota
	ActionPcmdGazDec                     inputAction = iota
	ActionPcmdRepeatLastCmd              inputAction = iota
	ActionTakeoff                        inputAction = iota
	ActionLanding                        inputAction = iota
	ActionEmergency                      inputAction = iota
	ActionNavigateHomeStart              inputAction = iota // Check how to implement it in xml line 153
	ActionNavigateHomeStop               inputAction = iota // Check how to implement it in xml line 153
	ActionMoveBy                         inputAction = iota // Check how to implement it in xml line 181
	ActionUserTakeoff                    inputAction = iota
	ActionMoveTo                         inputAction = iota // Check how to implement it in xml line 259
	ActionCancelMoveTo                   inputAction = iota
	ActionStartPilotedPOI                inputAction = iota
	ActionStopPilotedPOI                 inputAction = iota
	ActionCancelMoveBy                   inputAction = iota
	ActionMoveToSetLatInc                inputAction = iota // Direction North
	ActionMoveToSetLatDec                inputAction = iota // Direction South
	ActionMoveToSetLonInc                inputAction = iota // Direction East
	ActionMoveToSetLonDec                inputAction = iota // Direction West
	ActionMoveToExecute                  inputAction = iota // Execute moveTo next waypoint
	ActionMoveToCancel                   inputAction = iota // Cancel all moveTo operation
	ActionMoveToSetBufferCurrentPosition inputAction = iota // Set buffer to current position

	// Custom actions.
	//
	ActionHow inputAction = iota
	// Flattrim should be performed before a takeoff
	// to calibrate the drone.
	ActionFlatTrim inputAction = iota
)

Variables

View Source
var CommandMap = map[Command]Decoder{}/* 252 elements not displayed */

Functions

func ConvLittleEndianNumericToSlice

func ConvLittleEndianNumericToSlice(value interface{}) []byte

ConvLittleEndianNumericToSlice takes a a value of any of the standard types uint8/int8/uint16/int16/uint32/int32/uint64/int64/float32/float64 and convert to a []byte.

func ConvLittleEndianSliceToNumeric

func ConvLittleEndianSliceToNumeric(in []byte, out interface{})

ConvLittleEndianSliceToNumeric takes a []byte, and an *out variable of type uint8/int8/uint16/int16/uint32/int32/uint64/int64/float32/float64 and convert the []byte, and places the result into the *out variable.

Types

type Ardrone3AccessoryStateBattery

type Ardrone3AccessoryStateBattery Command

func (Ardrone3AccessoryStateBattery) Decode

func (a Ardrone3AccessoryStateBattery) Decode(b []byte) interface{}

type Ardrone3AccessoryStateBatteryArguments

type Ardrone3AccessoryStateBatteryArguments struct {
	Id           uint8
	BatteryLevel uint8
	Listflags    uint8
}

func (Ardrone3AccessoryStateBatteryArguments) Encode

type Ardrone3AccessoryStateConnectedAccessories

type Ardrone3AccessoryStateConnectedAccessories Command

func (Ardrone3AccessoryStateConnectedAccessories) Decode

func (a Ardrone3AccessoryStateConnectedAccessories) Decode(b []byte) interface{}

type Ardrone3AccessoryStateConnectedAccessoriesArguments

type Ardrone3AccessoryStateConnectedAccessoriesArguments struct {
	Id            uint8
	Accessorytype uint32
	Uid           string
	SwVersion     string
	Listflags     uint8
}

func (Ardrone3AccessoryStateConnectedAccessoriesArguments) Encode

type Ardrone3AnimationsFlip

type Ardrone3AnimationsFlip Command

func (Ardrone3AnimationsFlip) Decode

func (a Ardrone3AnimationsFlip) Decode(b []byte) interface{}

type Ardrone3AnimationsFlipArguments

type Ardrone3AnimationsFlipArguments struct {
	Direction uint32
}

func (Ardrone3AnimationsFlipArguments) Encode

type Ardrone3AntiflickeringStateelectricFrequencyChanged

type Ardrone3AntiflickeringStateelectricFrequencyChanged Command

func (Ardrone3AntiflickeringStateelectricFrequencyChanged) Decode

type Ardrone3AntiflickeringStateelectricFrequencyChangedArguments

type Ardrone3AntiflickeringStateelectricFrequencyChangedArguments struct {
	Frequency uint32
}

func (Ardrone3AntiflickeringStateelectricFrequencyChangedArguments) Encode

type Ardrone3AntiflickeringStatemodeChanged

type Ardrone3AntiflickeringStatemodeChanged Command

func (Ardrone3AntiflickeringStatemodeChanged) Decode

func (a Ardrone3AntiflickeringStatemodeChanged) Decode(b []byte) interface{}

type Ardrone3AntiflickeringStatemodeChangedArguments

type Ardrone3AntiflickeringStatemodeChangedArguments struct {
	Mode uint32
}

func (Ardrone3AntiflickeringStatemodeChangedArguments) Encode

type Ardrone3AntiflickeringelectricFrequency

type Ardrone3AntiflickeringelectricFrequency Command

func (Ardrone3AntiflickeringelectricFrequency) Decode

func (a Ardrone3AntiflickeringelectricFrequency) Decode(b []byte) interface{}

type Ardrone3AntiflickeringelectricFrequencyArguments

type Ardrone3AntiflickeringelectricFrequencyArguments struct {
	Frequency uint32
}

func (Ardrone3AntiflickeringelectricFrequencyArguments) Encode

type Ardrone3AntiflickeringsetMode

type Ardrone3AntiflickeringsetMode Command

func (Ardrone3AntiflickeringsetMode) Decode

func (a Ardrone3AntiflickeringsetMode) Decode(b []byte) interface{}

type Ardrone3AntiflickeringsetModeArguments

type Ardrone3AntiflickeringsetModeArguments struct {
	Mode uint32
}

func (Ardrone3AntiflickeringsetModeArguments) Encode

type Ardrone3CameraOrientation

type Ardrone3CameraOrientation Command

func (Ardrone3CameraOrientation) Decode

func (a Ardrone3CameraOrientation) Decode(b []byte) interface{}

type Ardrone3CameraOrientationArguments

type Ardrone3CameraOrientationArguments struct {
	Tilt int8
	Pan  int8
}

func (Ardrone3CameraOrientationArguments) Encode

type Ardrone3CameraOrientationV2

type Ardrone3CameraOrientationV2 Command

func (Ardrone3CameraOrientationV2) Decode

func (a Ardrone3CameraOrientationV2) Decode(b []byte) interface{}

type Ardrone3CameraOrientationV2Arguments

type Ardrone3CameraOrientationV2Arguments struct {
	Tilt float32
	Pan  float32
}

func (Ardrone3CameraOrientationV2Arguments) Encode

type Ardrone3CameraStateOrientation

type Ardrone3CameraStateOrientation Command

func (Ardrone3CameraStateOrientation) Decode

func (a Ardrone3CameraStateOrientation) Decode(b []byte) interface{}

type Ardrone3CameraStateOrientationArguments

type Ardrone3CameraStateOrientationArguments struct {
	Tilt int8
	Pan  int8
}

func (Ardrone3CameraStateOrientationArguments) Encode

type Ardrone3CameraStateOrientationV2

type Ardrone3CameraStateOrientationV2 Command

func (Ardrone3CameraStateOrientationV2) Decode

func (a Ardrone3CameraStateOrientationV2) Decode(b []byte) interface{}

type Ardrone3CameraStateOrientationV2Arguments

type Ardrone3CameraStateOrientationV2Arguments struct {
	Tilt float32
	Pan  float32
}

func (Ardrone3CameraStateOrientationV2Arguments) Encode

type Ardrone3CameraStateVelocityRange

type Ardrone3CameraStateVelocityRange Command

func (Ardrone3CameraStateVelocityRange) Decode

func (a Ardrone3CameraStateVelocityRange) Decode(b []byte) interface{}

type Ardrone3CameraStateVelocityRangeArguments

type Ardrone3CameraStateVelocityRangeArguments struct {
	Maxtilt float32
	Maxpan  float32
}

func (Ardrone3CameraStateVelocityRangeArguments) Encode

type Ardrone3CameraStatedefaultCameraOrientation

type Ardrone3CameraStatedefaultCameraOrientation Command

func (Ardrone3CameraStatedefaultCameraOrientation) Decode

func (a Ardrone3CameraStatedefaultCameraOrientation) Decode(b []byte) interface{}

type Ardrone3CameraStatedefaultCameraOrientationArguments

type Ardrone3CameraStatedefaultCameraOrientationArguments struct {
	Tilt int8
	Pan  int8
}

func (Ardrone3CameraStatedefaultCameraOrientationArguments) Encode

type Ardrone3CameraStatedefaultCameraOrientationV2

type Ardrone3CameraStatedefaultCameraOrientationV2 Command

func (Ardrone3CameraStatedefaultCameraOrientationV2) Decode

func (a Ardrone3CameraStatedefaultCameraOrientationV2) Decode(b []byte) interface{}

type Ardrone3CameraStatedefaultCameraOrientationV2Arguments

type Ardrone3CameraStatedefaultCameraOrientationV2Arguments struct {
	Tilt float32
	Pan  float32
}

func (Ardrone3CameraStatedefaultCameraOrientationV2Arguments) Encode

type Ardrone3CameraVelocity

type Ardrone3CameraVelocity Command

func (Ardrone3CameraVelocity) Decode

func (a Ardrone3CameraVelocity) Decode(b []byte) interface{}

type Ardrone3CameraVelocityArguments

type Ardrone3CameraVelocityArguments struct {
	Tilt float32
	Pan  float32
}

func (Ardrone3CameraVelocityArguments) Encode

type Ardrone3GPSSettingsHomeType

type Ardrone3GPSSettingsHomeType Command

func (Ardrone3GPSSettingsHomeType) Decode

func (a Ardrone3GPSSettingsHomeType) Decode(b []byte) interface{}

type Ardrone3GPSSettingsHomeTypeArguments

type Ardrone3GPSSettingsHomeTypeArguments struct {
	TypeX uint32
}

func (Ardrone3GPSSettingsHomeTypeArguments) Encode

type Ardrone3GPSSettingsResetHome

type Ardrone3GPSSettingsResetHome Command

func (Ardrone3GPSSettingsResetHome) Decode

func (a Ardrone3GPSSettingsResetHome) Decode(b []byte) interface{}

type Ardrone3GPSSettingsResetHomeArguments

type Ardrone3GPSSettingsResetHomeArguments struct {
}

func (Ardrone3GPSSettingsResetHomeArguments) Encode

type Ardrone3GPSSettingsReturnHomeDelay

type Ardrone3GPSSettingsReturnHomeDelay Command

func (Ardrone3GPSSettingsReturnHomeDelay) Decode

func (a Ardrone3GPSSettingsReturnHomeDelay) Decode(b []byte) interface{}

type Ardrone3GPSSettingsReturnHomeDelayArguments

type Ardrone3GPSSettingsReturnHomeDelayArguments struct {
	Delay uint16
}

func (Ardrone3GPSSettingsReturnHomeDelayArguments) Encode

type Ardrone3GPSSettingsReturnHomeMinAltitude

type Ardrone3GPSSettingsReturnHomeMinAltitude Command

func (Ardrone3GPSSettingsReturnHomeMinAltitude) Decode

func (a Ardrone3GPSSettingsReturnHomeMinAltitude) Decode(b []byte) interface{}

type Ardrone3GPSSettingsReturnHomeMinAltitudeArguments

type Ardrone3GPSSettingsReturnHomeMinAltitudeArguments struct {
	Value float32
}

func (Ardrone3GPSSettingsReturnHomeMinAltitudeArguments) Encode

type Ardrone3GPSSettingsSendControllerGPS

type Ardrone3GPSSettingsSendControllerGPS Command

func (Ardrone3GPSSettingsSendControllerGPS) Decode

func (a Ardrone3GPSSettingsSendControllerGPS) Decode(b []byte) interface{}

type Ardrone3GPSSettingsSendControllerGPSArguments

type Ardrone3GPSSettingsSendControllerGPSArguments struct {
	Latitude           float64
	Longitude          float64
	Altitude           float64
	HorizontalAccuracy float64
	VerticalAccuracy   float64
}

func (Ardrone3GPSSettingsSendControllerGPSArguments) Encode

type Ardrone3GPSSettingsSetHome

type Ardrone3GPSSettingsSetHome Command

func (Ardrone3GPSSettingsSetHome) Decode

func (a Ardrone3GPSSettingsSetHome) Decode(b []byte) interface{}

type Ardrone3GPSSettingsSetHomeArguments

type Ardrone3GPSSettingsSetHomeArguments struct {
	Latitude  float64
	Longitude float64
	Altitude  float64
}

func (Ardrone3GPSSettingsSetHomeArguments) Encode

type Ardrone3GPSSettingsStateGPSFixStateChanged

type Ardrone3GPSSettingsStateGPSFixStateChanged Command

func (Ardrone3GPSSettingsStateGPSFixStateChanged) Decode

func (a Ardrone3GPSSettingsStateGPSFixStateChanged) Decode(b []byte) interface{}

type Ardrone3GPSSettingsStateGPSFixStateChangedArguments

type Ardrone3GPSSettingsStateGPSFixStateChangedArguments struct {
	Fixed uint8
}

func (Ardrone3GPSSettingsStateGPSFixStateChangedArguments) Encode

type Ardrone3GPSSettingsStateGPSUpdateStateChanged

type Ardrone3GPSSettingsStateGPSUpdateStateChanged Command

func (Ardrone3GPSSettingsStateGPSUpdateStateChanged) Decode

func (a Ardrone3GPSSettingsStateGPSUpdateStateChanged) Decode(b []byte) interface{}

type Ardrone3GPSSettingsStateGPSUpdateStateChangedArguments

type Ardrone3GPSSettingsStateGPSUpdateStateChangedArguments struct {
	State uint32
}

func (Ardrone3GPSSettingsStateGPSUpdateStateChangedArguments) Encode

type Ardrone3GPSSettingsStateGeofenceCenterChanged

type Ardrone3GPSSettingsStateGeofenceCenterChanged Command

func (Ardrone3GPSSettingsStateGeofenceCenterChanged) Decode

func (a Ardrone3GPSSettingsStateGeofenceCenterChanged) Decode(b []byte) interface{}

type Ardrone3GPSSettingsStateGeofenceCenterChangedArguments

type Ardrone3GPSSettingsStateGeofenceCenterChangedArguments struct {
	Latitude  float64
	Longitude float64
}

func (Ardrone3GPSSettingsStateGeofenceCenterChangedArguments) Encode

type Ardrone3GPSSettingsStateHomeChanged

type Ardrone3GPSSettingsStateHomeChanged Command

func (Ardrone3GPSSettingsStateHomeChanged) Decode

func (a Ardrone3GPSSettingsStateHomeChanged) Decode(b []byte) interface{}

type Ardrone3GPSSettingsStateHomeChangedArguments

type Ardrone3GPSSettingsStateHomeChangedArguments struct {
	Latitude  float64
	Longitude float64
	Altitude  float64
}

func (Ardrone3GPSSettingsStateHomeChangedArguments) Encode

type Ardrone3GPSSettingsStateHomeTypeChanged

type Ardrone3GPSSettingsStateHomeTypeChanged Command

func (Ardrone3GPSSettingsStateHomeTypeChanged) Decode

func (a Ardrone3GPSSettingsStateHomeTypeChanged) Decode(b []byte) interface{}

type Ardrone3GPSSettingsStateHomeTypeChangedArguments

type Ardrone3GPSSettingsStateHomeTypeChangedArguments struct {
	TypeX uint32
}

func (Ardrone3GPSSettingsStateHomeTypeChangedArguments) Encode

type Ardrone3GPSSettingsStateResetHomeChanged

type Ardrone3GPSSettingsStateResetHomeChanged Command

func (Ardrone3GPSSettingsStateResetHomeChanged) Decode

func (a Ardrone3GPSSettingsStateResetHomeChanged) Decode(b []byte) interface{}

type Ardrone3GPSSettingsStateResetHomeChangedArguments

type Ardrone3GPSSettingsStateResetHomeChangedArguments struct {
	Latitude  float64
	Longitude float64
	Altitude  float64
}

func (Ardrone3GPSSettingsStateResetHomeChangedArguments) Encode

type Ardrone3GPSSettingsStateReturnHomeDelayChanged

type Ardrone3GPSSettingsStateReturnHomeDelayChanged Command

func (Ardrone3GPSSettingsStateReturnHomeDelayChanged) Decode

func (a Ardrone3GPSSettingsStateReturnHomeDelayChanged) Decode(b []byte) interface{}

type Ardrone3GPSSettingsStateReturnHomeDelayChangedArguments

type Ardrone3GPSSettingsStateReturnHomeDelayChangedArguments struct {
	Delay uint16
}

func (Ardrone3GPSSettingsStateReturnHomeDelayChangedArguments) Encode

type Ardrone3GPSSettingsStateReturnHomeMinAltitudeChanged

type Ardrone3GPSSettingsStateReturnHomeMinAltitudeChanged Command

func (Ardrone3GPSSettingsStateReturnHomeMinAltitudeChanged) Decode

type Ardrone3GPSSettingsStateReturnHomeMinAltitudeChangedArguments

type Ardrone3GPSSettingsStateReturnHomeMinAltitudeChangedArguments struct {
	Value float32
	Min   float32
	Max   float32
}

func (Ardrone3GPSSettingsStateReturnHomeMinAltitudeChangedArguments) Encode

type Ardrone3GPSStateHomeTypeAvailabilityChanged

type Ardrone3GPSStateHomeTypeAvailabilityChanged Command

func (Ardrone3GPSStateHomeTypeAvailabilityChanged) Decode

func (a Ardrone3GPSStateHomeTypeAvailabilityChanged) Decode(b []byte) interface{}

type Ardrone3GPSStateHomeTypeAvailabilityChangedArguments

type Ardrone3GPSStateHomeTypeAvailabilityChangedArguments struct {
	TypeX     uint32
	Available uint8
}

func (Ardrone3GPSStateHomeTypeAvailabilityChangedArguments) Encode

type Ardrone3GPSStateHomeTypeChosenChanged

type Ardrone3GPSStateHomeTypeChosenChanged Command

func (Ardrone3GPSStateHomeTypeChosenChanged) Decode

func (a Ardrone3GPSStateHomeTypeChosenChanged) Decode(b []byte) interface{}

type Ardrone3GPSStateHomeTypeChosenChangedArguments

type Ardrone3GPSStateHomeTypeChosenChangedArguments struct {
	TypeX uint32
}

func (Ardrone3GPSStateHomeTypeChosenChangedArguments) Encode

type Ardrone3GPSStateNumberOfSatelliteChanged

type Ardrone3GPSStateNumberOfSatelliteChanged Command

func (Ardrone3GPSStateNumberOfSatelliteChanged) Decode

func (a Ardrone3GPSStateNumberOfSatelliteChanged) Decode(b []byte) interface{}

type Ardrone3GPSStateNumberOfSatelliteChangedArguments

type Ardrone3GPSStateNumberOfSatelliteChangedArguments struct {
	NumberOfSatellite uint8
}

func (Ardrone3GPSStateNumberOfSatelliteChangedArguments) Encode

type Ardrone3MediaRecordEventPictureEventChanged

type Ardrone3MediaRecordEventPictureEventChanged Command

func (Ardrone3MediaRecordEventPictureEventChanged) Decode

func (a Ardrone3MediaRecordEventPictureEventChanged) Decode(b []byte) interface{}

type Ardrone3MediaRecordEventPictureEventChangedArguments

type Ardrone3MediaRecordEventPictureEventChangedArguments struct {
	Event uint32
	Error uint32
}

func (Ardrone3MediaRecordEventPictureEventChangedArguments) Encode

type Ardrone3MediaRecordEventVideoEventChanged

type Ardrone3MediaRecordEventVideoEventChanged Command

func (Ardrone3MediaRecordEventVideoEventChanged) Decode

func (a Ardrone3MediaRecordEventVideoEventChanged) Decode(b []byte) interface{}

type Ardrone3MediaRecordEventVideoEventChangedArguments

type Ardrone3MediaRecordEventVideoEventChangedArguments struct {
	Event uint32
	Error uint32
}

func (Ardrone3MediaRecordEventVideoEventChangedArguments) Encode

type Ardrone3MediaRecordPicture

type Ardrone3MediaRecordPicture Command

func (Ardrone3MediaRecordPicture) Decode

func (a Ardrone3MediaRecordPicture) Decode(b []byte) interface{}

type Ardrone3MediaRecordPictureArguments

type Ardrone3MediaRecordPictureArguments struct {
	Massstorageid uint8
}

func (Ardrone3MediaRecordPictureArguments) Encode

type Ardrone3MediaRecordPictureV2

type Ardrone3MediaRecordPictureV2 Command

func (Ardrone3MediaRecordPictureV2) Decode

func (a Ardrone3MediaRecordPictureV2) Decode(b []byte) interface{}

type Ardrone3MediaRecordPictureV2Arguments

type Ardrone3MediaRecordPictureV2Arguments struct {
}

func (Ardrone3MediaRecordPictureV2Arguments) Encode

type Ardrone3MediaRecordStatePictureStateChanged

type Ardrone3MediaRecordStatePictureStateChanged Command

func (Ardrone3MediaRecordStatePictureStateChanged) Decode

func (a Ardrone3MediaRecordStatePictureStateChanged) Decode(b []byte) interface{}

type Ardrone3MediaRecordStatePictureStateChangedArguments

type Ardrone3MediaRecordStatePictureStateChangedArguments struct {
	State         uint8
	Massstorageid uint8
}

func (Ardrone3MediaRecordStatePictureStateChangedArguments) Encode

type Ardrone3MediaRecordStatePictureStateChangedV2

type Ardrone3MediaRecordStatePictureStateChangedV2 Command

func (Ardrone3MediaRecordStatePictureStateChangedV2) Decode

func (a Ardrone3MediaRecordStatePictureStateChangedV2) Decode(b []byte) interface{}

type Ardrone3MediaRecordStatePictureStateChangedV2Arguments

type Ardrone3MediaRecordStatePictureStateChangedV2Arguments struct {
	State uint32
	Error uint32
}

func (Ardrone3MediaRecordStatePictureStateChangedV2Arguments) Encode

type Ardrone3MediaRecordStateVideoResolutionState

type Ardrone3MediaRecordStateVideoResolutionState Command

func (Ardrone3MediaRecordStateVideoResolutionState) Decode

func (a Ardrone3MediaRecordStateVideoResolutionState) Decode(b []byte) interface{}

type Ardrone3MediaRecordStateVideoResolutionStateArguments

type Ardrone3MediaRecordStateVideoResolutionStateArguments struct {
	Streaming uint32
	Recording uint32
}

func (Ardrone3MediaRecordStateVideoResolutionStateArguments) Encode

type Ardrone3MediaRecordStateVideoStateChanged

type Ardrone3MediaRecordStateVideoStateChanged Command

func (Ardrone3MediaRecordStateVideoStateChanged) Decode

func (a Ardrone3MediaRecordStateVideoStateChanged) Decode(b []byte) interface{}

type Ardrone3MediaRecordStateVideoStateChangedArguments

type Ardrone3MediaRecordStateVideoStateChangedArguments struct {
	State         uint32
	Massstorageid uint8
}

func (Ardrone3MediaRecordStateVideoStateChangedArguments) Encode

type Ardrone3MediaRecordStateVideoStateChangedV2

type Ardrone3MediaRecordStateVideoStateChangedV2 Command

func (Ardrone3MediaRecordStateVideoStateChangedV2) Decode

func (a Ardrone3MediaRecordStateVideoStateChangedV2) Decode(b []byte) interface{}

type Ardrone3MediaRecordStateVideoStateChangedV2Arguments

type Ardrone3MediaRecordStateVideoStateChangedV2Arguments struct {
	State uint32
	Error uint32
}

func (Ardrone3MediaRecordStateVideoStateChangedV2Arguments) Encode

type Ardrone3MediaRecordVideo

type Ardrone3MediaRecordVideo Command

func (Ardrone3MediaRecordVideo) Decode

func (a Ardrone3MediaRecordVideo) Decode(b []byte) interface{}

type Ardrone3MediaRecordVideoArguments

type Ardrone3MediaRecordVideoArguments struct {
	Record        uint32
	Massstorageid uint8
}

func (Ardrone3MediaRecordVideoArguments) Encode

type Ardrone3MediaRecordVideoV2

type Ardrone3MediaRecordVideoV2 Command

func (Ardrone3MediaRecordVideoV2) Decode

func (a Ardrone3MediaRecordVideoV2) Decode(b []byte) interface{}

type Ardrone3MediaRecordVideoV2Arguments

type Ardrone3MediaRecordVideoV2Arguments struct {
	Record uint32
}

func (Ardrone3MediaRecordVideoV2Arguments) Encode

type Ardrone3MediaStreamingStateVideoEnableChanged

type Ardrone3MediaStreamingStateVideoEnableChanged Command

func (Ardrone3MediaStreamingStateVideoEnableChanged) Decode

func (a Ardrone3MediaStreamingStateVideoEnableChanged) Decode(b []byte) interface{}

type Ardrone3MediaStreamingStateVideoEnableChangedArguments

type Ardrone3MediaStreamingStateVideoEnableChangedArguments struct {
	Enabled uint32
}

func (Ardrone3MediaStreamingStateVideoEnableChangedArguments) Encode

type Ardrone3MediaStreamingStateVideoStreamModeChanged

type Ardrone3MediaStreamingStateVideoStreamModeChanged Command

func (Ardrone3MediaStreamingStateVideoStreamModeChanged) Decode

func (a Ardrone3MediaStreamingStateVideoStreamModeChanged) Decode(b []byte) interface{}

type Ardrone3MediaStreamingStateVideoStreamModeChangedArguments

type Ardrone3MediaStreamingStateVideoStreamModeChangedArguments struct {
	Mode uint32
}

func (Ardrone3MediaStreamingStateVideoStreamModeChangedArguments) Encode

type Ardrone3MediaStreamingVideoEnable

type Ardrone3MediaStreamingVideoEnable Command

func (Ardrone3MediaStreamingVideoEnable) Decode

func (a Ardrone3MediaStreamingVideoEnable) Decode(b []byte) interface{}

type Ardrone3MediaStreamingVideoEnableArguments

type Ardrone3MediaStreamingVideoEnableArguments struct {
	Enable uint8
}

func (Ardrone3MediaStreamingVideoEnableArguments) Encode

type Ardrone3MediaStreamingVideoStreamMode

type Ardrone3MediaStreamingVideoStreamMode Command

func (Ardrone3MediaStreamingVideoStreamMode) Decode

func (a Ardrone3MediaStreamingVideoStreamMode) Decode(b []byte) interface{}

type Ardrone3MediaStreamingVideoStreamModeArguments

type Ardrone3MediaStreamingVideoStreamModeArguments struct {
	Mode uint32
}

func (Ardrone3MediaStreamingVideoStreamModeArguments) Encode

type Ardrone3NetworkSettingsStateWifiSelectionChanged

type Ardrone3NetworkSettingsStateWifiSelectionChanged Command

func (Ardrone3NetworkSettingsStateWifiSelectionChanged) Decode

func (a Ardrone3NetworkSettingsStateWifiSelectionChanged) Decode(b []byte) interface{}

type Ardrone3NetworkSettingsStateWifiSelectionChangedArguments

type Ardrone3NetworkSettingsStateWifiSelectionChangedArguments struct {
	TypeX   uint32
	Band    uint32
	Channel uint8
}

func (Ardrone3NetworkSettingsStateWifiSelectionChangedArguments) Encode

type Ardrone3NetworkSettingsStatewifiSecurity

type Ardrone3NetworkSettingsStatewifiSecurity Command

func (Ardrone3NetworkSettingsStatewifiSecurity) Decode

func (a Ardrone3NetworkSettingsStatewifiSecurity) Decode(b []byte) interface{}

type Ardrone3NetworkSettingsStatewifiSecurityArguments

type Ardrone3NetworkSettingsStatewifiSecurityArguments struct {
	TypeX   uint32
	Key     string
	KeyType uint32
}

func (Ardrone3NetworkSettingsStatewifiSecurityArguments) Encode

type Ardrone3NetworkSettingsStatewifiSecurityChanged

type Ardrone3NetworkSettingsStatewifiSecurityChanged Command

func (Ardrone3NetworkSettingsStatewifiSecurityChanged) Decode

func (a Ardrone3NetworkSettingsStatewifiSecurityChanged) Decode(b []byte) interface{}

type Ardrone3NetworkSettingsStatewifiSecurityChangedArguments

type Ardrone3NetworkSettingsStatewifiSecurityChangedArguments struct {
	TypeX uint32
}

func (Ardrone3NetworkSettingsStatewifiSecurityChangedArguments) Encode

type Ardrone3NetworkSettingsWifiSelection

type Ardrone3NetworkSettingsWifiSelection Command

func (Ardrone3NetworkSettingsWifiSelection) Decode

func (a Ardrone3NetworkSettingsWifiSelection) Decode(b []byte) interface{}

type Ardrone3NetworkSettingsWifiSelectionArguments

type Ardrone3NetworkSettingsWifiSelectionArguments struct {
	TypeX   uint32
	Band    uint32
	Channel uint8
}

func (Ardrone3NetworkSettingsWifiSelectionArguments) Encode

type Ardrone3NetworkSettingswifiSecurity

type Ardrone3NetworkSettingswifiSecurity Command

func (Ardrone3NetworkSettingswifiSecurity) Decode

func (a Ardrone3NetworkSettingswifiSecurity) Decode(b []byte) interface{}

type Ardrone3NetworkSettingswifiSecurityArguments

type Ardrone3NetworkSettingswifiSecurityArguments struct {
	TypeX   uint32
	Key     string
	KeyType uint32
}

func (Ardrone3NetworkSettingswifiSecurityArguments) Encode

type Ardrone3NetworkStateAllWifiAuthChannelChanged

type Ardrone3NetworkStateAllWifiAuthChannelChanged Command

func (Ardrone3NetworkStateAllWifiAuthChannelChanged) Decode

func (a Ardrone3NetworkStateAllWifiAuthChannelChanged) Decode(b []byte) interface{}

type Ardrone3NetworkStateAllWifiAuthChannelChangedArguments

type Ardrone3NetworkStateAllWifiAuthChannelChangedArguments struct {
}

func (Ardrone3NetworkStateAllWifiAuthChannelChangedArguments) Encode

type Ardrone3NetworkStateAllWifiScanChanged

type Ardrone3NetworkStateAllWifiScanChanged Command

func (Ardrone3NetworkStateAllWifiScanChanged) Decode

func (a Ardrone3NetworkStateAllWifiScanChanged) Decode(b []byte) interface{}

type Ardrone3NetworkStateAllWifiScanChangedArguments

type Ardrone3NetworkStateAllWifiScanChangedArguments struct {
}

func (Ardrone3NetworkStateAllWifiScanChangedArguments) Encode

type Ardrone3NetworkStateWifiAuthChannelListChanged

type Ardrone3NetworkStateWifiAuthChannelListChanged Command

func (Ardrone3NetworkStateWifiAuthChannelListChanged) Decode

func (a Ardrone3NetworkStateWifiAuthChannelListChanged) Decode(b []byte) interface{}

type Ardrone3NetworkStateWifiAuthChannelListChangedArguments

type Ardrone3NetworkStateWifiAuthChannelListChangedArguments struct {
	Band    uint32
	Channel uint8
	Inorout uint8
}

func (Ardrone3NetworkStateWifiAuthChannelListChangedArguments) Encode

type Ardrone3NetworkStateWifiScanListChanged

type Ardrone3NetworkStateWifiScanListChanged Command

func (Ardrone3NetworkStateWifiScanListChanged) Decode

func (a Ardrone3NetworkStateWifiScanListChanged) Decode(b []byte) interface{}

type Ardrone3NetworkStateWifiScanListChangedArguments

type Ardrone3NetworkStateWifiScanListChangedArguments struct {
	Ssid    string
	Rssi    int16
	Band    uint32
	Channel uint8
}

func (Ardrone3NetworkStateWifiScanListChangedArguments) Encode

type Ardrone3NetworkWifiAuthChannel

type Ardrone3NetworkWifiAuthChannel Command

func (Ardrone3NetworkWifiAuthChannel) Decode

func (a Ardrone3NetworkWifiAuthChannel) Decode(b []byte) interface{}

type Ardrone3NetworkWifiAuthChannelArguments

type Ardrone3NetworkWifiAuthChannelArguments struct {
}

func (Ardrone3NetworkWifiAuthChannelArguments) Encode

type Ardrone3NetworkWifiScan

type Ardrone3NetworkWifiScan Command

func (Ardrone3NetworkWifiScan) Decode

func (a Ardrone3NetworkWifiScan) Decode(b []byte) interface{}

type Ardrone3NetworkWifiScanArguments

type Ardrone3NetworkWifiScanArguments struct {
	Band uint32
}

func (Ardrone3NetworkWifiScanArguments) Encode

type Ardrone3PROStateFeatures

type Ardrone3PROStateFeatures Command

func (Ardrone3PROStateFeatures) Decode

func (a Ardrone3PROStateFeatures) Decode(b []byte) interface{}

type Ardrone3PROStateFeaturesArguments

type Ardrone3PROStateFeaturesArguments struct {
	Features uint64
}

func (Ardrone3PROStateFeaturesArguments) Encode

type Ardrone3PictureSettingsAutoWhiteBalanceSelection

type Ardrone3PictureSettingsAutoWhiteBalanceSelection Command

func (Ardrone3PictureSettingsAutoWhiteBalanceSelection) Decode

func (a Ardrone3PictureSettingsAutoWhiteBalanceSelection) Decode(b []byte) interface{}

type Ardrone3PictureSettingsAutoWhiteBalanceSelectionArguments

type Ardrone3PictureSettingsAutoWhiteBalanceSelectionArguments struct {
	TypeX uint32
}

func (Ardrone3PictureSettingsAutoWhiteBalanceSelectionArguments) Encode

type Ardrone3PictureSettingsExpositionSelection

type Ardrone3PictureSettingsExpositionSelection Command

func (Ardrone3PictureSettingsExpositionSelection) Decode

func (a Ardrone3PictureSettingsExpositionSelection) Decode(b []byte) interface{}

type Ardrone3PictureSettingsExpositionSelectionArguments

type Ardrone3PictureSettingsExpositionSelectionArguments struct {
	Value float32
}

func (Ardrone3PictureSettingsExpositionSelectionArguments) Encode

type Ardrone3PictureSettingsPictureFormatSelection

type Ardrone3PictureSettingsPictureFormatSelection Command

func (Ardrone3PictureSettingsPictureFormatSelection) Decode

func (a Ardrone3PictureSettingsPictureFormatSelection) Decode(b []byte) interface{}

type Ardrone3PictureSettingsPictureFormatSelectionArguments

type Ardrone3PictureSettingsPictureFormatSelectionArguments struct {
	TypeX uint32
}

func (Ardrone3PictureSettingsPictureFormatSelectionArguments) Encode

type Ardrone3PictureSettingsSaturationSelection

type Ardrone3PictureSettingsSaturationSelection Command

func (Ardrone3PictureSettingsSaturationSelection) Decode

func (a Ardrone3PictureSettingsSaturationSelection) Decode(b []byte) interface{}

type Ardrone3PictureSettingsSaturationSelectionArguments

type Ardrone3PictureSettingsSaturationSelectionArguments struct {
	Value float32
}

func (Ardrone3PictureSettingsSaturationSelectionArguments) Encode

type Ardrone3PictureSettingsStateAutoWhiteBalanceChanged

type Ardrone3PictureSettingsStateAutoWhiteBalanceChanged Command

func (Ardrone3PictureSettingsStateAutoWhiteBalanceChanged) Decode

type Ardrone3PictureSettingsStateAutoWhiteBalanceChangedArguments

type Ardrone3PictureSettingsStateAutoWhiteBalanceChangedArguments struct {
	TypeX uint32
}

func (Ardrone3PictureSettingsStateAutoWhiteBalanceChangedArguments) Encode

type Ardrone3PictureSettingsStateExpositionChanged

type Ardrone3PictureSettingsStateExpositionChanged Command

func (Ardrone3PictureSettingsStateExpositionChanged) Decode

func (a Ardrone3PictureSettingsStateExpositionChanged) Decode(b []byte) interface{}

type Ardrone3PictureSettingsStateExpositionChangedArguments

type Ardrone3PictureSettingsStateExpositionChangedArguments struct {
	Value float32
	Min   float32
	Max   float32
}

func (Ardrone3PictureSettingsStateExpositionChangedArguments) Encode

type Ardrone3PictureSettingsStatePictureFormatChanged

type Ardrone3PictureSettingsStatePictureFormatChanged Command

func (Ardrone3PictureSettingsStatePictureFormatChanged) Decode

func (a Ardrone3PictureSettingsStatePictureFormatChanged) Decode(b []byte) interface{}

type Ardrone3PictureSettingsStatePictureFormatChangedArguments

type Ardrone3PictureSettingsStatePictureFormatChangedArguments struct {
	TypeX uint32
}

func (Ardrone3PictureSettingsStatePictureFormatChangedArguments) Encode

type Ardrone3PictureSettingsStateSaturationChanged

type Ardrone3PictureSettingsStateSaturationChanged Command

func (Ardrone3PictureSettingsStateSaturationChanged) Decode

func (a Ardrone3PictureSettingsStateSaturationChanged) Decode(b []byte) interface{}

type Ardrone3PictureSettingsStateSaturationChangedArguments

type Ardrone3PictureSettingsStateSaturationChangedArguments struct {
	Value float32
	Min   float32
	Max   float32
}

func (Ardrone3PictureSettingsStateSaturationChangedArguments) Encode

type Ardrone3PictureSettingsStateTimelapseChanged

type Ardrone3PictureSettingsStateTimelapseChanged Command

func (Ardrone3PictureSettingsStateTimelapseChanged) Decode

func (a Ardrone3PictureSettingsStateTimelapseChanged) Decode(b []byte) interface{}

type Ardrone3PictureSettingsStateTimelapseChangedArguments

type Ardrone3PictureSettingsStateTimelapseChangedArguments struct {
	Enabled     uint8
	Interval    float32
	MinInterval float32
	MaxInterval float32
}

func (Ardrone3PictureSettingsStateTimelapseChangedArguments) Encode

type Ardrone3PictureSettingsStateVideoAutorecordChanged

type Ardrone3PictureSettingsStateVideoAutorecordChanged Command

func (Ardrone3PictureSettingsStateVideoAutorecordChanged) Decode

func (a Ardrone3PictureSettingsStateVideoAutorecordChanged) Decode(b []byte) interface{}

type Ardrone3PictureSettingsStateVideoAutorecordChangedArguments

type Ardrone3PictureSettingsStateVideoAutorecordChangedArguments struct {
	Enabled       uint8
	Massstorageid uint8
}

func (Ardrone3PictureSettingsStateVideoAutorecordChangedArguments) Encode

type Ardrone3PictureSettingsStateVideoFramerateChanged

type Ardrone3PictureSettingsStateVideoFramerateChanged Command

func (Ardrone3PictureSettingsStateVideoFramerateChanged) Decode

func (a Ardrone3PictureSettingsStateVideoFramerateChanged) Decode(b []byte) interface{}

type Ardrone3PictureSettingsStateVideoFramerateChangedArguments

type Ardrone3PictureSettingsStateVideoFramerateChangedArguments struct {
	Framerate uint32
}

func (Ardrone3PictureSettingsStateVideoFramerateChangedArguments) Encode

type Ardrone3PictureSettingsStateVideoRecordingModeChanged

type Ardrone3PictureSettingsStateVideoRecordingModeChanged Command

func (Ardrone3PictureSettingsStateVideoRecordingModeChanged) Decode

type Ardrone3PictureSettingsStateVideoRecordingModeChangedArguments

type Ardrone3PictureSettingsStateVideoRecordingModeChangedArguments struct {
	Mode uint32
}

func (Ardrone3PictureSettingsStateVideoRecordingModeChangedArguments) Encode

type Ardrone3PictureSettingsStateVideoResolutionsChanged

type Ardrone3PictureSettingsStateVideoResolutionsChanged Command

func (Ardrone3PictureSettingsStateVideoResolutionsChanged) Decode

type Ardrone3PictureSettingsStateVideoResolutionsChangedArguments

type Ardrone3PictureSettingsStateVideoResolutionsChangedArguments struct {
	TypeX uint32
}

func (Ardrone3PictureSettingsStateVideoResolutionsChangedArguments) Encode

type Ardrone3PictureSettingsStateVideoStabilizationModeChanged

type Ardrone3PictureSettingsStateVideoStabilizationModeChanged Command

func (Ardrone3PictureSettingsStateVideoStabilizationModeChanged) Decode

type Ardrone3PictureSettingsStateVideoStabilizationModeChangedArguments

type Ardrone3PictureSettingsStateVideoStabilizationModeChangedArguments struct {
	Mode uint32
}

func (Ardrone3PictureSettingsStateVideoStabilizationModeChangedArguments) Encode

type Ardrone3PictureSettingsTimelapseSelection

type Ardrone3PictureSettingsTimelapseSelection Command

func (Ardrone3PictureSettingsTimelapseSelection) Decode

func (a Ardrone3PictureSettingsTimelapseSelection) Decode(b []byte) interface{}

type Ardrone3PictureSettingsTimelapseSelectionArguments

type Ardrone3PictureSettingsTimelapseSelectionArguments struct {
	Enabled  uint8
	Interval float32
}

func (Ardrone3PictureSettingsTimelapseSelectionArguments) Encode

type Ardrone3PictureSettingsVideoAutorecordSelection

type Ardrone3PictureSettingsVideoAutorecordSelection Command

func (Ardrone3PictureSettingsVideoAutorecordSelection) Decode

func (a Ardrone3PictureSettingsVideoAutorecordSelection) Decode(b []byte) interface{}

type Ardrone3PictureSettingsVideoAutorecordSelectionArguments

type Ardrone3PictureSettingsVideoAutorecordSelectionArguments struct {
	Enabled       uint8
	Massstorageid uint8
}

func (Ardrone3PictureSettingsVideoAutorecordSelectionArguments) Encode

type Ardrone3PictureSettingsVideoFramerate

type Ardrone3PictureSettingsVideoFramerate Command

func (Ardrone3PictureSettingsVideoFramerate) Decode

func (a Ardrone3PictureSettingsVideoFramerate) Decode(b []byte) interface{}

type Ardrone3PictureSettingsVideoFramerateArguments

type Ardrone3PictureSettingsVideoFramerateArguments struct {
	Framerate uint32
}

func (Ardrone3PictureSettingsVideoFramerateArguments) Encode

type Ardrone3PictureSettingsVideoRecordingMode

type Ardrone3PictureSettingsVideoRecordingMode Command

func (Ardrone3PictureSettingsVideoRecordingMode) Decode

func (a Ardrone3PictureSettingsVideoRecordingMode) Decode(b []byte) interface{}

type Ardrone3PictureSettingsVideoRecordingModeArguments

type Ardrone3PictureSettingsVideoRecordingModeArguments struct {
	Mode uint32
}

func (Ardrone3PictureSettingsVideoRecordingModeArguments) Encode

type Ardrone3PictureSettingsVideoResolutions

type Ardrone3PictureSettingsVideoResolutions Command

func (Ardrone3PictureSettingsVideoResolutions) Decode

func (a Ardrone3PictureSettingsVideoResolutions) Decode(b []byte) interface{}

type Ardrone3PictureSettingsVideoResolutionsArguments

type Ardrone3PictureSettingsVideoResolutionsArguments struct {
	TypeX uint32
}

func (Ardrone3PictureSettingsVideoResolutionsArguments) Encode

type Ardrone3PictureSettingsVideoStabilizationMode

type Ardrone3PictureSettingsVideoStabilizationMode Command

func (Ardrone3PictureSettingsVideoStabilizationMode) Decode

func (a Ardrone3PictureSettingsVideoStabilizationMode) Decode(b []byte) interface{}

type Ardrone3PictureSettingsVideoStabilizationModeArguments

type Ardrone3PictureSettingsVideoStabilizationModeArguments struct {
	Mode uint32
}

func (Ardrone3PictureSettingsVideoStabilizationModeArguments) Encode

type Ardrone3PilotingCancelMoveBy

type Ardrone3PilotingCancelMoveBy Command

func (Ardrone3PilotingCancelMoveBy) Decode

func (a Ardrone3PilotingCancelMoveBy) Decode(b []byte) interface{}

type Ardrone3PilotingCancelMoveByArguments

type Ardrone3PilotingCancelMoveByArguments struct {
}

func (Ardrone3PilotingCancelMoveByArguments) Encode

type Ardrone3PilotingCancelMoveTo

type Ardrone3PilotingCancelMoveTo Command

func (Ardrone3PilotingCancelMoveTo) Decode

func (a Ardrone3PilotingCancelMoveTo) Decode(b []byte) interface{}

type Ardrone3PilotingCancelMoveToArguments

type Ardrone3PilotingCancelMoveToArguments struct {
}

func (Ardrone3PilotingCancelMoveToArguments) Encode

type Ardrone3PilotingCircle

type Ardrone3PilotingCircle Command

func (Ardrone3PilotingCircle) Decode

func (a Ardrone3PilotingCircle) Decode(b []byte) interface{}

type Ardrone3PilotingCircleArguments

type Ardrone3PilotingCircleArguments struct {
	Direction uint32
}

func (Ardrone3PilotingCircleArguments) Encode

type Ardrone3PilotingEmergency

type Ardrone3PilotingEmergency Command

func (Ardrone3PilotingEmergency) Decode

func (a Ardrone3PilotingEmergency) Decode(b []byte) interface{}

type Ardrone3PilotingEmergencyArguments

type Ardrone3PilotingEmergencyArguments struct {
}

func (Ardrone3PilotingEmergencyArguments) Encode

type Ardrone3PilotingEventmoveByEnd

type Ardrone3PilotingEventmoveByEnd Command

func (Ardrone3PilotingEventmoveByEnd) Decode

func (a Ardrone3PilotingEventmoveByEnd) Decode(b []byte) interface{}

type Ardrone3PilotingEventmoveByEndArguments

type Ardrone3PilotingEventmoveByEndArguments struct {
	DX    float32
	DY    float32
	DZ    float32
	DPsi  float32
	Error uint32
}

func (Ardrone3PilotingEventmoveByEndArguments) Encode

type Ardrone3PilotingLanding

type Ardrone3PilotingLanding Command

func (Ardrone3PilotingLanding) Decode

func (a Ardrone3PilotingLanding) Decode(b []byte) interface{}

type Ardrone3PilotingLandingArguments

type Ardrone3PilotingLandingArguments struct {
}

func (Ardrone3PilotingLandingArguments) Encode

type Ardrone3PilotingNavigateHome

type Ardrone3PilotingNavigateHome Command

func (Ardrone3PilotingNavigateHome) Decode

func (a Ardrone3PilotingNavigateHome) Decode(b []byte) interface{}

type Ardrone3PilotingNavigateHomeArguments

type Ardrone3PilotingNavigateHomeArguments struct {
	Start uint8
}

func (Ardrone3PilotingNavigateHomeArguments) Encode

type Ardrone3PilotingPCMD

type Ardrone3PilotingPCMD Command

func (Ardrone3PilotingPCMD) Decode

func (a Ardrone3PilotingPCMD) Decode(b []byte) interface{}

type Ardrone3PilotingPCMDArguments

type Ardrone3PilotingPCMDArguments struct {
	Flag               uint8
	Roll               int8
	Pitch              int8
	Yaw                int8
	Gaz                int8
	TimestampAndSeqNum uint32
}

func (Ardrone3PilotingPCMDArguments) Encode

func (a Ardrone3PilotingPCMDArguments) Encode() []byte

type Ardrone3PilotingSettingsAbsolutControl

type Ardrone3PilotingSettingsAbsolutControl Command

func (Ardrone3PilotingSettingsAbsolutControl) Decode

func (a Ardrone3PilotingSettingsAbsolutControl) Decode(b []byte) interface{}

type Ardrone3PilotingSettingsAbsolutControlArguments

type Ardrone3PilotingSettingsAbsolutControlArguments struct {
	On uint8
}

func (Ardrone3PilotingSettingsAbsolutControlArguments) Encode

type Ardrone3PilotingSettingsBankedTurn

type Ardrone3PilotingSettingsBankedTurn Command

func (Ardrone3PilotingSettingsBankedTurn) Decode

func (a Ardrone3PilotingSettingsBankedTurn) Decode(b []byte) interface{}

type Ardrone3PilotingSettingsBankedTurnArguments

type Ardrone3PilotingSettingsBankedTurnArguments struct {
	Value uint8
}

func (Ardrone3PilotingSettingsBankedTurnArguments) Encode

type Ardrone3PilotingSettingsCirclingAltitude

type Ardrone3PilotingSettingsCirclingAltitude Command

func (Ardrone3PilotingSettingsCirclingAltitude) Decode

func (a Ardrone3PilotingSettingsCirclingAltitude) Decode(b []byte) interface{}

type Ardrone3PilotingSettingsCirclingAltitudeArguments

type Ardrone3PilotingSettingsCirclingAltitudeArguments struct {
	Value uint16
}

func (Ardrone3PilotingSettingsCirclingAltitudeArguments) Encode

type Ardrone3PilotingSettingsCirclingDirection

type Ardrone3PilotingSettingsCirclingDirection Command

func (Ardrone3PilotingSettingsCirclingDirection) Decode

func (a Ardrone3PilotingSettingsCirclingDirection) Decode(b []byte) interface{}

type Ardrone3PilotingSettingsCirclingDirectionArguments

type Ardrone3PilotingSettingsCirclingDirectionArguments struct {
	Value uint32
}

func (Ardrone3PilotingSettingsCirclingDirectionArguments) Encode

type Ardrone3PilotingSettingsCirclingRadius

type Ardrone3PilotingSettingsCirclingRadius Command

func (Ardrone3PilotingSettingsCirclingRadius) Decode

func (a Ardrone3PilotingSettingsCirclingRadius) Decode(b []byte) interface{}

type Ardrone3PilotingSettingsCirclingRadiusArguments

type Ardrone3PilotingSettingsCirclingRadiusArguments struct {
	Value uint16
}

func (Ardrone3PilotingSettingsCirclingRadiusArguments) Encode

type Ardrone3PilotingSettingsMaxAltitude

type Ardrone3PilotingSettingsMaxAltitude Command

func (Ardrone3PilotingSettingsMaxAltitude) Decode

func (a Ardrone3PilotingSettingsMaxAltitude) Decode(b []byte) interface{}

type Ardrone3PilotingSettingsMaxAltitudeArguments

type Ardrone3PilotingSettingsMaxAltitudeArguments struct {
	Current float32
}

func (Ardrone3PilotingSettingsMaxAltitudeArguments) Encode

type Ardrone3PilotingSettingsMaxDistance

type Ardrone3PilotingSettingsMaxDistance Command

func (Ardrone3PilotingSettingsMaxDistance) Decode

func (a Ardrone3PilotingSettingsMaxDistance) Decode(b []byte) interface{}

type Ardrone3PilotingSettingsMaxDistanceArguments

type Ardrone3PilotingSettingsMaxDistanceArguments struct {
	Value float32
}

func (Ardrone3PilotingSettingsMaxDistanceArguments) Encode

type Ardrone3PilotingSettingsMaxTilt

type Ardrone3PilotingSettingsMaxTilt Command

func (Ardrone3PilotingSettingsMaxTilt) Decode

func (a Ardrone3PilotingSettingsMaxTilt) Decode(b []byte) interface{}

type Ardrone3PilotingSettingsMaxTiltArguments

type Ardrone3PilotingSettingsMaxTiltArguments struct {
	Current float32
}

func (Ardrone3PilotingSettingsMaxTiltArguments) Encode

type Ardrone3PilotingSettingsMinAltitude

type Ardrone3PilotingSettingsMinAltitude Command

func (Ardrone3PilotingSettingsMinAltitude) Decode

func (a Ardrone3PilotingSettingsMinAltitude) Decode(b []byte) interface{}

type Ardrone3PilotingSettingsMinAltitudeArguments

type Ardrone3PilotingSettingsMinAltitudeArguments struct {
	Current float32
}

func (Ardrone3PilotingSettingsMinAltitudeArguments) Encode

type Ardrone3PilotingSettingsNoFlyOverMaxDistance

type Ardrone3PilotingSettingsNoFlyOverMaxDistance Command

func (Ardrone3PilotingSettingsNoFlyOverMaxDistance) Decode

func (a Ardrone3PilotingSettingsNoFlyOverMaxDistance) Decode(b []byte) interface{}

type Ardrone3PilotingSettingsNoFlyOverMaxDistanceArguments

type Ardrone3PilotingSettingsNoFlyOverMaxDistanceArguments struct {
	ShouldNotFlyOver uint8
}

func (Ardrone3PilotingSettingsNoFlyOverMaxDistanceArguments) Encode

type Ardrone3PilotingSettingsPitchMode

type Ardrone3PilotingSettingsPitchMode Command

func (Ardrone3PilotingSettingsPitchMode) Decode

func (a Ardrone3PilotingSettingsPitchMode) Decode(b []byte) interface{}

type Ardrone3PilotingSettingsPitchModeArguments

type Ardrone3PilotingSettingsPitchModeArguments struct {
	Value uint32
}

func (Ardrone3PilotingSettingsPitchModeArguments) Encode

type Ardrone3PilotingSettingsSetMotionDetectionMode

type Ardrone3PilotingSettingsSetMotionDetectionMode Command

func (Ardrone3PilotingSettingsSetMotionDetectionMode) Decode

func (a Ardrone3PilotingSettingsSetMotionDetectionMode) Decode(b []byte) interface{}

type Ardrone3PilotingSettingsSetMotionDetectionModeArguments

type Ardrone3PilotingSettingsSetMotionDetectionModeArguments struct {
	Enable uint8
}

func (Ardrone3PilotingSettingsSetMotionDetectionModeArguments) Encode

type Ardrone3PilotingSettingsStateAbsolutControlChanged

type Ardrone3PilotingSettingsStateAbsolutControlChanged Command

func (Ardrone3PilotingSettingsStateAbsolutControlChanged) Decode

func (a Ardrone3PilotingSettingsStateAbsolutControlChanged) Decode(b []byte) interface{}

type Ardrone3PilotingSettingsStateAbsolutControlChangedArguments

type Ardrone3PilotingSettingsStateAbsolutControlChangedArguments struct {
	On uint8
}

func (Ardrone3PilotingSettingsStateAbsolutControlChangedArguments) Encode

type Ardrone3PilotingSettingsStateBankedTurnChanged

type Ardrone3PilotingSettingsStateBankedTurnChanged Command

func (Ardrone3PilotingSettingsStateBankedTurnChanged) Decode

func (a Ardrone3PilotingSettingsStateBankedTurnChanged) Decode(b []byte) interface{}

type Ardrone3PilotingSettingsStateBankedTurnChangedArguments

type Ardrone3PilotingSettingsStateBankedTurnChangedArguments struct {
	State uint8
}

func (Ardrone3PilotingSettingsStateBankedTurnChangedArguments) Encode

type Ardrone3PilotingSettingsStateCirclingAltitudeChanged

type Ardrone3PilotingSettingsStateCirclingAltitudeChanged Command

func (Ardrone3PilotingSettingsStateCirclingAltitudeChanged) Decode

type Ardrone3PilotingSettingsStateCirclingAltitudeChangedArguments

type Ardrone3PilotingSettingsStateCirclingAltitudeChangedArguments struct {
	Current uint16
	Min     uint16
	Max     uint16
}

func (Ardrone3PilotingSettingsStateCirclingAltitudeChangedArguments) Encode

type Ardrone3PilotingSettingsStateCirclingDirectionChanged

type Ardrone3PilotingSettingsStateCirclingDirectionChanged Command

func (Ardrone3PilotingSettingsStateCirclingDirectionChanged) Decode

type Ardrone3PilotingSettingsStateCirclingDirectionChangedArguments

type Ardrone3PilotingSettingsStateCirclingDirectionChangedArguments struct {
	Value uint32
}

func (Ardrone3PilotingSettingsStateCirclingDirectionChangedArguments) Encode

type Ardrone3PilotingSettingsStateCirclingRadiusChanged

type Ardrone3PilotingSettingsStateCirclingRadiusChanged Command

func (Ardrone3PilotingSettingsStateCirclingRadiusChanged) Decode

func (a Ardrone3PilotingSettingsStateCirclingRadiusChanged) Decode(b []byte) interface{}

type Ardrone3PilotingSettingsStateCirclingRadiusChangedArguments

type Ardrone3PilotingSettingsStateCirclingRadiusChangedArguments struct {
	Current uint16
	Min     uint16
	Max     uint16
}

func (Ardrone3PilotingSettingsStateCirclingRadiusChangedArguments) Encode

type Ardrone3PilotingSettingsStateMaxAltitudeChanged

type Ardrone3PilotingSettingsStateMaxAltitudeChanged Command

func (Ardrone3PilotingSettingsStateMaxAltitudeChanged) Decode

func (a Ardrone3PilotingSettingsStateMaxAltitudeChanged) Decode(b []byte) interface{}

type Ardrone3PilotingSettingsStateMaxAltitudeChangedArguments

type Ardrone3PilotingSettingsStateMaxAltitudeChangedArguments struct {
	Current float32
	Min     float32
	Max     float32
}

func (Ardrone3PilotingSettingsStateMaxAltitudeChangedArguments) Encode

type Ardrone3PilotingSettingsStateMaxDistanceChanged

type Ardrone3PilotingSettingsStateMaxDistanceChanged Command

func (Ardrone3PilotingSettingsStateMaxDistanceChanged) Decode

func (a Ardrone3PilotingSettingsStateMaxDistanceChanged) Decode(b []byte) interface{}

type Ardrone3PilotingSettingsStateMaxDistanceChangedArguments

type Ardrone3PilotingSettingsStateMaxDistanceChangedArguments struct {
	Current float32
	Min     float32
	Max     float32
}

func (Ardrone3PilotingSettingsStateMaxDistanceChangedArguments) Encode

type Ardrone3PilotingSettingsStateMaxTiltChanged

type Ardrone3PilotingSettingsStateMaxTiltChanged Command

func (Ardrone3PilotingSettingsStateMaxTiltChanged) Decode

func (a Ardrone3PilotingSettingsStateMaxTiltChanged) Decode(b []byte) interface{}

type Ardrone3PilotingSettingsStateMaxTiltChangedArguments

type Ardrone3PilotingSettingsStateMaxTiltChangedArguments struct {
	Current float32
	Min     float32
	Max     float32
}

func (Ardrone3PilotingSettingsStateMaxTiltChangedArguments) Encode

type Ardrone3PilotingSettingsStateMinAltitudeChanged

type Ardrone3PilotingSettingsStateMinAltitudeChanged Command

func (Ardrone3PilotingSettingsStateMinAltitudeChanged) Decode

func (a Ardrone3PilotingSettingsStateMinAltitudeChanged) Decode(b []byte) interface{}

type Ardrone3PilotingSettingsStateMinAltitudeChangedArguments

type Ardrone3PilotingSettingsStateMinAltitudeChangedArguments struct {
	Current float32
	Min     float32
	Max     float32
}

func (Ardrone3PilotingSettingsStateMinAltitudeChangedArguments) Encode

type Ardrone3PilotingSettingsStateMotionDetection

type Ardrone3PilotingSettingsStateMotionDetection Command

func (Ardrone3PilotingSettingsStateMotionDetection) Decode

func (a Ardrone3PilotingSettingsStateMotionDetection) Decode(b []byte) interface{}

type Ardrone3PilotingSettingsStateMotionDetectionArguments

type Ardrone3PilotingSettingsStateMotionDetectionArguments struct {
	Enabled uint8
}

func (Ardrone3PilotingSettingsStateMotionDetectionArguments) Encode

type Ardrone3PilotingSettingsStateNoFlyOverMaxDistanceChanged

type Ardrone3PilotingSettingsStateNoFlyOverMaxDistanceChanged Command

func (Ardrone3PilotingSettingsStateNoFlyOverMaxDistanceChanged) Decode

type Ardrone3PilotingSettingsStateNoFlyOverMaxDistanceChangedArguments

type Ardrone3PilotingSettingsStateNoFlyOverMaxDistanceChangedArguments struct {
	ShouldNotFlyOver uint8
}

func (Ardrone3PilotingSettingsStateNoFlyOverMaxDistanceChangedArguments) Encode

type Ardrone3PilotingSettingsStatePitchModeChanged

type Ardrone3PilotingSettingsStatePitchModeChanged Command

func (Ardrone3PilotingSettingsStatePitchModeChanged) Decode

func (a Ardrone3PilotingSettingsStatePitchModeChanged) Decode(b []byte) interface{}

type Ardrone3PilotingSettingsStatePitchModeChangedArguments

type Ardrone3PilotingSettingsStatePitchModeChangedArguments struct {
	Value uint32
}

func (Ardrone3PilotingSettingsStatePitchModeChangedArguments) Encode

type Ardrone3PilotingStartPilotedPOI

type Ardrone3PilotingStartPilotedPOI Command

func (Ardrone3PilotingStartPilotedPOI) Decode

func (a Ardrone3PilotingStartPilotedPOI) Decode(b []byte) interface{}

type Ardrone3PilotingStartPilotedPOIArguments

type Ardrone3PilotingStartPilotedPOIArguments struct {
	Latitude  float64
	Longitude float64
	Altitude  float64
}

func (Ardrone3PilotingStartPilotedPOIArguments) Encode

type Ardrone3PilotingStartPilotedPOIV2

type Ardrone3PilotingStartPilotedPOIV2 Command

func (Ardrone3PilotingStartPilotedPOIV2) Decode

func (a Ardrone3PilotingStartPilotedPOIV2) Decode(b []byte) interface{}

type Ardrone3PilotingStartPilotedPOIV2Arguments

type Ardrone3PilotingStartPilotedPOIV2Arguments struct {
	Latitude  float64
	Longitude float64
	Altitude  float64
	Mode      uint32
}

func (Ardrone3PilotingStartPilotedPOIV2Arguments) Encode

type Ardrone3PilotingStateAirSpeedChanged

type Ardrone3PilotingStateAirSpeedChanged Command

func (Ardrone3PilotingStateAirSpeedChanged) Decode

func (a Ardrone3PilotingStateAirSpeedChanged) Decode(b []byte) interface{}

type Ardrone3PilotingStateAirSpeedChangedArguments

type Ardrone3PilotingStateAirSpeedChangedArguments struct {
	AirSpeed float32
}

func (Ardrone3PilotingStateAirSpeedChangedArguments) Encode

type Ardrone3PilotingStateAlertStateChanged

type Ardrone3PilotingStateAlertStateChanged Command

func (Ardrone3PilotingStateAlertStateChanged) Decode

func (a Ardrone3PilotingStateAlertStateChanged) Decode(b []byte) interface{}

type Ardrone3PilotingStateAlertStateChangedArguments

type Ardrone3PilotingStateAlertStateChangedArguments struct {
	State uint32
}

func (Ardrone3PilotingStateAlertStateChangedArguments) Encode

type Ardrone3PilotingStateAltitudeAboveGroundChanged

type Ardrone3PilotingStateAltitudeAboveGroundChanged Command

func (Ardrone3PilotingStateAltitudeAboveGroundChanged) Decode

func (a Ardrone3PilotingStateAltitudeAboveGroundChanged) Decode(b []byte) interface{}

type Ardrone3PilotingStateAltitudeAboveGroundChangedArguments

type Ardrone3PilotingStateAltitudeAboveGroundChangedArguments struct {
	Altitude float32
}

func (Ardrone3PilotingStateAltitudeAboveGroundChangedArguments) Encode

type Ardrone3PilotingStateAltitudeChanged

type Ardrone3PilotingStateAltitudeChanged Command

func (Ardrone3PilotingStateAltitudeChanged) Decode

func (a Ardrone3PilotingStateAltitudeChanged) Decode(b []byte) interface{}

type Ardrone3PilotingStateAltitudeChangedArguments

type Ardrone3PilotingStateAltitudeChangedArguments struct {
	Altitude float64
}

func (Ardrone3PilotingStateAltitudeChangedArguments) Encode

type Ardrone3PilotingStateAttitudeChanged

type Ardrone3PilotingStateAttitudeChanged Command

func (Ardrone3PilotingStateAttitudeChanged) Decode

func (a Ardrone3PilotingStateAttitudeChanged) Decode(b []byte) interface{}

type Ardrone3PilotingStateAttitudeChangedArguments

type Ardrone3PilotingStateAttitudeChangedArguments struct {
	Roll  float32
	Pitch float32
	Yaw   float32
}

func (Ardrone3PilotingStateAttitudeChangedArguments) Encode

type Ardrone3PilotingStateFlyingStateChanged

type Ardrone3PilotingStateFlyingStateChanged Command

func (Ardrone3PilotingStateFlyingStateChanged) Decode

func (a Ardrone3PilotingStateFlyingStateChanged) Decode(b []byte) interface{}

type Ardrone3PilotingStateFlyingStateChangedArguments

type Ardrone3PilotingStateFlyingStateChangedArguments struct {
	State uint32
}

func (Ardrone3PilotingStateFlyingStateChangedArguments) Encode

type Ardrone3PilotingStateForcedLandingAutoTrigger

type Ardrone3PilotingStateForcedLandingAutoTrigger Command

func (Ardrone3PilotingStateForcedLandingAutoTrigger) Decode

func (a Ardrone3PilotingStateForcedLandingAutoTrigger) Decode(b []byte) interface{}

type Ardrone3PilotingStateForcedLandingAutoTriggerArguments

type Ardrone3PilotingStateForcedLandingAutoTriggerArguments struct {
	Reason uint32
	Delay  uint32
}

func (Ardrone3PilotingStateForcedLandingAutoTriggerArguments) Encode

type Ardrone3PilotingStateGpsLocationChanged

type Ardrone3PilotingStateGpsLocationChanged Command

func (Ardrone3PilotingStateGpsLocationChanged) Decode

func (a Ardrone3PilotingStateGpsLocationChanged) Decode(b []byte) interface{}

type Ardrone3PilotingStateGpsLocationChangedArguments

type Ardrone3PilotingStateGpsLocationChangedArguments struct {
	Latitude          float64
	Longitude         float64
	Altitude          float64
	Latitudeaccuracy  int8
	Longitudeaccuracy int8
	Altitudeaccuracy  int8
}

func (Ardrone3PilotingStateGpsLocationChangedArguments) Encode

type Ardrone3PilotingStateHoveringWarning

type Ardrone3PilotingStateHoveringWarning Command

func (Ardrone3PilotingStateHoveringWarning) Decode

func (a Ardrone3PilotingStateHoveringWarning) Decode(b []byte) interface{}

type Ardrone3PilotingStateHoveringWarningArguments

type Ardrone3PilotingStateHoveringWarningArguments struct {
	Nogpstoodark uint8
	Nogpstoohigh uint8
}

func (Ardrone3PilotingStateHoveringWarningArguments) Encode

type Ardrone3PilotingStateLandingStateChanged

type Ardrone3PilotingStateLandingStateChanged Command

func (Ardrone3PilotingStateLandingStateChanged) Decode

func (a Ardrone3PilotingStateLandingStateChanged) Decode(b []byte) interface{}

type Ardrone3PilotingStateLandingStateChangedArguments

type Ardrone3PilotingStateLandingStateChangedArguments struct {
	State uint32
}

func (Ardrone3PilotingStateLandingStateChangedArguments) Encode

type Ardrone3PilotingStateMotionState

type Ardrone3PilotingStateMotionState Command

func (Ardrone3PilotingStateMotionState) Decode

func (a Ardrone3PilotingStateMotionState) Decode(b []byte) interface{}

type Ardrone3PilotingStateMotionStateArguments

type Ardrone3PilotingStateMotionStateArguments struct {
	State uint32
}

func (Ardrone3PilotingStateMotionStateArguments) Encode

type Ardrone3PilotingStateNavigateHomeStateChanged

type Ardrone3PilotingStateNavigateHomeStateChanged Command

func (Ardrone3PilotingStateNavigateHomeStateChanged) Decode

func (a Ardrone3PilotingStateNavigateHomeStateChanged) Decode(b []byte) interface{}

type Ardrone3PilotingStateNavigateHomeStateChangedArguments

type Ardrone3PilotingStateNavigateHomeStateChangedArguments struct {
	State  uint32
	Reason uint32
}

func (Ardrone3PilotingStateNavigateHomeStateChangedArguments) Encode

type Ardrone3PilotingStatePilotedPOI

type Ardrone3PilotingStatePilotedPOI Command

func (Ardrone3PilotingStatePilotedPOI) Decode

func (a Ardrone3PilotingStatePilotedPOI) Decode(b []byte) interface{}

type Ardrone3PilotingStatePilotedPOIArguments

type Ardrone3PilotingStatePilotedPOIArguments struct {
	Latitude  float64
	Longitude float64
	Altitude  float64
	Status    uint32
}

func (Ardrone3PilotingStatePilotedPOIArguments) Encode

type Ardrone3PilotingStatePilotedPOIV2

type Ardrone3PilotingStatePilotedPOIV2 Command

func (Ardrone3PilotingStatePilotedPOIV2) Decode

func (a Ardrone3PilotingStatePilotedPOIV2) Decode(b []byte) interface{}

type Ardrone3PilotingStatePilotedPOIV2Arguments

type Ardrone3PilotingStatePilotedPOIV2Arguments struct {
	Latitude  float64
	Longitude float64
	Altitude  float64
	Mode      uint32
	Status    uint32
}

func (Ardrone3PilotingStatePilotedPOIV2Arguments) Encode

type Ardrone3PilotingStatePositionChanged

type Ardrone3PilotingStatePositionChanged Command

func (Ardrone3PilotingStatePositionChanged) Decode

func (a Ardrone3PilotingStatePositionChanged) Decode(b []byte) interface{}

type Ardrone3PilotingStatePositionChangedArguments

type Ardrone3PilotingStatePositionChangedArguments struct {
	Latitude  float64
	Longitude float64
	Altitude  float64
}

func (Ardrone3PilotingStatePositionChangedArguments) Encode

type Ardrone3PilotingStateReturnHomeBatteryCapacity

type Ardrone3PilotingStateReturnHomeBatteryCapacity Command

func (Ardrone3PilotingStateReturnHomeBatteryCapacity) Decode

func (a Ardrone3PilotingStateReturnHomeBatteryCapacity) Decode(b []byte) interface{}

type Ardrone3PilotingStateReturnHomeBatteryCapacityArguments

type Ardrone3PilotingStateReturnHomeBatteryCapacityArguments struct {
	Status uint32
}

func (Ardrone3PilotingStateReturnHomeBatteryCapacityArguments) Encode

type Ardrone3PilotingStateSpeedChanged

type Ardrone3PilotingStateSpeedChanged Command

func (Ardrone3PilotingStateSpeedChanged) Decode

func (a Ardrone3PilotingStateSpeedChanged) Decode(b []byte) interface{}

type Ardrone3PilotingStateSpeedChangedArguments

type Ardrone3PilotingStateSpeedChangedArguments struct {
	SpeedX float32
	SpeedY float32
	SpeedZ float32
}

func (Ardrone3PilotingStateSpeedChangedArguments) Encode

type Ardrone3PilotingStateVibrationLevelChanged

type Ardrone3PilotingStateVibrationLevelChanged Command

func (Ardrone3PilotingStateVibrationLevelChanged) Decode

func (a Ardrone3PilotingStateVibrationLevelChanged) Decode(b []byte) interface{}

type Ardrone3PilotingStateVibrationLevelChangedArguments

type Ardrone3PilotingStateVibrationLevelChangedArguments struct {
	State uint32
}

func (Ardrone3PilotingStateVibrationLevelChangedArguments) Encode

type Ardrone3PilotingStateWindStateChanged

type Ardrone3PilotingStateWindStateChanged Command

func (Ardrone3PilotingStateWindStateChanged) Decode

func (a Ardrone3PilotingStateWindStateChanged) Decode(b []byte) interface{}

type Ardrone3PilotingStateWindStateChangedArguments

type Ardrone3PilotingStateWindStateChangedArguments struct {
	State uint32
}

func (Ardrone3PilotingStateWindStateChangedArguments) Encode

type Ardrone3PilotingStatemoveByChanged

type Ardrone3PilotingStatemoveByChanged Command

func (Ardrone3PilotingStatemoveByChanged) Decode

func (a Ardrone3PilotingStatemoveByChanged) Decode(b []byte) interface{}

type Ardrone3PilotingStatemoveByChangedArguments

type Ardrone3PilotingStatemoveByChangedArguments struct {
	DXAsked   float32
	DYAsked   float32
	DZAsked   float32
	DPsiAsked float32
	DX        float32
	DY        float32
	DZ        float32
	DPsi      float32
	Status    uint32
}

func (Ardrone3PilotingStatemoveByChangedArguments) Encode

type Ardrone3PilotingStatemoveToChanged

type Ardrone3PilotingStatemoveToChanged Command

func (Ardrone3PilotingStatemoveToChanged) Decode

func (a Ardrone3PilotingStatemoveToChanged) Decode(b []byte) interface{}

type Ardrone3PilotingStatemoveToChangedArguments

type Ardrone3PilotingStatemoveToChangedArguments struct {
	Latitude        float64
	Longitude       float64
	Altitude        float64
	Orientationmode uint32
	Heading         float32
	Status          uint32
}

func (Ardrone3PilotingStatemoveToChangedArguments) Encode

type Ardrone3PilotingStopPilotedPOI

type Ardrone3PilotingStopPilotedPOI Command

func (Ardrone3PilotingStopPilotedPOI) Decode

func (a Ardrone3PilotingStopPilotedPOI) Decode(b []byte) interface{}

type Ardrone3PilotingStopPilotedPOIArguments

type Ardrone3PilotingStopPilotedPOIArguments struct {
}

func (Ardrone3PilotingStopPilotedPOIArguments) Encode

type Ardrone3PilotingTakeOff

type Ardrone3PilotingTakeOff Command

func (Ardrone3PilotingTakeOff) Decode

func (a Ardrone3PilotingTakeOff) Decode(b []byte) interface{}

type Ardrone3PilotingTakeOffArguments

type Ardrone3PilotingTakeOffArguments struct {
}

func (Ardrone3PilotingTakeOffArguments) Encode

type Ardrone3PilotingUserTakeOff

type Ardrone3PilotingUserTakeOff Command

func (Ardrone3PilotingUserTakeOff) Decode

func (a Ardrone3PilotingUserTakeOff) Decode(b []byte) interface{}

type Ardrone3PilotingUserTakeOffArguments

type Ardrone3PilotingUserTakeOffArguments struct {
	State uint8
}

func (Ardrone3PilotingUserTakeOffArguments) Encode

type Ardrone3PilotingmoveBy

type Ardrone3PilotingmoveBy Command

func (Ardrone3PilotingmoveBy) Decode

func (a Ardrone3PilotingmoveBy) Decode(b []byte) interface{}

type Ardrone3PilotingmoveByArguments

type Ardrone3PilotingmoveByArguments struct {
	DX   float32
	DY   float32
	DZ   float32
	DPsi float32
}

func (Ardrone3PilotingmoveByArguments) Encode

type Ardrone3PilotingmoveTo

type Ardrone3PilotingmoveTo Command

func (Ardrone3PilotingmoveTo) Decode

func (a Ardrone3PilotingmoveTo) Decode(b []byte) interface{}

type Ardrone3PilotingmoveToArguments

type Ardrone3PilotingmoveToArguments struct {
	Latitude        float64
	Longitude       float64
	Altitude        float64
	Orientationmode uint32
	Heading         float32
}

func (Ardrone3PilotingmoveToArguments) Encode

type Ardrone3SettingsStateCPUID

type Ardrone3SettingsStateCPUID Command

func (Ardrone3SettingsStateCPUID) Decode

func (a Ardrone3SettingsStateCPUID) Decode(b []byte) interface{}

type Ardrone3SettingsStateCPUIDArguments

type Ardrone3SettingsStateCPUIDArguments struct {
	Id string
}

func (Ardrone3SettingsStateCPUIDArguments) Encode

type Ardrone3SettingsStateMotorErrorLastErrorChanged

type Ardrone3SettingsStateMotorErrorLastErrorChanged Command

func (Ardrone3SettingsStateMotorErrorLastErrorChanged) Decode

func (a Ardrone3SettingsStateMotorErrorLastErrorChanged) Decode(b []byte) interface{}

type Ardrone3SettingsStateMotorErrorLastErrorChangedArguments

type Ardrone3SettingsStateMotorErrorLastErrorChangedArguments struct {
	MotorError uint32
}

func (Ardrone3SettingsStateMotorErrorLastErrorChangedArguments) Encode

type Ardrone3SettingsStateMotorErrorStateChanged

type Ardrone3SettingsStateMotorErrorStateChanged Command

func (Ardrone3SettingsStateMotorErrorStateChanged) Decode

func (a Ardrone3SettingsStateMotorErrorStateChanged) Decode(b []byte) interface{}

type Ardrone3SettingsStateMotorErrorStateChangedArguments

type Ardrone3SettingsStateMotorErrorStateChangedArguments struct {
	MotorIds   uint8
	MotorError uint32
}

func (Ardrone3SettingsStateMotorErrorStateChangedArguments) Encode

type Ardrone3SettingsStateMotorFlightsStatusChanged

type Ardrone3SettingsStateMotorFlightsStatusChanged Command

func (Ardrone3SettingsStateMotorFlightsStatusChanged) Decode

func (a Ardrone3SettingsStateMotorFlightsStatusChanged) Decode(b []byte) interface{}

type Ardrone3SettingsStateMotorFlightsStatusChangedArguments

type Ardrone3SettingsStateMotorFlightsStatusChangedArguments struct {
	NbFlights           uint16
	LastFlightDuration  uint16
	TotalFlightDuration uint32
}

func (Ardrone3SettingsStateMotorFlightsStatusChangedArguments) Encode

type Ardrone3SettingsStateMotorSoftwareVersionChanged

type Ardrone3SettingsStateMotorSoftwareVersionChanged Command

func (Ardrone3SettingsStateMotorSoftwareVersionChanged) Decode

func (a Ardrone3SettingsStateMotorSoftwareVersionChanged) Decode(b []byte) interface{}

type Ardrone3SettingsStateMotorSoftwareVersionChangedArguments

type Ardrone3SettingsStateMotorSoftwareVersionChangedArguments struct {
	Version string
}

func (Ardrone3SettingsStateMotorSoftwareVersionChangedArguments) Encode

type Ardrone3SettingsStateP7ID

type Ardrone3SettingsStateP7ID Command

func (Ardrone3SettingsStateP7ID) Decode

func (a Ardrone3SettingsStateP7ID) Decode(b []byte) interface{}

type Ardrone3SettingsStateP7IDArguments

type Ardrone3SettingsStateP7IDArguments struct {
	SerialID string
}

func (Ardrone3SettingsStateP7IDArguments) Encode

type Ardrone3SettingsStateProductGPSVersionChanged

type Ardrone3SettingsStateProductGPSVersionChanged Command

func (Ardrone3SettingsStateProductGPSVersionChanged) Decode

func (a Ardrone3SettingsStateProductGPSVersionChanged) Decode(b []byte) interface{}

type Ardrone3SettingsStateProductGPSVersionChangedArguments

type Ardrone3SettingsStateProductGPSVersionChangedArguments struct {
	Software string
	Hardware string
}

func (Ardrone3SettingsStateProductGPSVersionChangedArguments) Encode

type Ardrone3SettingsStateProductMotorVersionListChanged

type Ardrone3SettingsStateProductMotorVersionListChanged Command

func (Ardrone3SettingsStateProductMotorVersionListChanged) Decode

type Ardrone3SettingsStateProductMotorVersionListChangedArguments

type Ardrone3SettingsStateProductMotorVersionListChangedArguments struct {
	Motornumber uint8
	TypeX       string
	Software    string
	Hardware    string
}

func (Ardrone3SettingsStateProductMotorVersionListChangedArguments) Encode

type Ardrone3SoundStartAlertSound

type Ardrone3SoundStartAlertSound Command

func (Ardrone3SoundStartAlertSound) Decode

func (a Ardrone3SoundStartAlertSound) Decode(b []byte) interface{}

type Ardrone3SoundStartAlertSoundArguments

type Ardrone3SoundStartAlertSoundArguments struct {
}

func (Ardrone3SoundStartAlertSoundArguments) Encode

type Ardrone3SoundStateAlertSound

type Ardrone3SoundStateAlertSound Command

func (Ardrone3SoundStateAlertSound) Decode

func (a Ardrone3SoundStateAlertSound) Decode(b []byte) interface{}

type Ardrone3SoundStateAlertSoundArguments

type Ardrone3SoundStateAlertSoundArguments struct {
	State uint32
}

func (Ardrone3SoundStateAlertSoundArguments) Encode

type Ardrone3SoundStopAlertSound

type Ardrone3SoundStopAlertSound Command

func (Ardrone3SoundStopAlertSound) Decode

func (a Ardrone3SoundStopAlertSound) Decode(b []byte) interface{}

type Ardrone3SoundStopAlertSoundArguments

type Ardrone3SoundStopAlertSoundArguments struct {
}

func (Ardrone3SoundStopAlertSoundArguments) Encode

type Ardrone3SpeedSettingsHullProtection

type Ardrone3SpeedSettingsHullProtection Command

func (Ardrone3SpeedSettingsHullProtection) Decode

func (a Ardrone3SpeedSettingsHullProtection) Decode(b []byte) interface{}

type Ardrone3SpeedSettingsHullProtectionArguments

type Ardrone3SpeedSettingsHullProtectionArguments struct {
	Present uint8
}

func (Ardrone3SpeedSettingsHullProtectionArguments) Encode

type Ardrone3SpeedSettingsMaxPitchRollRotationSpeed

type Ardrone3SpeedSettingsMaxPitchRollRotationSpeed Command

func (Ardrone3SpeedSettingsMaxPitchRollRotationSpeed) Decode

func (a Ardrone3SpeedSettingsMaxPitchRollRotationSpeed) Decode(b []byte) interface{}

type Ardrone3SpeedSettingsMaxPitchRollRotationSpeedArguments

type Ardrone3SpeedSettingsMaxPitchRollRotationSpeedArguments struct {
	Current float32
}

func (Ardrone3SpeedSettingsMaxPitchRollRotationSpeedArguments) Encode

type Ardrone3SpeedSettingsMaxRotationSpeed

type Ardrone3SpeedSettingsMaxRotationSpeed Command

func (Ardrone3SpeedSettingsMaxRotationSpeed) Decode

func (a Ardrone3SpeedSettingsMaxRotationSpeed) Decode(b []byte) interface{}

type Ardrone3SpeedSettingsMaxRotationSpeedArguments

type Ardrone3SpeedSettingsMaxRotationSpeedArguments struct {
	Current float32
}

func (Ardrone3SpeedSettingsMaxRotationSpeedArguments) Encode

type Ardrone3SpeedSettingsMaxVerticalSpeed

type Ardrone3SpeedSettingsMaxVerticalSpeed Command

func (Ardrone3SpeedSettingsMaxVerticalSpeed) Decode

func (a Ardrone3SpeedSettingsMaxVerticalSpeed) Decode(b []byte) interface{}

type Ardrone3SpeedSettingsMaxVerticalSpeedArguments

type Ardrone3SpeedSettingsMaxVerticalSpeedArguments struct {
	Current float32
}

func (Ardrone3SpeedSettingsMaxVerticalSpeedArguments) Encode

type Ardrone3SpeedSettingsOutdoor

type Ardrone3SpeedSettingsOutdoor Command

func (Ardrone3SpeedSettingsOutdoor) Decode

func (a Ardrone3SpeedSettingsOutdoor) Decode(b []byte) interface{}

type Ardrone3SpeedSettingsOutdoorArguments

type Ardrone3SpeedSettingsOutdoorArguments struct {
	Outdoor uint8
}

func (Ardrone3SpeedSettingsOutdoorArguments) Encode

type Ardrone3SpeedSettingsStateHullProtectionChanged

type Ardrone3SpeedSettingsStateHullProtectionChanged Command

func (Ardrone3SpeedSettingsStateHullProtectionChanged) Decode

func (a Ardrone3SpeedSettingsStateHullProtectionChanged) Decode(b []byte) interface{}

type Ardrone3SpeedSettingsStateHullProtectionChangedArguments

type Ardrone3SpeedSettingsStateHullProtectionChangedArguments struct {
	Present uint8
}

func (Ardrone3SpeedSettingsStateHullProtectionChangedArguments) Encode

type Ardrone3SpeedSettingsStateMaxPitchRollRotationSpeedChanged

type Ardrone3SpeedSettingsStateMaxPitchRollRotationSpeedChanged Command

func (Ardrone3SpeedSettingsStateMaxPitchRollRotationSpeedChanged) Decode

type Ardrone3SpeedSettingsStateMaxPitchRollRotationSpeedChangedArguments

type Ardrone3SpeedSettingsStateMaxPitchRollRotationSpeedChangedArguments struct {
	Current float32
	Min     float32
	Max     float32
}

func (Ardrone3SpeedSettingsStateMaxPitchRollRotationSpeedChangedArguments) Encode

type Ardrone3SpeedSettingsStateMaxRotationSpeedChanged

type Ardrone3SpeedSettingsStateMaxRotationSpeedChanged Command

func (Ardrone3SpeedSettingsStateMaxRotationSpeedChanged) Decode

func (a Ardrone3SpeedSettingsStateMaxRotationSpeedChanged) Decode(b []byte) interface{}

type Ardrone3SpeedSettingsStateMaxRotationSpeedChangedArguments

type Ardrone3SpeedSettingsStateMaxRotationSpeedChangedArguments struct {
	Current float32
	Min     float32
	Max     float32
}

func (Ardrone3SpeedSettingsStateMaxRotationSpeedChangedArguments) Encode

type Ardrone3SpeedSettingsStateMaxVerticalSpeedChanged

type Ardrone3SpeedSettingsStateMaxVerticalSpeedChanged Command

func (Ardrone3SpeedSettingsStateMaxVerticalSpeedChanged) Decode

func (a Ardrone3SpeedSettingsStateMaxVerticalSpeedChanged) Decode(b []byte) interface{}

type Ardrone3SpeedSettingsStateMaxVerticalSpeedChangedArguments

type Ardrone3SpeedSettingsStateMaxVerticalSpeedChangedArguments struct {
	Current float32
	Min     float32
	Max     float32
}

func (Ardrone3SpeedSettingsStateMaxVerticalSpeedChangedArguments) Encode

type Ardrone3SpeedSettingsStateOutdoorChanged

type Ardrone3SpeedSettingsStateOutdoorChanged Command

func (Ardrone3SpeedSettingsStateOutdoorChanged) Decode

func (a Ardrone3SpeedSettingsStateOutdoorChanged) Decode(b []byte) interface{}

type Ardrone3SpeedSettingsStateOutdoorChangedArguments

type Ardrone3SpeedSettingsStateOutdoorChangedArguments struct {
	Outdoor uint8
}

func (Ardrone3SpeedSettingsStateOutdoorChangedArguments) Encode

type ClassDef

type ClassDef uint8
const Ardrone3AccessoryStateClassAccessoryState ClassDef = 33

Information about the connected accessories

const Ardrone3AnimationsClassAnimations ClassDef = 5

Animation commands

const Ardrone3AntiflickeringClassAntiflickering ClassDef = 29

Anti-flickering related commands

const Ardrone3AntiflickeringStateClassAntiflickeringState ClassDef = 30

Anti-flickering related states

const Ardrone3CameraClassCamera ClassDef = 1

Ask the drone to move camera

const Ardrone3CameraStateClassCameraState ClassDef = 25

Camera state

const Ardrone3GPSSettingsClassGPSSettings ClassDef = 23

GPS settings

const Ardrone3GPSSettingsStateClassGPSSettingsState ClassDef = 24

GPS settings state

const Ardrone3GPSStateClassGPSState ClassDef = 31

GPS related States

const Ardrone3MediaRecordClassMediaRecord ClassDef = 7

Media recording management

const Ardrone3MediaRecordEventClassMediaRecordEvent ClassDef = 3

Events of media recording

const Ardrone3MediaRecordStateClassMediaRecordState ClassDef = 8

State of media recording

const Ardrone3MediaStreamingClassMediaStreaming ClassDef = 21

Control media streaming behavior.

const Ardrone3MediaStreamingStateClassMediaStreamingState ClassDef = 22

Media streaming status.

const Ardrone3NetworkClassNetwork ClassDef = 13

Network related commands

const Ardrone3NetworkSettingsClassNetworkSettings ClassDef = 9

Network settings commands

const Ardrone3NetworkSettingsStateClassNetworkSettingsState ClassDef = 10

Network settings state from product

const Ardrone3NetworkStateClassNetworkState ClassDef = 14

Network state from Product

const Ardrone3PROStateClassPROState ClassDef = 32

Pro features enabled on the Bebop

const Ardrone3PictureSettingsClassPictureSettings ClassDef = 19

Photo settings chosen by the user

const Ardrone3PictureSettingsStateClassPictureSettingsState ClassDef = 20

Photo settings state from product

const Ardrone3PilotingClassPiloting ClassDef = 0

All commands related to piloting the drone

const Ardrone3PilotingEventClassPilotingEvent ClassDef = 34

Events of Piloting

const Ardrone3PilotingSettingsClassPilotingSettings ClassDef = 2

Piloting Settings commands

const Ardrone3PilotingSettingsStateClassPilotingSettingsState ClassDef = 6

Piloting Settings state from product

const Ardrone3PilotingStateClassPilotingState ClassDef = 4

State from drone

const Ardrone3SettingsStateClassSettingsState ClassDef = 16

Settings state from product

const Ardrone3SoundClassSound ClassDef = 35

Sounds related commands

const Ardrone3SoundStateClassSoundState ClassDef = 36

Sounds related events

const Ardrone3SpeedSettingsClassSpeedSettings ClassDef = 11

Speed Settings commands

const Ardrone3SpeedSettingsStateClassSpeedSettingsState ClassDef = 12

Speed Settings state from product

const CommonARLibsVersionsStateClassARLibsVersionsState ClassDef = 18

ARlibs Versions Commands

const CommonAccessoryClassAccessory ClassDef = 26

Accessories-related commands.

const CommonAccessoryStateClassAccessoryState ClassDef = 27

Accessories-related commands.

const CommonAnimationsClassAnimations ClassDef = 24

Animations-related commands.

const CommonAnimationsStateClassAnimationsState ClassDef = 25

Animations-related notification/feedback commands.

const CommonAudioClassAudio ClassDef = 20

Audio-related commands.

const CommonAudioStateClassAudioState ClassDef = 21

Audio-related state updates.

const CommonCalibrationClassCalibration ClassDef = 13

Calibration commands

const CommonCalibrationStateClassCalibrationState ClassDef = 14

Status of the calibration

const CommonCameraSettingsStateClassCameraSettingsState ClassDef = 15

Status of the camera settings

const CommonChargerClassCharger ClassDef = 28

Commands sent by the controller to set charger parameters.

const CommonChargerStateClassChargerState ClassDef = 29

Commands sent by the firmware to advertise the charger status.

const CommonCommonClassCommon ClassDef = 4

Common commands

const CommonCommonStateClassCommonState ClassDef = 5

Common state from product

const CommonControllerClassController ClassDef = 8

Notify the device about the state of the controller application.

const CommonFactoryClassFactory ClassDef = 31

Factory reset commands

const CommonFlightPlanEventClassFlightPlanEvent ClassDef = 19

FlightPlan Event commands

const CommonFlightPlanSettingsClassFlightPlanSettings ClassDef = 32
const CommonFlightPlanSettingsStateClassFlightPlanSettingsState ClassDef = 33
const CommonFlightPlanStateClassFlightPlanState ClassDef = 17

FlightPlan state commands

const CommonGPSClassGPS ClassDef = 16

GPS related commands

const CommonHeadlightsClassHeadlights ClassDef = 22

Controls the headlight LEDs of the Evo variants.

const CommonHeadlightsStateClassHeadlightsState ClassDef = 23

Get information about the state of the Evo variants' LEDs.

const CommonMavlinkClassMavlink ClassDef = 11

Mavlink flight plans commands

const CommonMavlinkStateClassMavlinkState ClassDef = 12

Mavlink flight plans states commands

const CommonNetworkClassNetwork ClassDef = 0

Network related commands

const CommonNetworkEventClassNetworkEvent ClassDef = 1

Network Event from product

const CommonOverHeatClassOverHeat ClassDef = 6

Over heat commands

const CommonOverHeatStateClassOverHeatState ClassDef = 7

Overheat state from product

const CommonRunStateClassRunState ClassDef = 30

Commands sent by the drone to inform about the run or flight state

const CommonSettingsClassSettings ClassDef = 2

Settings commands

const CommonSettingsStateClassSettingsState ClassDef = 3

Settings state from product

const CommonUpdateStateClassUpdateState ClassDef = 34

Update related commands

const CommonWifiSettingsClassWifiSettings ClassDef = 9

Wifi settings commands

const CommonWifiSettingsStateClassWifiSettingsState ClassDef = 10

Wifi settings state from product

type CmdDef

type CmdDef uint16
const Ardrone3AccessoryStateCmdBattery CmdDef = 1

title : Connected accessories battery, desc : Connected accessories battery., support : none,

const Ardrone3AccessoryStateCmdConnectedAccessories CmdDef = 0

*** [ardrone3 AccessoryState] title : List of connected accessories, desc : List of all connected accessories. This event presents the list of all connected accessories. To actually use the component, use the component dedicated feature., support : 090e:1.5.0, triggered : at connection or when an accessory is connected.,

const Ardrone3AnimationsCmdFlip CmdDef = 0

*** [ardrone3 Animations] title : Make a flip, desc : Make a flip., support : 0901;090c, result : The drone will make a flip if it has enough battery.,

const Ardrone3AntiflickeringCmdElectricFrequency CmdDef = 0

*** [ardrone3 Antiflickering] title : Set the electric frequency, desc : Set the electric frequency of the surrounding lights.\n This is used to avoid the video flickering in auto mode. You can get the current antiflickering mode with the event [AntiflickeringModeChanged](#1-30-1)., support : 0901;090c, result : The electric frequency is set.\n Then, event [ElectricFrequency](#1-30-0) is triggered.,

const Ardrone3AntiflickeringCmdSetMode CmdDef = 1

title : Set the antiflickering mode, desc : Set the antiflickering mode.\n If auto, the drone will detect when flickers appears on the video and trigger the antiflickering.\n In this case, this electric frequency it will use will be the one specified in the event [ElectricFrequency](#1-29-0).\n Forcing the antiflickering (FixedFiftyHertz or FixedFiftyHertz) can reduce luminosity of the video., support : 0901;090c, result : The antiflickering mode is set.\n Then, event [AntiflickeringMode](#1-30-1) is triggered.,

const Ardrone3AntiflickeringStateCmdElectricFrequencyChanged CmdDef = 0

*** [ardrone3 AntiflickeringState] title : Electric frequency, desc : Electric frequency.\n This piece of information is used for the antiflickering when the [AntiflickeringMode](#1-30-1) is set to *auto*., support : 0901;090c, triggered : by [SetElectricFrequency](#1-29-0).,

const Ardrone3AntiflickeringStateCmdModeChanged CmdDef = 1

title : Antiflickering mode, desc : Antiflickering mode., support : 0901;090c, triggered : by [SetAntiflickeringMode](#1-29-1).,

const Ardrone3CameraCmdOrientation CmdDef = 0

*** [ardrone3 Camera] title : Move the camera, desc : Move the camera.\n You can get min and max values for tilt and pan using [CameraInfo](#0-15-0)., support : 0901;090c;090e, result : The drone moves its camera.\n Then, event CameraOrientation(#1-25-0) is triggered.,

const Ardrone3CameraCmdOrientationV2 CmdDef = 1

title : Move the camera, desc : Move the camera.\n You can get min and max values for tilt and pan using [CameraInfo](#0-15-0)., support : 0901;090c;090e, result : The drone moves its camera.\n Then, event CameraOrientationV2(#1-25-2) is triggered.,

const Ardrone3CameraCmdVelocity CmdDef = 2

title : Move the camera using velocity, desc : Move the camera given velocity consign.\n You can get min and max values for tilt and pan using [CameraVelocityRange](#1-25-4)., support : 0901;090c;090e, result : The drone moves its camera.\n Then, event CameraOrientationV2(#1-25-2) is triggered.,

const Ardrone3CameraStateCmdDefaultCameraOrientation CmdDef = 1

title : Orientation of the camera center, desc : Orientation of the center of the camera.\n This is the value to send when you want to center the camera., support : 0901;090c;090e, triggered : at connection.,

const Ardrone3CameraStateCmdDefaultCameraOrientationV2 CmdDef = 3

title : Orientation of the camera center, desc : Orientation of the center of the camera.\n This is the value to send when you want to center the camera., support : 0901;090c;090e, triggered : at connection.,

const Ardrone3CameraStateCmdOrientation CmdDef = 0

*** [ardrone3 CameraState] title : Camera orientation, desc : Camera orientation., support : 0901;090c;090e, triggered : by [SetCameraOrientation](#1-1-0).,

const Ardrone3CameraStateCmdOrientationV2 CmdDef = 2

title : Camera orientation, desc : Camera orientation with float arguments., support : 0901;090c;090e, triggered : by [SetCameraOrientationV2](#1-1-1),

const Ardrone3CameraStateCmdVelocityRange CmdDef = 4

title : Camera velocity range, desc : Camera Orientation velocity limits., support : 0901;090c;090e, triggered : at connection.,

const Ardrone3GPSSettingsCmdHomeType CmdDef = 3

title : Set the preferred home type, desc : Set the preferred home type.\n Please note that this is only a preference. The actual type chosen is given by the event [HomeType](#1-31-2).\n You can get the currently available types with the event [HomeTypeAvailability](#1-31-1)., support : 0901;090c;090e;0914;0919, result : The user choice is known by the drone.\n Then, event [PreferredHomeType](#1-24-4) is triggered.,

const Ardrone3GPSSettingsCmdResetHome CmdDef = 1

title : Reset home position, desc : Reset home position., support : 0901;090c, result : The home position is reset.\n Then, event [HomeLocationReset](#1-24-1) is triggered.,

const Ardrone3GPSSettingsCmdReturnHomeDelay CmdDef = 4

title : Set the return home delay, desc : Set the delay after which the drone will automatically try to return home after a disconnection., support : 0901;090c;090e;0914;0919, result : The delay of the return home is set.\n Then, event [ReturnHomeDelay](#1-24-5) is triggered.,

const Ardrone3GPSSettingsCmdReturnHomeMinAltitude CmdDef = 5

title : Set the return home min altitude, desc : Set the return home minimum altitude. If the drone is below this altitude when starting its return home, it will first reach the minimum altitude. If it is higher than this minimum altitude, it will operate its return home at its actual altitude., support : 0914;0919, result : The minimum altitude for the return home is set.\n Then, event [ReturnHomeMinAltitude](#1-24-7) is triggered.,

const Ardrone3GPSSettingsCmdSendControllerGPS CmdDef = 2

title : Set controller gps location, desc : Set controller gps location.\n The user location might be used in case of return home, according to the home type and the accuracy of the given position. You can get the current home type with the event [HomeType](#1-24-4)., support : 0901;090c;090e, result : The controller position is known by the drone.\n Then, event [HomeLocation](#1-24-2) is triggered.,

const Ardrone3GPSSettingsCmdSetHome CmdDef = 0

*** [ardrone3 GPSSettings] title : Set home position, desc : Set home position.,

const Ardrone3GPSSettingsStateCmdGPSFixStateChanged CmdDef = 2

title : Gps fix info, desc : Gps fix info., support : 0901;090c;090e;0914;0919, triggered : on change.,

const Ardrone3GPSSettingsStateCmdGPSUpdateStateChanged CmdDef = 3

title : Gps update state, desc : Gps update state., support : 0901;090c;090e, triggered : on change.,

const Ardrone3GPSSettingsStateCmdGeofenceCenterChanged CmdDef = 6

title : Geofence center, desc : Geofence center location. This location represents the center of the geofence zone. This is updated at a maximum frequency of 1 Hz., triggered : when [HomeChanged](#1-24-0) and when [GpsLocationChanged](#1-4-9) before takeoff.,

const Ardrone3GPSSettingsStateCmdHomeChanged CmdDef = 0

*** [ardrone3 GPSSettingsState] title : Home location, desc : Home location., support : 0901;090c;090e;0914;0919, triggered : when [HomeType](#1-31-2) changes. Or by [SetHomeLocation](#1-23-2) when [HomeType](#1-31-2) is Pilot. Or regularly after [SetControllerGPS](#140-1) when [HomeType](#1-31-2) is FollowMeTarget. Or at take off [HomeType](#1-31-2) is Takeoff. Or when the first fix occurs and the [HomeType](#1-31-2) is FirstFix.,

const Ardrone3GPSSettingsStateCmdHomeTypeChanged CmdDef = 4

title : Preferred home type, desc : User preference for the home type.\n See [HomeType](#1-31-2) to get the drone actual home type., support : 0901;090c;090e;0914;0919, triggered : by [SetPreferredHomeType](#1-23-3).,

const Ardrone3GPSSettingsStateCmdResetHomeChanged CmdDef = 1

title : Home location has been reset, desc : Home location has been reset., support : 0901;090c, triggered : by [ResetHomeLocation](#1-23-1).,

const Ardrone3GPSSettingsStateCmdReturnHomeDelayChanged CmdDef = 5

title : Return home delay, desc : Return home trigger delay. This delay represents the time after which the return home is automatically triggered after a disconnection., support : 0901;090c;090e;0914;0919, triggered : by [SetReturnHomeDelay](#1-23-4).,

const Ardrone3GPSSettingsStateCmdReturnHomeMinAltitudeChanged CmdDef = 7

title : Return home min altitude, desc : Minumum altitude for return home changed., triggered : by [SetReturnHomeMinAltitude](#1-23-5)., support : 0914;0919,

const Ardrone3GPSStateCmdHomeTypeAvailabilityChanged CmdDef = 1

title : Home type availability, desc : Home type availability., support : 0901;090c;090e;0914;0919, triggered : when the availability of, at least, one type changes.\n This might be due to controller position availability, gps fix before take off or other reason.,

const Ardrone3GPSStateCmdHomeTypeChosenChanged CmdDef = 2

title : Home type, desc : Home type.\n This choice is made by the drone, according to the [PreferredHomeType](#1-24-4) and the [HomeTypeAvailability](#1-31-1). The drone will choose the type matching with the user preference only if this type is available. If not, it will chose a type in this order:\n FOLLOWEE ; TAKEOFF ; PILOT ; FIRST_FIX, support : 0901;090c;090e;0914;0919, triggered : when the return home type chosen by the drone changes.\n This might be produced by a user preference triggered by [SetPreferedHomeType](#1-23-3) or by a change in the [HomeTypesAvailabilityChanged](#1-31-1).,

const Ardrone3GPSStateCmdNumberOfSatelliteChanged CmdDef = 0

*** [ardrone3 GPSState] title : Number of GPS satellites, desc : Number of GPS satellites., support : 0901;090c;090e;0914;0919, triggered : on change.,

const Ardrone3MediaRecordCmdPicture CmdDef = 0

*** [ardrone3 MediaRecord] title : Take a picture, desc : Take a picture.,

const Ardrone3MediaRecordCmdPictureV2 CmdDef = 2

title : Take a picture, desc : Take a picture.\n The type of picture taken is related to the picture setting.\n You can set the picture format by sending the command [SetPictureFormat](#1-19-0). You can also get the current picture format with [PictureFormat](#1-20-0).\n Please note that the time required to take the picture is highly related to this format.\n\n You can check if the picture taking is available with [PictureState](#1-8-2).\n Also, please note that if your picture format is different from snapshot, picture taking will stop video recording (it will restart after that the picture has been taken)., support : 0901:2.0.1;090c;090e, result : Event [PictureState](#1-8-2) will be triggered with a state busy.\n The drone will take a picture.\n Then, when picture has been taken, notification [PictureEvent](#1-3-0) is triggered.\n And normally [PictureState](#1-8-2) will be triggered with a state ready.,

const Ardrone3MediaRecordCmdVideo CmdDef = 1

title : Record a video, desc : Record a video.,

const Ardrone3MediaRecordCmdVideoV2 CmdDef = 3

title : Record a video, desc : Record a video (or start timelapse).\n You can check if the video recording is available with [VideoState](#1-8-3).\n This command can start a video (obvious huh?), but also a timelapse if the timelapse mode is set. You can check if the timelapse mode is set with the event [TimelapseMode](#1-20-4).\n Also, please note that if your picture format is different from snapshot, picture taking will stop video recording (it will restart after the picture has been taken)., support : 0901:2.0.1;090c;090e, result : The drone will begin or stop to record the video (or timelapse).\n Then, event [VideoState](#1-8-3) will be triggered. Also, notification [VideoEvent](#1-3-1) is triggered.,

const Ardrone3MediaRecordEventCmdPictureEventChanged CmdDef = 0

*** [ardrone3 MediaRecordEvent] title : Picture taken, desc : Picture taken.\n\n **This event is a notification, you can't retrieve it in the cache of the device controller.**, support : 0901:2.0.1;090c;090e, triggered : after a [TakePicture](#1-7-2), when the picture has been taken (or it has failed).,

const Ardrone3MediaRecordEventCmdVideoEventChanged CmdDef = 1

title : Video record notification, desc : Video record notification.\n\n **This event is a notification, you can't retrieve it in the cache of the device controller.**, support : 0901:2.0.1;090c;090e, triggered : by [RecordVideo](#1-7-3) or a change in the video state.,

const Ardrone3MediaRecordStateCmdPictureStateChanged CmdDef = 0

*** [ardrone3 MediaRecordState] title : Picture state, desc : Picture state.,

const Ardrone3MediaRecordStateCmdPictureStateChangedV2 CmdDef = 2

title : Picture state, desc : Picture state., support : 0901:2.0.1;090c;090e, triggered : by [TakePicture](#1-7-2) or by a change in the picture state,

const Ardrone3MediaRecordStateCmdVideoResolutionState CmdDef = 4

title : Video resolution, desc : Video resolution.\n Informs about streaming and recording video resolutions.\n Note that this is only an indication about what the resolution should be. To know the real resolution, you should get it from the frame., support : none, triggered : when the resolution changes.,

const Ardrone3MediaRecordStateCmdVideoStateChanged CmdDef = 1

title : Video record state, desc : Picture record state.,

const Ardrone3MediaRecordStateCmdVideoStateChangedV2 CmdDef = 3

title : Video record state, desc : Video record state., support : 0901:2.0.1;090c;090e, triggered : by [RecordVideo](#1-7-3) or by a change in the video state,

const Ardrone3MediaStreamingCmdVideoEnable CmdDef = 0

*** [ardrone3 MediaStreaming] title : Enable/disable video streaming, desc : Enable/disable video streaming., support : 0901;090c;090e, result : The video stream is started or stopped.\n Then, event [VideoStreamState](#1-22-0) is triggered.,

const Ardrone3MediaStreamingCmdVideoStreamMode CmdDef = 1

title : Set the stream mode, desc : Set the stream mode., support : 0901;090c;090e, result : The stream mode is set.\n Then, event [VideoStreamMode](#1-22-1) is triggered.,

const Ardrone3MediaStreamingStateCmdVideoEnableChanged CmdDef = 0

*** [ardrone3 MediaStreamingState] title : Video stream state, desc : Video stream state., support : 0901;090c;090e, triggered : by [EnableOrDisableVideoStream](#1-21-0).,

const Ardrone3MediaStreamingStateCmdVideoStreamModeChanged CmdDef = 1
const Ardrone3NetworkCmdWifiAuthChannel CmdDef = 1

title : Ask for available wifi channels, desc : Ask for available wifi channels.\n The list of available Wifi channels is related to the country of the drone. You can get this country from the event [CountryChanged](#0-3-6)., support : 0901;090c;090e, result : Event [AvailableWifiChannels](#1-14-2) is triggered with all available channels. When all channels have been sent, event [AvailableWifiChannelsCompleted](#1-14-3) is triggered.,

const Ardrone3NetworkCmdWifiScan CmdDef = 0

*** [ardrone3 Network] title : Scan wifi network, desc : Scan wifi network to get a list of all networks found by the drone, support : 0901;090c;090e, result : Event [WifiScanResults](#1-14-0) is triggered with all networks found.\n When all networks have been sent, event [WifiScanEnded](#1-14-1) is triggered.,

const Ardrone3NetworkSettingsCmdWifiSecurity CmdDef = 1

title : Set wifi security type, desc : Set wifi security type.\n The security will be changed on the next restart, support : 0901;090c;090e, result : The wifi security is set (but not applied until next restart).\n Then, event [WifiSecurityType](#1-10-2) is triggered.,

const Ardrone3NetworkSettingsCmdWifiSelection CmdDef = 0

*** [ardrone3 NetworkSettings] title : Select Wifi, desc : Select or auto-select channel of choosen band., support : 0901;090c;090e, result : The wifi channel changes according to given parameters. Watch out, a disconnection might appear.\n Then, event [WifiSelection](#1-10-0) is triggered.,

const Ardrone3NetworkSettingsStateCmdWifiSecurity CmdDef = 2

title : Wifi security type, desc : Wifi security type., support : 0901;090c;090e, triggered : by [SetWifiSecurityType](#1-9-1).,

const Ardrone3NetworkSettingsStateCmdWifiSecurityChanged CmdDef = 1

title : Wifi security type, desc : Wifi security type.,

const Ardrone3NetworkSettingsStateCmdWifiSelectionChanged CmdDef = 0

*** [ardrone3 NetworkSettingsState] title : Wifi selection, desc : Wifi selection., support : 0901;090c;090e, triggered : by [SelectWifi](#1-9-0).,

const Ardrone3NetworkStateCmdAllWifiAuthChannelChanged CmdDef = 3

title : Available wifi channels completed, desc : Available wifi channels completed.\n When receiving this event, the list of [AvailableWifiChannels](#1-14-2) is complete., support : 0901;090c;090e, triggered : after the last [AvailableWifiChannel](#1-14-2) has been sent.,

const Ardrone3NetworkStateCmdAllWifiScanChanged CmdDef = 1

title : Wifi scan ended, desc : Wifi scan ended.\n When receiving this event, the list of [WifiScanResults](#1-14-0) is complete., support : 0901;090c;090e, triggered : after the last [WifiScanResult](#1-14-0) has been sent.,

const Ardrone3NetworkStateCmdWifiAuthChannelListChanged CmdDef = 2

title : Available wifi channels, desc : Available wifi channels.\n Please note that the list is not complete until you receive the event [AvailableWifiChannelsCompleted](#1-14-3)., support : 0901;090c;090e, triggered : for each available channel after a [GetAvailableWifiChannels](#1-13-1).,

const Ardrone3NetworkStateCmdWifiScanListChanged CmdDef = 0

*** [ardrone3 NetworkState] title : Wifi scan results, desc : Wifi scan results.\n Please note that the list is not complete until you receive the event [WifiScanEnded](#1-14-1)., support : 0901;090c;090e, triggered : for each wifi network scanned after a [ScanWifi](#1-13-0),

const Ardrone3PROStateCmdFeatures CmdDef = 0

*** [ardrone3 PROState] title : Pro features, desc : Pro features.,

const Ardrone3PictureSettingsCmdAutoWhiteBalanceSelection CmdDef = 1

title : Set White Balance mode, desc : Set White Balance mode., support : 0901;090c;090e, result : The white balance mode is set.\n Then, event [WhiteBalanceMode](#1-20-1) is triggered.,

const Ardrone3PictureSettingsCmdExpositionSelection CmdDef = 2

title : Set image exposure, desc : Set image exposure., support : 0901;090c;090e, result : The exposure is set.\n Then, event [ImageExposure](#1-20-2) is triggered.,

const Ardrone3PictureSettingsCmdPictureFormatSelection CmdDef = 0

*** [ardrone3 PictureSettings] title : Set picture format, desc : Set picture format.\n Please note that the time required to take the picture is highly related to this format.\n Also, please note that if your picture format is different from snapshot, picture taking will stop video recording (it will restart after the picture has been taken)., support : 0901;090c;090e, result : The picture format is set.\n Then, event [PictureFormat](#1-20-0) is triggered.,

const Ardrone3PictureSettingsCmdSaturationSelection CmdDef = 3

title : Set image saturation, desc : Set image saturation., support : 0901;090c;090e, result : The saturation is set.\n Then, event [ImageSaturation](#1-20-3) is triggered.,

const Ardrone3PictureSettingsCmdTimelapseSelection CmdDef = 4

title : Set timelapse mode, desc : Set timelapse mode.\n If timelapse mode is set, instead of taking a video, the drone will take picture regularly.\n Watch out, this command only configure the timelapse mode. Once it is configured, you can start/stop the timelapse with the [RecordVideo](#1-7-3) command., support : 0901;090c;090e, result : The timelapse mode is set (but not started).\n Then, event [TimelapseMode](#1-20-4) is triggered.,

const Ardrone3PictureSettingsCmdVideoAutorecordSelection CmdDef = 5

title : Set video autorecord mode, desc : Set video autorecord mode.\n If autorecord is set, video record will be automatically started when the drone takes off and stopped slightly after landing., support : 0901;090c;090e, result : The autorecord mode is set.\n Then, event [AutorecordMode](#1-20-5) is triggered.,

const Ardrone3PictureSettingsCmdVideoFramerate CmdDef = 8

title : Set video framerate, desc : Set video framerate., support : 0901:3.4.0;090c:3.4.0;090e, result : The video framerate is set.\n Then, event [VideoFramerate](#1-20-8) is triggered.,

const Ardrone3PictureSettingsCmdVideoRecordingMode CmdDef = 7

title : Set video recording mode, desc : Set video recording mode., support : 0901:3.4.0;090c:3.4.0;090e, result : The video recording mode is set.\n Then, event [VideoRecordingMode](#1-20-7) is triggered.,

const Ardrone3PictureSettingsCmdVideoResolutions CmdDef = 9

title : Set video resolutions, desc : Set video streaming and recording resolutions., support : 0901:3.4.0;090c:3.4.0;090e, result : The video resolutions is set.\n Then, event [VideoResolutions](#1-20-9) is triggered.,

const Ardrone3PictureSettingsCmdVideoStabilizationMode CmdDef = 6

title : Set video stabilization mode, desc : Set video stabilization mode., support : 0901:3.4.0;090c:3.4.0;090e, result : The video stabilization mode is set.\n Then, event [VideoStabilizationMode](#1-20-6) is triggered.,

const Ardrone3PictureSettingsStateCmdAutoWhiteBalanceChanged CmdDef = 1

title : White balance mode, desc : White balance mode., support : 0901;090c;090e, triggered : by [SetWhiteBalanceMode](#1-19-1).,

const Ardrone3PictureSettingsStateCmdExpositionChanged CmdDef = 2

title : Image exposure, desc : Image exposure., support : 0901;090c;090e, triggered : by [SetImageExposure](#1-19-2).,

const Ardrone3PictureSettingsStateCmdPictureFormatChanged CmdDef = 0

*** [ardrone3 PictureSettingsState] title : Picture format, desc : Picture format., support : 0901;090c;090e, triggered : by [SetPictureFormat](#1-19-0).,

const Ardrone3PictureSettingsStateCmdSaturationChanged CmdDef = 3

title : Image saturation, desc : Image saturation., support : 0901;090c;090e, triggered : by [SetImageSaturation](#1-19-3).,

const Ardrone3PictureSettingsStateCmdTimelapseChanged CmdDef = 4

title : Timelapse mode, desc : Timelapse mode., support : 0901;090c;090e, triggered : by [SetTimelapseMode](#1-19-4).,

const Ardrone3PictureSettingsStateCmdVideoAutorecordChanged CmdDef = 5

title : Video Autorecord mode, desc : Video Autorecord mode., support : 0901;090c;090e, triggered : by [SetVideoAutorecordMode](#1-19-5).,

const Ardrone3PictureSettingsStateCmdVideoFramerateChanged CmdDef = 8

title : Video framerate, desc : Video framerate., support : 0901:3.4.0;090c:3.4.0;090e, triggered : by [SetVideoFramerateMode](#1-19-8).,

const Ardrone3PictureSettingsStateCmdVideoRecordingModeChanged CmdDef = 7

title : Video recording mode, desc : Video recording mode., support : 0901:3.4.0;090c:3.4.0;090e, triggered : by [SetVideoRecordingMode](#1-19-7).,

const Ardrone3PictureSettingsStateCmdVideoResolutionsChanged CmdDef = 9

title : Video resolutions, desc : Video resolutions.\n This event informs about the recording AND streaming resolutions., support : 0901:3.4.0;090c:3.4.0;090e, triggered : by [SetVideResolutions](#1-19-9).,

const Ardrone3PictureSettingsStateCmdVideoStabilizationModeChanged CmdDef = 6

title : Video stabilization mode, desc : Video stabilization mode., support : 0901:3.4.0;090c:3.4.0;090e, triggered : by [SetVideoStabilizationMode](#1-19-6).,

const Ardrone3PilotingCmdCancelMoveBy CmdDef = 14

title : Cancel the relative move, desc : Cancel the current relative move.\n If there is no current relative move, this command has no effect., result : Event [RelativeMoveChanged](#1-4-16) is triggered with state canceled.,

const Ardrone3PilotingCmdCancelMoveTo CmdDef = 11

title : Cancel the moveTo, desc : Cancel the current moveTo.\n If there is no current moveTo, this command has no effect., support : 090c:4.3.0, result : Event [MoveToChanged](#1-4-12) is triggered with state canceled.,

const Ardrone3PilotingCmdCircle CmdDef = 9

title : Circle, desc : Make the fixed wing circle.\n The circle will use the [CirclingAltitude](#1-6-14) and the [CirclingRadius](#1-6-13), support : 090e, result : The fixed wing will circle in the given direction.\n Then, event [FlyingState](#1-4-1) is triggered with state set at hovering.,

const Ardrone3PilotingCmdEmergency CmdDef = 4

title : Cut out the motors, desc : Cut out the motors.\n This cuts immediatly the motors. The drone will fall.\n This command is sent on a dedicated high priority buffer which will infinitely retry to send it if the command is not delivered., support : 0901;090c;090e;0914;0919, result : The drone immediatly cuts off its motors.\n Then, event [FlyingState](#1-4-1) is triggered.,

const Ardrone3PilotingCmdLanding CmdDef = 3

title : Land, desc : Land.\n Please note that on copters, if you put some positive gaz (in the [PilotingCommand](#1-0-2)) during the landing, it will cancel it., support : 0901;090c;090e;0914;0919, result : On the copters, the drone lands if its [FlyingState](#1-4-1) was taking off, hovering or flying.\n On the fixed wings, the drone lands if its [FlyingState](#1-4-1) was hovering or flying.\n Then, event [FlyingState](#1-4-1) is triggered.,

const Ardrone3PilotingCmdMoveBy CmdDef = 7

title : Move the drone to a relative position, desc : Move the drone to a relative position and rotate heading by a given angle.\n Moves are relative to the current drone orientation, (drone's reference).\n Also note that the given rotation will not modify the move (i.e. moves are always rectilinear)., support : 0901:3.3.0;090c:3.3.0;0914;0919, result : The drone will move of the given offsets.\n Then, event [RelativeMoveEnded](#1-34-0) is triggered.\n If you send a second relative move command, the drone will trigger a [RelativeMoveEnded](#1-34-0) with the offsets it managed to do before this new command and the value of error set to interrupted.,

const Ardrone3PilotingCmdMoveTo CmdDef = 10

title : Move to a location, desc : Move the drone to a specified location.\n If a new command moveTo is sent, the drone will immediatly run it (no cancel will be issued).\n If a [CancelMoveTo](#1-0-11) command is sent, the moveTo is stopped.\n During the moveTo, all pitch, roll and gaz values of the piloting command will be ignored by the drone.\n However, the yaw value can be used., support : 090c:4.3.0;0914;0919, result : Event [MovingTo](#1-4-12) is triggered with state running. Then, the drone will move to the given location.\n Then, event [MoveToChanged](#1-4-12) is triggered with state succeed.,

const Ardrone3PilotingCmdNavigateHome CmdDef = 5

title : Return home, desc : Return home.\n Ask the drone to fly to its [HomePosition](#1-24-0).\n The availability of the return home can be get from [ReturnHomeState](#1-4-3).\n Please note that the drone will wait to be hovering to start its return home. This means that it will wait to have a flag(#1-0-2) set at 0., support : 0901;090c;090e;0914;0919, result : The drone will fly back to its home position.\n Then, event [ReturnHomeState](#1-4-3) is triggered.\n You can get a state pending if the drone is not ready to start its return home process but will do it as soon as it is possible.,

const Ardrone3PilotingCmdPCMD CmdDef = 2

title : Move the drone, desc : Move the drone.\n The libARController is sending the command each 50ms.\n\n **Please note that you should call setPilotingPCMD and not sendPilotingPCMD because the libARController is handling the periodicity and the buffer on which it is sent.**, support : 0901;090c;090e;0914;0919, result : The drone moves! Yaaaaay!\n Event [SpeedChanged](#1-4-5), [AttitudeChanged](#1-4-6) and [PositionChanged](#1-4-4) (only if gps of the drone has fixed) are triggered.,

const Ardrone3PilotingCmdStartPilotedPOI CmdDef = 12

title : Start a piloted POI, desc : Start a piloted Point Of Interest.\n During a piloted POI, the drone will always look at the given POI but can be piloted normally. However, yaw value is ignored. Camera tilt and pan command is also ignored.\n Ignored if [PilotedPOI](#1-4-14) state is UNAVAILABLE., support : 090c:4.3.0, result : If the drone is hovering, event [PilotedPOI](#1-4-14) is triggered with state RUNNING. If the drone is not hovering, event [PilotedPOI](#1-4-14) is triggered with state PENDING, waiting to hover. When the drone hovers, the state will change to RUNNING. If the drone does not hover for a given time, piloted POI is canceled by the drone and state will change to AVAILABLE. Then, the drone will look at the given location.,

const Ardrone3PilotingCmdStartPilotedPOIV2 CmdDef = 15

title : Start a piloted POI, desc : Start a piloted Point Of Interest.\n During a piloted POI, the drone always points towards the given POI but can be piloted normally. However, yaw value is ignored. The gimbal behavior depends on the mode argument:\n - in locked gimbal mode, the gimbal always looks at the POI, and gimbal control command is ignored by the drone,\n - in free gimbal mode, the gimbal initially looks at the POI, and is then freely controllable by the gimbal command.\n Ignored if [PilotedPOIV2](#1-4-22) state is UNAVAILABLE., support : 0914:1.6.3;0919:1.6.3, result : If the drone is hovering, event [PilotedPOIV2](#1-4-22) is triggered with state RUNNING. If the drone is not hovering, event [PilotedPOIV2](#1-4-22) is triggered with state PENDING, waiting to hover. When the drone hovers, the state changes to RUNNING. If the drone does not hover for a given time, piloted POI is canceled by the drone and state changes to AVAILABLE. Then, the drone looks at the given location.,

const Ardrone3PilotingCmdStopPilotedPOI CmdDef = 13

title : Stop the piloted POI, desc : Stop the piloted Point Of Interest (with or without gimbal control).\n If [PilotedPOI](#1-4-14) or [PilotedPOIV2](#1-4-22) state is RUNNING or PENDING, stop it., support : 090c:4.3.0;0914;0919, result : Event [PilotedPOI](#1-4-14) or [PilotedPOIV2](#1-4-22) is triggered with state AVAILABLE.,

const Ardrone3PilotingCmdTakeOff CmdDef = 1

*** [ardrone3 Piloting] title : Take off, desc : Ask the drone to take off.\n On the fixed wings (such as Disco): not used except to cancel a land., support : 0901;090c;090e;0914;0919, result : On the quadcopters: the drone takes off if its [FlyingState](#1-4-1) was landed.\n On the fixed wings, the landing process is aborted if the [FlyingState](#1-4-1) was landing.\n Then, event [FlyingState](#1-4-1) is triggered.,

const Ardrone3PilotingCmdUserTakeOff CmdDef = 8

title : Prepare the drone to take off, desc : Prepare the drone to take off.\n On copters: initiates the thrown takeoff. Note that the drone will do the thrown take off even if it is steady.\n On fixed wings: initiates the take off process on the fixed wings.\n\n Setting the state to 0 will cancel the preparation. You can cancel it before that the drone takes off., support : 090e;090c:4.3.0;0914;0919, result : The drone will arm its motors if not already armed.\n Then, event [FlyingState](#1-4-1) is triggered with state set at motor ramping.\n Then, event [FlyingState](#1-4-1) is triggered with state set at userTakeOff.\n Then user can throw the drone to make it take off.,

const Ardrone3PilotingEventCmdMoveByEnd CmdDef = 0

*** [ardrone3 PilotingEvent] title : Relative move ended, desc : Relative move ended.\n Informs about the move that the drone managed to do and why it stopped., support : 0901:3.3.0;090c:3.3.0;0914;0919, triggered : when the drone reaches its target or when it is interrupted by another [moveBy command](#1-0-7) or when an error occurs.,

const Ardrone3PilotingSettingsCmdAbsolutControl CmdDef = 2

title : Set absolut control, desc : Set absolut control.,

const Ardrone3PilotingSettingsCmdBankedTurn CmdDef = 10

title : Set banked turn mode, desc : Set banked turn mode.\n When banked turn mode is enabled, the drone will use yaw values from the piloting command to infer with roll and pitch on the drone when its horizontal speed is not null., support : 0901:3.2.0;090c:3.2.0;0914;0919, result : The banked turn mode is enabled or disabled.\n Then, event [BankedTurnMode](#1-6-10) is triggered.,

const Ardrone3PilotingSettingsCmdCirclingAltitude CmdDef = 14

title : Set min circling altitude, desc : Set min circling altitude (not used during take off).\n Only available for fixed wings., support : 090e, result : The circling altitude is set.\n Then, event [CirclingAltitude](#1-6-14) is triggered.,

const Ardrone3PilotingSettingsCmdCirclingDirection CmdDef = 12

title : Set default circling direction, desc : Set default circling direction. This direction will be used when the drone use an automatic circling or when [CIRCLE](#1-0-9) is sent with direction *default*.\n Only available for fixed wings., support : 090e, result : The circling direction is set.\n Then, event [DefaultCirclingDirection](#1-6-12) is triggered.,

const Ardrone3PilotingSettingsCmdCirclingRadius CmdDef = 13

title : Set circling radius, desc : Set circling radius.\n Only available for fixed wings., support : none, result : The circling radius is set.\n Then, event [CirclingRadius](#1-6-13) is triggered.,

const Ardrone3PilotingSettingsCmdMaxAltitude CmdDef = 0

*** [ardrone3 PilotingSettings] title : Set max altitude, desc : Set max altitude.\n The drone will not fly over this max altitude when it is in manual piloting.\n Please note that if you set a max altitude which is below the current drone altitude, the drone will not go to given max altitude.\n You can get the bounds in the event [MaxAltitude](#1-6-0)., support : 0901;090c;090e;0914;0919, result : The max altitude is set.\n Then, event [MaxAltitude](#1-6-0) is triggered.,

const Ardrone3PilotingSettingsCmdMaxDistance CmdDef = 3

title : Set max distance, desc : Set max distance.\n You can get the bounds from the event [MaxDistance](#1-6-3).\n\n If [Geofence](#1-6-4) is activated, the drone won't fly over the given max distance., support : 0901;090c;090e;0914;0919, result : The max distance is set.\n Then, event [MaxDistance](#1-6-3) is triggered.,

const Ardrone3PilotingSettingsCmdMaxTilt CmdDef = 1

title : Set max pitch/roll, desc : Set max pitch/roll.\n This represent the max inclination allowed by the drone.\n You can get the bounds with the commands [MaxPitchRoll](#1-6-1)., support : 0901;090c;0914;0919, result : The max pitch/roll is set.\n Then, event [MaxPitchRoll](#1-6-1) is triggered.,

const Ardrone3PilotingSettingsCmdMinAltitude CmdDef = 11

title : Set minimum altitude, desc : Set minimum altitude.\n Only available for fixed wings., support : 090e, result : The minimum altitude is set.\n Then, event [MinimumAltitude](#1-6-11) is triggered.,

const Ardrone3PilotingSettingsCmdNoFlyOverMaxDistance CmdDef = 4

title : Enable geofence, desc : Enable geofence.\n If geofence is enabled, the drone won't fly over the given max distance.\n You can get the max distance from the event [MaxDistance](#1-6-3). \n For copters: the distance is computed from the controller position, if this position is not known, it will use the take off.\n For fixed wings: the distance is computed from the take off position., support : 0901;090c;090e;0914;0919, result : Geofencing is enabled or disabled.\n Then, event [Geofencing](#1-6-4) is triggered.,

const Ardrone3PilotingSettingsCmdPitchMode CmdDef = 15

title : Set pitch mode, desc : Set pitch mode.\n Only available for fixed wings., support : 090e, result : The pitch mode is set.\n Then, event [PitchMode](#1-6-15) is triggered.,

const Ardrone3PilotingSettingsCmdSetMotionDetectionMode CmdDef = 16

title : Enable/disable the motion detection, desc : Enable/disable the motion detection.\n If the motion detection is enabled, the drone will send its [MotionState](#1-4-13) when its [FlyingState](#1-4-1) is landed. If the motion detection is disabled, [MotionState](#1-4-13) is steady., support : 090c:4.3.0, result : The motion detection is enabled or disabled.\n Then, event [MotionDetection](#1-6-16) is triggered. After that, if enabled and [FlyingState](#1-4-1) is landed, the [MotionState](#1-4-13) is triggered upon changes.,

const Ardrone3PilotingSettingsStateCmdAbsolutControlChanged CmdDef = 2

title : Absolut control, desc : Absolut control.,

const Ardrone3PilotingSettingsStateCmdBankedTurnChanged CmdDef = 10

title : Banked Turn mode, desc : Banked Turn mode.\n If banked turn mode is enabled, the drone will use yaw values from the piloting command to infer with roll and pitch on the drone when its horizontal speed is not null., support : 0901:3.2.0;090c:3.2.0;0914;0919, triggered : by [SetBankedTurnMode](#1-2-10).,

const Ardrone3PilotingSettingsStateCmdCirclingAltitudeChanged CmdDef = 14

title : Circling altitude, desc : Circling altitude.\n Bounds will be automatically adjusted according to the [MaxAltitude](#1-6-0).\n Only sent by fixed wings., support : 090e, triggered : by [SetCirclingRadius](#1-2-14) or when bounds change due to [SetMaxAltitude](#1-2-0).,

const Ardrone3PilotingSettingsStateCmdCirclingDirectionChanged CmdDef = 12

title : Circling direction, desc : Circling direction.\n Only sent by fixed wings., support : 090e, triggered : by [SetCirclingDirection](#1-2-12).,

const Ardrone3PilotingSettingsStateCmdCirclingRadiusChanged CmdDef = 13

title : Circling radius, desc : Circling radius.\n Only sent by fixed wings., support : none, triggered : by [SetCirclingRadius](#1-2-13).,

const Ardrone3PilotingSettingsStateCmdMaxAltitudeChanged CmdDef = 0

*** [ardrone3 PilotingSettingsState] title : Max altitude, desc : Max altitude.\n The drone will not fly higher than this altitude (above take off point)., support : 0901;090c;090e;0914;0919, triggered : by [SetMaxAltitude](#1-2-0).,

const Ardrone3PilotingSettingsStateCmdMaxDistanceChanged CmdDef = 3

title : Max distance, desc : Max distance., support : 0901;090c;090e;0914;0919, triggered : by [SetMaxDistance](#1-2-3).,

const Ardrone3PilotingSettingsStateCmdMaxTiltChanged CmdDef = 1

title : Max pitch/roll, desc : Max pitch/roll.\n The drone will not fly higher than this altitude (above take off point)., support : 0901;090c;0914;0919, triggered : by [SetMaxAltitude](#1-2-0).,

const Ardrone3PilotingSettingsStateCmdMinAltitudeChanged CmdDef = 11

title : Min altitude, desc : Min altitude.\n Only sent by fixed wings., support : 090e, triggered : by [SetMinAltitude](#1-2-11).,

const Ardrone3PilotingSettingsStateCmdMotionDetection CmdDef = 16

title : State of the motion detection, desc : State of the motion detection., support : 090c:4.3.0;0914;0919, triggered : by [SetMotionDetectionMode](#1-2-16),

const Ardrone3PilotingSettingsStateCmdNoFlyOverMaxDistanceChanged CmdDef = 4

title : Geofencing, desc : Geofencing.\n If set, the drone won't fly over the [MaxDistance](#1-6-3)., support : 0901;090c;090e;0914;0919, triggered : by [EnableGeofence](#1-2-4).,

const Ardrone3PilotingSettingsStateCmdPitchModeChanged CmdDef = 15

title : Pitch mode, desc : Pitch mode., support : 090e, triggered : by [SetPitchMode](#1-2-15).,

const Ardrone3PilotingStateCmdAirSpeedChanged CmdDef = 11

title : Drone's air speed changed, desc : Drone's air speed changed\n Expressed in the drone's referential., support : 090e:1.2.0, triggered : regularly.,

const Ardrone3PilotingStateCmdAlertStateChanged CmdDef = 2

title : Alert state, desc : Alert state., support : 0901;090c;090e;0914;0919, triggered : when an alert happens on the drone.,

const Ardrone3PilotingStateCmdAltitudeAboveGroundChanged CmdDef = 21

title : Drone's altitude above ground changed, desc : Drone's altitude above ground changed., support : 0914:1.6.2;0919:1.6.2, triggered : regularly.,

const Ardrone3PilotingStateCmdAltitudeChanged CmdDef = 8

title : Drone's altitude changed, desc : Drone's altitude changed.\n The altitude reported is the altitude above the take off point.\n To get the altitude above sea level, see [PositionChanged](#1-4-4)., support : 0901;090c;090e;0914;0919, triggered : regularly.,

const Ardrone3PilotingStateCmdAttitudeChanged CmdDef = 6

title : Drone's attitude changed, desc : Drone's attitude changed., support : 0901;090c;090e;0914;0919, triggered : regularly.,

const Ardrone3PilotingStateCmdFlyingStateChanged CmdDef = 1

*** [ardrone3 PilotingState] title : Flying state, desc : Flying state., support : 0901;090c;090e;0914;0919, triggered : when the flying state changes.,

const Ardrone3PilotingStateCmdForcedLandingAutoTrigger CmdDef = 18

title : Landing auto trigger., desc : Forced landing auto trigger information., support : , triggered : at connection, and when forced landing auto trigger information changes, then every seconds while `reason` is different from `none`.,

const Ardrone3PilotingStateCmdGpsLocationChanged CmdDef = 9

title : Drone's location changed, desc : Drone's location changed.\n This event is meant to replace [PositionChanged](#1-4-4)., support : 0901:4.0.0;090c:4.0.0;0914;0919, triggered : regularly.,

const Ardrone3PilotingStateCmdHoveringWarning CmdDef = 17

title : Hovering warning, desc : Indicate that the drone may have difficulties to maintain a fix position when hovering., support : 0915;0914;0919, triggered : at connection and on changes.,

const Ardrone3PilotingStateCmdLandingStateChanged CmdDef = 10

title : Landing state, desc : Landing state.\n Only available for fixed wings (which have two landing modes)., support : 090e, triggered : when the landing state changes.,

const Ardrone3PilotingStateCmdMotionState CmdDef = 13

title : Motion state, desc : Motion state.\n If [MotionDetection](#1-6-16) is disabled, motion is steady.\n This information is only valid when the drone is not flying., support : 090c:4.3.0;0914;0919, triggered : when the [FlyingState](#1-4-1) is landed and the [MotionDetection](#1-6-16) is enabled and the motion state changes.\n This event is triggered at a filtered rate.,

const Ardrone3PilotingStateCmdMoveByChanged CmdDef = 16

title : Relative move changed, desc : Relative move changed., triggered : by [MoveRelatively](#1-0-7), or [CancelRelativeMove](#1-0-14) or when the drone's relative move state changes.,

const Ardrone3PilotingStateCmdMoveToChanged CmdDef = 12

title : Move to changed, desc : The drone moves or moved to a given location., support : 090c:4.3.0;0914;0919, triggered : by [MoveTo](#1-0-10) or when the drone did reach the given position.,

const Ardrone3PilotingStateCmdNavigateHomeStateChanged CmdDef = 3

title : Return home state, desc : Return home state.\n Availability is related to gps fix, magnetometer calibration., support : 0901;090c;090e;0914;0919, triggered : by [ReturnHome](#1-0-5) or when the state of the return home changes.,

const Ardrone3PilotingStateCmdPilotedPOI CmdDef = 14

title : Piloted POI state, desc : Piloted POI state., support : 090c:4.3.0, triggered : by [StartPilotedPOI](#1-0-12) or [StopPilotedPOI](#1-0-13) or when piloted POI becomes unavailable.,

const Ardrone3PilotingStateCmdPilotedPOIV2 CmdDef = 22

title : Piloted POI state, desc : Piloted POI state., support : 0914:1.6.3;0919:1.6.3, triggered : by [StartPilotedPOIV2](#1-0-15) or [StopPilotedPOI](#1-0-13) or when piloted POI becomes available or unavailable.,

const Ardrone3PilotingStateCmdPositionChanged CmdDef = 4

title : Drone's position changed, desc : Drone's position changed., support : 0901;090c;090e;0914;0919, triggered : regularly.,

const Ardrone3PilotingStateCmdReturnHomeBatteryCapacity CmdDef = 15

title : Return home battery capacity, desc : Battery capacity status to return home., support : 090c:4.3.0, triggered : when the status of the battery capacity to do a return home changes. This means that it is triggered either when the battery level changes, when the distance to the home changes or when the position of the home changes.,

const Ardrone3PilotingStateCmdSpeedChanged CmdDef = 5

title : Drone's speed changed, desc : Drone's speed changed.\n Expressed in the NED referential (North-East-Down)., support : 0901;090c;090e;0914;0919, triggered : regularly.,

const Ardrone3PilotingStateCmdVibrationLevelChanged CmdDef = 20

title : Vibration level, desc : Vibration level., support : 0914:1.6.0;0919:1.6.0, triggered : at connection and on changes.,

const Ardrone3PilotingStateCmdWindStateChanged CmdDef = 19

title : Wind state, desc : Wind state., support : 0914;0919, triggered : at connection and on changes.,

const Ardrone3SettingsStateCmdCPUID CmdDef = 7
const Ardrone3SettingsStateCmdMotorErrorLastErrorChanged CmdDef = 5

title : Last motor error, desc : Last motor error.\n This is a reminder of the last error. To know if a motor error is currently happening, see [MotorError](#1-16-2)., support : 0901;090c;090e;0914;0919, triggered : at connection and when an error occurs.,

const Ardrone3SettingsStateCmdMotorErrorStateChanged CmdDef = 2

title : Motor error, desc : Motor error.\n This event is sent back to *noError* as soon as the motor error disappear. To get the last motor error, see [LastMotorError](#1-16-5), support : 0901;090c;090e;0914;0919, triggered : when a motor error occurs.,

const Ardrone3SettingsStateCmdMotorFlightsStatusChanged CmdDef = 4

title : Motor flight status, desc : Motor flight status., support : 0901;090c;090e;0914;0919, triggered : at connection.,

const Ardrone3SettingsStateCmdMotorSoftwareVersionChanged CmdDef = 3

title : Motor version, desc : Motor version., support : 0914;0919,

const Ardrone3SettingsStateCmdP7ID CmdDef = 6

title : P7ID, desc : P7ID.,

const Ardrone3SettingsStateCmdProductGPSVersionChanged CmdDef = 1

title : GPS version, desc : GPS version., support : 0901;090c;090e;0914;0919, triggered : at connection.,

const Ardrone3SettingsStateCmdProductMotorVersionListChanged CmdDef = 0

*** [ardrone3 SettingsState] title : Motor version, desc : Motor version.,

const Ardrone3SoundCmdStartAlertSound CmdDef = 0

*** [ardrone3 Sound] title : Start alert sound, desc : Start the alert sound. The alert sound can only be started when the drone is not flying., support : none, result : The drone makes a sound and send back [AlertSoundState](#1-36-0) with state playing.,

const Ardrone3SoundCmdStopAlertSound CmdDef = 1

title : Stop alert sound, desc : Stop the alert sound., support : none, result : The drone stops its alert sound and send back [AlertSoundState](#1-36-0) with state stopped.,

const Ardrone3SoundStateCmdAlertSound CmdDef = 0

*** [ardrone3 SoundState] title : Alert sound state, desc : Alert sound state., support : none, triggered : by [StartAlertSound](#1-35-0) or [StopAlertSound](#1-35-1) or when the drone starts or stops to play an alert sound by itself.,

const Ardrone3SpeedSettingsCmdHullProtection CmdDef = 2

title : Set the presence of hull protection, desc : Set the presence of hull protection., support : 0901;090c, result : The drone knows that it has a hull protection.\n Then, event [HullProtection](#1-12-2) is triggered.,

const Ardrone3SpeedSettingsCmdMaxPitchRollRotationSpeed CmdDef = 4

title : Set max pitch/roll rotation speed, desc : Set max pitch/roll rotation speed., support : 0901;090c;0914;0919, result : The max pitch/roll rotation speed is set.\n Then, event [MaxPitchRollRotationSpeed](#1-12-4) is triggered.,

const Ardrone3SpeedSettingsCmdMaxRotationSpeed CmdDef = 1

title : Set max rotation speed, desc : Set max rotation speed., support : 0901;090c;0914;0919, result : The max rotation speed is set.\n Then, event [MaxRotationSpeed](#1-12-1) is triggered.,

const Ardrone3SpeedSettingsCmdMaxVerticalSpeed CmdDef = 0

*** [ardrone3 SpeedSettings] title : Set max vertical speed, desc : Set max vertical speed., support : 0901;090c;0914;0919, result : The max vertical speed is set.\n Then, event [MaxVerticalSpeed](#1-12-0) is triggered.,

const Ardrone3SpeedSettingsCmdOutdoor CmdDef = 3

title : Set outdoor mode, desc : Set outdoor mode.,

const Ardrone3SpeedSettingsStateCmdHullProtectionChanged CmdDef = 2

title : Presence of hull protection, desc : Presence of hull protection., support : 0901;090c, triggered : by [SetHullProtectionPresence](#1-11-2).,

const Ardrone3SpeedSettingsStateCmdMaxPitchRollRotationSpeedChanged CmdDef = 4

title : Max pitch/roll rotation speed, desc : Max pitch/roll rotation speed., support : 0901;090c;0914;0919, triggered : by [SetMaxPitchRollRotationSpeed](#1-11-4).,

const Ardrone3SpeedSettingsStateCmdMaxRotationSpeedChanged CmdDef = 1

title : Max rotation speed, desc : Max rotation speed., support : 0901;090c;0914;0919, triggered : by [SetMaxRotationSpeed](#1-11-1).,

const Ardrone3SpeedSettingsStateCmdMaxVerticalSpeedChanged CmdDef = 0

*** [ardrone3 SpeedSettingsState] title : Max vertical speed, desc : Max vertical speed., support : 0901;090c;0914;0919, triggered : by [SetMaxVerticalSpeed](#1-11-0).,

const Ardrone3SpeedSettingsStateCmdOutdoorChanged CmdDef = 3

title : Outdoor mode, desc : Outdoor mode.,

const CommonARLibsVersionsStateCmdControllerLibARCommandsVersion CmdDef = 0

*** [common ARLibsVersionsState]

const CommonARLibsVersionsStateCmdDeviceLibARCommandsVersion CmdDef = 2
const CommonARLibsVersionsStateCmdSkyControllerLibARCommandsVersion CmdDef = 1
const CommonAccessoryCmdConfig CmdDef = 0

*** [common Accessory] title : Declare an accessory, desc : Declare an accessory.\n You can choose the accessory between all accessible for this product.\n You can get this list through event [SupportedAccessories](#0-27-0).\n\n You can only set the accessory when the modification is enabled.\n You can know if it possible with the event [AccessoryDeclarationAvailability](#0-27-2)., support : 0902;0905;0906;0907;0909;090a, result : The product knows which accessory it is wearing.\n Then, event [AccessoryConfigChanged](#0-27-1) is triggered.,

const CommonAccessoryStateCmdAccessoryConfigChanged CmdDef = 1

title : Accessory config, desc : Accessory config., support : 0902;0905;0906;0907;0909;090a, triggered : by [DeclareAccessory](#0-26-0).,

const CommonAccessoryStateCmdAccessoryConfigModificationEnabled CmdDef = 2

title : Accessory declaration availability, desc : Availability to declare or not an accessory., support : 0902;0905;0906;0907;0909;090a, triggered : when the availability changes.,

const CommonAccessoryStateCmdSupportedAccessoriesListChanged CmdDef = 0

*** [common AccessoryState] title : Supported accessories list, desc : Supported accessories list., support : 0902;0905;0906;0907;0909;090a, triggered : at connection.,

const CommonAnimationsCmdStartAnimation CmdDef = 0

*** [common Animations] title : Start an animation, desc : Start a paramaterless animation.\n List of available animations can be retrieved from AnimationsStateList(#0-25-0)., support : 0902;0905;0906;0907;0909, result : If possible, the product starts the requested animation. Then, event AnimationsStateList(#0-25-0) is triggered.,

const CommonAnimationsCmdStopAllAnimations CmdDef = 2

title : Stop all animations, desc : Stop all running paramaterless animations.\n List of running animations can be retrieved from AnimationsStateList(#0-25-0)., support : 0902;0905;0906;0907;0909, result : All running animations are stopped.\n Then, event AnimationsStateList(#0-25-0) is triggered.,

const CommonAnimationsCmdStopAnimation CmdDef = 1

title : Stop an animation, desc : Stop a paramaterless animation.\n List of running animations can be retrieved from AnimationsStateList(#0-25-0)., support : 0902;0905;0906;0907;0909, result : If the requested animation was running, it will be stopped.\n Then, event AnimationsStateList(#0-25-0) is triggered.,

const CommonAnimationsStateCmdList CmdDef = 0

*** [common AnimationsState] title : Animation state list, desc : Paramaterless animations state list., support : 0902;0905;0906;0907;0909, triggered : when the list of available animations changes and also when an animation state changes (can be triggered by [StartAnim](#0-24-0), [StopAnim](#0-24-1) or [StopAllAnims](#0-24-2).,

const CommonAudioCmdControllerReadyForStreaming CmdDef = 0

*** [common Audio] title : Set audio stream direction, desc : Set audio stream direction., support : 0905;0906, result : The audio stream direction is set.\n Then, event [AudioStreamDirection](#0-21-0) is triggered.,

const CommonAudioStateCmdAudioStreamingRunning CmdDef = 0

*** [common AudioState] title : Audio stream direction, desc : Audio stream direction., support : 0905;0906, triggered : by [SetAudioStreamDirection](#0-20-0).,

const CommonCalibrationCmdMagnetoCalibration CmdDef = 0

*** [common Calibration] title : Start/Abort magnetometer calibration, desc : Start or abort magnetometer calibration process.\n, support : 0901;090c;090e;0914;0919, result : The magnetometer calibration process is started or aborted. Then, event [MagnetoCalibrationStartedChanged](#0-14-3) is triggered.\n If started, event [MagnetoCalibrationStateChanged](#0-14-3) is triggered with the current calibration state: a list of all axis and their calibration states.\n It will also trigger [MagnetoCalibrationAxisToCalibrateChanged](#0-14-2), that will inform the controller about the current axis to calibrate.,

const CommonCalibrationCmdPitotCalibration CmdDef = 1

title : Start/Abort Pitot calibration, desc : Start or abort Pitot tube calibration process.\n, support : 090e:1.1.0, result : The pitot calibration process is started or aborted. Then, event [PitotCalibrationStateChanged](#0-14-4) is triggered with the current calibration state.,

const CommonCalibrationStateCmdMagnetoCalibrationAxisToCalibrateChanged CmdDef = 2

title : Axis to calibrate during calibration process, desc : Axis to calibrate during calibration process., support : 0901;090c;090e;0914;0919, triggered : during the calibration process when the axis to calibrate changes.,

const CommonCalibrationStateCmdMagnetoCalibrationRequiredState CmdDef = 1

title : Calibration required, desc : Calibration required., support : 0901;090c;090e;0914;0919, triggered : when the calibration requirement changes.,

const CommonCalibrationStateCmdMagnetoCalibrationStartedChanged CmdDef = 3

title : Calibration process state, desc : Calibration process state., support : 0901;090c;090e;0914;0919, triggered : by [StartOrAbortMagnetoCalib](#0-13-0) or when the process ends because it succeeded.,

const CommonCalibrationStateCmdMagnetoCalibrationStateChanged CmdDef = 0

*** [common CalibrationState] title : Magneto calib process axis state, desc : Magneto calib process axis state., support : 0901;090c;090e;0914;0919, triggered : when the calibration process is started with [StartOrAbortMagnetoCalib](#0-13-0) and each time an axis calibration state changes.,

const CommonCalibrationStateCmdPitotCalibrationStateChanged CmdDef = 4
const CommonCameraSettingsStateCmdCameraSettingsChanged CmdDef = 0

*** [common CameraSettingsState] title : Camera info, desc : Camera info., support : 0901;090c;090e, triggered : at connection.,

const CommonChargerCmdSetMaxChargeRate CmdDef = 0

*** [common Charger] title : Set max charge rate, desc : The product will inform itself the controller about its charging type (see [ChargingInfoChanged](#0-29-3))., support : none, result : None.,

const CommonChargerStateCmdChargingInfo CmdDef = 3

title : Charging information, desc : Charging information., support : 0905;0906;0907;0909;090a, triggered : when the product is charging or when the charging state changes.,

const CommonChargerStateCmdCurrentChargeStateChanged CmdDef = 1

title : Current charge state, desc : Current charge state.,

const CommonChargerStateCmdLastChargeRateChanged CmdDef = 2

title : Last charge rate, desc : Last charge rate.,

const CommonChargerStateCmdMaxChargeRateChanged CmdDef = 0

*** [common ChargerState] title : Max charge rate, desc : Max charge rate.,

const CommonCommonCmdAllStates CmdDef = 0

*** [common Common] title : Ask for all states, desc : Ask for all states.\n\n **Please note that you should not send this command if you are using the\n libARController API as this library is handling the connection process for you.**, support : drones, result : The product will trigger all states events (such as [FlyingState](#1-4-1) for the Bebop).\n Then, it will trigger [AllStatesEnd](#0-5-0).,

const CommonCommonCmdCurrentDate CmdDef = 1

title : Set the date, desc : Set the date.\n This date is taken by the drone as its own date.\n So medias and other files will be dated from this date\n\n **Please note that you should not send this command if you are using the\n libARController API as this library is handling the connection process for you.**, support : drones, result : The date of the product is set.\n Then, it will trigger [DateChanged](#0-5-4).,

const CommonCommonCmdCurrentDateTime CmdDef = 4

title : Set the datetime, desc : Set both the date and the time with only one command.\n If using this command, do not use [CurrentDate](#0-4-1) and [CurrentTime](#0-4-2) commands.\n This datetime is taken by the drone as its own datetime.\n So medias and other files will be dated from this datetime\n\n **Please note that you should not send this command if you are using the\n libARController API as this library is handling the connection process for you.**, support : 0914;0919, result : The datetime of the product is set.\n Then, it will trigger [CurrentDateTimeChanged](#0-5-15).,

const CommonCommonCmdCurrentTime CmdDef = 2

title : Set the time, desc : Set the time.\n This time is taken by the drone as its own time.\n So medias and other files will be dated from this time\n\n **Please note that you should not send this command if you are using the\n libARController API as this library is handling the connection process for you.**, support : drones, result : The time of the product is set.\n Then, it will trigger [TimeChanged](#0-5-5).,

const CommonCommonCmdReboot CmdDef = 3

title : Reboot, desc : Reboot the product.\n The product will accept this command only if is not flying., support : drones, result : The product will reboot if it can.,

const CommonCommonStateCmdAllStatesChanged CmdDef = 0

*** [common CommonState] title : All states have been sent, desc : All states have been sent.\n\n **Please note that you should not care about this event if you are using the libARController API as this library is handling the connection process for you.**, support : drones, triggered : when all states values have been sent.,

const CommonCommonStateCmdBatteryStateChanged CmdDef = 1

title : Battery state, desc : Battery state., support : drones, triggered : when the battery level changes.,

const CommonCommonStateCmdBootId CmdDef = 17

title : Current Drone Boot id, desc : Current Drone Boot id.\n A Boot Id identifies a drone session and do not change between drone power on and power off.\n Also, each medias contains the Boot Id., support : 0914;0919, triggered : At connection.,

const CommonCommonStateCmdCountryListKnown CmdDef = 10

title : Country list, desc : List of countries known by the drone.,

const CommonCommonStateCmdCurrentDateChanged CmdDef = 4

title : Date changed, desc : Date changed.\n Corresponds to the latest date set on the drone.\n\n **Please note that you should not care about this event if you are using the libARController API as this library is handling the connection process for you.**, support : drones, triggered : by [SetDate](#0-4-1).,

const CommonCommonStateCmdCurrentDateTimeChanged CmdDef = 15

title : Datetime changed, desc : Both date and time changed.\n Corresponds to the latest datetime set on the drone.\n\n **Please note that you should not care about this event if you are using the libARController API as this library is handling the connection process for you.**, support : 0914;0919, triggered : by [CurrentDateTime](#0-4-4).,

const CommonCommonStateCmdCurrentTimeChanged CmdDef = 5

title : Time changed, desc : Time changed.\n Corresponds to the latest time set on the drone.\n\n **Please note that you should not care about this event if you are using the libARController API as this library is handling the connection process for you.**, support : drones, triggered : by [SetTime](#0-4-2).,

const CommonCommonStateCmdDeprecatedMassStorageContentChanged CmdDef = 11

title : Mass storage content changed, desc : Mass storage content changed.,

const CommonCommonStateCmdLinkSignalQuality CmdDef = 16

title : Link signal quality, desc : Link signal quality. Gives a overal indication of the radio link quality, support : 0914;0919, triggered : when the link signal quality changes.,

const CommonCommonStateCmdMassStorageContent CmdDef = 12

title : Mass storage content, desc : Mass storage content., support : 090c:4.0.0;090e:4.0.0, triggered : when the content of the mass storage changes.,

const CommonCommonStateCmdMassStorageContentForCurrentRun CmdDef = 13

title : Mass storage content for current run, desc : Mass storage content for current run.\n Only counts the files related to the current run (see [RunId](#0-30-0)), support : 090c:4.0.0;090e:4.0.0, triggered : when the content of the mass storage changes and this content is related to the current run.,

const CommonCommonStateCmdMassStorageInfoRemainingListChanged CmdDef = 6

title : Mass storage remaining data list, desc : Mass storage remaining data list.,

const CommonCommonStateCmdMassStorageInfoStateListChanged CmdDef = 3

title : Mass storage info state list, desc : Mass storage info state list., support : drones, triggered : when a mass storage info changes.,

const CommonCommonStateCmdMassStorageStateListChanged CmdDef = 2

title : Mass storage state list, desc : Mass storage state list., support : drones, triggered : when a mass storage is inserted or ejected.,

const CommonCommonStateCmdProductModel CmdDef = 9

title : Product sub-model, desc : Product sub-model.\n This can be used to customize the UI depending on the product., support : 0905;0906;0907;0909, triggered : at connection.,

const CommonCommonStateCmdSensorsStatesListChanged CmdDef = 8

title : Sensors state list, desc : Sensors state list., support : 0901:2.0.3;0902;0905;0906;0907;0909;090a;090c;090e;0914;0919, triggered : at connection and when a sensor state changes.,

const CommonCommonStateCmdVideoRecordingTimestamp CmdDef = 14

title : Video recording timestamp, desc : Current or last video recording timestamp.\n Timestamp in milliseconds since 00:00:00 UTC on 1 January 1970.\n **Please note that values don't persist after drone reboot**, triggered : on video recording start and video recording stop or \n after that the date/time of the drone changed.,

const CommonCommonStateCmdWifiSignalChanged CmdDef = 7

title : Rssi changed, desc : Rssi (Wifi Signal between controller and product) changed., support : 0901;0902;0905;0906;090c;090e, triggered : regularly.,

const CommonControllerCmdIsPiloting CmdDef = 0

*** [common Controller] title : Inform about hud entering, desc : Inform about hud entering.\n Tell the drone that the controller enters/leaves the piloting hud.\n On a non-flying products it is used to know when a run begins., support : drones, result : If yes, the product will begin a new session (so it should send a new [runId](#0-30-0)).\n Also, on the JumpingSumos, if the video is in autorecord mode, it will start recording.,

const CommonControllerCmdPeerStateChanged CmdDef = 1

title : A SDK peer has connected/disconnected, desc : A SDK peer (ie FreeFlight) has connected/disconnected to the Skycontroller.\n This is only meant to be sent by the Skycontroller, as it is acting as a proxy., support : 0918, triggered : at connection and when the peer state changes.,

const CommonFactoryCmdReset CmdDef = 0

*** [common Factory] title : Reset the product to its factory settings, desc : This command will request a factory reset from the prodcut. *The factory reset procedure implies an automatic reboot*, which will be done immediately after receiving this command., result : The product will reboot, all settings will be reset to their default values. All data on the product will also be erased., support : 0914;0919,

const CommonFlightPlanEventCmdSpeedBridleEvent CmdDef = 1

title : FlightPlan speed clamping, desc : FlightPlan speed clamping.\n Sent when a speed specified in the FlightPlan file is considered too high by the drone.\n\n **This event is a notification, you can't retrieve it in the cache of the device controller.**, support : none, triggered : on an speed related clamping after a [StartFlightPlan](#0-11-0).,

const CommonFlightPlanEventCmdStartingErrorEvent CmdDef = 0

*** [common FlightPlanEvent] title : FlightPlan start error, desc : FlightPlan start error.\n\n **This event is a notification, you can't retrieve it in the cache of the device controller.**, support : 0901:2.0.29;090c;090e, triggered : on an error after a [StartFlightPlan](#0-11-0).,

const CommonFlightPlanSettingsCmdReturnHomeOnDisconnect CmdDef = 0

*** [common FlightPlanSettings] title : Set ReturnHome behavior during FlightPlan, desc : Set ReturnHome behavior during FlightPlan\n When set, drone will return home, after return home delay, if a disconnection occurs during execution of FlightPlan, support : 0901:4.1.0;090c:4.1.0;090e:1.4.0, result : The return home mode is enabled or disabled.\n Then, event [ReturnHomeOnDisconnectionChanged](#0-33-0) is triggered.,

const CommonFlightPlanSettingsStateCmdReturnHomeOnDisconnectChanged CmdDef = 0

*** [common FlightPlanSettingsState] title : ReturnHome behavior during FlightPlan, desc : Define behavior of drone when disconnection occurs during a flight plan, support : 0901:4.1.0;090c:4.1.0;090e:1.4.0, triggered : by [setReturnHomeOnDisconnectMode](#0-32-0).,

const CommonFlightPlanStateCmdAvailabilityStateChanged CmdDef = 0

*** [common FlightPlanState] title : FlightPlan availability, desc : FlightPlan availability.\n Availability is linked to GPS fix, magnetometer calibration, sensor states..., support : 0901:2.0.29;090c;090e;0914;0919, triggered : on change.,

const CommonFlightPlanStateCmdComponentStateListChanged CmdDef = 1

title : FlightPlan components state list, desc : FlightPlan components state list., support : 0901:2.0.29;090c;090e;0914;0919, triggered : when the state of required components changes. \n GPS component is triggered when the availability of the GPS of the drone changes. \n Calibration component is triggered when the calibration state of the drone sensors changes \n Mavlink_File component is triggered when the command [StartFlightPlan](#0-11-0) is received. \n Takeoff component is triggered when the drone needs to take-off to continue the FlightPlan. \n WaypointsBeyondGeofence component is triggered when the command [StartFlightPlan](#0-11-0) is received.,

const CommonFlightPlanStateCmdLockStateChanged CmdDef = 2

title : FlightPlan lock state, desc : FlightPlan lock state.\n Represents the fact that the controller is able or not to stop or pause a playing FlightPlan, support : 0901:2.0.29;090c;090e, triggered : when the lock changes.,

const CommonGPSCmdControllerPositionForRun CmdDef = 0

*** [common GPS] title : Set the position of a run, desc : Set the position of a run.\n This will let the product know the controller location for the flight/run. The location is typically used to geotag medias.\n Only used on products that have no gps.\n Watch out, this command is not used by BLE products., support : 0902;0905;0906, result : The position is set.,

const CommonHeadlightsCmdIntensity CmdDef = 0

*** [common Headlights] title : Set LEDs intensity, desc : Set lighting LEDs intensity., support : 0905;0906;0907, result : The intensity of the LEDs is changed.\n Then, event [LedIntensity](#0-23-0) is triggered.,

const CommonHeadlightsStateCmdIntensityChanged CmdDef = 0

*** [common HeadlightsState] title : LEDs intensity, desc : Lighting LEDs intensity., support : 0905;0906;0907, triggered : by [SetLedsIntensity](#0-22-0).,

const CommonMavlinkCmdPause CmdDef = 1

title : Pause a FlightPlan, desc : Pause a FlightPlan that was playing.\n To unpause a FlightPlan, see [StartFlightPlan](#0-11-0)\n, support : 0901:2.0.29;090c;090e;0914;0919, result : The currently playing FlightPlan will be paused. Then, event [FlightPlanPlayingStateChanged](#0-12-0) is triggered with param state set to the current state of the FlightPlan (should be *paused* if everything went well).,

const CommonMavlinkCmdStart CmdDef = 0

*** [common Mavlink] title : Start a FlightPlan, desc : Start a FlightPlan based on a mavlink file existing on the drone.\n\n Requirements are:\n * Product is calibrated\n * Product should be in outdoor mode\n * Product has fixed its GPS\n, support : 0901:2.0.29;090c;090e;0914;0919, result : If the FlightPlan has been started, event [FlightPlanPlayingStateChanged](#0-12-0) is triggered with param state set to *playing*.\n Otherwise, event [FlightPlanPlayingStateChanged](#0-12-0) is triggered with param state set to stopped and event [MavlinkPlayErrorStateChanged](#0-12-1) is triggered with an explanation of the error.,

const CommonMavlinkCmdStop CmdDef = 2

title : Stop a FlightPlan, desc : Stop a FlightPlan that was playing.\n, support : 0901:2.0.29;090c;090e;0914;0919, result : The currently playing FlightPlan will be stopped. Then, event [FlightPlanPlayingStateChanged](#0-12-0) is triggered with param state set to the current state of the FlightPlan (should be *stopped* if everything went well).,

const CommonMavlinkStateCmdMavlinkFilePlayingStateChanged CmdDef = 0

*** [common MavlinkState] title : Playing state of a FlightPlan, desc : Playing state of a FlightPlan., support : 0901:2.0.29;090c;090e;0914;0919, triggered : by [StartFlightPlan](#0-11-0), [PauseFlightPlan](#0-11-1) or [StopFlightPlan](#0-11-2).,

const CommonMavlinkStateCmdMavlinkPlayErrorStateChanged CmdDef = 1

title : FlightPlan error, desc : FlightPlan error., support : 0901:2.0.29;090c;090e, triggered : by [StartFlightPlan](#0-11-0) if an error occurs.,

const CommonMavlinkStateCmdMissionItemExecuted CmdDef = 2

title : Mission item executed, desc : Mission item has been executed., support : 090c:4.2.0;090e:1.4.0;0914;0919, triggered : when a mission item has been executed during a flight plan.,

const CommonNetworkCmdDisconnect CmdDef = 0

*** [common Network] title : Signals the remote that the host will disconnect, desc : Signals the remote that the host will disconnect.\n, support : none, result : None,

const CommonNetworkEventCmdDisconnection CmdDef = 0

*** [common NetworkEvent] title : Drone will disconnect, desc : Drone will disconnect.\n This event is mainly triggered when the user presses on the power button of the product.\n\n **This event is a notification, you can't retrieve it in the cache of the device controller.**, support : 0901;090c;0914;0919, triggered : mainly when the user presses the power button of the drone.,

const CommonOverHeatCmdSwitchOff CmdDef = 0

*** [common OverHeat] title : Switch off after an overheat, desc : Switch off after an overheat., support : none, result : None,

const CommonOverHeatCmdVentilate CmdDef = 1

title : Ventilate after an overheat, desc : Ventilate after an overheat., support : none, result : None,

const CommonOverHeatStateCmdOverHeatChanged CmdDef = 0

*** [common OverHeatState] title : Overheat, desc : Overheat temperature reached.,

const CommonOverHeatStateCmdOverHeatRegulationChanged CmdDef = 1

title : Overheat regulation type, desc : Overheat regulation type.,

const CommonRunStateCmdRunIdChanged CmdDef = 0

*** [common RunState] title : Current run id, desc : Current run id.\n A run id is uniquely identifying a run or a flight.\n For each run is generated on the drone a file which can be used by Academy to sum up the run.\n Also, each medias taken during a run has a filename containing the run id., support : 0901:3.0.1;090c;090e;0914;0919, triggered : when the drone generates a new run id (generally right after a take off).,

const CommonSettingsCmdAllSettings CmdDef = 0

*** [common Settings] title : Ask for all settings, desc : Ask for all settings.\n\n **Please note that you should not send this command if you are using the\n libARController API as this library is handling the connection process for you.**, support : drones, result : The product will trigger all settings events (such as [CameraSettings](#0-15-0), or product specific settings as the [MaxAltitude](#1-6-0) for the Bebop).\n Then, it will trigger [AllSettingsEnd](#0-3-0).,

const CommonSettingsCmdAutoCountry CmdDef = 4

title : Enable auto-country, desc : Enable auto-country.\n If auto-country is set, the drone will guess its Wifi country by itself by checking other Wifi country around it.\n **Please note that you might be disconnected from the product after changing the country as it changes Wifi parameters.**, support : 0901;0902;0905;0906;090c;090e, result : The auto-country of the product is changed.\n Then, it will trigger [AutoCountryChanged](#0-3-7) and [CountryChanged](#0-3-6).,

const CommonSettingsCmdCountry CmdDef = 3

title : Set the country, desc : Set the country for Wifi products.\n This can modify Wifi band and/or channel.\n **Please note that you might be disconnected from the product after changing the country as it changes Wifi parameters.**, support : 0901;0902;0905;0906;090c;090e, result : The country is set.\n Then, it will trigger [CountryChanged](#0-3-6).,

const CommonSettingsCmdProductName CmdDef = 2

title : Set product name, desc : Set the product name.\n It also sets the name of the SSID for Wifi products and advertisement name for BLE products (changed after a reboot of the product)., support : drones, result : Name is changed.\n Then, it will trigger [NameChanged](#0-3-2).,

const CommonSettingsCmdReset CmdDef = 1

title : Reset all settings, desc : Reset all settings., support : drones, result : It will trigger [ResetChanged](#0-3-1).\n Then, the product will trigger all settings events (such as [CameraSettings](#0-15-0), or product specific settings as the [MaxAltitude](#1-6-0) for the Bebop) with factory values.,

const CommonSettingsStateCmdAllSettingsChanged CmdDef = 0

*** [common SettingsState] title : All settings have been sent, desc : All settings have been sent.\n\n **Please note that you should not care about this event if you are using the libARController API as this library is handling the connection process for you.**, support : drones, triggered : when all settings values have been sent.,

const CommonSettingsStateCmdAutoCountryChanged CmdDef = 7

title : Auto-country changed, desc : Auto-country changed., support : drones, triggered : by [SetAutoCountry](#0-2-4).,

const CommonSettingsStateCmdBoardIdChanged CmdDef = 8

title : Board id, desc : Board id., support : drones, triggered : during the connection process.,

const CommonSettingsStateCmdCountryChanged CmdDef = 6

title : Country changed, desc : Country changed., support : drones, triggered : by [SetCountry](#0-2-3).,

const CommonSettingsStateCmdProductNameChanged CmdDef = 2

title : Product name changed, desc : Product name changed., support : drones, triggered : by [SetProductName](#0-2-2).,

const CommonSettingsStateCmdProductSerialHighChanged CmdDef = 4

title : Product serial (1st part), desc : Product serial (1st part)., support : drones, triggered : during the connection process.,

const CommonSettingsStateCmdProductSerialLowChanged CmdDef = 5

title : Product serial (2nd part), desc : Product serial (2nd part)., support : drones, triggered : during the connection process.,

const CommonSettingsStateCmdProductVersionChanged CmdDef = 3

title : Product version, desc : Product version., support : drones, triggered : during the connection process.,

const CommonSettingsStateCmdResetChanged CmdDef = 1

title : All settings have been reset, desc : All settings have been reset., support : drones, triggered : by [ResetSettings](#0-2-1).,

const CommonUpdateStateCmdUpdateStateChanged CmdDef = 0

*** [common UpdateState] title : Software update status, desc : Status of the latest software update, support : 0914;0919, triggered : at connection during the first boot after a firmware update.,

const CommonWifiSettingsCmdOutdoorSetting CmdDef = 0

*** [common WifiSettings] title : Set wifi outdoor mode, desc : Set wifi indoor/outdoor mode.\n **Please note that you might be disconnected from the product after changing the indoor/outdoor setting as it changes Wifi parameters.**, support : 0901;0902;0905;0906;090c;090e, result : The product change its indoor/outdoor wifi settings.\n Then, it will trigger [WifiOutdoorMode](#0-10-0).,

const CommonWifiSettingsStateCmdOutdoorSettingsChanged CmdDef = 0

*** [common WifiSettingsState] title : Wifi outdoor mode, desc : Wifi outdoor mode., support : 0901;0902;0905;0906;090c;090e, triggered : by [SetWifiOutdoorMode](#0-9-0).,

type Command

type Command struct {
	Project ProjectDef
	Class   ClassDef
	Cmd     CmdDef
}

type CommonARLibsVersionsStateControllerLibARCommandsVersion

type CommonARLibsVersionsStateControllerLibARCommandsVersion Command

func (CommonARLibsVersionsStateControllerLibARCommandsVersion) Decode

type CommonARLibsVersionsStateControllerLibARCommandsVersionArguments

type CommonARLibsVersionsStateControllerLibARCommandsVersionArguments struct {
	Version string
}

func (CommonARLibsVersionsStateControllerLibARCommandsVersionArguments) Encode

type CommonARLibsVersionsStateDeviceLibARCommandsVersion

type CommonARLibsVersionsStateDeviceLibARCommandsVersion Command

func (CommonARLibsVersionsStateDeviceLibARCommandsVersion) Decode

type CommonARLibsVersionsStateDeviceLibARCommandsVersionArguments

type CommonARLibsVersionsStateDeviceLibARCommandsVersionArguments struct {
	Version string
}

func (CommonARLibsVersionsStateDeviceLibARCommandsVersionArguments) Encode

type CommonARLibsVersionsStateSkyControllerLibARCommandsVersion

type CommonARLibsVersionsStateSkyControllerLibARCommandsVersion Command

func (CommonARLibsVersionsStateSkyControllerLibARCommandsVersion) Decode

type CommonARLibsVersionsStateSkyControllerLibARCommandsVersionArguments

type CommonARLibsVersionsStateSkyControllerLibARCommandsVersionArguments struct {
	Version string
}

func (CommonARLibsVersionsStateSkyControllerLibARCommandsVersionArguments) Encode

type CommonAccessoryConfig

type CommonAccessoryConfig Command

func (CommonAccessoryConfig) Decode

func (a CommonAccessoryConfig) Decode(b []byte) interface{}

type CommonAccessoryConfigArguments

type CommonAccessoryConfigArguments struct {
	Accessory uint32
}

func (CommonAccessoryConfigArguments) Encode

func (a CommonAccessoryConfigArguments) Encode() []byte

type CommonAccessoryStateAccessoryConfigChanged

type CommonAccessoryStateAccessoryConfigChanged Command

func (CommonAccessoryStateAccessoryConfigChanged) Decode

func (a CommonAccessoryStateAccessoryConfigChanged) Decode(b []byte) interface{}

type CommonAccessoryStateAccessoryConfigChangedArguments

type CommonAccessoryStateAccessoryConfigChangedArguments struct {
	NewAccessory uint32
	Error        uint32
}

func (CommonAccessoryStateAccessoryConfigChangedArguments) Encode

type CommonAccessoryStateAccessoryConfigModificationEnabled

type CommonAccessoryStateAccessoryConfigModificationEnabled Command

func (CommonAccessoryStateAccessoryConfigModificationEnabled) Decode

type CommonAccessoryStateAccessoryConfigModificationEnabledArguments

type CommonAccessoryStateAccessoryConfigModificationEnabledArguments struct {
	Enabled uint8
}

func (CommonAccessoryStateAccessoryConfigModificationEnabledArguments) Encode

type CommonAccessoryStateSupportedAccessoriesListChanged

type CommonAccessoryStateSupportedAccessoriesListChanged Command

func (CommonAccessoryStateSupportedAccessoriesListChanged) Decode

type CommonAccessoryStateSupportedAccessoriesListChangedArguments

type CommonAccessoryStateSupportedAccessoriesListChangedArguments struct {
	Accessory uint32
}

func (CommonAccessoryStateSupportedAccessoriesListChangedArguments) Encode

type CommonAnimationsStartAnimation

type CommonAnimationsStartAnimation Command

func (CommonAnimationsStartAnimation) Decode

func (a CommonAnimationsStartAnimation) Decode(b []byte) interface{}

type CommonAnimationsStartAnimationArguments

type CommonAnimationsStartAnimationArguments struct {
	Anim uint32
}

func (CommonAnimationsStartAnimationArguments) Encode

type CommonAnimationsStateList

type CommonAnimationsStateList Command

func (CommonAnimationsStateList) Decode

func (a CommonAnimationsStateList) Decode(b []byte) interface{}

type CommonAnimationsStateListArguments

type CommonAnimationsStateListArguments struct {
	Anim uint32
}

func (CommonAnimationsStateListArguments) Encode

type CommonAnimationsStopAllAnimations

type CommonAnimationsStopAllAnimations Command

func (CommonAnimationsStopAllAnimations) Decode

func (a CommonAnimationsStopAllAnimations) Decode(b []byte) interface{}

type CommonAnimationsStopAllAnimationsArguments

type CommonAnimationsStopAllAnimationsArguments struct {
}

func (CommonAnimationsStopAllAnimationsArguments) Encode

type CommonAnimationsStopAnimation

type CommonAnimationsStopAnimation Command

func (CommonAnimationsStopAnimation) Decode

func (a CommonAnimationsStopAnimation) Decode(b []byte) interface{}

type CommonAnimationsStopAnimationArguments

type CommonAnimationsStopAnimationArguments struct {
	Anim uint32
}

func (CommonAnimationsStopAnimationArguments) Encode

type CommonAudioControllerReadyForStreaming

type CommonAudioControllerReadyForStreaming Command

func (CommonAudioControllerReadyForStreaming) Decode

func (a CommonAudioControllerReadyForStreaming) Decode(b []byte) interface{}

type CommonAudioControllerReadyForStreamingArguments

type CommonAudioControllerReadyForStreamingArguments struct {
	Ready uint8
}

func (CommonAudioControllerReadyForStreamingArguments) Encode

type CommonAudioStateAudioStreamingRunning

type CommonAudioStateAudioStreamingRunning Command

func (CommonAudioStateAudioStreamingRunning) Decode

func (a CommonAudioStateAudioStreamingRunning) Decode(b []byte) interface{}

type CommonAudioStateAudioStreamingRunningArguments

type CommonAudioStateAudioStreamingRunningArguments struct {
	Running uint8
}

func (CommonAudioStateAudioStreamingRunningArguments) Encode

type CommonCalibrationMagnetoCalibration

type CommonCalibrationMagnetoCalibration Command

func (CommonCalibrationMagnetoCalibration) Decode

func (a CommonCalibrationMagnetoCalibration) Decode(b []byte) interface{}

type CommonCalibrationMagnetoCalibrationArguments

type CommonCalibrationMagnetoCalibrationArguments struct {
	Calibrate uint8
}

func (CommonCalibrationMagnetoCalibrationArguments) Encode

type CommonCalibrationPitotCalibration

type CommonCalibrationPitotCalibration Command

func (CommonCalibrationPitotCalibration) Decode

func (a CommonCalibrationPitotCalibration) Decode(b []byte) interface{}

type CommonCalibrationPitotCalibrationArguments

type CommonCalibrationPitotCalibrationArguments struct {
	Calibrate uint8
}

func (CommonCalibrationPitotCalibrationArguments) Encode

type CommonCalibrationStateMagnetoCalibrationAxisToCalibrateChanged

type CommonCalibrationStateMagnetoCalibrationAxisToCalibrateChanged Command

func (CommonCalibrationStateMagnetoCalibrationAxisToCalibrateChanged) Decode

type CommonCalibrationStateMagnetoCalibrationAxisToCalibrateChangedArguments

type CommonCalibrationStateMagnetoCalibrationAxisToCalibrateChangedArguments struct {
	Axis uint32
}

func (CommonCalibrationStateMagnetoCalibrationAxisToCalibrateChangedArguments) Encode

type CommonCalibrationStateMagnetoCalibrationRequiredState

type CommonCalibrationStateMagnetoCalibrationRequiredState Command

func (CommonCalibrationStateMagnetoCalibrationRequiredState) Decode

type CommonCalibrationStateMagnetoCalibrationRequiredStateArguments

type CommonCalibrationStateMagnetoCalibrationRequiredStateArguments struct {
	Required uint8
}

func (CommonCalibrationStateMagnetoCalibrationRequiredStateArguments) Encode

type CommonCalibrationStateMagnetoCalibrationStartedChanged

type CommonCalibrationStateMagnetoCalibrationStartedChanged Command

func (CommonCalibrationStateMagnetoCalibrationStartedChanged) Decode

type CommonCalibrationStateMagnetoCalibrationStartedChangedArguments

type CommonCalibrationStateMagnetoCalibrationStartedChangedArguments struct {
	Started uint8
}

func (CommonCalibrationStateMagnetoCalibrationStartedChangedArguments) Encode

type CommonCalibrationStateMagnetoCalibrationStateChanged

type CommonCalibrationStateMagnetoCalibrationStateChanged Command

func (CommonCalibrationStateMagnetoCalibrationStateChanged) Decode

type CommonCalibrationStateMagnetoCalibrationStateChangedArguments

type CommonCalibrationStateMagnetoCalibrationStateChangedArguments struct {
	XAxisCalibration  uint8
	YAxisCalibration  uint8
	ZAxisCalibration  uint8
	CalibrationFailed uint8
}

func (CommonCalibrationStateMagnetoCalibrationStateChangedArguments) Encode

type CommonCalibrationStatePitotCalibrationStateChanged

type CommonCalibrationStatePitotCalibrationStateChanged Command

func (CommonCalibrationStatePitotCalibrationStateChanged) Decode

func (a CommonCalibrationStatePitotCalibrationStateChanged) Decode(b []byte) interface{}

type CommonCalibrationStatePitotCalibrationStateChangedArguments

type CommonCalibrationStatePitotCalibrationStateChangedArguments struct {
	State     uint32
	LastError uint8
}

func (CommonCalibrationStatePitotCalibrationStateChangedArguments) Encode

type CommonCameraSettingsStateCameraSettingsChanged

type CommonCameraSettingsStateCameraSettingsChanged Command

func (CommonCameraSettingsStateCameraSettingsChanged) Decode

func (a CommonCameraSettingsStateCameraSettingsChanged) Decode(b []byte) interface{}

type CommonCameraSettingsStateCameraSettingsChangedArguments

type CommonCameraSettingsStateCameraSettingsChangedArguments struct {
	Fov     float32
	PanMax  float32
	PanMin  float32
	TiltMax float32
	TiltMin float32
}

func (CommonCameraSettingsStateCameraSettingsChangedArguments) Encode

type CommonChargerSetMaxChargeRate

type CommonChargerSetMaxChargeRate Command

func (CommonChargerSetMaxChargeRate) Decode

func (a CommonChargerSetMaxChargeRate) Decode(b []byte) interface{}

type CommonChargerSetMaxChargeRateArguments

type CommonChargerSetMaxChargeRateArguments struct {
	Rate uint32
}

func (CommonChargerSetMaxChargeRateArguments) Encode

type CommonChargerStateChargingInfo

type CommonChargerStateChargingInfo Command

func (CommonChargerStateChargingInfo) Decode

func (a CommonChargerStateChargingInfo) Decode(b []byte) interface{}

type CommonChargerStateChargingInfoArguments

type CommonChargerStateChargingInfoArguments struct {
	Phase            uint32
	Rate             uint32
	Intensity        uint8
	FullChargingTime uint8
}

func (CommonChargerStateChargingInfoArguments) Encode

type CommonChargerStateCurrentChargeStateChanged

type CommonChargerStateCurrentChargeStateChanged Command

func (CommonChargerStateCurrentChargeStateChanged) Decode

func (a CommonChargerStateCurrentChargeStateChanged) Decode(b []byte) interface{}

type CommonChargerStateCurrentChargeStateChangedArguments

type CommonChargerStateCurrentChargeStateChangedArguments struct {
	Status uint32
	Phase  uint32
}

func (CommonChargerStateCurrentChargeStateChangedArguments) Encode

type CommonChargerStateLastChargeRateChanged

type CommonChargerStateLastChargeRateChanged Command

func (CommonChargerStateLastChargeRateChanged) Decode

func (a CommonChargerStateLastChargeRateChanged) Decode(b []byte) interface{}

type CommonChargerStateLastChargeRateChangedArguments

type CommonChargerStateLastChargeRateChangedArguments struct {
	Rate uint32
}

func (CommonChargerStateLastChargeRateChangedArguments) Encode

type CommonChargerStateMaxChargeRateChanged

type CommonChargerStateMaxChargeRateChanged Command

func (CommonChargerStateMaxChargeRateChanged) Decode

func (a CommonChargerStateMaxChargeRateChanged) Decode(b []byte) interface{}

type CommonChargerStateMaxChargeRateChangedArguments

type CommonChargerStateMaxChargeRateChangedArguments struct {
	Rate uint32
}

func (CommonChargerStateMaxChargeRateChangedArguments) Encode

type CommonCommonAllStates

type CommonCommonAllStates Command

func (CommonCommonAllStates) Decode

func (a CommonCommonAllStates) Decode(b []byte) interface{}

type CommonCommonAllStatesArguments

type CommonCommonAllStatesArguments struct {
}

func (CommonCommonAllStatesArguments) Encode

func (a CommonCommonAllStatesArguments) Encode() []byte

type CommonCommonCurrentDate

type CommonCommonCurrentDate Command

func (CommonCommonCurrentDate) Decode

func (a CommonCommonCurrentDate) Decode(b []byte) interface{}

type CommonCommonCurrentDateArguments

type CommonCommonCurrentDateArguments struct {
	Date string
}

func (CommonCommonCurrentDateArguments) Encode

type CommonCommonCurrentDateTime

type CommonCommonCurrentDateTime Command

func (CommonCommonCurrentDateTime) Decode

func (a CommonCommonCurrentDateTime) Decode(b []byte) interface{}

type CommonCommonCurrentDateTimeArguments

type CommonCommonCurrentDateTimeArguments struct {
	Datetime string
}

func (CommonCommonCurrentDateTimeArguments) Encode

type CommonCommonCurrentTime

type CommonCommonCurrentTime Command

func (CommonCommonCurrentTime) Decode

func (a CommonCommonCurrentTime) Decode(b []byte) interface{}

type CommonCommonCurrentTimeArguments

type CommonCommonCurrentTimeArguments struct {
	Time string
}

func (CommonCommonCurrentTimeArguments) Encode

type CommonCommonReboot

type CommonCommonReboot Command

func (CommonCommonReboot) Decode

func (a CommonCommonReboot) Decode(b []byte) interface{}

type CommonCommonRebootArguments

type CommonCommonRebootArguments struct {
}

func (CommonCommonRebootArguments) Encode

func (a CommonCommonRebootArguments) Encode() []byte

type CommonCommonStateAllStatesChanged

type CommonCommonStateAllStatesChanged Command

func (CommonCommonStateAllStatesChanged) Decode

func (a CommonCommonStateAllStatesChanged) Decode(b []byte) interface{}

type CommonCommonStateAllStatesChangedArguments

type CommonCommonStateAllStatesChangedArguments struct {
}

func (CommonCommonStateAllStatesChangedArguments) Encode

type CommonCommonStateBatteryStateChanged

type CommonCommonStateBatteryStateChanged Command

func (CommonCommonStateBatteryStateChanged) Decode

func (a CommonCommonStateBatteryStateChanged) Decode(b []byte) interface{}

type CommonCommonStateBatteryStateChangedArguments

type CommonCommonStateBatteryStateChangedArguments struct {
	Percent uint8
}

func (CommonCommonStateBatteryStateChangedArguments) Encode

type CommonCommonStateBootId

type CommonCommonStateBootId Command

func (CommonCommonStateBootId) Decode

func (a CommonCommonStateBootId) Decode(b []byte) interface{}

type CommonCommonStateBootIdArguments

type CommonCommonStateBootIdArguments struct {
	BootId string
}

func (CommonCommonStateBootIdArguments) Encode

type CommonCommonStateCountryListKnown

type CommonCommonStateCountryListKnown Command

func (CommonCommonStateCountryListKnown) Decode

func (a CommonCommonStateCountryListKnown) Decode(b []byte) interface{}

type CommonCommonStateCountryListKnownArguments

type CommonCommonStateCountryListKnownArguments struct {
	ListFlags    uint8
	CountryCodes string
}

func (CommonCommonStateCountryListKnownArguments) Encode

type CommonCommonStateCurrentDateChanged

type CommonCommonStateCurrentDateChanged Command

func (CommonCommonStateCurrentDateChanged) Decode

func (a CommonCommonStateCurrentDateChanged) Decode(b []byte) interface{}

type CommonCommonStateCurrentDateChangedArguments

type CommonCommonStateCurrentDateChangedArguments struct {
	Date string
}

func (CommonCommonStateCurrentDateChangedArguments) Encode

type CommonCommonStateCurrentDateTimeChanged

type CommonCommonStateCurrentDateTimeChanged Command

func (CommonCommonStateCurrentDateTimeChanged) Decode

func (a CommonCommonStateCurrentDateTimeChanged) Decode(b []byte) interface{}

type CommonCommonStateCurrentDateTimeChangedArguments

type CommonCommonStateCurrentDateTimeChangedArguments struct {
	Datetime string
}

func (CommonCommonStateCurrentDateTimeChangedArguments) Encode

type CommonCommonStateCurrentTimeChanged

type CommonCommonStateCurrentTimeChanged Command

func (CommonCommonStateCurrentTimeChanged) Decode

func (a CommonCommonStateCurrentTimeChanged) Decode(b []byte) interface{}

type CommonCommonStateCurrentTimeChangedArguments

type CommonCommonStateCurrentTimeChangedArguments struct {
	Time string
}

func (CommonCommonStateCurrentTimeChangedArguments) Encode

type CommonCommonStateDeprecatedMassStorageContentChanged

type CommonCommonStateDeprecatedMassStorageContentChanged Command

func (CommonCommonStateDeprecatedMassStorageContentChanged) Decode

type CommonCommonStateDeprecatedMassStorageContentChangedArguments

type CommonCommonStateDeprecatedMassStorageContentChangedArguments struct {
	Massstorageid uint8
	NbPhotos      uint16
	NbVideos      uint16
	NbPuds        uint16
	NbCrashLogs   uint16
}

func (CommonCommonStateDeprecatedMassStorageContentChangedArguments) Encode

type CommonCommonStateLinkSignalQuality

type CommonCommonStateLinkSignalQuality Command

func (CommonCommonStateLinkSignalQuality) Decode

func (a CommonCommonStateLinkSignalQuality) Decode(b []byte) interface{}

type CommonCommonStateLinkSignalQualityArguments

type CommonCommonStateLinkSignalQualityArguments struct {
	Value uint8
}

func (CommonCommonStateLinkSignalQualityArguments) Encode

type CommonCommonStateMassStorageContent

type CommonCommonStateMassStorageContent Command

func (CommonCommonStateMassStorageContent) Decode

func (a CommonCommonStateMassStorageContent) Decode(b []byte) interface{}

type CommonCommonStateMassStorageContentArguments

type CommonCommonStateMassStorageContentArguments struct {
	Massstorageid uint8
	NbPhotos      uint16
	NbVideos      uint16
	NbPuds        uint16
	NbCrashLogs   uint16
	NbRawPhotos   uint16
}

func (CommonCommonStateMassStorageContentArguments) Encode

type CommonCommonStateMassStorageContentForCurrentRun

type CommonCommonStateMassStorageContentForCurrentRun Command

func (CommonCommonStateMassStorageContentForCurrentRun) Decode

func (a CommonCommonStateMassStorageContentForCurrentRun) Decode(b []byte) interface{}

type CommonCommonStateMassStorageContentForCurrentRunArguments

type CommonCommonStateMassStorageContentForCurrentRunArguments struct {
	Massstorageid uint8
	NbPhotos      uint16
	NbVideos      uint16
	NbRawPhotos   uint16
}

func (CommonCommonStateMassStorageContentForCurrentRunArguments) Encode

type CommonCommonStateMassStorageInfoRemainingListChanged

type CommonCommonStateMassStorageInfoRemainingListChanged Command

func (CommonCommonStateMassStorageInfoRemainingListChanged) Decode

type CommonCommonStateMassStorageInfoRemainingListChangedArguments

type CommonCommonStateMassStorageInfoRemainingListChangedArguments struct {
	Freespace      uint32
	Rectime        uint16
	Photoremaining uint32
}

func (CommonCommonStateMassStorageInfoRemainingListChangedArguments) Encode

type CommonCommonStateMassStorageInfoStateListChanged

type CommonCommonStateMassStorageInfoStateListChanged Command

func (CommonCommonStateMassStorageInfoStateListChanged) Decode

func (a CommonCommonStateMassStorageInfoStateListChanged) Decode(b []byte) interface{}

type CommonCommonStateMassStorageInfoStateListChangedArguments

type CommonCommonStateMassStorageInfoStateListChangedArguments struct {
	Massstorageid uint8
	Size          uint32
	Usedsize      uint32
	Plugged       uint8
	Full          uint8
	Internal      uint8
}

func (CommonCommonStateMassStorageInfoStateListChangedArguments) Encode

type CommonCommonStateMassStorageStateListChanged

type CommonCommonStateMassStorageStateListChanged Command

func (CommonCommonStateMassStorageStateListChanged) Decode

func (a CommonCommonStateMassStorageStateListChanged) Decode(b []byte) interface{}

type CommonCommonStateMassStorageStateListChangedArguments

type CommonCommonStateMassStorageStateListChangedArguments struct {
	Massstorageid uint8
	Name          string
}

func (CommonCommonStateMassStorageStateListChangedArguments) Encode

type CommonCommonStateProductModel

type CommonCommonStateProductModel Command

func (CommonCommonStateProductModel) Decode

func (a CommonCommonStateProductModel) Decode(b []byte) interface{}

type CommonCommonStateProductModelArguments

type CommonCommonStateProductModelArguments struct {
	Model uint32
}

func (CommonCommonStateProductModelArguments) Encode

type CommonCommonStateSensorsStatesListChanged

type CommonCommonStateSensorsStatesListChanged Command

func (CommonCommonStateSensorsStatesListChanged) Decode

func (a CommonCommonStateSensorsStatesListChanged) Decode(b []byte) interface{}

type CommonCommonStateSensorsStatesListChangedArguments

type CommonCommonStateSensorsStatesListChangedArguments struct {
	SensorName  uint32
	SensorState uint8
}

func (CommonCommonStateSensorsStatesListChangedArguments) Encode

type CommonCommonStateVideoRecordingTimestamp

type CommonCommonStateVideoRecordingTimestamp Command

func (CommonCommonStateVideoRecordingTimestamp) Decode

func (a CommonCommonStateVideoRecordingTimestamp) Decode(b []byte) interface{}

type CommonCommonStateVideoRecordingTimestampArguments

type CommonCommonStateVideoRecordingTimestampArguments struct {
	StartTimestamp uint64
	StopTimestamp  uint64
}

func (CommonCommonStateVideoRecordingTimestampArguments) Encode

type CommonCommonStateWifiSignalChanged

type CommonCommonStateWifiSignalChanged Command

func (CommonCommonStateWifiSignalChanged) Decode

func (a CommonCommonStateWifiSignalChanged) Decode(b []byte) interface{}

type CommonCommonStateWifiSignalChangedArguments

type CommonCommonStateWifiSignalChangedArguments struct {
	Rssi int16
}

func (CommonCommonStateWifiSignalChangedArguments) Encode

type CommonControllerPeerStateChanged

type CommonControllerPeerStateChanged Command

func (CommonControllerPeerStateChanged) Decode

func (a CommonControllerPeerStateChanged) Decode(b []byte) interface{}

type CommonControllerPeerStateChangedArguments

type CommonControllerPeerStateChangedArguments struct {
	State    uint32
	TypeX    uint32
	PeerName string
	PeerId   string
	PeerType string
}

func (CommonControllerPeerStateChangedArguments) Encode

type CommonControllerisPiloting

type CommonControllerisPiloting Command

func (CommonControllerisPiloting) Decode

func (a CommonControllerisPiloting) Decode(b []byte) interface{}

type CommonControllerisPilotingArguments

type CommonControllerisPilotingArguments struct {
	Piloting uint8
}

func (CommonControllerisPilotingArguments) Encode

type CommonFactoryReset

type CommonFactoryReset Command

func (CommonFactoryReset) Decode

func (a CommonFactoryReset) Decode(b []byte) interface{}

type CommonFactoryResetArguments

type CommonFactoryResetArguments struct {
}

func (CommonFactoryResetArguments) Encode

func (a CommonFactoryResetArguments) Encode() []byte

type CommonFlightPlanEventSpeedBridleEvent

type CommonFlightPlanEventSpeedBridleEvent Command

func (CommonFlightPlanEventSpeedBridleEvent) Decode

func (a CommonFlightPlanEventSpeedBridleEvent) Decode(b []byte) interface{}

type CommonFlightPlanEventSpeedBridleEventArguments

type CommonFlightPlanEventSpeedBridleEventArguments struct {
}

func (CommonFlightPlanEventSpeedBridleEventArguments) Encode

type CommonFlightPlanEventStartingErrorEvent

type CommonFlightPlanEventStartingErrorEvent Command

func (CommonFlightPlanEventStartingErrorEvent) Decode

func (a CommonFlightPlanEventStartingErrorEvent) Decode(b []byte) interface{}

type CommonFlightPlanEventStartingErrorEventArguments

type CommonFlightPlanEventStartingErrorEventArguments struct {
}

func (CommonFlightPlanEventStartingErrorEventArguments) Encode

type CommonFlightPlanSettingsReturnHomeOnDisconnect

type CommonFlightPlanSettingsReturnHomeOnDisconnect Command

func (CommonFlightPlanSettingsReturnHomeOnDisconnect) Decode

func (a CommonFlightPlanSettingsReturnHomeOnDisconnect) Decode(b []byte) interface{}

type CommonFlightPlanSettingsReturnHomeOnDisconnectArguments

type CommonFlightPlanSettingsReturnHomeOnDisconnectArguments struct {
	Value uint8
}

func (CommonFlightPlanSettingsReturnHomeOnDisconnectArguments) Encode

type CommonFlightPlanSettingsStateReturnHomeOnDisconnectChanged

type CommonFlightPlanSettingsStateReturnHomeOnDisconnectChanged Command

func (CommonFlightPlanSettingsStateReturnHomeOnDisconnectChanged) Decode

type CommonFlightPlanSettingsStateReturnHomeOnDisconnectChangedArguments

type CommonFlightPlanSettingsStateReturnHomeOnDisconnectChangedArguments struct {
	State      uint8
	IsReadOnly uint8
}

func (CommonFlightPlanSettingsStateReturnHomeOnDisconnectChangedArguments) Encode

type CommonFlightPlanStateAvailabilityStateChanged

type CommonFlightPlanStateAvailabilityStateChanged Command

func (CommonFlightPlanStateAvailabilityStateChanged) Decode

func (a CommonFlightPlanStateAvailabilityStateChanged) Decode(b []byte) interface{}

type CommonFlightPlanStateAvailabilityStateChangedArguments

type CommonFlightPlanStateAvailabilityStateChangedArguments struct {
	AvailabilityState uint8
}

func (CommonFlightPlanStateAvailabilityStateChangedArguments) Encode

type CommonFlightPlanStateComponentStateListChanged

type CommonFlightPlanStateComponentStateListChanged Command

func (CommonFlightPlanStateComponentStateListChanged) Decode

func (a CommonFlightPlanStateComponentStateListChanged) Decode(b []byte) interface{}

type CommonFlightPlanStateComponentStateListChangedArguments

type CommonFlightPlanStateComponentStateListChangedArguments struct {
	Component uint32
	State     uint8
}

func (CommonFlightPlanStateComponentStateListChangedArguments) Encode

type CommonFlightPlanStateLockStateChanged

type CommonFlightPlanStateLockStateChanged Command

func (CommonFlightPlanStateLockStateChanged) Decode

func (a CommonFlightPlanStateLockStateChanged) Decode(b []byte) interface{}

type CommonFlightPlanStateLockStateChangedArguments

type CommonFlightPlanStateLockStateChangedArguments struct {
	LockState uint8
}

func (CommonFlightPlanStateLockStateChangedArguments) Encode

type CommonGPSControllerPositionForRun

type CommonGPSControllerPositionForRun Command

func (CommonGPSControllerPositionForRun) Decode

func (a CommonGPSControllerPositionForRun) Decode(b []byte) interface{}

type CommonGPSControllerPositionForRunArguments

type CommonGPSControllerPositionForRunArguments struct {
	Latitude  float64
	Longitude float64
}

func (CommonGPSControllerPositionForRunArguments) Encode

type CommonHeadlightsStateintensityChanged

type CommonHeadlightsStateintensityChanged Command

func (CommonHeadlightsStateintensityChanged) Decode

func (a CommonHeadlightsStateintensityChanged) Decode(b []byte) interface{}

type CommonHeadlightsStateintensityChangedArguments

type CommonHeadlightsStateintensityChangedArguments struct {
	Left  uint8
	Right uint8
}

func (CommonHeadlightsStateintensityChangedArguments) Encode

type CommonHeadlightsintensity

type CommonHeadlightsintensity Command

func (CommonHeadlightsintensity) Decode

func (a CommonHeadlightsintensity) Decode(b []byte) interface{}

type CommonHeadlightsintensityArguments

type CommonHeadlightsintensityArguments struct {
	Left  uint8
	Right uint8
}

func (CommonHeadlightsintensityArguments) Encode

type CommonMavlinkPause

type CommonMavlinkPause Command

func (CommonMavlinkPause) Decode

func (a CommonMavlinkPause) Decode(b []byte) interface{}

type CommonMavlinkPauseArguments

type CommonMavlinkPauseArguments struct {
}

func (CommonMavlinkPauseArguments) Encode

func (a CommonMavlinkPauseArguments) Encode() []byte

type CommonMavlinkStart

type CommonMavlinkStart Command

func (CommonMavlinkStart) Decode

func (a CommonMavlinkStart) Decode(b []byte) interface{}

type CommonMavlinkStartArguments

type CommonMavlinkStartArguments struct {
	Filepath string
	TypeX    uint32
}

func (CommonMavlinkStartArguments) Encode

func (a CommonMavlinkStartArguments) Encode() []byte

type CommonMavlinkStateMavlinkFilePlayingStateChanged

type CommonMavlinkStateMavlinkFilePlayingStateChanged Command

func (CommonMavlinkStateMavlinkFilePlayingStateChanged) Decode

func (a CommonMavlinkStateMavlinkFilePlayingStateChanged) Decode(b []byte) interface{}

type CommonMavlinkStateMavlinkFilePlayingStateChangedArguments

type CommonMavlinkStateMavlinkFilePlayingStateChangedArguments struct {
	State    uint32
	Filepath string
	TypeX    uint32
}

func (CommonMavlinkStateMavlinkFilePlayingStateChangedArguments) Encode

type CommonMavlinkStateMavlinkPlayErrorStateChanged

type CommonMavlinkStateMavlinkPlayErrorStateChanged Command

func (CommonMavlinkStateMavlinkPlayErrorStateChanged) Decode

func (a CommonMavlinkStateMavlinkPlayErrorStateChanged) Decode(b []byte) interface{}

type CommonMavlinkStateMavlinkPlayErrorStateChangedArguments

type CommonMavlinkStateMavlinkPlayErrorStateChangedArguments struct {
	Error uint32
}

func (CommonMavlinkStateMavlinkPlayErrorStateChangedArguments) Encode

type CommonMavlinkStateMissionItemExecuted

type CommonMavlinkStateMissionItemExecuted Command

func (CommonMavlinkStateMissionItemExecuted) Decode

func (a CommonMavlinkStateMissionItemExecuted) Decode(b []byte) interface{}

type CommonMavlinkStateMissionItemExecutedArguments

type CommonMavlinkStateMissionItemExecutedArguments struct {
	Idx uint32
}

func (CommonMavlinkStateMissionItemExecutedArguments) Encode

type CommonMavlinkStop

type CommonMavlinkStop Command

func (CommonMavlinkStop) Decode

func (a CommonMavlinkStop) Decode(b []byte) interface{}

type CommonMavlinkStopArguments

type CommonMavlinkStopArguments struct {
}

func (CommonMavlinkStopArguments) Encode

func (a CommonMavlinkStopArguments) Encode() []byte

type CommonNetworkDisconnect

type CommonNetworkDisconnect Command

func (CommonNetworkDisconnect) Decode

func (a CommonNetworkDisconnect) Decode(b []byte) interface{}

type CommonNetworkDisconnectArguments

type CommonNetworkDisconnectArguments struct {
}

func (CommonNetworkDisconnectArguments) Encode

type CommonNetworkEventDisconnection

type CommonNetworkEventDisconnection Command

func (CommonNetworkEventDisconnection) Decode

func (a CommonNetworkEventDisconnection) Decode(b []byte) interface{}

type CommonNetworkEventDisconnectionArguments

type CommonNetworkEventDisconnectionArguments struct {
	Cause uint32
}

func (CommonNetworkEventDisconnectionArguments) Encode

type CommonOverHeatStateOverHeatChanged

type CommonOverHeatStateOverHeatChanged Command

func (CommonOverHeatStateOverHeatChanged) Decode

func (a CommonOverHeatStateOverHeatChanged) Decode(b []byte) interface{}

type CommonOverHeatStateOverHeatChangedArguments

type CommonOverHeatStateOverHeatChangedArguments struct {
}

func (CommonOverHeatStateOverHeatChangedArguments) Encode

type CommonOverHeatStateOverHeatRegulationChanged

type CommonOverHeatStateOverHeatRegulationChanged Command

func (CommonOverHeatStateOverHeatRegulationChanged) Decode

func (a CommonOverHeatStateOverHeatRegulationChanged) Decode(b []byte) interface{}

type CommonOverHeatStateOverHeatRegulationChangedArguments

type CommonOverHeatStateOverHeatRegulationChangedArguments struct {
	RegulationType uint8
}

func (CommonOverHeatStateOverHeatRegulationChangedArguments) Encode

type CommonOverHeatSwitchOff

type CommonOverHeatSwitchOff Command

func (CommonOverHeatSwitchOff) Decode

func (a CommonOverHeatSwitchOff) Decode(b []byte) interface{}

type CommonOverHeatSwitchOffArguments

type CommonOverHeatSwitchOffArguments struct {
}

func (CommonOverHeatSwitchOffArguments) Encode

type CommonOverHeatVentilate

type CommonOverHeatVentilate Command

func (CommonOverHeatVentilate) Decode

func (a CommonOverHeatVentilate) Decode(b []byte) interface{}

type CommonOverHeatVentilateArguments

type CommonOverHeatVentilateArguments struct {
}

func (CommonOverHeatVentilateArguments) Encode

type CommonRunStateRunIdChanged

type CommonRunStateRunIdChanged Command

func (CommonRunStateRunIdChanged) Decode

func (a CommonRunStateRunIdChanged) Decode(b []byte) interface{}

type CommonRunStateRunIdChangedArguments

type CommonRunStateRunIdChangedArguments struct {
	RunId string
}

func (CommonRunStateRunIdChangedArguments) Encode

type CommonSettingsAllSettings

type CommonSettingsAllSettings Command

func (CommonSettingsAllSettings) Decode

func (a CommonSettingsAllSettings) Decode(b []byte) interface{}

type CommonSettingsAllSettingsArguments

type CommonSettingsAllSettingsArguments struct {
}

func (CommonSettingsAllSettingsArguments) Encode

type CommonSettingsAutoCountry

type CommonSettingsAutoCountry Command

func (CommonSettingsAutoCountry) Decode

func (a CommonSettingsAutoCountry) Decode(b []byte) interface{}

type CommonSettingsAutoCountryArguments

type CommonSettingsAutoCountryArguments struct {
	Automatic uint8
}

func (CommonSettingsAutoCountryArguments) Encode

type CommonSettingsCountry

type CommonSettingsCountry Command

func (CommonSettingsCountry) Decode

func (a CommonSettingsCountry) Decode(b []byte) interface{}

type CommonSettingsCountryArguments

type CommonSettingsCountryArguments struct {
	Code string
}

func (CommonSettingsCountryArguments) Encode

func (a CommonSettingsCountryArguments) Encode() []byte

type CommonSettingsProductName

type CommonSettingsProductName Command

func (CommonSettingsProductName) Decode

func (a CommonSettingsProductName) Decode(b []byte) interface{}

type CommonSettingsProductNameArguments

type CommonSettingsProductNameArguments struct {
	Name string
}

func (CommonSettingsProductNameArguments) Encode

type CommonSettingsReset

type CommonSettingsReset Command

func (CommonSettingsReset) Decode

func (a CommonSettingsReset) Decode(b []byte) interface{}

type CommonSettingsResetArguments

type CommonSettingsResetArguments struct {
}

func (CommonSettingsResetArguments) Encode

func (a CommonSettingsResetArguments) Encode() []byte

type CommonSettingsStateAllSettingsChanged

type CommonSettingsStateAllSettingsChanged Command

func (CommonSettingsStateAllSettingsChanged) Decode

func (a CommonSettingsStateAllSettingsChanged) Decode(b []byte) interface{}

type CommonSettingsStateAllSettingsChangedArguments

type CommonSettingsStateAllSettingsChangedArguments struct {
}

func (CommonSettingsStateAllSettingsChangedArguments) Encode

type CommonSettingsStateAutoCountryChanged

type CommonSettingsStateAutoCountryChanged Command

func (CommonSettingsStateAutoCountryChanged) Decode

func (a CommonSettingsStateAutoCountryChanged) Decode(b []byte) interface{}

type CommonSettingsStateAutoCountryChangedArguments

type CommonSettingsStateAutoCountryChangedArguments struct {
	Automatic uint8
}

func (CommonSettingsStateAutoCountryChangedArguments) Encode

type CommonSettingsStateBoardIdChanged

type CommonSettingsStateBoardIdChanged Command

func (CommonSettingsStateBoardIdChanged) Decode

func (a CommonSettingsStateBoardIdChanged) Decode(b []byte) interface{}

type CommonSettingsStateBoardIdChangedArguments

type CommonSettingsStateBoardIdChangedArguments struct {
	Id string
}

func (CommonSettingsStateBoardIdChangedArguments) Encode

type CommonSettingsStateCountryChanged

type CommonSettingsStateCountryChanged Command

func (CommonSettingsStateCountryChanged) Decode

func (a CommonSettingsStateCountryChanged) Decode(b []byte) interface{}

type CommonSettingsStateCountryChangedArguments

type CommonSettingsStateCountryChangedArguments struct {
	Code string
}

func (CommonSettingsStateCountryChangedArguments) Encode

type CommonSettingsStateProductNameChanged

type CommonSettingsStateProductNameChanged Command

func (CommonSettingsStateProductNameChanged) Decode

func (a CommonSettingsStateProductNameChanged) Decode(b []byte) interface{}

type CommonSettingsStateProductNameChangedArguments

type CommonSettingsStateProductNameChangedArguments struct {
	Name string
}

func (CommonSettingsStateProductNameChangedArguments) Encode

type CommonSettingsStateProductSerialHighChanged

type CommonSettingsStateProductSerialHighChanged Command

func (CommonSettingsStateProductSerialHighChanged) Decode

func (a CommonSettingsStateProductSerialHighChanged) Decode(b []byte) interface{}

type CommonSettingsStateProductSerialHighChangedArguments

type CommonSettingsStateProductSerialHighChangedArguments struct {
	High string
}

func (CommonSettingsStateProductSerialHighChangedArguments) Encode

type CommonSettingsStateProductSerialLowChanged

type CommonSettingsStateProductSerialLowChanged Command

func (CommonSettingsStateProductSerialLowChanged) Decode

func (a CommonSettingsStateProductSerialLowChanged) Decode(b []byte) interface{}

type CommonSettingsStateProductSerialLowChangedArguments

type CommonSettingsStateProductSerialLowChangedArguments struct {
	Low string
}

func (CommonSettingsStateProductSerialLowChangedArguments) Encode

type CommonSettingsStateProductVersionChanged

type CommonSettingsStateProductVersionChanged Command

func (CommonSettingsStateProductVersionChanged) Decode

func (a CommonSettingsStateProductVersionChanged) Decode(b []byte) interface{}

type CommonSettingsStateProductVersionChangedArguments

type CommonSettingsStateProductVersionChangedArguments struct {
	Software string
	Hardware string
}

func (CommonSettingsStateProductVersionChangedArguments) Encode

type CommonSettingsStateResetChanged

type CommonSettingsStateResetChanged Command

func (CommonSettingsStateResetChanged) Decode

func (a CommonSettingsStateResetChanged) Decode(b []byte) interface{}

type CommonSettingsStateResetChangedArguments

type CommonSettingsStateResetChangedArguments struct {
}

func (CommonSettingsStateResetChangedArguments) Encode

type CommonUpdateStateUpdateStateChanged

type CommonUpdateStateUpdateStateChanged Command

func (CommonUpdateStateUpdateStateChanged) Decode

func (a CommonUpdateStateUpdateStateChanged) Decode(b []byte) interface{}

type CommonUpdateStateUpdateStateChangedArguments

type CommonUpdateStateUpdateStateChangedArguments struct {
	SourceVersion string
	TargetVersion string
	Status        uint32
}

func (CommonUpdateStateUpdateStateChangedArguments) Encode

type CommonWifiSettingsOutdoorSetting

type CommonWifiSettingsOutdoorSetting Command

func (CommonWifiSettingsOutdoorSetting) Decode

func (a CommonWifiSettingsOutdoorSetting) Decode(b []byte) interface{}

type CommonWifiSettingsOutdoorSettingArguments

type CommonWifiSettingsOutdoorSettingArguments struct {
	Outdoor uint8
}

func (CommonWifiSettingsOutdoorSettingArguments) Encode

type CommonWifiSettingsStateoutdoorSettingsChanged

type CommonWifiSettingsStateoutdoorSettingsChanged Command

func (CommonWifiSettingsStateoutdoorSettingsChanged) Decode

func (a CommonWifiSettingsStateoutdoorSettingsChanged) Decode(b []byte) interface{}

type CommonWifiSettingsStateoutdoorSettingsChangedArguments

type CommonWifiSettingsStateoutdoorSettingsChangedArguments struct {
	Outdoor uint8
}

func (CommonWifiSettingsStateoutdoorSettingsChangedArguments) Encode

type Decoder

type Decoder interface {
	Decode([]byte) interface{}
}

type Drone

type Drone struct {
	// contains filtered or unexported fields
}

Drone holds the data and methods specific for the drone.

func NewDrone

func NewDrone() *Drone

NewDrone will initalize all the variables needed for a drone, like ports used, ip adresses, etc.

func (*Drone) CheckLimitPcmdField

func (d *Drone) CheckLimitPcmdField(number int8) int8

CheckLimitPcmdField Will check if the number is within the correct limits, if above or below it will be adjusted, and the adjusted value will be returned. If it is within it's limits, it will be returned as is.

func (*Drone) Discover

func (d *Drone) Discover() error

Discover will initalize the connection with the drone.

func (*Drone) PcmdPacketScheduler

func (d *Drone) PcmdPacketScheduler(ctx context.Context)

PcmdPacketScheduler The idea here is for every time.After we check if there is a new received packet. If there is we passing it along on the d.chSendingUDPPacket channel, if there is nothing we just nothing and loop again. It will also drop packets if the chSendingUDPPacket channel is congested.

func (*Drone) Start

func (d *Drone) Start()

type Encoder

type Encoder interface {
	Encode() []byte
}

type GPS

type GPS struct {
	// contains filtered or unexported fields
}

GPS will hold all the current values of the current gps location, and also the coordinate to move to next if moveTo action have been issued.

func (*GPS) StartReadingPosition

func (g *GPS) StartReadingPosition()

StartHandling, start handling incomming gps packages, and fill the registers with the current location values.

type ProjectDef

type ProjectDef uint8
const ProjectArdrone3 ProjectDef = 1

All ARDrone3-only commands

const ProjectCommon ProjectDef = 0

All common commands shared between all projects

Jump to

Keyboard shortcuts

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