DFRobot / DFRobot_BMP3XX

MIT License
2 stars 0 forks source link

get_altitude doesn't use calibrated data #1

Open elpiel opened 10 months ago

elpiel commented 10 months ago

accordingly to the function, it should take into account the calibrated sea level pressure, but instead it's taking the Standard sea level pressure:

https://github.com/DFRobot/DFRobot_BMP3XX/blob/157f8d9b2fc6427db49a44eaa8fae6ab5beb8533/python/raspberrypi/DFRobot_BMP3XX.py#L268-L278

xXxOlivierxXx commented 2 months ago

Seems like the manufacturer does not support this library, they just published it and forgot about it.

elpiel commented 2 months ago

Yes I can see that. I actually started working on the Rust crate for bmp388 and found this bug that wanted to report 😅 Don't actually use the library myself