mirror of
https://github.com/wpilibsuite/allwpilib
synced 2026-06-21 01:01:43 +00:00
[wpilib] Document how to create LinearSystem object for physics sim classes (NFC) (#5488)
Fixes #4372.
This commit is contained in:
@@ -21,7 +21,9 @@ class DCMotorSim : public LinearSystemSim<2, 1, 2> {
|
||||
/**
|
||||
* Creates a simulated DC motor mechanism.
|
||||
*
|
||||
* @param plant The linear system representing the DC motor.
|
||||
* @param plant The linear system representing the DC motor. This
|
||||
* system can be created with
|
||||
* LinearSystemId::DCMotorSystem().
|
||||
* @param gearbox The type of and number of motors in the DC motor
|
||||
* gearbox.
|
||||
* @param gearing The gearing of the DC motor (numbers greater than
|
||||
|
||||
Reference in New Issue
Block a user