TrajectoryGenerator
Trajectory generator for creating trajectories with dynamic and static constraints from paths.
Functions
Link copied to clipboard
public final List<TrajectoryMarker> convertMarkers(List<TrajectorySegment> segments, List<TemporalMarker> temporalMarkers, List<DisplacementMarker> displacementMarkers, List<SpatialMarker> spatialMarkers)
Link copied to clipboard
Link copied to clipboard
public final PathTrajectorySegment generatePathTrajectorySegment(Path path, TrajectoryVelocityConstraint velocityConstraint, TrajectoryAccelerationConstraint accelerationConstraint)
public final PathTrajectorySegment generatePathTrajectorySegment(Path path, TrajectoryVelocityConstraint velocityConstraint, TrajectoryAccelerationConstraint accelerationConstraint, MotionState start)
public final PathTrajectorySegment generatePathTrajectorySegment(Path path, TrajectoryVelocityConstraint velocityConstraint, TrajectoryAccelerationConstraint accelerationConstraint, MotionState start, MotionState goal)
public final PathTrajectorySegment generatePathTrajectorySegment(Path path, TrajectoryVelocityConstraint velocityConstraint, TrajectoryAccelerationConstraint accelerationConstraint, MotionState start, MotionState goal, Double resolution)
Generates a dynamic constraint path trajectory segment.
Link copied to clipboard
public final MotionProfile generateProfile(Path path, TrajectoryVelocityConstraint velocityConstraint, TrajectoryAccelerationConstraint accelerationConstraint, MotionState start, MotionState goal, Double resolution)
Link copied to clipboard
public final PathTrajectorySegment generateSimplePathTrajectorySegment(Path path, Double maxProfileVel, Double maxProfileAccel, Double maxProfileJerk)
public final PathTrajectorySegment generateSimplePathTrajectorySegment(Path path, Double maxProfileVel, Double maxProfileAccel, Double maxProfileJerk, MotionState start)
public final PathTrajectorySegment generateSimplePathTrajectorySegment(Path path, Double maxProfileVel, Double maxProfileAccel, Double maxProfileJerk, MotionState start, MotionState goal)
Generates a simple constraint path trajectory segment.
Link copied to clipboard
public final MotionProfile generateSimpleProfile(Double maxProfileVel, Double maxProfileAccel, Double maxProfileJerk, MotionState start, MotionState goal, Boolean overshoot)
Link copied to clipboard
public final Trajectory generateTrajectory(List<TrajectorySegment> segments, List<TemporalMarker> temporalMarkers, List<DisplacementMarker> displacementMarkers, List<SpatialMarker> spatialMarkers)
Generates a trajectory.
Link copied to clipboard
public final TurnSegment generateTurnSegment(Pose2d pose, Angle angle, Angle maxAngVel, Angle maxAngAccel, Angle maxAngJerk, Boolean overshoot)
Generates a turn segment.
Link copied to clipboard