[wpilib] Fix C++ DCMotorSim constructor docs (#8568)

See
https://github.com/wpilibsuite/allwpilib/pull/8468#discussion_r2692411059.
This commit is contained in:
Tyler Veness
2026-01-14 20:13:19 -08:00
committed by GitHub
parent eccc2301ac
commit 996af272e8

View File

@@ -23,9 +23,9 @@ class DCMotorSim : public LinearSystemSim<2, 1, 2> {
* Creates a simulated DC motor mechanism.
*
* @param plant The linear system representing the DC motor. This system can
* be created with wpi::math::Models::ElevatorFromPhysicalConstants(). If
* wpi::math::Models::ElevatorFromSysId(kV, kA) is used, the distance unit
* must be radians.
* be created with
* wpi::math::Models::SingleJointedArmFromPhysicalConstants() or
* wpi::math::Models::SingleJointedArmFromSysId().
* @param gearbox The type of and number of motors in the DC motor gearbox.
* @param measurementStdDevs The standard deviation of the measurement noise.
*/