FgFuse: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
m (Robot: Cosmetic changes) |
||
Line 1: | Line 1: | ||
[[ | [[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 filesystem for linux that lets you browse, read and write the properties of FligthGear from a mount point. | ||
Line 6: | Line 6: | ||
It is written in python and needs the '''python-fuse''' package installed. | It 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 --telnet option. i.e. | ||
<pre> | <pre> | ||
Line 28: | Line 28: | ||
</pre> | </pre> | ||
=Troubleshootings= | = Troubleshootings = | ||
* 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 hasn't opened the socket yet. | ||
* The script is at a early stage of life, so expect errors to occur. | * The script is at a early stage of life, so expect errors to occur. | ||
[[Category:Software]] | [[Category:Software]] |
Revision as of 17:40, 8 March 2011
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.
Download
You can download 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/
Troubleshootings
- 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 is at a early stage of life, so expect errors to occur.