Skip to content
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

AP_TemperatureSensor: new MLX90614 sensor backend driver conversion fix #28151

Merged
merged 1 commit into from
Sep 19, 2024

Conversation

rahulOCR
Copy link
Contributor

@rahulOCR rahulOCR commented Sep 19, 2024

There was conversion error in the PR #26886 which I fixed here, while testing I haven't used KELVIN_TO_C for conversion from kelvin to Celsius degrees.

Correct formula for conversion:
Temperature_read(in celsius degrees) = _crude_value * 0.02 - 273.15

I have just tested the corrected one. I apologize for the inconvenience caused.
temp_fixure

Copy link
Contributor

@peterbarker peterbarker left a comment

Choose a reason for hiding this comment

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

LGTM.

@peterbarker peterbarker merged commit 7d907e9 into ArduPilot:master Sep 19, 2024
95 checks passed
@peterbarker
Copy link
Contributor

Merged, thanks!

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.

2 participants