Hello,
I am using the 6-dof sensor LSM6DS3 in one of my projects. I was looking at the SparkFun LSM6DS3 Arduino Library, and it is not clear to me how the raw accl and gyro data is converted to float values. Specifically, the conversion from:
raw accl → G value
raw gyro → dps value
The calcAccel (https://github.com/sparkfun/SparkFun_LS … 3.cpp#L630)
and calcGyro (https://github.com/sparkfun/SparkFun_LS … 3.cpp#L710) functions use some magic numbers and I am trying to understand where they came from!
I’d appreciate any explanation of what exactly the raw values mean and some insight behind those magic numbers.
thanks!
C