Using XCSoar with FlightGear
This page describes how to use the open source glide computer XCSoar (https://xcsoar.org) for use with gliders in FlightGear over a WLan Connection using the nmea Protocol.
Configure flightgear
When starting flightgear, add this line to your start command (when using a launcher, there is usually a field to input manual control line elements): --nmea=socket,out,5,XXX.XXX.XXX.XX,4353,udp Instead of the X's you put in the local IP-adress of the receiver (can be the same as your computer if you use it there, or your mobile phone, tablet, ...). Then you start flightgear as usual with your favourite Glider ;)
Configure XCSoar
When starting XCSoar, click on "Fly". You will be directed to a mostly white page with some information fields in the corners. Double click anywhere to enable the menu.
In the menu, click on Config -> NMEA and then bearbeiten/edit in the left upper corner.
Select the first field to be "UDP-Port", the second to "4353" (if not already done) and the third to "Generic" (if not already done). When starting flightgear now, it should be connected.
Configure Map
As you still see only a white field, you may want to download a map of your current location. Therefor go into Config -> System and click on the first field ("Standortdatei" in the german version)
When clicking on the first field (Map Database) again, you will either be able to select from installed maps or you can download new ones in the left lower corner.
Configure Aircraft
To make sure XCSoar always has the right data for your aircraft, you can go to Config -> Aircraft and add a new aircraft. There you can select (under Aircaft Polars) from a list the aircraft you're flying in. Make sure to activate the aircraft.