Testing of latest Beta release
Hi Deniska.
Have tested out your latest Beta release.
The new layout & GUI is great - data panel is much clearer & easier to read - very good.
However, I have noticed 2 bugs (I am using 2.71 SE-B by the way):
- The trip timer comes up with a value of -1874 (or something like that) when starting the program - way out of wack.
- The average speed indicator is not working at all now.
Otherwise, everything else is fine.
Cheers, Chris.
Yet another green screen proggie :-)
I put together a small program which illustrates how to retrieve GPS data from psp-290 GPS receiver...
The program is greatly influenced by research and hacking done by johnmph and psyberjock from ps2dev forums (http://forums.ps2dev.org/viewtopic.php?p=49724)
http://deniska.dcemu.co.uk/images/screen1.jpg
http://deniska.dcemu.co.uk/bin/usbgps.rar (copy the link in to the browser window)
Basically, the date/time fields seem to be stored in 2-byte shorts bytes 0-12
Latitude, Longitude and Altitude stored in 4-byte floats starting @ byte 24
The speed& bearing (also floats) seem to be located @ bytes :40,44..
Azimuth is also a short, while other sat info seems to be stored in single bytes...
The only problem for me so far is that the longitudecomes out as positive 355.**** instead of -74.**** which is supposed to be around my area...
Perhaps some byte order is screwed up.. Could someone take alook?
The program requires usbgps.prx & usbacc.prx to be copied in to
ms0:/camprx directory and must be run under 2.71+ kernel (I tested it with 3.02 OE-A with 2.71 fw prx modules for usbgps)
It also dumps the data from both data buffers [48 & 160 bytes per cycle] in to test.dat file in the camprx dir.
viewer.c contains some code to parse the test data file for those who wants to dig in to this issue...