2022-04-14, 10:19 PM
I'm not sure that formula is correct, it seems to beĀ 180 degree wrong. Noticed when comparing to a Netatmo wind sensor.
Can you use that formula on both positive and negative radian?
Should it not be *180/pi on positive radian, and *180/pi + 360 on negative radian?
I know my lack of math knowledge shines through here but am I wrong?
If so, how can I write the conversion code to take the negative values into account?
Can you use that formula on both positive and negative radian?
Should it not be *180/pi on positive radian, and *180/pi + 360 on negative radian?
I know my lack of math knowledge shines through here but am I wrong?
If so, how can I write the conversion code to take the negative values into account?