autoquad

package
Version: v0.0.0-...-4f9df97 Latest Latest
Warning

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

Go to latest
Published: Feb 11, 2016 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

View Source
const (
	PROTOCOL_NAME    = "autoquad"
	PROTOCOL_VERSION = 3
	PROTOCOL_INCLUDE = common.PROTOCOL_NAME
)
View Source
const (
	AQ_NAV_STATUS_INIT            = 0 // System is initializing
	AQ_NAV_STATUS_STANDBY         = 0 // System is standing by, not active
	AQ_NAV_STATUS_MANUAL          = 0 // Stabilized, under full manual control
	AQ_NAV_STATUS_ALTHOLD         = 0 // Altitude hold engaged
	AQ_NAV_STATUS_POSHOLD         = 0 // Position hold engaged
	AQ_NAV_STATUS_DVH             = 0 // Dynamic Velocity Hold is active
	AQ_NAV_STATUS_MISSION         = 0 // Autonomous mission execution mode
	AQ_NAV_STATUS_FAILSAFE        = 0 // System is in failsafe recovery mode
	AQ_NAV_STATUS_RTH             = 0 // Automatic Return to Home is active
	AQ_NAV_STATUS_HF_LOCKED       = 0 // Heading-Free locked mode active
	AQ_NAV_STATUS_HF_DYNAMIC      = 0 // Heading-Free dynamic mode active
	AQ_NAV_STATUS_CEILING         = 0 // Ceiling altitude is set
	AQ_NAV_STATUS_CEILING_REACHED = 0 // Craft is at ceiling altitude
)

AUTOQUAD_NAV_STATUS: Available operating modes/statuses for AutoQuad flight controller.

Bitmask up to 32 bits. Low side bits for base modes, high side for
additional active features/modifiers/constraints.
View Source
const (
	MAV_CMD_AQ_TELEMETRY       = 2 // Start/stop AutoQuad telemetry values stream.
	MAV_CMD_AQ_FOLLOW          = 3 // Command AutoQuad to go to a particular place at a set speed.
	MAV_CMD_AQ_REQUEST_VERSION = 4 // Request AutoQuad firmware version number.
)

MAV_CMD:

Variables

This section is empty.

Functions

func Init

func Init()

Init initializes mavlink.ProtocolName, mavlink.ProtocolVersion, and mavlink.MessageFactory.

func MessageNameIDMap

func MessageNameIDMap() map[string]int

MessageNameIDMap returns a map from message name to message ID.

Types

type AqTelemetryF

type AqTelemetryF struct {
	Value1  float32 // value1
	Value2  float32 // value2
	Value3  float32 // value3
	Value4  float32 // value4
	Value5  float32 // value5
	Value6  float32 // value6
	Value7  float32 // value7
	Value8  float32 // value8
	Value9  float32 // value9
	Value10 float32 // value10
	Value11 float32 // value11
	Value12 float32 // value12
	Value13 float32 // value13
	Value14 float32 // value14
	Value15 float32 // value15
	Value16 float32 // value16
	Value17 float32 // value17
	Value18 float32 // value18
	Value19 float32 // value19
	Value20 float32 // value20
	Index   uint16  // Index of message
}

Sends up to 20 raw float values.

func (*AqTelemetryF) FieldsString

func (self *AqTelemetryF) FieldsString() string

func (*AqTelemetryF) String

func (self *AqTelemetryF) String() string

func (*AqTelemetryF) TypeCRCExtra

func (self *AqTelemetryF) TypeCRCExtra() uint8

func (*AqTelemetryF) TypeID

func (self *AqTelemetryF) TypeID() uint8

func (*AqTelemetryF) TypeName

func (self *AqTelemetryF) TypeName() string

func (*AqTelemetryF) TypeSize

func (self *AqTelemetryF) TypeSize() uint8

Source Files

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
t or T : Toggle theme light dark auto
y or Y : Canonical URL