I have a project that is basically to analyze the effects of quantization on orientation estimation algorithms. I have sensor data from gyroscope that looks like this when using float datatype:
> gx=-0.001064650843716541
> gy=-0.0042603487041181585
> gz=0.0053267448770866945
When i use “sc_fixed < 16,8,SC_TRN,SC_SAT >” dedicating 8 bits to the integar part and remaining bits to the fractional part, i get the following results,
> gx=-.00390625
> gy=-.0078125
> gz=.00390625
> ```
I am just failing to understand how does quantization worsen these values.
Any sort of insight or guidance would be helpfull
I have tried to used the following bit configurations
"sc_fixed < 24,10,SC_TRN,SC_SAT >"
"sc_fixed < 32,10,SC_TRN,SC_SAT >"
"sc_fixed < 32,11,SC_TRN,SC_SAT >"
The results are effected but now as much when i use < 16,8 >