Package trclib.pathdrive
Interface TrcPurePursuitDrive.WaypointEventHandler
- Enclosing class:
- TrcPurePursuitDrive
public static interface TrcPurePursuitDrive.WaypointEventHandler
-
Method Summary
Modifier and TypeMethodDescriptionvoidwaypointEvent(int index, TrcWaypoint waypoint) This method is called when Pure Pursuit crosses a waypoint or the path is completed.
-
Method Details
-
waypointEvent
This method is called when Pure Pursuit crosses a waypoint or the path is completed.- Parameters:
index- specifies the index of the waypoint in the path, -1 if the path is completed or canceled.waypoint- specifies the current target waypoint.
-