Package com.crossbotics.ftchelper.auto
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 TypeMethodDescriptionvoidcancel()Stops the path and the wheels now.booleanisBusy()True while it is still following the path.booleanisReady()False while its pose source (the odometry) is not ready.doubleInches left to the end of the path (for the "stuck" check).voidstart()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.
-