[wpimath] Fix units typo in LinearSystemId source comment (#3730)

This commit is contained in:
Tyler Veness
2021-11-22 21:14:38 -08:00
committed by GitHub
parent 7db10ecf00
commit aacf9442e4
2 changed files with 2 additions and 2 deletions

View File

@@ -283,7 +283,7 @@ class WPILIB_DLLEXPORT LinearSystemId {
// omega = 2/trackwidth v
//
// So multiplying by 2/trackwidth converts the angular gains from V/(rad/s)
// to V/m/s).
// to V/(m/s).
return IdentifyDrivetrainSystem(kVlinear, kAlinear,
kVangular * 2.0 / trackwidth * 1_rad,
kAangular * 2.0 / trackwidth * 1_rad);