Openvario / variod

Daemon for autonomous e-vario
4 stars 8 forks source link

Load polar to variod #45

Open morihab opened 2 years ago

morihab commented 2 years ago

Hi there, I am trying to load the right polar into variod. What I did is I defined the lines

mode=Vario_menu
type=key
event=SendNMEAPort1 POV,C,IPO,0.0015,-0.0615,1.189
label=Send Polar
event=StatusMessage Sent Polar to VARIOD
location=4

in the openvario.xci file to load the factors a, b, c into variod. I don't know if this is the right way to do it. However, I don't even understand the factors a, b and c. The way I read the stf.c file they should give the rate of sink according to

rate_of_sink = a*IAS² + b*IAS + c

with the units of rate of sink and IAS being m/s. With this formula I get extremely high rates of sink for the standard factors a,b,c which according to the comments belong to an ASW24.

Has anybody been able to load a custom polar to variod? Is this even necessary or does variod get the polar from xcsoar?

Thank you very much for your help!