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
drive Model
the drive model to use
motion Profile
the motion profile to use
turn Action Factory
the turn action factory to use
trajectory Action Factory
the trajectory action factory to use
trajectory Builder Params
the trajectory builder parameters to use
begin End Vel
the beginning and ending velocity of the trajectory
base Turn Constraints
the base turn constraints to use
base Vel Constraint
the base velocity constraint to use
base Accel Constraint
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)