surface_position

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

func ReadSurfacePosition

func ReadSurfacePosition(adsbVersion adsb.ADSBVersion, data []byte, nicSupplementA bool, nicSupplementC bool) (adsb.Message, error)

ReadSurfacePosition reads a message at the format SurfacePosition

Types

type SurfacePositionV0

type SurfacePositionV0 struct {
	bds06.SurfacePosition
	HorizontalProtectionLimit fields.HorizontalProtectionLimit
	ContainmentRadius         fields.ContainmentRadius
}

func ReadSurfacePositionV0

func ReadSurfacePositionV0(data []byte) (*SurfacePositionV0, error)

ReadSurfacePositionV0 reads a message at the format SurfacePositionV0

func (SurfacePositionV0) CheckCoherency

func (message SurfacePositionV0) CheckCoherency() error

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

func (SurfacePositionV0) GetADSBVersion

func (message SurfacePositionV0) GetADSBVersion() adsb.ADSBVersion

GetADSBVersion returns the ADSB level used to read the data

func (SurfacePositionV0) ToString

func (message SurfacePositionV0) ToString() string

type SurfacePositionV1

type SurfacePositionV1 struct {
	bds06.SurfacePosition

	HorizontalContainmentRadius fields.HorizontalContainmentRadiusV1
	NavigationIntegrityCategory byte
	// contains filtered or unexported fields
}

func ReadSurfacePositionV1

func ReadSurfacePositionV1(data []byte, nicSupplementA bool) (*SurfacePositionV1, error)

ReadSurfacePositionV1 reads a message at the format SurfacePositionV1

func (SurfacePositionV1) CheckCoherency

func (message SurfacePositionV1) CheckCoherency() error

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

func (SurfacePositionV1) GetADSBVersion

func (message SurfacePositionV1) GetADSBVersion() adsb.ADSBVersion

GetADSBVersion returns the ADSB level used to read the data

func (SurfacePositionV1) ToString

func (message SurfacePositionV1) ToString() string

type SurfacePositionV2

type SurfacePositionV2 struct {
	bds06.SurfacePosition

	HorizontalContainmentRadius fields.HorizontalContainmentRadiusV2
	NavigationIntegrityCategory byte
	// contains filtered or unexported fields
}

func ReadSurfacePositionV2

func ReadSurfacePositionV2(data []byte, nicSupplementA bool, nicSupplementC bool) (*SurfacePositionV2, error)

ReadSurfacePositionV2 reads a message at the format SurfacePositionV2

func (SurfacePositionV2) CheckCoherency

func (message SurfacePositionV2) CheckCoherency() error

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

func (SurfacePositionV2) GetADSBVersion

func (message SurfacePositionV2) GetADSBVersion() adsb.ADSBVersion

GetADSBVersion returns the ADSB level used to read the data

func (SurfacePositionV2) ToString

func (message SurfacePositionV2) ToString() string

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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