core / com.acmerobotics.roadrunner.trajectory.config / LegacyTrajectoryConfig / <init>

<init>

LegacyTrajectoryConfig(poses: List<Pose2d>, constraints: DriveConstraints, resolution: Double = 0.25)

Legacy trajectory configuration intended for serialization. Intentionally more simplistic and less flexible than TrajectoryBuilder.

Parameters

poses - poses

constraints - constraints

resolution - resolution used for path-based segments (see Trajectory)