TrajectorySequenceRunner

constructor(@Nullable telemetry: DualTelemetry, driveConstantsRunUsingEncoder: Boolean, follower: TrajectoryFollower, headingPIDCoefficients: PIDCoefficients, voltageSensor: VoltageSensor, lastDriveEncPositions: List<Integer>, lastDriveEncVels: List<Integer>, lastTrackingEncPositions: List<Integer>, lastTrackingEncVels: List<Integer>)

Create a new trajectory sequence runner.

Parameters

telemetry

The (optional) DualTelemetry instance to use for telemetry.

driveConstantsRunUsingEncoder

Whether the drive constants are run using encoders.

follower

The trajectory follower to use.

headingPIDCoefficients

The PID coefficients for the heading controller.

voltageSensor

The voltage sensor to use.

lastDriveEncPositions

The last drive encoder positions.

lastDriveEncVels

The last drive encoder velocities.

lastTrackingEncPositions

The last tracking encoder positions.

lastTrackingEncVels

The last tracking encoder velocities.