Interface TrcHolonomicPurePursuitDrive.WaypointEventHandler

Enclosing class:
TrcHolonomicPurePursuitDrive

public static interface TrcHolonomicPurePursuitDrive.WaypointEventHandler
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    waypointEvent(int index, TrcWaypoint waypoint)
    This method is called when Pure Pursuit crosses a waypoint or the path is completed.
  • Method Details

    • waypointEvent

      void waypointEvent(int index, TrcWaypoint waypoint)
      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.