Skip to content

Commit

Permalink
Fix tests
Browse files Browse the repository at this point in the history
  • Loading branch information
bhall-ctre committed May 29, 2024
1 parent 79b30ce commit 3f14e9e
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion python/MotionMagic/tests/pyfrc_test.py
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ def test_position_closed_loop():
target_control = controls.MotionMagicVoltage(position=1.0)
talonfx.set_control(target_control)

wait_with_sim(1, talonfx, motorsim)
wait_with_sim(2, talonfx, motorsim)

# Verify position is close to target
pos.wait_for_update(1)
Expand Down
2 changes: 1 addition & 1 deletion python/PositionClosedLoop/tests/pyfrc_test.py
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ def test_position_closed_loop():
target_control = controls.PositionVoltage(position=1.0)
talonfx.set_control(target_control)

wait_with_sim(1, talonfx, motorsim)
wait_with_sim(2, talonfx, motorsim)

# Verify position is close to target
pos.wait_for_update(1)
Expand Down
2 changes: 1 addition & 1 deletion python/VelocityClosedLoop/tests/pyfrc_test.py
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ def test_velocity_closed_loop():
target_control = controls.VelocityVoltage(velocity=10)
talonfx.set_control(target_control)

wait_with_sim(1, talonfx, motorsim)
wait_with_sim(2, talonfx, motorsim)

# Verify velocity is close to target
vel.wait_for_update(1)
Expand Down

0 comments on commit 3f14e9e

Please sign in to comment.