-
- All Implemented Interfaces:
public final class TankKinematics
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public final class
TankKinematics.WheelIncrements
public final class
TankKinematics.WheelVelocities
public final class
TankKinematics.WheelVelConstraint
-
Field Summary
Fields Modifier and Type Field Description public final Double
trackWidth
-
Constructor Summary
Constructors Constructor Description TankKinematics(Double trackWidth)
-
Method Summary
Modifier and Type Method Description final <Param extends Any> Twist2dIncrDual<Param>
forward(TankKinematics.WheelIncrements<Param> w)
final <Param extends Any> TankKinematics.WheelVelocities<Param>
inverse(Twist2dDual<Param> t)
-
-
Constructor Detail
-
TankKinematics
TankKinematics(Double trackWidth)
- Parameters:
trackWidth
- distance between wheels on opposite sides; see the diagram below
-
-
Method Detail
-
forward
final <Param extends Any> Twist2dIncrDual<Param> forward(TankKinematics.WheelIncrements<Param> w)
-
inverse
final <Param extends Any> TankKinematics.WheelVelocities<Param> inverse(Twist2dDual<Param> t)
-
-
-
-