WheelVelConstraint

class WheelVelConstraint<WI : WheelIncrements<*>, WV : WheelVelocities<*>>(val kinematics: RobotKinematics<WI, WV>, val maxWheelVel: Double) : VelConstraint

Velocity constraint based on maximum wheel velocities.

This constraint calculates the maximum robot velocity by considering the physical limits of the wheel velocities through inverse and forward kinematics.

Constructors

Link copied to clipboard
constructor(kinematics: RobotKinematics<WI, WV>, maxWheelVel: Double)

Properties

Link copied to clipboard

The robot kinematics model

Link copied to clipboard

The maximum allowable wheel velocity

Functions

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

Returns the maximum robot velocity at the specified state and path position.