-
Notifications
You must be signed in to change notification settings - Fork 13.7k
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
drivers/magnetometer/st/iis2mdc: refactor to monitor registers #24326
base: main
Are you sure you want to change the base?
Conversation
dagar
commented
Feb 12, 2025
- driver now monitors sensor configuration, if there's anything incorrectly configured it automatically resets and reconfigures itself
- sensor goes through full reboot & reset cycle
- automatic offset cancellation (OFF_CAN) is now disabled
🔎 FLASH Analysispx4_fmu-v5x [Total VM Diff: 520 byte (0.03 %)]
px4_fmu-v6x [Total VM Diff: 520 byte (0.03 %)]
Updated: 2025-02-14T21:14:09 |
|
You can use this as a chance to combine the lis2mdl driver into this as well. |
ARK FPV with the iis2mdc and an ARK RTK GPS L1 L5 with BMM150 calibration. https://review.px4.io/plot_app?log=bcc9e917-9d91-421b-8315-836d6783fefd |
why? |
It was an unknown when we had unexplained calibration results, maybe better to turn it back on now. |
Are you actually using it? I don't even have one and I'm only aware of it being used in a product that's not relevant for upstream. So unless someone has one in hand I'd rather leave it be and drop it someday. It also claims silicon bugs that don't seem to be present here. PX4-Autopilot/src/drivers/magnetometer/lis2mdl/lis2mdl.cpp Lines 95 to 99 in 01549a5
|
I don't know any product that uses it. |
- if there's any configuration error the driver is now able to reset/reconfigure itself
8941e19
to
0b71aac
Compare