public abstract class casserolePathExecutor
extends java.lang.Object
Modifier and Type | Class and Description |
---|---|
class |
casserolePathExecutor.PathPlanningPlayback |
Modifier and Type | Method and Description |
---|---|
void |
calcPath(int auto_mode)
Calc Path - must be run in auto_init to calculate a path based on the selected auto mode.
|
boolean |
isPlaybackActive()
Returns true if playback is currently running, false if not.
|
void |
plannerStep()
Will be called periodically to command the pathPlanner headings.
|
abstract void |
setAutonomousDrivetrainSpeeds(double left_motor_vel,
double right_motor_vel,
double pp_des_heading) |
int |
startPlayback()
begins background thread commanding motor values through the determined path
|
abstract void |
startPlaybackCallback() |
int |
stopPlayback()
Forcibly stops any background playback occurring
|
abstract void |
stopPlaybackCallback()
This method gets called as soon as playback has finished.
|
public void calcPath(int auto_mode)
auto_mode
- public int startPlayback()
public abstract void startPlaybackCallback()
public int stopPlayback()
public abstract void stopPlaybackCallback()
public boolean isPlaybackActive()
public void plannerStep()
public abstract void setAutonomousDrivetrainSpeeds(double left_motor_vel, double right_motor_vel, double pp_des_heading)