View Single Post
  #6  
Old July 12th 12, 02:08 PM posted to rec.aviation.soaring
Max Kellermann
external usenet poster
 
Posts: 171
Default Paragliding task score software

Markus Manninger wrote:
I know XCSoar but didn't that it can be used to score for a task. I
thought that's a flight computer. Is there a tutorial/wiki how to to the
score an IGC File?


It is a flight computer, but naturally, a flight computer contains all
sorts of task calculations. Since I joined the XCSoar project as a
voluntary developer in 2009, I have spent a lot of time on splitting
XCSoar into reusable libraries.

There's no reason why one should write new task calculation code, when
XCSoar has it already! Better improve XCSoar's code than writing new
one from scratch.

This is how you compile the OLCPlus scoring program on Linux:

git clone git://git.xcsoar.org/xcsoar/master/xcsoar.git
cd xcsoar
make output/UNIX/bin/AnalyseFlight

Source code of the program, it's nothing more than a command-line JSON
front-end for XCSoar's contest scoring library:

http://git.xcsoar.org/cgit/master/xc...lyseFlight.cpp

Now you can use it to get OLCPlus scores of an IGC file:

output/UNIX/bin/AnalyseFlight foo.igc

This will print flight statistics (take-off/landing time/location) and
OLCPlus scores/turnpoints. This program is used internally by
SkyLines when you upload an IGC file:

http://git.xcsoar.org/cgit/master/sk...alysis.py#n134

If you want to know more, subscribe to our developer mailing list
(https://lists.sourceforge.net/lists/...o/xcsoar-devel) or join
our IRC channel (#xcsoar on freenode).

Max