mirror of
https://github.com/wpilibsuite/allwpilib
synced 2026-06-23 01:21:42 +00:00
[wpilib] Rename LinearSystemSim's ResetState() to SetState() (#2750)
This makes it more consistent with all other simulation classes, including the differential drive simulation class.
This commit is contained in:
@@ -25,7 +25,7 @@ public class ArmSimTest {
|
||||
|
||||
@Test
|
||||
public void testArmDisabled() {
|
||||
m_sim.resetState(VecBuilder.fill(0.0, 0.0));
|
||||
m_sim.setState(VecBuilder.fill(0.0, 0.0));
|
||||
|
||||
for (int i = 0; i < 12 / 0.02; i++) {
|
||||
m_sim.setInput(0.0);
|
||||
|
||||
Reference in New Issue
Block a user