core / com.acmerobotics.roadrunner.trajectory / TrajectoryGenerator / generateSimpleTrajectory

generateSimpleTrajectory

@JvmOverloads fun generateSimpleTrajectory(path: Path, maxProfileVel: Double, maxProfileAccel: Double, maxProfileJerk: Double, start: MotionState = MotionState(0.0, 0.0, 0.0, 0.0), goal: MotionState = MotionState(path.length(), 0.0, 0.0, 0.0), temporalMarkers: List<TemporalMarker> = emptyList(), displacementMarkers: List<DisplacementMarker> = emptyList(), spatialMarkers: List<SpatialMarker> = emptyList()): Trajectory (source)

Generate a simple constraint trajectory.

Parameters

path - path

maxProfileVel - maximum velocity

maxProfileAccel - maximum acceleration

maxProfileJerk - maximum jerk

start - start motion state

goal - goal motion state

temporalMarkers - temporal markers

spatialMarkers - spatial markers