FgFuse: Difference between revisions
Jump to navigation
Jump to search
mNo edit summary |
No edit summary |
||
Line 2: | Line 2: | ||
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 | It is written in python and needs the '''python-fuse''' package installed. | ||
=Downlaod= | =Downlaod= | ||
Line 8: | Line 8: | ||
=Usage= | =Usage= | ||
first of all you need to launch | first of all you need to launch FlightGear with the --telnet option. i.e. | ||
<pre> | <pre> | ||
fgfs --telnet=10000 | fgfs --telnet=10000 | ||
Line 17: | Line 17: | ||
</pre> | </pre> | ||
where | where | ||
* 127.0.0.1 is the address of the pc running | * 127.0.0.1 is the address of the pc running FlightGear | ||
* 10000 is the telent port which FlightGear session is listening to. | * 10000 is the telent port which FlightGear session is listening to. | ||
* /tmp/fg/ is the empty directory that will be mounted | * /tmp/fg/ is the empty directory that will be mounted |
Revision as of 14:40, 7 June 2009
FgFuse is a fuse filesystem for linux that lets you browse, read and write the properties of FligthGear from a mount point. Communication between FgFuse and FlightGear is done via a socket connection.
It is written in python and needs the python-fuse package installed.
Downlaod
You can downlaod the script from here
Usage
first of all you need to launch FlightGear with the --telnet option. i.e.
fgfs --telnet=10000
where 10000 is the telnet port to listen to. After launched flightgear, launch fgfuse like this example:
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 telent 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/