I'm working on getting the BSEC library working with Rust, as it has support for linking to C libraries. I have the system almost working perfectly, but I have run into one problem. The compensated temperature and humidity values are very wrong. I should be reading around 40% humidity, and around 22 degrees C, but the outputs from the library are reporting 100% humidity and -3.4 degrees C. I've been able to trace the issue down to my call of `bsec_do_steps` in the library. The data I pass into it all looks accurate, but the output data has the issues as shown in the previous image. Is there any information that could suggest what I am doing wrong with passing the information into this function? Maybe I misconfigured something somehwhere else in the code. I understand that actual help with rust is probably outside of the normal realm of support for this forum, but was hoping for some more general pointer on where I could look for that may be causing this issue.
... View more