Road Runner Trajectory Task Builder
constructor(drive: RoadRunnerDrive, startPose: Pose2d, startTangent: Double, baseVelConstraint: TrajectoryVelocityConstraint, baseAccelConstraint: TrajectoryAccelerationConstraint, baseTurnConstraintMaxAngVel: Double, baseTurnConstraintMaxAngAccel: Double, mirrorPoseRef: Boolean)
Create a new builder for a RoadRunner trajectory task.
Parameters
drive
Drive system to use
start Pose
Starting pose of the trajectory (in, in, radians)
start Tangent
Starting tangent of the trajectory (radians)
base Vel Constraint
Base velocity constraint (in/s)
base Accel Constraint
Base acceleration constraint (in/s^2)
base Turn Constraint Max Ang Vel
Base turn constraint max angular velocity (rad/s)
base Turn Constraint Max Ang Accel
Base turn constraint max angular acceleration (rad/s^2)
mirror Pose Ref
Whether to mirror the startPose if used in a mirrorToRef.
constructor(drive: RoadRunnerDrive, startPose: Pose2d, baseVelConstraint: TrajectoryVelocityConstraint, baseAccelConstraint: TrajectoryAccelerationConstraint, baseTurnConstraintMaxAngVel: Double, baseTurnConstraintMaxAngAccel: Double, mirrorPoseRef: Boolean)
Create a new builder for a RoadRunner trajectory task.
Parameters
drive
Drive system to use
start Pose
Starting pose of the trajectory (in, in, radians)
base Vel Constraint
Base velocity constraint
base Accel Constraint
Base acceleration constraint
base Turn Constraint Max Ang Vel
Base turn constraint max angular velocity
base Turn Constraint Max Ang Accel
Base turn constraint max angular acceleration
mirror Pose Ref
Whether to mirror the startPose if used in a mirrorToRef.