public class Trajectory
Trajectory backed by a class Path
and a class MotionProfile
.
class Path
,
class MotionProfile
@JvmOverloads public Trajectory(@NotNull Path path, @NotNull MotionProfile profile, @NotNull java.util.List<com.acmerobotics.roadrunner.trajectory.TrajectoryMarker> markers)
Trajectory backed by a class Path
and a class MotionProfile
.
path
- pathprofile
- motion profileclass Path
,
class MotionProfile
@JvmOverloads public Trajectory(@NotNull Path path, @NotNull MotionProfile profile)
Trajectory backed by a class Path
and a class MotionProfile
.
path
- pathprofile
- motion profileclass Path
,
class MotionProfile
public double duration()
@NotNull public Pose2d get(double time)
@NotNull public Pose2d velocity(double time)
@NotNull public Pose2d acceleration(double time)
@NotNull public Pose2d start()
@NotNull public Pose2d end()
@NotNull public Path getPath()
path
@NotNull public MotionProfile getProfile()
motion profile
@NotNull public java.util.List<com.acmerobotics.roadrunner.trajectory.TrajectoryMarker> getMarkers()