ardupilot icon indicating copy to clipboard operation
ardupilot copied to clipboard

SITL: SIM_GPS_DISABLE should work when AHRS_EKF_TYPE = 10

Open rmackay9 opened this issue 1 year ago • 2 comments

When AHRS_EKF_TYPE = 10 (SITL) the SIM_GPS_DISABLE parameter doesn't have the expected result (which is that the EKF should fail to produce a position estimate).

rmackay9 avatar Apr 30 '24 01:04 rmackay9

The "perfect" EKF type, 10, doesn't rely on sensors for data, it is just echoing back the simulation numbers. There's going to be a lot of things we'll ignore - all of the simulated sensor "dirtying" parameters, for example. SIM_GPS_DISABLE is just the most obvious one.

We could add a set of flags to allow for changes in EKF-type-10's output?

peterbarker avatar May 07 '24 03:05 peterbarker

Thanks @peterbarker. I agree this could be a very large tasks so we should consider if it is worth the effort or if the user who reported this can perhaps find another solution instead.

rmackay9 avatar May 07 '24 11:05 rmackay9