Skip to content

Commit 02518fd

Browse files
committed
updated docs to say y is not included
1 parent 1c8da36 commit 02518fd

1 file changed

Lines changed: 5 additions & 1 deletion

File tree

control/src/main/kotlin/dev/nextftc/control/drive/TankKinematics.kt

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,10 @@ data class TankWheelPowers(val left: Double, val right: Double)
1515

1616
/**
1717
* Converts raw drive inputs into tank/differential wheel powers.
18+
*
19+
* Tank/differential drivetrains are not holonomic, so they cannot strafe.
20+
* Any [DriveInput.y] value is therefore ignored; only [DriveInput.x]
21+
* (forward/backward) and [DriveInput.rx] (rotation) are used.
1822
*/
1923

2024
class TankKinematics : DriveKinematics<TankWheelPowers> {
@@ -25,4 +29,4 @@ class TankKinematics : DriveKinematics<TankWheelPowers> {
2529
right = (input.x - input.rx) / denominator,
2630
)
2731
}
28-
}
32+
}

0 commit comments

Comments
 (0)