core / com.acmerobotics.roadrunner.trajectory / PathTrajectorySegment / <init>

<init>

PathTrajectorySegment(path: Path, trajectoryConstraints: TrajectoryConstraints, resolution: Int = 250) PathTrajectorySegment(paths: List<Path> = emptyList(), trajectoryConstraintsList: List<TrajectoryConstraints> = emptyList(), resolution: Int = 250)

Trajectory segment backed by a list of Path objects.

Parameters

paths - paths

trajectoryConstraintsList - motion constraints for each respective path

resolution - resolution used for the motion profile (see MotionProfileGenerator.generateMotionProfile)