Open inspirity opened 4 weeks ago
The documentation says that for the TargetHeading, you need a radians value.
But in the raymarinen2k.js file at line 97 within the putHeading function, the code expects a degree's value:
:97 var new_value = Math.trunc(degsToRad(value) * 10000)
It seems that the wind angle in radians should be within 4 decimal places. Is this correct?
I fixed the docs. You don't need to be concerned with decimal places.
The documentation says that for the TargetHeading, you need a radians value.
But in the raymarinen2k.js file at line 97 within the putHeading function, the code expects a degree's value:
:97 var new_value = Math.trunc(degsToRad(value) * 10000)
It seems that the wind angle in radians should be within 4 decimal places. Is this correct?