Interface PathJob


public interface PathJob
A path that another library drives (Pedro Pathing, through the pedro module), as one autonomous step: AutoRoutine.followPath(java.lang.String, com.crossbotics.ftchelper.auto.PathJob, double). The robot layer's Steps.follow(...) makes it for you. Docs: docs/modules/pedro.md
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    Stops the path and the wheels now.
    boolean
    True while it is still following the path.
    boolean
    False while its pose source (the odometry) is not ready.
    double
    Inches left to the end of the path (for the "stuck" check).
    void
    Starts the path.
  • Method Details

    • start

      void start()
      Starts the path.
    • isBusy

      boolean isBusy()
      True while it is still following the path.
    • isReady

      boolean isReady()
      False while its pose source (the odometry) is not ready.
    • remainingIn

      double remainingIn()
      Inches left to the end of the path (for the "stuck" check).
    • cancel

      void cancel()
      Stops the path and the wheels now.