Skip to content

Pr/4.7.0 beta4#32929

Merged
rmackay9 merged 40 commits into
ArduPilot:ArduPilot-4.7from
Georacer:pr/4.7.0-beta4
Apr 30, 2026
Merged

Pr/4.7.0 beta4#32929
rmackay9 merged 40 commits into
ArduPilot:ArduPilot-4.7from
Georacer:pr/4.7.0-beta4

Conversation

@Georacer
Copy link
Copy Markdown
Contributor

@Georacer Georacer commented Apr 28, 2026

Summary

Cherry pick of commits marked for backport on 4.7.0-beta4 on top of the ArduPilot 4.7 branch, based on 4.7 Backports project's "4.7.0-beta4" column.

It includes:

It would be great if the devs involved could check that they are happy with the ReleaseNotes.txt

Classification & Testing (check all that apply and add your own)

  • Checked by a human programmer
  • Non-functional change
  • No-binary change
  • Infrastructure change (e.g. unit tests, helper scripts)
  • Automated test(s) verify changes (e.g. unit test, autotest)
  • Tested manually, description below (e.g. SITL)
  • Tested on hardware
  • Logs attached
  • Logs available on request

viewpro-caijie and others added 28 commits April 28, 2026 21:51
Add driver for the ST LSM6DSV16X 6-axis IMU with support for:
- WHOAMI-based chip detection (Invensensev3-style check_whoami)
- HAODR mode-1 for high-accuracy ODR (1000-8000 Hz)
- continuous FIFO burst reads
- fast sampling via INS_FAST_SAMPLE / INS_GYRO_RATE
- accelerometer second-stage LPF2
Add SPI device and IMU probe line for the LSM6DSV16X on Pixhawk6C.
The driver auto-detects the chip via WHOAMI so both ICM42688 and
LSM6DSV16X boards are supported without a board type change.
- Replace file-scope constexpr definitions with #define macros for register addresses, bit masks, and scaling factors, matching the style used by other IMU drivers in this library.
- Keep the register and configuration definitions to preserve a clear mapping to the datasheet, even when some are not used in the current code path.
- Avoid unused-const-variable warnings under Clang.
- Rename LSM6DSV_EXPERIMENTAL_PRIMARY_FIFO to LSM6DSV_USE_FIFO for clarity and consistency.
- Remove the unused _accel_range_g member.

No change to the default runtime behavior.
Address review feedback and follow-up self-review findings.

- Remove the unused polling path
- Fix the FS_G_4000DPS register setting
- Switch counter-based timing checks to wall-clock based logic
- Tighten FIFO buffer allocation/lifetime handling
- Clean up related initialization and SPI transfer documentation
@Georacer
Copy link
Copy Markdown
Contributor Author

Release notes? need a list of 4.8 PR# to know what 4.8 wiki needed stuff needs to be merged into 4.7

There they are. The PR was WIP before.

Copy link
Copy Markdown
Contributor

@rmackay9 rmackay9 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good, thanks!

Copy link
Copy Markdown
Member

@IamPete1 IamPete1 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good, Thanks!

@bnsgeyer bnsgeyer self-requested a review April 30, 2026 19:56
Copy link
Copy Markdown
Contributor

@bnsgeyer bnsgeyer left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I don’t see PR #32725 backported. Was that intentional? It looked like @lthall was helping with this.

@Georacer
Copy link
Copy Markdown
Contributor Author

I don’t see PR #32725 backported.

As I mentioned in that PR, it conflicts when cherry-picked as-is. I don't feel confident to solve the conflicts on my own, so I asked for help from Leonard.

@bnsgeyer
Copy link
Copy Markdown
Contributor

@Georacer i will look at that tonight and provide a PR that you can use to backport it.

@Georacer
Copy link
Copy Markdown
Contributor Author

@Georacer i will look at that tonight and provide a PR that you can use to backport it.

Great! Perhaps @rmackay9 will belay the merge of beta4, I'm not in charge of that.

@rmackay9
Copy link
Copy Markdown
Contributor

Hi @bnsgeyer,

As mentioned on the dev call, I don't think we should delay the beta release. We're doing regular releases so there will be another in 2 weeks!

@rmackay9 rmackay9 dismissed bnsgeyer’s stale review April 30, 2026 22:24

sorry, I'd like to keep releases going out at regular intervals so let's keep going. There will be another in 2 weeks!

@rmackay9 rmackay9 merged commit 571e8c7 into ArduPilot:ArduPilot-4.7 Apr 30, 2026
114 of 118 checks passed
@rmackay9 rmackay9 requested a review from Williangalvani May 1, 2026 00:50
@Williangalvani
Copy link
Copy Markdown
Contributor

oops I'm late! consider this an approval by me, too.

@Georacer Georacer deleted the pr/4.7.0-beta4 branch May 18, 2026 06:59
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.