mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-10-22 06:03:34 +08:00
ekf2: fix direct state measurement update for suboptimal K case
The duration of a unit test had to be increased because the incorrect covariance matrix update, was making the unit test passing faster (over-optimistic variance).
This commit is contained in:
committed by
Mathieu Bresciani
parent
cb2bb2e098
commit
6d819343aa
@@ -346,7 +346,7 @@ TEST_F(EkfInitializationTest, initializeWithTiltNotAtRest)
|
||||
_ekf->set_vehicle_at_rest(false);
|
||||
_sensor_simulator.simulateOrientation(quat_sim);
|
||||
//_sensor_simulator.runSeconds(_init_tilt_period);
|
||||
_sensor_simulator.runSeconds(7);
|
||||
_sensor_simulator.runSeconds(10);
|
||||
|
||||
EXPECT_TRUE(_ekf->control_status_flags().tilt_align);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user