Skip to content

Commit 1157a1d

Browse files
remove obsolete pos in ahrs test
1 parent 489137a commit 1157a1d

1 file changed

Lines changed: 1 addition & 3 deletions

File tree

tests/test_smoothing.py

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -331,10 +331,8 @@ def test_benchmark_ahrs(self):
331331
gyro_imu = gyro + np.degrees(imu_noise[:, 3:])
332332

333333
# Aiding measurements
334-
pos_noise_std = 0.1 # m
335334
head_noise_std = 1.0 # deg
336335
rng = np.random.default_rng(0)
337-
pos_aid = pos + pos_noise_std * rng.standard_normal(pos.shape)
338336
head_aid = head + head_noise_std * rng.standard_normal(head.shape)
339337

340338
# AINS
@@ -352,7 +350,7 @@ def test_benchmark_ahrs(self):
352350
smoother = sf.FixedIntervalSmoother(ains, cov_smoothing=True)
353351

354352
euler_ains = []
355-
for f_i, w_i, p_i, h_i in zip(acc_imu, gyro_imu, pos_aid, head_aid):
353+
for f_i, w_i, h_i in zip(acc_imu, gyro_imu, head_aid):
356354
smoother.update(
357355
f_i,
358356
w_i,

0 commit comments

Comments
 (0)