bdscode

package
v0.4.1 Latest Latest
Warning

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

Go to latest
Published: Feb 13, 2023 License: GPL-3.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Code40

type Code40 struct {
	MCPSelectAltitudeStatus         bool   `json:"-"`
	MCPSelectAltitude               uint16 `json:"mcpSelectAltitude,omitempty"`
	FMSSelectAltitudeStatus         bool   `json:"-"`
	FMSSelectAltitude               uint16 `json:"fmsSelectAltitude,omitempty"`
	BarometricPressureSettingStatus bool   `json:"-"`
	BarometricPressureSetting       uint16 `json:"barometricPressureSetting,omitempty"`
	MCPModeBitsStatus               bool   `json:"-"`
	VNAVMode                        uint8  `json:"vnavMode,omitempty"`
	ALTHOLDMode                     uint8  `json:"altholdMode,omitempty"`
	APPROACHMode                    uint8  `json:"approachMode,omitempty"`
	TargetAltSourceBitsStatus       bool   `json:"-"`
	TargetAltSourceBits             uint8  `json:"targetAltSourceBits,omitempty"`
}

Code40 Selected vertical intention MCPSelectAltitude Range = [0, 65 520] feet FMSSelectAltitude Range = [0, 65 520] feet BarometricPressureSetting Range = [0, 410] mb TargetAltSourceBits

func (*Code40) Decode

func (c *Code40) Decode(data [7]byte) (err error)

type Code50

type Code50 struct {
	RollAngleStatus      bool   `json:"-"`
	RollAngle            int8   `json:"rollAngle,omitempty"`
	TrueTrackAngleStatus bool   `json:"-"`
	TrueTrackAngle       int8   `json:"trueTrackAngle,omitempty"`
	GroundSpeedStatus    bool   `json:"-"`
	GroundSpeed          uint16 `json:"groundSpeed,omitempty"`
	TrackAngleRateStatus bool   `json:"-"`
	TrackAngleRate       int8   `json:"trackAngleRate,omitempty"`
	TrueAirSpeedStatus   bool   `json:"-"`
	TrueAirSpeed         uint16 `json:"trueAirSpeed,omitempty"`
}

Code50 Track and turn report RollAngle Range = [–90, + 90] degrees TrueTrackAngle Range = [–180, +180] degrees GroundSpeed Range = [0, 2 046] knots TrackAngleRate Range = [–16, +16] degrees/second TrueAirSpeed Range = [0, 2 046] knots

func (*Code50) Decode

func (c *Code50) Decode(data [7]byte) (err error)

type Code60

type Code60 struct {
	MagneticHeading                int16   `json:"magneticHeading,omitempty"`
	MagneticHeadingStatus          bool    `json:"-"`
	IndicatedAirspeed              uint16  `json:"indicatedAirspeed,omitempty"`
	IndicatedAirspeedStatus        bool    `json:"-"`
	Mach                           float64 `json:"mach,omitempty"`
	MachStatus                     bool    `json:"-"`
	BarometricAltitudeRate         int16   `json:"barometricAltitudeRate,omitempty"`
	BarometricAltitudeRateStatus   bool    `json:"-"`
	InertialVerticalVelocity       int16   `json:"inertialVerticalVelocity,omitempty"`
	InertialVerticalVelocityStatus bool    `json:"-"`
}

Code60 Heading and speed report MagneticHeading Range = [–180, +180] degrees IndicatedAirspeed Range = [0, 1023] knots Mach Range = [0, 4.092] MACH BarometricAltitudeRate Range = [–16 384, +16 352] feet/minute InertialVerticalVelocity

func (*Code60) Decode

func (c *Code60) Decode(data [7]byte) (err error)

Jump to

Keyboard shortcuts

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