Hello.
I'm trying to understand how to set up the sine and cosine coefficients in voxel viewer.
I have the OPT8241 evaluation board and I found at pag 31 in OPT9221 two formula to set the 12 coefficients.
In my case I use quad_count_max = 6 and these are the parameters extracted by the formula previously cited:
| cos_f1_q0_coeff | 32767 | cos_f2_q0_coeff | 32767 | |
| cos_f1_q1_coeff | 16383,43 | cos_f2_q1_coeff | 16383,43 | |
| cos_f1_q2_coeff | -16383,6 | cos_f2_q2_coeff | -16383,6 | |
| cos_f1_q3_coeff | -32767 | cos_f2_q3_coeff | -32767 | |
| cos_f1_q4_coeff | -16383,2 | cos_f2_q4_coeff | -16383,2 | |
| cos_f1_q5_coeff | 16383,85 | cos_f2_q5_coeff | 16383,85 | |
| sin_f1_q0_coeff | 0 | sin_f2_q0_coeff | 0 | |
| sin_f1_q1_coeff | 28377,09 | sin_f2_q1_coeff | 28377,09 | |
| sin_f1_q2_coeff | 28376,97 | sin_f2_q2_coeff | 28376,97 | |
| sin_f1_q3_coeff | -0,24072 | sin_f2_q3_coeff | -0,24072 | |
| sin_f1_q4_coeff | -28377,2 | sin_f2_q4_coeff | -28377,2 | |
| sin_f1_q5_coeff | -28376,9 | sin_f2_q5_coeff | -28376,9 |
These parameters are correct?
I'm trying to understand which step of the calibration is wrong.
Thanks