ArduPilot EU Dev Call 2026-05-20

Attendees (unique): 10


UTC0700

Andrew: Hopefully this brings us closer to a further HAL abstraction.

  • We should have had promoted hwdef higher, so that we can have the same board with different HALs (ChibiOS, Zephyr, etc…).
  • You can already have one ethernet and ChibiOS network backend too, at the same time.
  • Next step is PPP with flow control.

Merged!


UTC0708

A: RemoteUARTDrover::write() could possibly lead to a hang if the threading is wrong?

  • Ah, no, that’s on the host side.

Peter: Found a case of uninitilized port use.


UTC0722

P: I’ll test this in the weekend.


UTC0723

P: We have a regression in Plane dead-reckoning in master.

A: Could it be that we are resetting isFlying on mode change?

P: Yes, isFlying is going to 0 in the autotest GuidedAttitudeNoGPS indeed. This is wrong.
George: Could it be that the dead-reckoning things we’re going too slow and flagging a not-flying condition?
A: It seems it’s moving fast enough at that point, but maybe it is a case of flying at a very low airspeed, below stall speed. So you’re not actually “flying” in the aerodynamic sense and should not use that assumption for fusion.
P: At the same time we’re at 0 throttle and we’re pitching up, losing a lot of airspeed.
A: Right. So we’re moving but because isFlying is false, we’re moving 0 velocity and this screws up the dead-reckoning.

  • We could use the “flies forward” flag of the EKF to block this code from executing.
  • It will work in Plane likely, but boats drifting at 0 throttle might indeed still get confused.
  • Randy, do boats handle dead-reckoning nicely? They don’t use the fly_forward flag.

Randy: I’ll check.
A: I just checked, it’s bad.
R: Okay, I’ll get on it.

P: Let’s merge AP_NavEKF3: do not look at takeoff for zero velocity fusion by andyp1per · Pull Request #33115 · ArduPilot/ardupilot · GitHub as a first mitigation.
A: And I’ll follow up.
R: Could we improve ‘isFlying’?
A: It’s hard, for example one holds a plane in the air against strong wind. Is it flying at this point?
R: We can probably gate the transition from not flying to flying and vice versa with different checks.
A: In planes it’s harder to tell if you landed than in planes, especially when you glide and almost hover. During a landing in headwind you might actually hover above the ground. We don’t want to think we’ve landed at 1m above the ground.

P: Okay, merging fix on CI pass.


UTC0803

A: Do we run unit tests for this kind of thing?
P: Yes, we do.
A: Approved!


UTC0810

P: How about this approach?
A: That’s also an okay approach. But let’s let Thomas decide what he wants.


UTC0815

A: You can declare a parameter structure in AP_SurfaceDistance, but instantiate them in Copter, then pass down the structre in the object constructor.
George: Ah, nice! I’ll try that.
P: The SITL knows to restart after the context is popped, if a reboot has been done in the test.


UTC0824

Khancyr’s idea and draft to find .Lua applets more easily.

P: I’m concerned that this will make it very hard to sunset some old Lua bindings.
R: How do users find and upload scripts now? Via Github?
Pierre: Yes.
G: Would it be possible to have the page connect to the autopilot, check versions and update?
P: Would it be possible to insert metadata on the script for the known-workig AP version? Then we could maybe issue a warning if you update AP firmware but keep the old script. And vice versa.
R: Very cool!


UTC0831

G: I’m happy with having the justification mandatory as well.

Merged!


UTC0836

P: Approved!

MergeOnCIPass


UTC0838


UTC0841

P: Since that’s a Holybro device and the PR is by a Holybro employee, then it’s okay to change the board hwdef.


UTC0846

P: We’ve got duplicate compass drivers!

  • jdahl added the duplicate and he’s now removing it.

UTC0847

P: Andy has raised objections.


UTC0848

Merged


UTC0850

A: I do have an F3 at hand!

  • Ah, this one doesn’t boot. I’ll try another one.

P: I have an F103 as well! I’ll try it too.

  • Hm… it doesn’t seem to accept the firmware.

A: Mine is works and is happy! Now let’s find a GPS to connect.

  • Works nicely.

UTC0906

P: This PR will detect the sticks moving and abort the overrides.

  • Let’s test the new changes again in Spring Valley.