On Monday 06 June 2005 13:40, Jon Stockill wrote:
> paul cooke wrote:
> > I'm trying to simulate being a gps so that I can drive GPSDrive using
> > flightgear.
> >
> > I've got this statement in my launch thingy (using fgrun)
> >
> >  --nmea=socket,out,5,localhost,2497,tcp
>
> gpsd doesn't just output NMEA - there's a bit more to it than that
>
> you *may* be able to fool it by using a named pipe and letting it think
> there's a gps directly connected.

no, that doesn't work. if I create a named pipe called dummygps and pointed 
the nmea output there instead of /dev/ttyS0, it barfs and bombs out.
If I point the nmea output in file form rather than serial and tell it to use 
dummygps as the "file" it just hangs.

Rather than mess with gpsdrive, I've found this other program called kflog

http://www.kflog.org/kflog/

it already has the display in the form we need for flight sim, but cannot 
actually display real time positions, it loads in the track from a logging 
device. (it also claims to be able to read in a flight from flightgear, but 
when I tried logging data, kflog moaned about there being no "flight" in the 
data when importing it)

(note to self, must read up on the kflog documentation as to what it wants)

However, what we need for our purposes (a gpl compatible program) is already 
there in the form of a fork of Kflog called Cumulus to run on the qtopia/OPIE 
interfaces of Linux on handhelds. All we need to do is port it back to use 
proper QT as used in KDe and Bob's your favourite Uncle... we also need to 
sort out the input to it do that flightgear's outputs can be used instead of 
a real GPS.

Cumulus is to be found here:

http://www.kflog.org/cumulus/

I'm going to pull down the sources to Cumulus and have a good look at them.

_______________________________________________
Flightgear-users mailing list
[email protected]
http://mail.flightgear.org/mailman/listinfo/flightgear-users
2f585eeea02e2c79d7b1d8c4963bae2d

Reply via email to