PathTrajectorySegment

public final class PathTrajectorySegment implements TrajectorySegment

Trajectory segment backed by a Path and a MotionProfile.

Parameters

path

path

profile

motion profile

Constructors

Link copied to clipboard

Properties

Link copied to clipboard
private final Path path
Link copied to clipboard
private final MotionProfile profile

Functions

Link copied to clipboard
public Pose2d acceleration(Double time)
Link copied to clipboard
public Pose2d deriv(Double time)
Link copied to clipboard
public Double distance(Double time)
Link copied to clipboard
public Double duration()
Link copied to clipboard
public Pose2d end()
Link copied to clipboard
public Pose2d get(Double time)
Link copied to clipboard
public final Path getPath()
Link copied to clipboard
public final MotionProfile getProfile()
Link copied to clipboard
public Double length()
Link copied to clipboard
public Pose2d secondDeriv(Double time)
Link copied to clipboard
public Pose2d start()
Link copied to clipboard
public Pose2d velocity(Double time)