forked from Archive/PX4-Autopilot
ekf2_test: test validity of local position when not at rest
At rest, the zero velocity update keeps the local position valid all the time. Deactivate it to be able to test the validity checks
This commit is contained in:
parent
1914053db2
commit
20b46ad33f
|
@ -66,6 +66,10 @@ public:
|
|||
_ekf->set_vehicle_at_rest(true);
|
||||
|
||||
_sensor_simulator.runSeconds(7);
|
||||
|
||||
// When at rest, the strong zero velocity update keeps the local position
|
||||
// valid. Deactivate this to test the change of validity without zvup
|
||||
_ekf->set_vehicle_at_rest(false);
|
||||
}
|
||||
|
||||
// Use this method to clean up any memory, network etc. after each test
|
||||
|
|
Loading…
Reference in New Issue