Documentation ¶
Index ¶
- type Geo
- func (geo *Geo) GetBearing() (float64, error)
- func (geo *Geo) GetCurrentPos() typenav.Pos
- func (geo *Geo) GetDistance() (float64, error)
- func (geo *Geo) GetTargetBearing() (float64, error)
- func (geo *Geo) GetTargetDistance() (float64, error)
- func (geo *Geo) IsStartPosValid() bool
- func (geo *Geo) SetCurrentPos(p typenav.Pos)
- func (geo *Geo) SetStartPos(p typenav.Pos)
- func (geo *Geo) SetTargetPos(p typenav.Pos)
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) GetCurrentPos ¶
func (*Geo) GetDistance ¶
func (*Geo) GetTargetBearing ¶
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) IsStartPosValid ¶
func (*Geo) SetCurrentPos ¶
func (*Geo) SetStartPos ¶
func (*Geo) SetTargetPos ¶
Click to show internal directories.
Click to hide internal directories.