ardupilot icon indicating copy to clipboard operation
ardupilot copied to clipboard

Reset height and position data indoors from last known location

Open andyp1per opened this issue 5 months ago • 7 comments

Trying to avoid EKF induced fly-aways indoors

andyp1per avatar Sep 28 '25 15:09 andyp1per

... also, we probably don't need extra parameters for this storage, we persist home already.

peterbarker avatar Sep 29 '25 05:09 peterbarker

... also, we probably don't need extra parameters for this storage, we persist home already.

Where is that?

andyp1per avatar Sep 29 '25 08:09 andyp1per

... also, we probably don't need extra parameters for this storage, we persist home already.

Where is that?

mission-slot-0.

Yeah this is not user friendly and in discussion with others we don't want this associated with a mission. I think what is in the PR is still the best way of doing this.

peterbarker avatar Oct 31 '25 06:10 peterbarker

I have been using this a lot and it is great!

andyp1per avatar Nov 10 '25 14:11 andyp1per

Spams

LOITER> Received 1366 parameters
Saved 1344 parameters to mav.parm
AP: Field Elevation Set: 0m
AP: Field Elevation Set: 0m
AP: Field Elevation Set: 0m

LOITER> AP: Field Elevation Set: 0m
AP: EKF3 IMU0 is using GPS

LOITER> AP: EKF3 IMU1 is using GPS

LOITER> aAP: Field Elevation Set: 0m

Ah-ha! So that's where the spam is coming from! Okay, need to figure that out because it was annoying me as well.

andyp1per avatar Nov 12 '25 08:11 andyp1per

Spam is pre-existing

andyp1per avatar Nov 12 '25 14:11 andyp1per

@rmackay9 this is clean now and I have updated the tests to appropriately check that we can't arm without GPS where necessary

andyp1per avatar Dec 07 '25 20:12 andyp1per