public class Trajectory
Trajectory backed by a class Path
and a class MotionProfile
.
class Path
,
class MotionProfile
Constructor and Description |
---|
Trajectory(Path path,
MotionProfile profile,
java.util.List<com.acmerobotics.roadrunner.trajectory.TemporalMarker> markers)
Trajectory backed by a
class Path and a class MotionProfile . |
Trajectory(Path path,
MotionProfile profile)
Trajectory backed by a
class Path and a class MotionProfile . |
Modifier and Type | Method and Description |
---|---|
Pose2d |
acceleration(double time) |
double |
duration() |
Pose2d |
end() |
Pose2d |
get(double time) |
java.util.List<com.acmerobotics.roadrunner.trajectory.TemporalMarker> |
getMarkers() |
Path |
getPath()
path
|
MotionProfile |
getProfile()
motion profile
|
Pose2d |
start() |
Pose2d |
velocity(double time) |
@JvmOverloads public Trajectory(@NotNull Path path, @NotNull MotionProfile profile, @NotNull java.util.List<com.acmerobotics.roadrunner.trajectory.TemporalMarker> 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.TemporalMarker> getMarkers()