Trajectory Sequence Builder
Builder class for creating a sequence of trajectory segments.
Constructors
Link copied to clipboard
constructor(startPose: Pose2d, startTangent: Double, baseVelConstraint: TrajectoryVelocityConstraint, baseAccelConstraint: TrajectoryAccelerationConstraint, baseTurnConstraintMaxAngVel: Double, baseTurnConstraintMaxAngAccel: Double)
Constructs a new TrajectorySequenceBuilder.
constructor(startPose: Pose2d, baseVelConstraint: TrajectoryVelocityConstraint, baseAccelConstraint: TrajectoryAccelerationConstraint, baseTurnConstraintMaxAngVel: Double, baseTurnConstraintMaxAngAccel: Double)
Constructs a new `TrajectorySequenceBuilder` with the specified parameters.
Functions
Link copied to clipboard
open fun addDisplacementMarker(displacement: DisplacementProducer, callback: MarkerCallback): TrajectorySequenceBuilder
open fun addDisplacementMarker(displacement: Double, callback: MarkerCallback): TrajectorySequenceBuilder
open fun addDisplacementMarker(scale: Double, offset: Double, callback: MarkerCallback): TrajectorySequenceBuilder
For documentation on this function, see the Roadrunner documentation.
Link copied to clipboard
For documentation on this function, see the Roadrunner documentation.
Link copied to clipboard
open fun addTemporalMarker(scale: Double, offset: Double, callback: MarkerCallback): TrajectorySequenceBuilder
For documentation on this function, see the Roadrunner documentation.
Link copied to clipboard
open fun addTemporalMarkerOffset(offset: Double, callback: MarkerCallback): TrajectorySequenceBuilder
For documentation on this function, see the Roadrunner documentation.
Link copied to clipboard
For documentation on this function, see the Roadrunner documentation.
Link copied to clipboard
open fun back(distance: Double, velConstraint: TrajectoryVelocityConstraint, accelConstraint: TrajectoryAccelerationConstraint): TrajectorySequenceBuilder
For documentation on this function, see the Roadrunner documentation.
Link copied to clipboard
Initializes a new path for the trajectory sequence.
Link copied to clipboard
open fun forward(distance: Double, velConstraint: TrajectoryVelocityConstraint, accelConstraint: TrajectoryAccelerationConstraint): TrajectorySequenceBuilder
For documentation on this function, see the Roadrunner documentation.
Link copied to clipboard
open fun lineTo(endPosition: Vector2d, velConstraint: TrajectoryVelocityConstraint, accelConstraint: TrajectoryAccelerationConstraint): TrajectorySequenceBuilder
For documentation on this function, see the Roadrunner documentation.
Link copied to clipboard
open fun lineToConstantHeading(endPosition: Vector2d, velConstraint: TrajectoryVelocityConstraint, accelConstraint: TrajectoryAccelerationConstraint): TrajectorySequenceBuilder
For documentation on this function, see the Roadrunner documentation.
Link copied to clipboard
open fun lineToLinearHeading(endPose: Pose2d, velConstraint: TrajectoryVelocityConstraint, accelConstraint: TrajectoryAccelerationConstraint): TrajectorySequenceBuilder
For documentation on this function, see the Roadrunner documentation.
Link copied to clipboard
open fun lineToSplineHeading(endPose: Pose2d, velConstraint: TrajectoryVelocityConstraint, accelConstraint: TrajectoryAccelerationConstraint): TrajectorySequenceBuilder
For documentation on this function, see the Roadrunner documentation.
Link copied to clipboard
For documentation on this function, see the Roadrunner documentation.
Link copied to clipboard
For documentation on this function, see the Roadrunner documentation.
Link copied to clipboard
For documentation on this function, see the Roadrunner documentation.
Link copied to clipboard
For documentation on this function, see the Roadrunner documentation.
Link copied to clipboard
open fun setAccelConstraint(accelConstraint: TrajectoryAccelerationConstraint): TrajectorySequenceBuilder
For documentation on this function, see the Roadrunner documentation.
Link copied to clipboard
open fun setConstraints(velConstraint: TrajectoryVelocityConstraint, accelConstraint: TrajectoryAccelerationConstraint): TrajectorySequenceBuilder
For documentation on this function, see the Roadrunner documentation.
Link copied to clipboard
For documentation on this function, see the Roadrunner documentation.
Link copied to clipboard
For documentation on this function, see the Roadrunner documentation.
Link copied to clipboard
For documentation on this function, see the Roadrunner documentation.
Link copied to clipboard
For documentation on this function, see the Roadrunner documentation.
Link copied to clipboard
open fun splineTo(endPosition: Vector2d, endHeading: Double, velConstraint: TrajectoryVelocityConstraint, accelConstraint: TrajectoryAccelerationConstraint): TrajectorySequenceBuilder
For documentation on this function, see the Roadrunner documentation.
Link copied to clipboard
open fun splineToConstantHeading(endPosition: Vector2d, endHeading: Double): TrajectorySequenceBuilder
open fun splineToConstantHeading(endPosition: Vector2d, endHeading: Double, velConstraint: TrajectoryVelocityConstraint, accelConstraint: TrajectoryAccelerationConstraint): TrajectorySequenceBuilder
For documentation on this function, see the Roadrunner documentation.
Link copied to clipboard
open fun splineToLinearHeading(endPose: Pose2d, endHeading: Double, velConstraint: TrajectoryVelocityConstraint, accelConstraint: TrajectoryAccelerationConstraint): TrajectorySequenceBuilder
For documentation on this function, see the Roadrunner documentation.
Link copied to clipboard
open fun splineToSplineHeading(endPose: Pose2d, endHeading: Double, velConstraint: TrajectoryVelocityConstraint, accelConstraint: TrajectoryAccelerationConstraint): TrajectorySequenceBuilder
For documentation on this function, see the Roadrunner documentation.
Link copied to clipboard
open fun strafeLeft(distance: Double, velConstraint: TrajectoryVelocityConstraint, accelConstraint: TrajectoryAccelerationConstraint): TrajectorySequenceBuilder
For documentation on this function, see the Roadrunner documentation.
Link copied to clipboard
open fun strafeRight(distance: Double, velConstraint: TrajectoryVelocityConstraint, accelConstraint: TrajectoryAccelerationConstraint): TrajectorySequenceBuilder
For documentation on this function, see the Roadrunner documentation.
Link copied to clipboard
open fun strafeTo(endPosition: Vector2d, velConstraint: TrajectoryVelocityConstraint, accelConstraint: TrajectoryAccelerationConstraint): TrajectorySequenceBuilder
For documentation on this function, see the Roadrunner documentation.
Link copied to clipboard
For documentation on this function, see the Roadrunner documentation.
Link copied to clipboard
open fun UNSTABLE_addDisplacementMarkerOffset(offset: Double, callback: MarkerCallback): TrajectorySequenceBuilder
For documentation on this function, see the Roadrunner documentation.
Link copied to clipboard
For documentation on this function, see the Roadrunner documentation.