mirror of
https://github.com/wpilibsuite/allwpilib
synced 2026-06-26 01:51:41 +00:00
[wpimath] Add full state support to LinearSystemId functions (#6554)
Co-authored-by: Tyler Veness <calcmogul@gmail.com>
This commit is contained in:
committed by
GitHub
parent
7fbbecb5b7
commit
7fc17811fa
@@ -35,7 +35,7 @@ class ElevatorSimTest {
|
||||
3.0,
|
||||
true,
|
||||
0.0,
|
||||
VecBuilder.fill(0.01));
|
||||
VecBuilder.fill(0.01, 0.00));
|
||||
|
||||
try (var motor = new PWMVictorSPX(0);
|
||||
var encoder = new Encoder(0, 1)) {
|
||||
@@ -74,7 +74,7 @@ class ElevatorSimTest {
|
||||
1.0,
|
||||
true,
|
||||
0.0,
|
||||
VecBuilder.fill(0.01));
|
||||
VecBuilder.fill(0.01, 0.00));
|
||||
|
||||
for (int i = 0; i < 100; i++) {
|
||||
sim.setInput(VecBuilder.fill(0));
|
||||
|
||||
Reference in New Issue
Block a user