geo

package
v0.0.0-...-3444db6 Latest Latest
Warning

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

Go to latest
Published: Jul 23, 2020 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Geo

type Geo struct {
	// contains filtered or unexported fields
}

func (*Geo) GetBearing

func (geo *Geo) GetBearing() (float64, error)

func (*Geo) GetCurrentPos

func (geo *Geo) GetCurrentPos() typenav.Pos

func (*Geo) GetDistance

func (geo *Geo) GetDistance() (float64, error)

func (*Geo) GetTargetBearing

func (geo *Geo) GetTargetBearing() (float64, error)

GetTargetBearing returns the bearing relative from current bearing to target bearing

0.00 = on way

-12.34 = target is left +12.34 = target is right

func (*Geo) GetTargetDistance

func (geo *Geo) GetTargetDistance() (float64, error)

func (*Geo) IsStartPosValid

func (geo *Geo) IsStartPosValid() bool

func (*Geo) SetCurrentPos

func (geo *Geo) SetCurrentPos(p typenav.Pos)

func (*Geo) SetStartPos

func (geo *Geo) SetStartPos(p typenav.Pos)

func (*Geo) SetTargetPos

func (geo *Geo) SetTargetPos(p typenav.Pos)

Jump to

Keyboard shortcuts

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