Using XCSoar with FlightGear: Difference between revisions

From FlightGear wiki
Jump to navigation Jump to search
(Created page with "This page describes how to use the open source program XCSoar (https://xcsoar.org) with FlightGear over a WLan Connection using the nmea Protocol. ==Configure flightgear== Wh...")
 
(+- lead section: Describing what XCSoar actually is; cat: Software)
Line 1: Line 1:
This page describes how to use the open source program XCSoar (https://xcsoar.org) with FlightGear over a WLan Connection using the nmea Protocol.
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==
== 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):
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'''
'''--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 ;)
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==
 
== 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. <br/>
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. <br/>
In the menu, click on Config -> NMEA and then bearbeiten/edit in the left upper corner. <br/>
In the menu, click on Config -> NMEA and then bearbeiten/edit in the left upper corner. <br/>
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.<br/>
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.<br/>
===Configure Map===
 
=== 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)<br/>
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)<br/>
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.
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===
 
=== 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.
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.
[[Category:Software]]

Revision as of 23:08, 18 August 2019

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.