icarous

package
v2.2.0 Latest Latest
Warning

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

Go to latest
Published: Feb 29, 2024 License: MIT Imports: 4 Imported by: 0

Documentation

Overview

Package icarous contains the icarous dialect.

Index

Constants

This section is empty.

Variables

View Source
var Dialect = dial

Dialect contains the dialect definition.

Functions

This section is empty.

Types

type ICAROUS_FMS_STATE

type ICAROUS_FMS_STATE uint64
const (
	ICAROUS_FMS_STATE_IDLE     ICAROUS_FMS_STATE = 0
	ICAROUS_FMS_STATE_TAKEOFF  ICAROUS_FMS_STATE = 1
	ICAROUS_FMS_STATE_CLIMB    ICAROUS_FMS_STATE = 2
	ICAROUS_FMS_STATE_CRUISE   ICAROUS_FMS_STATE = 3
	ICAROUS_FMS_STATE_APPROACH ICAROUS_FMS_STATE = 4
	ICAROUS_FMS_STATE_LAND     ICAROUS_FMS_STATE = 5
)

func (ICAROUS_FMS_STATE) MarshalText

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

MarshalText implements the encoding.TextMarshaler interface.

func (ICAROUS_FMS_STATE) String

func (e ICAROUS_FMS_STATE) String() string

String implements the fmt.Stringer interface.

func (*ICAROUS_FMS_STATE) UnmarshalText

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

UnmarshalText implements the encoding.TextUnmarshaler interface.

type ICAROUS_TRACK_BAND_TYPES

type ICAROUS_TRACK_BAND_TYPES uint64
const (
	ICAROUS_TRACK_BAND_TYPE_NONE     ICAROUS_TRACK_BAND_TYPES = 0
	ICAROUS_TRACK_BAND_TYPE_NEAR     ICAROUS_TRACK_BAND_TYPES = 1
	ICAROUS_TRACK_BAND_TYPE_RECOVERY ICAROUS_TRACK_BAND_TYPES = 2
)

func (ICAROUS_TRACK_BAND_TYPES) MarshalText

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

MarshalText implements the encoding.TextMarshaler interface.

func (ICAROUS_TRACK_BAND_TYPES) String

func (e ICAROUS_TRACK_BAND_TYPES) String() string

String implements the fmt.Stringer interface.

func (*ICAROUS_TRACK_BAND_TYPES) UnmarshalText

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

UnmarshalText implements the encoding.TextUnmarshaler interface.

type MessageIcarousHeartbeat

type MessageIcarousHeartbeat struct {
	// See the FMS_STATE enum.
	Status ICAROUS_FMS_STATE `mavenum:"uint8"`
}

ICAROUS heartbeat

func (*MessageIcarousHeartbeat) GetID

GetID implements the message.Message interface.

type MessageIcarousKinematicBands

type MessageIcarousKinematicBands struct {
	// Number of track bands
	Numbands int8 `mavname:"numBands"`
	// See the TRACK_BAND_TYPES enum.
	Type1 ICAROUS_TRACK_BAND_TYPES `mavenum:"uint8"`
	// min angle (degrees)
	Min1 float32
	// max angle (degrees)
	Max1 float32
	// See the TRACK_BAND_TYPES enum.
	Type2 ICAROUS_TRACK_BAND_TYPES `mavenum:"uint8"`
	// min angle (degrees)
	Min2 float32
	// max angle (degrees)
	Max2 float32
	// See the TRACK_BAND_TYPES enum.
	Type3 ICAROUS_TRACK_BAND_TYPES `mavenum:"uint8"`
	// min angle (degrees)
	Min3 float32
	// max angle (degrees)
	Max3 float32
	// See the TRACK_BAND_TYPES enum.
	Type4 ICAROUS_TRACK_BAND_TYPES `mavenum:"uint8"`
	// min angle (degrees)
	Min4 float32
	// max angle (degrees)
	Max4 float32
	// See the TRACK_BAND_TYPES enum.
	Type5 ICAROUS_TRACK_BAND_TYPES `mavenum:"uint8"`
	// min angle (degrees)
	Min5 float32
	// max angle (degrees)
	Max5 float32
}

Kinematic multi bands (track) output from Daidalus

func (*MessageIcarousKinematicBands) GetID

GetID implements the message.Message interface.

Jump to

Keyboard shortcuts

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