[GRASSLIST:260] Re: FlightGear & GRASS

Buchan Milne bgmilne at cae.co.za
Fri May 30 10:08:21 EDT 2003


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

# Sets domain part of From: and local addresses in outgoing mail. wrote:
> I plan to use GRASS and FlightGear (the flight simulator)
> side-by-side, to fly over my data.  Anyone tried this?  Any suggestions?
>

Note that there is already an application that does this, using the
terrain data Flightgear has, namely Atlas (IIRC you can find it at
http://atlas.sourceforge.net).

gpsdrive can also do similar things, but is targetted more at driving.

> FlightGear will write current position in Garmin and NMEA formats (GPS)
> both to a file and to a socket.  If I can read the socket with GRASS, I
> could display current position+data on GRASS iin near-real-time.  HOw can
> a read a unix(linux) socket?

Using bash(1), or perl, or c etc.

BTW, I still think some better gps integation in grass would be nice,
but it's not necessary for what you want (I think).

Regards,
Buchan

(1)
For example, using a gpsd-type program such as distributed with gps3d:
$ less < /dev/tcp/localhost/2222

- --
|--------------Another happy Mandrake Club member--------------|
Buchan Milne                Mechanical Engineer, Network Manager
Cellphone * Work            +27 82 472 2231 * +27 21 8828820x202
Stellenbosch Automotive Engineering         http://www.cae.co.za
GPG Key                   http://ranger.dnsalias.com/bgmilne.asc
1024D/60D204A7 2919 E232 5610 A038 87B1 72D6 AC92 BA50 60D2 04A7
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.2 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQE+12XVrJK6UGDSBKcRAkSwAKDGulyDegcCcfZc+bRYUx/0VqvPaACeLE/f
8kzyv4xfw0rr4XCHvzgwTxc=
=INHr
-----END PGP SIGNATURE-----

******************************************************************
Please click on http://www.cae.co.za/disclaimer.htm to read our
e-mail disclaimer.
******************************************************************




More information about the grass-user mailing list