From 996af272e8a45a4832ea64c7c0f9955b6aa5b38d Mon Sep 17 00:00:00 2001 From: Tyler Veness Date: Wed, 14 Jan 2026 20:13:19 -0800 Subject: [PATCH] [wpilib] Fix C++ DCMotorSim constructor docs (#8568) See https://github.com/wpilibsuite/allwpilib/pull/8468#discussion_r2692411059. --- .../src/main/native/include/wpi/simulation/DCMotorSim.hpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/wpilibc/src/main/native/include/wpi/simulation/DCMotorSim.hpp b/wpilibc/src/main/native/include/wpi/simulation/DCMotorSim.hpp index 8d82290467..f94d383d3d 100644 --- a/wpilibc/src/main/native/include/wpi/simulation/DCMotorSim.hpp +++ b/wpilibc/src/main/native/include/wpi/simulation/DCMotorSim.hpp @@ -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. */