Sensors, Electronics and Prototyping

Reply To: euler angles become NaN after some time

Welcome to Redshift Labs Forums UM7 Product Support euler angles become NaN after some time Reply To: euler angles become NaN after some time

#1195
till
Guest

i’m very confident now there must be a bug with short int overflow …


    health   roll   pitch      yaw xmagraw ymagraw zmagraw yawrate xaccel yaccel zaccel magrawtim acceltime  heading
0000000001  -0.59   -0.86  -311.30   -4.00  -20.00  -26.00    0.00  -0.02   0.01  -0.98  32767.63  32767.67   136.63
0000000001  -0.59   -0.86  -311.30   -7.00  -19.00  -27.00    0.06  -0.02   0.01  -0.98  32767.67  32767.72   136.63
0000000001  -0.59   -0.86  -311.30  -10.00  -16.00  -26.00    0.00  -0.01   0.01  -0.98  32767.75  32767.78   136.63
0000000001  -0.60   -0.86  -311.30  -10.00  -14.00  -22.00    0.06  -0.02   0.01  -0.98  32767.79  32767.83   136.63
0000000001  -0.60   -0.86  -311.30   -8.00  -20.00  -22.00    0.00  -0.01   0.01  -0.98  32767.83  32767.88   136.63
0000000001  -0.60   -0.86  -311.30  -10.00  -16.00  -24.00    0.00  -0.02   0.01  -0.98  32767.87  32767.93   136.63
0000000001  -0.59   -0.86  -311.30  -12.00  -20.00  -28.00    0.00  -0.02   0.01  -0.98  32767.96  32767.98   136.63
0000000001  -0.59   -0.86  -311.30   -4.00  -24.00  -22.00    0.00  -0.02   0.02  -0.98  32767.99  32768.03   136.63
0000000001  -0.59   -0.86  -311.30  -11.00  -15.00  -27.00    0.00  -0.01   0.01  -0.98  32768.04  32768.08   136.63
0000000001  -0.59   -0.86  -311.30   -7.00  -17.00  -27.00    0.00  -0.01   0.01  -0.99  32768.08  32768.13   136.63
0000000001  -0.59   -0.86  -311.30  -11.00  -15.00  -23.00    0.00  -0.02   0.01  -0.98  32768.16  32768.18   136.63
0000000001  -0.59   -0.86  -311.30  -10.00  -20.00  -28.00    0.00  -0.01   0.01  -0.98  32768.20  32768.23   136.63
0000000001  -0.59   -0.86  -311.30  -15.00  -15.00  -25.00    0.00  -0.02   0.01  -0.98  32768.24  32768.29   136.63
0000000001  -0.59   -0.86  -311.30   -9.00  -15.00  -23.00    0.00  -0.01   0.01  -0.99  32768.28  32768.34   136.63
0000000001  -0.59   -0.86  -311.30  -10.00  -22.00  -20.00    0.00  -0.02   0.01  -0.98  32768.36  32768.39   136.63
0000000001  -0.60   -0.86  -311.30  -10.00  -22.00  -20.00    0.00  -0.02   0.01  -0.97  32768.40  32768.44   136.63
0000000001  -0.59   -0.86  -311.30  -10.00  -18.00  -24.00    0.00  -0.02   0.01  -0.98  32768.44  32768.49   136.63
0000000001  -0.59   -0.86  -311.30  -11.00  -17.00  -27.00    0.00  -0.02   0.01  -0.98  32768.48  32768.54   136.63
0000000001  -0.59   -0.86  -311.30  -12.00  -18.00  -24.00    0.00  -0.02   0.01  -0.98  32768.56  32768.59   136.63
0000000001  -0.59   -0.86  -311.30   -8.00  -22.00  -22.00    0.00    nan    nan    nan  32768.61  32768.64   136.63
0000010001   0.00    0.00     0.00   -6.00  -18.00  -22.00    0.00    nan    nan    nan  32769.01  32769.05   135.38