Sensor calibration code
teyann opened this issue · comments
Taeyang Yoon commented
Hello. I had a question than at the ACC_Common function in the file of sensor.c baseflight source code.
'a[ROLL] + (CALIBRATING_ACC_CYCLES / 2)) / CALIBRATING_ACC_CYCLES'
The above source code, not the source code to calculate the average. The above source code is average + '1/2'
So I wonder why that code is written like that.
luggi commented
rounding
Taeyang Yoon commented
Haha, I forgot that.
Thanks