ArduPilot EU Dev Call 2024-11-20

Attendees (max): 9

UTC0703

Andrew: This is a serious issue.
Randy: I think Pete wants us to wait a week or two.
A: But it will get less testing that way.

  • We’ve had this issue since we’ve supported multi-heap. Likely around 4.4.
  • But it has gotten more severe in 4.6, because users are using more memory (ethernet, CAN and similar features).
  • Increasing the heap size won’t help. Fragmented memory will cause a failure to allocate the requested amount of contiguous memory.
    - Reminder: Scripting starts late, after the memory

R: Pete is probably saying “this should bake in master a bit, before it goes to beta”.
A: We spent a lot of time reviewing this with Thomas.


UTC0724

A: Let’s make tests for 4.4 and 4.5 too.

  • Doesn’t need to have LUA script.

UTC0732

R: What can the user do about this problem? After they get this warning.
A: They can still change their IMU read rate.

  • It would be beneficial for the other CPU issues we have with IMUs to reduce the IMU read rate.
  • But racing quad users might fall into the case where the main loop is faster than the IMU read rate, hence this PR.
  • Andy should review this again.

UTC0755

A: For variables at the top level the compiler is most likely smart enough to leave out the initializations.


A: It’s best to read all at once and use the string unpack structure.
Peter: Are the unit conversions correct?
George: I’m pretty sure they are.

  • But sure, let’s wait for the user to test as well.

UTC0810

Merged!


UTC0813

A: We can widen the pitch limits and let TECS gradually take over.
G: I actually like that.


UTC0823

P: Randy has a request, but he’s happy for it to go in for Plane.

  • Peter asked for some flash size difference results, I posted them.
    A: I’d prefer not split the PR in 3. But if Pete wants it to approve, I guess I’ll do it.
  • By the way, it makes a lot of sense to use the -Os flag for all non-time-critical libraries.

UTC0841

A: It’s unfortunate that we have to change existing field names, but oh well.

MergeOnCIPass