lineToLinearHeading

open fun lineToLinearHeading(endPoseInchRad: Pose2d, velConstraint: TrajectoryVelocityConstraint, accelConstraint: TrajectoryAccelerationConstraint): RoadRunner.RoadRunnerTrajectoryTaskBuilder

Move in a straight line to a given position with a linear heading and custom velocity and acceleration constraints.

Return

The builder

Parameters

endPoseInchRad

The end pose (in, in, radians)

velConstraint

The velocity constraint (inches/sec)

accelConstraint

The acceleration constraint (inches/sec^2)