core / com.acmerobotics.roadrunner.trajectory

Package com.acmerobotics.roadrunner.trajectory

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

Types

BaseTrajectoryBuilder

abstract class BaseTrajectoryBuilder

Easy-to-use builder for creating Trajectory instances.

SimpleTrajectoryBuilder

class SimpleTrajectoryBuilder : BaseTrajectoryBuilder

Builder for trajectories with static constraints.

SpatialMarker

data class SpatialMarker

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

TemporalMarker

data class TemporalMarker

Trajectory marker that is triggered when the specified time passes.

Trajectory

class Trajectory

Trajectory backed by a Path and a MotionProfile.

TrajectoryBuilder

class TrajectoryBuilder : BaseTrajectoryBuilder

Builder for trajectories with dynamic constraints.

TrajectoryConfig

class TrajectoryConfig

Basic trajectory configuration intended for serialization. Intentionally more simplistic and less flexible than BaseTrajectoryBuilder.

TrajectoryGenerator

object TrajectoryGenerator

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

TrajectoryLoader

object TrajectoryLoader

Class containing methods for saving and loading TrajectoryConfig instances to YAML files.