Hello everyone,

I have started programing an app that retrieves the data from UDP as a personal project.

I am able to get most values, except for the floats... It is not an issue with getting the data from the structure as everything else (char, short, int) works perfectly.

For instance, when I'm in the pitlane (speed = 60km/h) the float representing the speed is 0xaeb49243, which decimal value is -8.2114336164e-11
If I speed to 100km/h, the float is 0xbfec9243, which decimal value is -1.84821355343

Did I miss something? Do you know how floats should be interpreted?

Thanks!

Here is a sample of a packet capture when I'm in pitlane. (Speed adress is 5a)

Code:
0020   xx xx xx xx xx xx xx xx xx xx a7 0d 00 00 24 05   .......7].....$.
0030   00 00 01 01 00 04 00 0a 00 00 00 0a 56 00 bb 01   ............V...
0040   52 00 e4 00 3a 00 8c 00 0a 00 e1 e7 fe 3e d1 ba   R...:........>..
0050   84 41 04 28 38 4a 00 71 64 00 ae b4 92 43 b6 a6   .A.(8J.qd....C..
0060   c7 bc b1 ff 88 bc d2 2c 1d bb b3 fd 5e 3b c3 dc   .......,....^;..
0070   2e 3e 7e b9 84 c1 a6 0a 90 3e 2c a0 6e be 0d b3   .>~......>,.n...
0080   84 c1 11 97 0a 3c c0 bb 81 ba 7a 86 1e bd 5a 34   .....<....z...Z4