Package trclib.archive
Interface TrcHolonomicPurePursuitDrive.WaypointEventHandler
- Enclosing class:
- TrcHolonomicPurePursuitDrive
public static interface TrcHolonomicPurePursuitDrive.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.
-