core / com.acmerobotics.roadrunner.trajectory

Package com.acmerobotics.roadrunner.trajectory

Types for representing 2D robot trajectories, including time parametrizations of paths.

Types

BaseTrajectoryBuilder

Easy-to-use builder for creating Trajectory instances.

abstract class BaseTrajectoryBuilder<T : BaseTrajectoryBuilder<T>>

DisplacementMarker

Trajectory marker that is triggered when the specified displacement passes. The exact time is determined at generation-time by calling displacement with the path length.

data class DisplacementMarker

MarkerCallback

interface MarkerCallback

SimpleTrajectoryBuilder

Builder for trajectories with static constraints.

class SimpleTrajectoryBuilder : BaseTrajectoryBuilder<SimpleTrajectoryBuilder>

SpatialMarker

Trajectory marker that is triggered when the trajectory passes the specified point.

data class SpatialMarker

TemporalMarker

Trajectory marker that is triggered when the specified time passes. The exact time is determined at generation-time by calling time with the profile duration.

data class TemporalMarker

Trajectory

Trajectory backed by a Path and a MotionProfile.

class Trajectory

TrajectoryBuilder

Builder for trajectories with dynamic constraints.

class TrajectoryBuilder : BaseTrajectoryBuilder<TrajectoryBuilder>

TrajectoryGenerator

Trajectory generator for creating trajectories with dynamic and static constraints from paths.

object TrajectoryGenerator

TrajectoryMarker

Trajectory marker that is triggered when the specified time passes.

data class TrajectoryMarker