[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:
Tyler Veness
2020-09-27 15:26:50 -07:00
committed by GitHub
parent c3b3fb8b74
commit 693daafe29
4 changed files with 11 additions and 8 deletions

View File

@@ -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);