core / com.acmerobotics.roadrunner.trajectory / Trajectory

Trajectory

class Trajectory (source)

Trajectory backed by a Path and a MotionProfile.

Parameters

path - path

profile - motion profile

Constructors

<init>

Trajectory backed by a Path and a MotionProfile.

Trajectory(path: Path, profile: MotionProfile, markers: List<TrajectoryMarker> = emptyList())

Properties

markers

val markers: List<TrajectoryMarker>

path

path

val path: Path

profile

motion profile

val profile: MotionProfile

Functions

acceleration

fun acceleration(time: Double): Pose2d

duration

fun duration(): Double

end

fun end(): Pose2d

get

operator fun get(time: Double): Pose2d

start

fun start(): Pose2d

velocity

fun velocity(time: Double): Pose2d