FgFuse: Difference between revisions

From FlightGear wiki
Jump to navigation Jump to search
No edit summary
m (Bolding the article title in first section; Copyediting; Some rephrasing)
 
Line 1: Line 1:
[[File:Fgfuse.jpg|thumb|300px|A screenshot of a running FlightGear and nautilus browsing the prop radix]]
[[File:Fgfuse.jpg|thumb|300px|A screenshot of a running FlightGear and nautilus browsing the prop radix]]


FgFuse is a fuse filesystem for linux that lets you browse, read and write the properties of FligthGear from a mount point.
'''FgFuse''' is a fuse file system for Linux that lets you browse, read and write the properties of FlightGear from a mount point.
 
Communication between FgFuse and [[FlightGear]] is done via a socket connection.
Communication between FgFuse and [[FlightGear]] is done via a socket connection.


It is written in python and needs the '''python-fuse''' package installed.
{{note|FgFuse is written in Python and needs the '''python-fuse''' package installed.}}


= Download =
== Download ==
You can download the script from [http://brisa.homelinux.net/fgfs/fgFuse.py here]
You can download the script from [http://brisa.homelinux.net/fgfs/fgFuse.py here]


= Usage =
== Usage ==
First of all you need to launch FlightGear with the --telnet option. i.e.
First of all you need to launch FlightGear with the <code>--telnet</code> option:
<pre>
 
fgfs --telnet=10000
fgfs --telnet=10000
</pre>
 
where 10000 is the telnet port to listen to. After launched flightgear, launch fgfuse like this example:
where <code>10000</code> is the telnet port to listen to. After launching FlightGear, launch FgFuse for example like this:
<pre>
 
python fgFuse.py 127.0.0.1 10000 /tmp/fg/
python fgFuse.py 127.0.0.1 10000 /tmp/fg/
</pre>
 
where
where
* 127.0.0.1 is the address of the pc running FlightGear
* <code>127.0.0.1</code> is the address of the PC running FlightGear
* 10000 is the telent port which FlightGear session is listening to.
* <code>10000</code> is the telnet port which FlightGear session is listening to
* /tmp/fg/ is the empty directory that will be mounted
* <code>/tmp/fg/</code> is the empty directory that will be mounted
 
When finished unmount the folder with this command:


when finished unmount the folder with this command:
fusermount -u /tmp/fg/
<pre>
fusermount -u /tmp/fg/
</pre>


= Troubleshootings =
== Troubleshooting ==
* The script needs to connect to FlightGear via telnet, if you launch the script too soon, it could be possible that FlightGear hasn't opened the socket yet.
* The script needs to connect to FlightGear via telnet.  If you launch the script too soon, it could be possible that FlightGear has not opened the socket yet.
* The script is at a early stage of life, so expect errors to occur.
* The script is at an early development stage, so expect errors to occur.


[[Category:Software]]
[[Category:Software]]

Latest revision as of 11:38, 14 July 2015

A screenshot of a running FlightGear and nautilus browsing the prop radix

FgFuse is a fuse file system for Linux that lets you browse, read and write the properties of FlightGear from a mount point.

Communication between FgFuse and FlightGear is done via a socket connection.

Note  FgFuse is written in Python and needs the python-fuse package installed.

Download

You can download the script from here

Usage

First of all you need to launch FlightGear with the --telnet option:

fgfs --telnet=10000

where 10000 is the telnet port to listen to. After launching FlightGear, launch FgFuse for example like this:

python fgFuse.py 127.0.0.1 10000 /tmp/fg/

where

  • 127.0.0.1 is the address of the PC running FlightGear
  • 10000 is the telnet port which FlightGear session is listening to
  • /tmp/fg/ is the empty directory that will be mounted

When finished unmount the folder with this command:

fusermount -u /tmp/fg/

Troubleshooting

  • The script needs to connect to FlightGear via telnet. If you launch the script too soon, it could be possible that FlightGear has not opened the socket yet.
  • The script is at an early development stage, so expect errors to occur.