navigation

package
v0.0.0-...-3257b51 Latest Latest
Warning

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

Go to latest
Published: Dec 30, 2018 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ClearFMSEntry

func ClearFMSEntry(index int)

func CountFMSEntries

func CountFMSEntries() int

func GetDestinationFMSEntry

func GetDestinationFMSEntry() int

func GetDisplayedFMSEntry

func GetDisplayedFMSEntry() int

func GetFMSEntryInfo

func GetFMSEntryInfo(index int) (navType NavType, id string, navRef NavRef, alt int, lat, lon float32)

func SetDestinationFMSEntry

func SetDestinationFMSEntry(index int)

func SetDisplayedFMSEntry

func SetDisplayedFMSEntry(index int)

func SetFMSEntryInfo

func SetFMSEntryInfo(index int, navRef NavRef, altitude int)

func SetFMSEntryLatLon

func SetFMSEntryLatLon(index int, lat, lon float32, altitude int)

Types

type NavRef int
const NAV_NOT_FOUND NavRef = -1

func FindFirstNavAidOfType

func FindFirstNavAidOfType(navType NavType) NavRef

func FindLastNavAidOfType

func FindLastNavAidOfType(navType NavType) NavRef

func FindNavAid

func FindNavAid(nameFragment, idFrament string, lat, lon float32, freq int, navType NavType) NavRef

func GetFirstNavAid

func GetFirstNavAid() NavRef

func GetGPSDestination

func GetGPSDestination() NavRef

func GetNextNavAid

func GetNextNavAid(navAidRef NavRef) NavRef
type NavType int
const (
	Nav_Unknown      NavType = 0
	Nav_Airport      NavType = 1
	Nav_NDB          NavType = 2
	Nav_VOR          NavType = 4
	Nav_ILS          NavType = 8
	Nav_Localizer    NavType = 16
	Nav_GlideSlope   NavType = 32
	Nav_OuterMarker  NavType = 64
	Nav_MiddleMarker NavType = 128
	Nav_InnerMarker  NavType = 256
	Nav_Fix          NavType = 512
	Nav_DME          NavType = 1024
	Nav_LatLon       NavType = 2048
)

func GetGPSDestinationType

func GetGPSDestinationType() NavType

func GetNavAidInfo

func GetNavAidInfo(navAidRef NavRef) (navType NavType, lat, lon, height float32, frequency int, heading float32, id, name, reg string)

Jump to

Keyboard shortcuts

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