Documentation ¶
Index ¶
- type Route
- func (rt *Route) GetNextWaypoint() (typenav.Pos, error)
- func (rt *Route) GetWaypoint(no int) (typenav.Pos, error)
- func (rt *Route) GetWaypointCnt() int
- func (rt *Route) GetWaypointNo() int
- func (rt *Route) Init(filePath string)
- func (rt *Route) NextWaypoint()
- func (rt *Route) OnWaypoint(p typenav.Pos, distance float64) (bool, error)
- func (rt *Route) ReadFile() error
- func (rt *Route) SetWaypoint(no int) error
- func (rt *Route) StartRoute()
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Route ¶
type Route struct {
// contains filtered or unexported fields
}
func (*Route) GetWaypointCnt ¶
func (*Route) GetWaypointNo ¶
func (*Route) NextWaypoint ¶
func (rt *Route) NextWaypoint()
func (*Route) OnWaypoint ¶
func (*Route) SetWaypoint ¶
func (*Route) StartRoute ¶
func (rt *Route) StartRoute()
Click to show internal directories.
Click to hide internal directories.