Skip to content

ArduPilot-4.6.0-beta6 release #29888

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 45 commits into from
Apr 29, 2025
Merged

Conversation

rmackay9
Copy link
Contributor

@rmackay9 rmackay9 commented Apr 25, 2025

This is a work-in-progress PR for the AP-4.6.0-beta6 release affecting Copter, Rover, Plane and Tracker.

The list of PRs included can be seen in the "4.6.0-beta6" column of this project.

Thanks to @andyp1per, @Ryanf55 and @peterbarker, @Hwurzburg, @tpwrules and @tridge for their help so far with this PR

All feedback welcome!

@timtuxworth
Copy link
Contributor

That's a lot of changes for a beta 6!

@rmackay9 rmackay9 removed the WIP label Apr 26, 2025
@rmackay9 rmackay9 changed the title ArduPilot-4.6.0-beta6 release (WIP) ArduPilot-4.6.0-beta6 release Apr 26, 2025
@tridge
Copy link
Contributor

tridge commented Apr 27, 2025

@rmackay9 the "speed up ublox configuration" change is already in this PR

rishabsingh3003 and others added 15 commits April 28, 2025 13:30
Co-authored-by: Henry Wurzburg <[email protected]>
we have a lot more steps now to configure a ublox, and it is taking an
annoyingly long time. There is really not a good reason to do the
configuration so slowly

on a F9P this reduces the time for configuration from detection of the
ublox to fully configured from 35s to 10s
it was possible for a runtime allocated subscriber, client or server
to trigger a call to a pure virtual handle_message function in the
HandlerList class as the constructor ordering inserts the handler into
the list before the vtable pointer is updated to the vtable for the
child class. The same issue happens on destructor

this could happen in a couple of places in ArduPilot:

 - the MPPT battery driver does runtime allocation of a client on an
 R/C switch
 - the DroneCAN_Serial client is started after the thread starts so
 packet processing is started

thanks to Thomas and Sid
andyp1per and others added 7 commits April 28, 2025 13:30
…false

CubeNode was trying to check a parameter which doesn't exist

../../libraries/AP_Airspeed/Airspeed_Calibration.cpp: In member function 'void AP_Airspeed::send_airspeed_calibration(const Vector3f&)':
../../libraries/AP_Airspeed/Airspeed_Calibration.cpp:179:23: error: 'class AP_Airspeed_Params' has no member named 'autocal'
  179 |         if (!param[i].autocal && !calibration_enabled) {
      |                       ^~~~~~~
compilation terminated due to -Wfatal-errors.
... so we don't try to buld bootloaders for it
Required for the ellipsoid height to be broadcast correctly over e.g.
MAVLink. Tested on a NovAtel OEM719.
@rmackay9 rmackay9 force-pushed the ap-460-beta6 branch 2 times, most recently from 032359d to e03beed Compare April 28, 2025 04:33
@rmackay9 rmackay9 force-pushed the ap-460-beta6 branch 2 times, most recently from fe87514 to d644cfe Compare April 29, 2025 11:52
tpwrules and others added 9 commits April 29, 2025 20:53
ArduPilot's internal definition of undulation is reversed in sign
compared to the accepted convention and this creates confusion:
ArduPilot#29199 .

Instead of the internal definition, log the altitude above ellipsoid,
which ArduPilot already consistently and correctly calculates and
broadcasts over e.g. DroneCAN and MAVLink. Switching the quantity logged
allows users to accommodate the problem in old logs (i.e. always flip
GPA.Und sign to match the accepted convention) and reduces opportunity
for future confusion.

Future work will clean up or replace the internal representation, but
this should be a complete fix for the issue from a user perspective.
@rmackay9 rmackay9 merged commit df9d575 into ArduPilot:ArduPilot-4.6 Apr 29, 2025
109 of 111 checks passed
@rmackay9 rmackay9 deleted the ap-460-beta6 branch April 30, 2025 00:04
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.