bds60

package
v0.7.0 Latest Latest
Warning

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

Go to latest
Published: Jun 27, 2024 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type HeadingAndTrackReport

type HeadingAndTrackReport struct {
	MagneticHeadingStatus         bool
	MagneticHeading               float32
	IndicatedAirSpeedStatus       bool
	IndicatedAirSpeed             uint32
	MachStatus                    bool
	Mach                          float32
	BarometricAltitudeRateStatus  bool
	BarometricAltitudeRate        int32
	InitialVerticalVelocityStatus bool
	InitialVerticalVelocity       int32
}

HeadingAndTrackReport is a message at the format BDS 5,0

Specified in Doc 9871 / Table A-2-48

func ReadHeadingAndSpeedReport

func ReadHeadingAndSpeedReport(data []byte) (*HeadingAndTrackReport, error)

ReadHeadingAndSpeedReport reads a message as a HeadingAndTrackReport

func (HeadingAndTrackReport) CheckCoherency

func (message HeadingAndTrackReport) CheckCoherency() error

CheckCoherency checks that the data of the message are somehow coherent, such as for example: no Reserved values, etc.

func (HeadingAndTrackReport) GetRegister

func (message HeadingAndTrackReport) GetRegister() register.Register

GetRegister returns the Register the message

func (HeadingAndTrackReport) ToString

func (message HeadingAndTrackReport) ToString() string

ToString returns a basic, but readable, representation of the message

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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