2023-01-23, 11:39 PM
I am trying to really understand the way the (basic) pilot works in wind mode. One thing about the code I do not really understand. To me it seems that the pilot converts the wind angle which has the boat as a frame of reference to a wind angle having the compass as a frame of reference using this line of code.
Do I interpret the code right? If so, what is the reason for this? To me it seems like a detour.
Code:
true_wind = resolv(ap.true_wind_compass_offset.value - compass)
Do I interpret the code right? If so, what is the reason for this? To me it seems like a detour.