Skip to content

Commit 43cf778

Browse files
committed
TST: fix gyro detailed test
1 parent a543b9d commit 43cf778

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

tests/unit/test_sensor.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -336,9 +336,8 @@ def test_noisy_rotated_gyroscope(noisy_rotated_gyroscope, example_plain_env):
336336
euler313_to_quaternions(*np.deg2rad([-60, -60, -60]))
337337
)
338338
total_rotation = sensor_rotation @ cross_axis_sensitivity
339-
rocket_rotation = Matrix.transformation(U[6:10])
340339
# expected measurement without noise
341-
wx, wy, wz = total_rotation @ (rocket_rotation @ omega)
340+
wx, wy, wz = total_rotation @ omega
342341
# expected measurement with constant bias
343342
wx += 0.5
344343
wy += 0.5

0 commit comments

Comments
 (0)