TankKinematics

data class TankKinematics(val trackWidth: <Error class: unknown class>) : RobotKinematics<TankKinematics.TankWheelIncrements<*>, TankKinematics.TankWheelVelocities<*>>

Parameters

trackWidth

distance between wheels on opposite sides; see the diagram below Wheelbase and track width diagram

Constructors

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

Types

Link copied to clipboard
data class TankWheelIncrements<Param>(val left: <Error class: unknown class><Param>, val right: <Error class: unknown class><Param>)
Link copied to clipboard
data class TankWheelVelocities<Param>(val left: <Error class: unknown class><Param>, val right: <Error class: unknown class><Param>)

Properties

Link copied to clipboard
val trackWidth: <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>): TankKinematics.TankWheelVelocities<Param>