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

Link copied to clipboard
constructor(modules: <Error class: unknown class><<Error class: unknown class>>)

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

Link copied to clipboard
val modules: <Error class: unknown class><<Error class: unknown class>>

Functions

Link copied to clipboard
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>