VoltageConstraint

class VoltageConstraint<WI : WheelIncrements<*>, WV : WheelVelocities<*>>(val kinematics: RobotKinematics<WI, WV>, val feedforward: MotorFeedforward, val maxVoltage: Double, val fallbackAccel: Double = 50.0) : AccelConstraint

Constructors

Link copied to clipboard
constructor(kinematics: RobotKinematics<WI, WV>, feedforward: MotorFeedforward, maxVoltage: Double, fallbackAccel: Double = 50.0)

Properties

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard

Functions

Link copied to clipboard
open override fun minMaxProfileAccel(robotState: RobotState, path: PosePath, s: Double): MinMax

Returns the minimum and maximum profile acceleration at the specified state and path position.