SwerveKinematics
data class SwerveKinematics(val modules: <Error class: unknown class><<Error class: unknown class>>) : RobotKinematics<SwerveKinematics.SwerveWheelIncrements<*>, SwerveKinematics.SwerveWheelVelocities<*>>
Parameters
modules
list of swerve module configurations (position and orientation)
Constructors
Types
Link copied to clipboard
data class SwerveWheelIncrements<Param>(val deltas: <Error class: unknown class><<Error class: unknown class><Param>>)
Link copied to clipboard
data class SwerveWheelVelocities<Param>(val states: <Error class: unknown class><<Error class: unknown class><Param>>)
Properties
Functions
Link copied to clipboard
abstract fun <Param : DualParameter> forward(w: SwerveKinematics.SwerveWheelIncrements<*>): Twist2dDual<Param>
open fun <Param> forward(w: SwerveKinematics.SwerveWheelIncrements<*>): <Error class: unknown class><Param>
Link copied to clipboard
Performs inverse kinematics: computes wheel velocities required to achieve the desired robot velocity.
open fun <Param> inverse(t: <Error class: unknown class><Param>): SwerveKinematics.SwerveWheelVelocities<Param>