@JohnRob wrote:
I guess I could change the example code, but the designers chose this action for a reason. Does anyone know their thoughts ?
This code is provided as reference therefore anyone is indeed free to edit it, as long as one understands the possible resulting changes in behavior.
the first state being saved once the algorithm achieves full calibration, i.e. iaqAccuracy = 3
Saving the first state once an iaqAccuracy level of 3 is reached only ensures the at least one known fully-calibrated state is stored. Saving the state file regardless of the accuracy level would also be possible, although reloading a state with an iaqAccuracy of 1 would also mean the library was already aware that its current calibration was not optimal.
It is also a good way for new BSEC users to ensure the library can successfully reach full accuracy and thus also a hint that integration was most likely succesfully.
... View more