mirror of
https://github.com/wpilibsuite/allwpilib
synced 2026-06-30 02:31:44 +00:00
[wpilib] Document how to create LinearSystem object for physics sim classes (NFC) (#5488)
Fixes #4372.
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user