Package choreo
Interface Choreo.TrajectoryLogger<SampleType extends TrajectorySample<SampleType>>
- Type Parameters:
SampleType
- DifferentialSample or SwerveSample.
- All Superinterfaces:
BiConsumer<Trajectory<SampleType>,
Boolean>
- Enclosing class:
- Choreo
public static interface Choreo.TrajectoryLogger<SampleType extends TrajectorySample<SampleType>>
extends BiConsumer<Trajectory<SampleType>,Boolean>
This interface exists as a type alias. A TrajectoryLogger has a signature of (
Trajectory
, Boolean
)->void, where the function consumes a trajectory and a boolean
indicating whether the trajectory is starting or finishing.-
Method Summary
Methods inherited from interface java.util.function.BiConsumer
accept, andThen