Hi all.

thank you very much to everyone for all the useful information to NMEA.

I use this for created a program for Condor, here (french) :
 http://www.condorsim.fr/communaute/topic15737.html

there is something I do not understand :

For field number 10, windcourse, I must subtract the value by 180 if it
exceeds 180. I must add 180 to the value if it is less than 180.

to understand because my English is very low:

   if (StringPart (nmea, '', 0) = '$ LXWP0') then
      begin
        Temp: = StringPart (nmea, ',', 11); // Windcourse value
        Val (temp, value, errorCode);
        if (value> = 180) then
          DIRECTIONVENTnmea: = value - 180
        else
          DIRECTIONVENTnmea: value = + 180;
      end;

Do you know why I have to do that to get the true value of the wind
direction at time t?

Thanks for your help.

Best regards.



--
View this message in context: 
http://xcsoar.1045713.n5.nabble.com/Limitation-of-the-NMEA-data-stream-generated-by-Condor-Soaring-Simulator-for-use-with-XCSoar-tp2647477p5710842.html
Sent from the xcsoar-user mailing list archive at Nabble.com.

------------------------------------------------------------------------------
What NetFlow Analyzer can do for you? Monitors network bandwidth and traffic
patterns at an interface-level. Reveals which users, apps, and protocols are 
consuming the most bandwidth. Provides multi-vendor support for NetFlow, 
J-Flow, sFlow and other flows. Make informed decisions using capacity planning
reports.http://sdm.link/zohodev2dev
_______________________________________________
Xcsoar-user mailing list
Xcsoar-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/xcsoar-user

Reply via email to