TrajectorySequenceBuilder

constructor(startPose: Pose2d, startTangent: Double, baseVelConstraint: TrajectoryVelocityConstraint, baseAccelConstraint: TrajectoryAccelerationConstraint, baseTurnConstraintMaxAngVel: Double, baseTurnConstraintMaxAngAccel: Double)

Constructs a new TrajectorySequenceBuilder.

Parameters

startPose

The starting pose of the trajectory.

startTangent

The starting tangent of the trajectory, or null if not set.

baseVelConstraint

The base velocity constraint for the trajectory.

baseAccelConstraint

The base acceleration constraint for the trajectory.

baseTurnConstraintMaxAngVel

The maximum angular velocity for turns.

baseTurnConstraintMaxAngAccel

The maximum angular acceleration for turns.


constructor(startPose: Pose2d, baseVelConstraint: TrajectoryVelocityConstraint, baseAccelConstraint: TrajectoryAccelerationConstraint, baseTurnConstraintMaxAngVel: Double, baseTurnConstraintMaxAngAccel: Double)

Constructs a new `TrajectorySequenceBuilder` with the specified parameters.

Parameters

startPose

The starting pose of the trajectory.

baseVelConstraint

The base velocity constraint for the trajectory.

baseAccelConstraint

The base acceleration constraint for the trajectory.

baseTurnConstraintMaxAngVel

The maximum angular velocity for turns.

baseTurnConstraintMaxAngAccel

The maximum angular acceleration for turns.