Constants

data class Constants(val driveModel: DriveModel, val motionProfile: MotionProfile, val turnActionFactory: TurnActionFactory, val trajectoryActionFactory: TrajectoryActionFactory, val trajectoryBuilderParams: TrajectoryBuilderParams, val beginEndVel: Double, val baseTurnConstraints: TurnConstraints, val baseVelConstraint: VelConstraint, val baseAccelConstraint: AccelConstraint)

Data class storing all the required constants for using RoadRunner motion planning.

Author

Lucas Bubner, 2024

Since

6.0.0

Parameters

driveModel

the drive model to use

motionProfile

the motion profile to use

turnActionFactory

the turn action factory to use

trajectoryActionFactory

the trajectory action factory to use

trajectoryBuilderParams

the trajectory builder parameters to use

beginEndVel

the beginning and ending velocity of the trajectory

baseTurnConstraints

the base turn constraints to use

baseVelConstraint

the base velocity constraint to use

baseAccelConstraint

the base acceleration constraint to use

Constructors

Link copied to clipboard
constructor(driveModel: DriveModel, motionProfile: MotionProfile, turnActionFactory: TurnActionFactory, trajectoryActionFactory: TrajectoryActionFactory, trajectoryBuilderParams: TrajectoryBuilderParams, beginEndVel: Double, baseTurnConstraints: TurnConstraints, baseVelConstraint: VelConstraint, baseAccelConstraint: AccelConstraint)

Properties

Link copied to clipboard
val baseAccelConstraint: AccelConstraint
Link copied to clipboard
val baseTurnConstraints: TurnConstraints
Link copied to clipboard
val baseVelConstraint: VelConstraint
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
val trajectoryActionFactory: TrajectoryActionFactory
Link copied to clipboard
val trajectoryBuilderParams: TrajectoryBuilderParams
Link copied to clipboard
val turnActionFactory: TurnActionFactory