Great,
Now we're getting good progress! By the way, you don't need the yaw*100 but then you have to export more decimals, like this way:
if c then
socket.try(c:send(string.format("%.3f %.2f %.2f %.2f %.2f
%.4f %.2f %.0f %.2f %.2f %.2f %.2f %.2f %.2f %.2f %.2f %.2f \n", t, altRad, altBar, pitch, bank,
yaw, accel.x, angle, accel.y, accel.z, accel.x, accel.y-1, accel.z, user4, user5, user6, 7)))
end
Notice
%.4f for yaw. This completely gets rid of the .57 problem! Now we have .01 increments and good resolution. This works perfectly, and we still have 360 degrees. Problem solved. Let's move on!
If we want more accuracy, we can do it by allowing more decimals to be shown in the plugin or by multiplying the value in export.lua.