TrajectorySequenceRunner

RoadRunner trajectory sequence runner.

Since

1.0.0-pre

Constructors

Link copied to clipboard
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.

Properties

Link copied to clipboard
FtcDashboard activity color for trajectory segments.
Link copied to clipboard
FtcDashboard activity color for turn segments.
Link copied to clipboard
FtcDashboard activity color for wait segments.
Link copied to clipboard
FtcDashboard inactivity color for trajectory segments.
Link copied to clipboard
FtcDashboard inactivity color for turn segments.
Link copied to clipboard
FtcDashboard inactivity color for wait segments.
Link copied to clipboard
open val lastPoseError: Pose2d
Link copied to clipboard
The maximum number of poses to store in the history.

Functions

Link copied to clipboard
open fun cancelTrajectory()
Abort the current trajectory sequence.
Link copied to clipboard
Follow a trajectory sequence asynchronously.
Link copied to clipboard
open fun isBusy(): Boolean
Link copied to clipboard
open fun update(poseEstimate: Pose2d, poseVelocity: Pose2d): DriveSignal
Update the trajectory sequence runner.