Skip to content

Commit

Permalink
Make IMU resting test wait longer
Browse files Browse the repository at this point in the history
  • Loading branch information
vinhowe committed Apr 29, 2021
1 parent 2398095 commit 531c6e5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/sensors/test_imu_sensor.py
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ def test_imu_sensor_at_rest(imu_sensor_env):
imu_sensor_env.tick()
at_rest_sensor_reading = np.array([[0, 0, 9.8], [0, 0, 0]])

new_state = imu_sensor_env.tick(20)
new_state = imu_sensor_env.tick(40)
sensed_imu_data = new_state["IMUSensor"]
assert almost_equal(
at_rest_sensor_reading, sensed_imu_data, 0.5, 0.5
Expand Down

0 comments on commit 531c6e5

Please sign in to comment.