<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://wiki.flightgear.org/w/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=Magicraptor</id>
	<title>FlightGear wiki - User contributions [en]</title>
	<link rel="self" type="application/atom+xml" href="https://wiki.flightgear.org/w/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=Magicraptor"/>
	<link rel="alternate" type="text/html" href="https://wiki.flightgear.org/Special:Contributions/Magicraptor"/>
	<updated>2026-04-30T04:59:50Z</updated>
	<subtitle>User contributions</subtitle>
	<generator>MediaWiki 1.39.6</generator>
	<entry>
		<id>https://wiki.flightgear.org/w/index.php?title=Little_navmap_Add-on&amp;diff=143613</id>
		<title>Little navmap Add-on</title>
		<link rel="alternate" type="text/html" href="https://wiki.flightgear.org/w/index.php?title=Little_navmap_Add-on&amp;diff=143613"/>
		<updated>2026-02-19T18:56:15Z</updated>

		<summary type="html">&lt;p&gt;Magicraptor: /* Installing FGconnect */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{Incomplete}}&lt;br /&gt;
&lt;br /&gt;
{{Infobox Software&lt;br /&gt;
| title                  = Little Navmap Add-on&lt;br /&gt;
| logo                   = Fgaddonslogo202x89.png&lt;br /&gt;
| image                  = LMN menu2.png &lt;br /&gt;
| alt                    = Little Navmap addon settings window&lt;br /&gt;
| developedby            = Sławek Mikuła (slawekmikula)&lt;br /&gt;
| initialrelease         = &lt;br /&gt;
| latestrelease          = &lt;br /&gt;
| writtenin              = Nasal, Canvas&lt;br /&gt;
| developmentstatus      = 100% &lt;br /&gt;
| type                   = Addon&lt;br /&gt;
| platform               = Tested on FG version 2024.1.3&lt;br /&gt;
| license                = [[GNU General Public License]] v2&lt;br /&gt;
| website                = https://github.com/slawekmikula/flightgear-addon-littlenavmap&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
The '''Little Navmap''' extension allows [[FlightGear]] to send real-time data to the [https://albar965.github.io/littlenavmap.html Little Navmap] software so that it can plot the aircraft's position on its map.&lt;br /&gt;
&lt;br /&gt;
Little Navmap is a free and open-source flight planner, navigation tool, mobile map, airport search system, and airport information provider. It is compatible with Windows 7/8/10/11, macOS (High Sierra 10.13 or later), and Linux (64-bit only).&lt;br /&gt;
&lt;br /&gt;
[[File:LNM interface.jpg|center|thumb|Little Navmap software interface]]&lt;br /&gt;
&lt;br /&gt;
== How does it work? ==&lt;br /&gt;
&lt;br /&gt;
FlightGear exports its data in real time via a UDP network connection to a gateway program called FGconnect. FGconnect then relays the data to the Little Navmap software, also via a UDP network connection.&lt;br /&gt;
&lt;br /&gt;
Thus, the Navmap map displays the aircraft's movement in real time in three dimensions.&lt;br /&gt;
&lt;br /&gt;
[[File:LMN Datas.png|center|thumb|Little Navmap displays the data sent by FlightGear.]]&lt;br /&gt;
&lt;br /&gt;
== Installation ==&lt;br /&gt;
&lt;br /&gt;
===Installing the add-on===&lt;br /&gt;
The installation of this add-on is done as follows:&lt;br /&gt;
&lt;br /&gt;
# [https://github.com/slawekmikula/flightgear-addon-littlenavmap Download] the latest version of the Little Navmap add-on and extract it to a local folder.&lt;br /&gt;
# In the launcher, open the &amp;quot;'''Add-ons'''&amp;quot; tab. Click the &amp;quot;'''Add'''&amp;quot; button in the &amp;quot;'''''Add-on Folders'''''&amp;quot; section and select the folder extracted in step 1 (or add the following option in the command line: &amp;lt;code&amp;gt;--addon=/path/to/little-navmap-addon&amp;lt;/code&amp;gt;).&lt;br /&gt;
# Click on '''&amp;quot;Fly!'''&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
=== Installing Python ===&lt;br /&gt;
&lt;br /&gt;
[https://www.python.org/downloads/ Download Python] and perform a default installation.&lt;br /&gt;
&lt;br /&gt;
=== Installing FGconnect ===&lt;br /&gt;
&lt;br /&gt;
The FGconnect module consists of Python scripts and provides the link between the FlightGear and Little Navmap software.&lt;br /&gt;
&lt;br /&gt;
# Download the latest version of [https://github.com/Em-Ant/fgconnect FGconnect] .&lt;br /&gt;
# Unzip the downloaded archive into a local folder that does not require elevated user rights (e.g., /home/my_user or c:\users\my_profile).&lt;br /&gt;
# Open a terminal window and navigate to this directory. It contains, among other things, the fgconnect.py file (Python script).&lt;br /&gt;
# Create a Python virtual environment there:&amp;lt;code&amp;gt;python3 -m venv venv&amp;lt;/code&amp;gt;&lt;br /&gt;
# Activate this environment:&amp;lt;code&amp;gt;.\venv\scripts\activate&amp;lt;/code&amp;gt;&lt;br /&gt;
# Install the Python modules required by FGconnect: &amp;lt;code&amp;gt;pip3 install wxpython&amp;lt;/code&amp;gt;and&amp;lt;code&amp;gt;pip3 install xmltodict&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Preliminary checks ==&lt;br /&gt;
&lt;br /&gt;
Before configuring anything, check that your operating system is not using the following network ports;&lt;br /&gt;
&lt;br /&gt;
* 5400: This is the port used by FlightGear's HTTP server.&lt;br /&gt;
* 7755: This is the default port used by FlightGear to send its data to Little Navmap.&lt;br /&gt;
* 51968: This is the port used by Little Navmap to receive data from FlightGear.&lt;br /&gt;
&lt;br /&gt;
To help you determine if these ports are in use, open a terminal (or console) window and run the following command:&lt;br /&gt;
&lt;br /&gt;
* '''Linux / Mac'''  :&amp;lt;code&amp;gt;netstat -an | grep &amp;lt;n° port&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
* '''Windows''' :&amp;lt;code&amp;gt;netstat -an | findstr &amp;lt;n° port&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
If the ports are free, these orders should not return anything.&lt;br /&gt;
&lt;br /&gt;
== Use ==&lt;br /&gt;
&lt;br /&gt;
Launch FlightGear.&lt;br /&gt;
&lt;br /&gt;
'''The new &amp;quot; Little Navmap''' &amp;quot; menu appears in the menu bar displayed at the top:&lt;br /&gt;
&lt;br /&gt;
[[File:FGFS Barre de menus.png|center|frame|FlightGear Menu Bar]]&lt;br /&gt;
&lt;br /&gt;
Selecting it opens the Little Navmap dialog box:&lt;br /&gt;
&lt;br /&gt;
[[File:LMN menu1.png|center|frame|Little Navmap dialog box main menu]]&lt;br /&gt;
&lt;br /&gt;
Click on button 1 to configure the extension:&lt;br /&gt;
&lt;br /&gt;
[[File:LMN menu2.png|center|frame|Little Navmap settings menu]]&lt;br /&gt;
&lt;br /&gt;
'''Verify that the &amp;quot; Enable export''' &amp;quot; checkbox is active.&lt;br /&gt;
&lt;br /&gt;
If Little Navmap and FlightGear are running on the same machine, leave the default settings.&lt;br /&gt;
&lt;br /&gt;
If Little Navmap and FlightGear are on different machines, replace &amp;quot; '''localhost''' &amp;quot; with the IP address of the machine where Little Navmap is running.&lt;br /&gt;
&lt;br /&gt;
Confirm the configuration by clicking on '''Save''' then '''Close''' .&lt;br /&gt;
&lt;br /&gt;
From the terminal window, once the virtual Python environment has launched, run:&amp;lt;code&amp;gt;.\venv\scripts\python fgconnect.py -s&amp;lt;/code&amp;gt;{{Note|The developer of this FGconnect module indicates in his release note &amp;lt;ref&amp;gt;[https://gitlab.com/tgasiba/fgconnect/-/blob/master/readme.txt?ref_type=heads Note de version de FGconnect par son auteur Tiago Gasiba]&amp;lt;/ref&amp;gt; that he has only tested it on MacOS and that it should work under Windows and Linux.&lt;br /&gt;
&lt;br /&gt;
On Windows, I found in a forum &amp;lt;ref&amp;gt;[https://forum.flightgear.org/viewtopic.php?f=89&amp;amp;t=38535&amp;amp;p=417657&amp;amp;hilit=fgconnect.py#p417657 Post du forum relatif au script fgconnect.py]&amp;lt;/ref&amp;gt; that I needed to modify the fgconnect.py file and add the following after the IMPORT line 15:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;python&amp;quot;&amp;gt;&lt;br /&gt;
sys.path.append(os.path.dirname(__file__))&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Of course, after making a backup of the original script.}}&lt;br /&gt;
&lt;br /&gt;
Open the Little Navmap software. In the '''Tools''' menu , click on &amp;quot; '''''Connect to Flight Simulator...''''' &amp;quot; and then go to the &amp;quot; '''''Remote/Network''''' &amp;quot; tab. If FlightGear and Little Navmap are running on the same machine, leave the default settings and click the '''Connect''' button .&lt;br /&gt;
&lt;br /&gt;
Alternatively, replace '''''localhost''''' with the IP address where FGconnect and FlightGear are running. Then click '''connect''' .&lt;br /&gt;
&lt;br /&gt;
== Afterwards... ==&lt;br /&gt;
&lt;br /&gt;
At this stage, the FlightGear and Little Navmap software communicate. FlightGear sends real-time data relating to the aircraft: its type, registration, magnetic heading, true heading, position, speed, altitude, etc.&lt;br /&gt;
&lt;br /&gt;
Little Navmap takes this data and reflects the situation on its map.&lt;br /&gt;
&lt;br /&gt;
This allows you to visualize the route followed in relation to the flight plan.&lt;br /&gt;
&lt;br /&gt;
{{Appendix}}&lt;br /&gt;
&lt;br /&gt;
[[Category:FlightGear addons]]&lt;br /&gt;
[[Category:Nasal software]]&lt;br /&gt;
[[Category:Canvas GUI]]&lt;br /&gt;
&lt;br /&gt;
[[fr:Little navmap Add-on]]&lt;/div&gt;</summary>
		<author><name>Magicraptor</name></author>
	</entry>
</feed>