mirror of
https://github.com/wpilibsuite/allwpilib
synced 2026-06-25 01:41:43 +00:00
[wpimath] Remove unit suffixes from variable names (#7529)
* Move units into API docs instead because suffixes make user code verbose and hard to read * Rename trackWidth to trackwidth * Make ultrasonic classes use meters instead of a mix of m, cm, mm, ft, and inches
This commit is contained in:
@@ -419,7 +419,7 @@ class WPILIB_DLLEXPORT LinearSystemId {
|
||||
* @param motor The motor (or gearbox) driving the drivetrain.
|
||||
* @param mass The mass of the robot in kilograms.
|
||||
* @param r The radius of the wheels in meters.
|
||||
* @param rb The radius of the base (half of the track width), in meters.
|
||||
* @param rb The radius of the base (half of the trackwidth), in meters.
|
||||
* @param J The moment of inertia of the robot.
|
||||
* @param gearing Gear ratio from motor to wheel.
|
||||
* @throws std::domain_error if mass <= 0, r <= 0, rb <= 0, J <= 0, or
|
||||
|
||||
Reference in New Issue
Block a user