[wpilib] Document how to create LinearSystem object for physics sim classes (NFC) (#5488)

Fixes #4372.
This commit is contained in:
Tyler Veness
2023-07-31 19:18:17 -07:00
committed by GitHub
parent a01b6467d3
commit 6aa469ae45
10 changed files with 38 additions and 18 deletions

View File

@@ -23,6 +23,8 @@ class ElevatorSim : public LinearSystemSim<2, 1, 1> {
* Constructs a simulated elevator mechanism.
*
* @param plant The linear system that represents the elevator.
* This system can be created with
* LinearSystemId::ElevatorSystem().
* @param gearbox The type of and number of motors in your
* elevator gearbox.
* @param gearing The gearing of the elevator (numbers greater