#121396 - 20/10/2002 22:29
Re: gpsapp-v0.10
[Re: Daria]
|
Carpal Tunnel
Registered: 08/02/2002
Posts: 3411
|
Yeah...a dynamically allocated and sized array of structs. Could be a nightmare...
BTW, the only difference that I saw in that binary was the strength meter bars lost their fill - as if no satellite was providing fix data - but the fix appeared fine....The cursor still didn't change though 
Edited by genixia (20/10/2002 22:31)
_________________________
Mk2a 60GB Blue. Serial 030102962
sig.mp3: File Format not Valid.
|
Top
|
|
|
|
#121398 - 20/10/2002 22:45
Re: gpsapp-v0.10
[Re: Daria]
|
Carpal Tunnel
Registered: 08/02/2002
Posts: 3411
|
Fair enough... Thanks for trying
_________________________
Mk2a 60GB Blue. Serial 030102962
sig.mp3: File Format not Valid.
|
Top
|
|
|
|
#121400 - 20/10/2002 22:53
Re: gpsapp-v0.10
[Re: Daria]
|
Carpal Tunnel
Registered: 08/02/2002
Posts: 3411
|
I could - and will if I exhaust other options first, but currently my Oncore is sealed in an empeg-serial-powered enclosure and buried in my dashboard. As I spent most of Friday putting it there, I have absolutely no desire to take it out again so soon
_________________________
Mk2a 60GB Blue. Serial 030102962
sig.mp3: File Format not Valid.
|
Top
|
|
|
|
#121405 - 21/10/2002 02:29
Re: gpsapp-v0.10
[Re: Daria]
|
old hand
Registered: 30/04/2001
Posts: 745
Loc: In The Village or sometimes: A...
|
In reply to:
The SVee6 in NMEA mode as factory doesn't send sat info. Sending a TSIP packet to it can turn on additional sentences. But... how do we decide something is a SVee6/SVee8Plus so we can send the TSIP?
two things -
1. can you send the SVee6 a TSIP "sentence" to turn on extra NMEA sentences, while its in NMEA mode or does it need to be in TSIP mode first?
also, does anyone have a link to the TSIP manual - I don't seem to have this.
2. Why not not have a configuration setting [GPS menu option], that you tell the GPS what kind of GPS you have and it sends the GPS the "special" sentence to enable the extra sentences.
I presume you only have to do this once and the GPS remembers it from then on?
Or does it need to be sent each boot up?
|
Top
|
|
|
|
#121406 - 21/10/2002 05:48
Re: gpsapp-v0.10
[Re: Daria]
|
enthusiast
Registered: 20/08/2002
Posts: 340
Loc: Pittsburgh, PA
|
doesn't a receiver ignore messages it considers invalid, and each manufacturer uses their own prefix (PRGRM for garmin, etc), so there shouldn't be any conflicts.
_________________________
40GB - serial #40104051 gpsapp
|
Top
|
|
|
|
#121407 - 21/10/2002 05:53
Re: gpsapp-v0.10
[Re: Daria]
|
enthusiast
Registered: 20/08/2002
Posts: 340
Loc: Pittsburgh, PA
|
I think that for the SV6 (and possibly SV8) it might be best to just use TSIP all the time. For Garmin's a lot of the interesting stuff is only available in NMEA, I haven't tried to enable WAAS on garmin, but it normally shows the waas satellites as 33-36. I'm sure that we can just discard any satellite id above 32.
_________________________
40GB - serial #40104051 gpsapp
|
Top
|
|
|
|
#121408 - 21/10/2002 05:57
Re: gpsapp-v0.10
[Re: number6]
|
enthusiast
Registered: 20/08/2002
Posts: 340
Loc: Pittsburgh, PA
|
Currently the type of gps protocol is specified as an argument on the commandline, i.e. gpsapp nmea, or gpsapp tsip. This is set in the startup script M50gpsapp.
Many of these setting are not persistent, or might get lost when the backup battery is not connected or loses it's change, so it is safer to just reinitialize to a known state on startup.
_________________________
40GB - serial #40104051 gpsapp
|
Top
|
|
|
|
#121409 - 21/10/2002 07:59
Re: gpsapp-v0.10
[Re: number6]
|
carpal tunnel
Registered: 24/01/2002
Posts: 3937
Loc: Providence, RI
|
can you send the SVee6 a TSIP "sentence" to turn on extra NMEA sentences
The docs imply you can.
http://www.dementia.org/~shadow/sv8plus_manual.pdf describes the protocol. I have actual SVee6 docs somewhere but the only difference is the hardware description; The SVee8 has 2 more channels and another serial port.
Why not not have a configuration setting [GPS menu option],
Well, it does mean that when you change GPSs if you forget you're screwed, I'd guess.
Or does it need to be sent each boot up?
Depends on the GPS. That I wasn't clear on, for the SVee6, like, does it forget when I shut off my car? I'd guess no, that it's more or less the same as the NMEA/TSIP/TAIP selection. An Earthmate or a Tripmate *will* forget. The Magellan Gold I have doesn't have a way I've found yet to configure it other than from the menu on the screen of the unit. And so on.
|
Top
|
|
|
|
#121412 - 21/10/2002 14:22
Re: gpsapp-v0.10
[Re: Daria]
|
old hand
Registered: 30/04/2001
Posts: 745
Loc: In The Village or sometimes: A...
|
In reply to:
In reply to:
(number6's question)
can you send the SVee6 a TSIP "sentence" to turn on extra NMEA sentences
The docs imply you can.
This document describes the protocol. I have actual SVee6 docs somewhere but the only difference is the hardware description; The SVee8 has 2 more channels and another serial port.
Yes, you are right, the above doc, it mentions this on Page 3-5 - quoted below.
In reply to:
In reply to:
(number6's question)
Why not not have a configuration setting [GPS menu option],
Well, it does mean that when you change GPSs if you forget you're screwed, I'd guess.
Yes, but changing the option from either config.ini (done via Emplode (and maybe jemplode?)) or from the front panel via special command are pretty simple for most folks.
Making it a command line option or something makes it harder to change.
I realise most folks are going to change their in-car GPS once or twice - about as often as they change cars to be honest, but for in-home use/testing it may well be more frequent than that.
So making it easy to send this string to your GPS as required from the GPS app makes it:
(a) easy to maintain - the code is one place for all supported GPS receivers - and this is in the program than makes use of the features.
(b) Trivial to reset in the case of a new GPS unit being plugged in.
In reply to:
In reply to:
(number6's question)
Or does it need to be sent each boot up?
Depends on the GPS. That I wasn't clear on, for the SVee6, like, does it forget when I shut off my car? I'd guess no, that it's more or less the same as the NMEA/TSIP/TAIP selection. An Earthmate or a Tripmate *will* forget. The Magellan Gold I have doesn't have a way I've found yet to configure it other than from the menu on the screen of the unit. And so on.
The SVee8 [and I assume the Svee6] appears to be able to remember the settings in permanent memory, or possibly in battery backed ram (BB Ram?)
Heres the snippet from Page 3-5 of the Svee8plus manual.
In reply to:
The receiver is shipped with the NMEA protocol by part number from the factory. The NMEA setting can be changed using TSIPCHAT and command 0xBC. TSIP command 0x7A changes the NMEA output sentences and output rates.
The new settings are saved to BBRAM or they can be saved to non-volatile memory using TSIP command 0x8E-26.
* Note – Although the SVeeEight Plus GPS receiver supports seven NMEA sentences that contain GPS information, the factory default setting for the receiver only outputs the GGA and VTG data strings. To change the output interval or sentence output, use TSIP Command Packet 7A.
|
Top
|
|
|
|
#121414 - 21/10/2002 15:30
Re: gpsapp-v0.10
[Re: Daria]
|
Carpal Tunnel
Registered: 08/02/2002
Posts: 3411
|
The oncore can also be initialised once similar to the Sv6/8.
I'm beginning to think that config.ini should not be used for application data - we have seen issues with the player/hijack if config.ini grows beyond a certain size (the famed 'favorite visual' bug caused this to happen).
Whilst hijack options are in config.ini, the number of those options is fairly static...I'm not sure if ir_translate has ever been known to cause file size issues or not, but that is probably the most likely candidate for significant increase of filesize. But I forsee the day that an application developer decides that *everything* about the app is tweakable via config.ini, and Strange Things Start To Happen(tm)
If we ever get a standardised /programs0 (or whatever) install paradigm with JEmplode support for point and click installs, then it would be relatively easy to tell JEmplode to edit/save /programs0/etc/gpsapp.ini rather than config.ini for this step, and I think that is the way we should go..eventually.
_________________________
Mk2a 60GB Blue. Serial 030102962
sig.mp3: File Format not Valid.
|
Top
|
|
|
|
#121416 - 21/10/2002 16:34
Re: gpsapp-v0.10
[Re: Daria]
|
enthusiast
Registered: 20/08/2002
Posts: 340
Loc: Pittsburgh, PA
|
or receivers which can be "set once" have a menu item to "initialize foo receiver". This would cover the SVee6/SVee8.
Actually it seems like the SV6 doesn't reliably remember NMEA settings across reboots. So that will probably have to rely on active intialization sequences anyways. Besides I prefer to explictily set receivers into a known state rather than relying on implicit state after a reboot, that should keep things more reliable in case someone forgets to connect the backup battery, or the battery dies.
I guess I'll probably do this for 0.12, unless 0.11 comes later than I expect.
0.12 it will have to be. I just drove home with 0.11 running and it seemed to work, so I just pointed the gpsapp webpage at the new version.
Edit: I guess I can just turn this into the new announcement.
GPSapp v0.11 is out. It contains a whole bunch of useful updates from dbrashear.
- untested earthmate support.
- reads default settings from config.ini.
- shows which 'toggle state' got selected from the menu
- Oncore init sequences
And ofcourse I couldn't help but add some things myself, so any bugs are definitely mine.
Edited by jaharkes (21/10/2002 16:43)
_________________________
40GB - serial #40104051 gpsapp
|
Top
|
|
|
|
#121419 - 21/10/2002 18:53
Re: gpsapp-v0.10
[Re: jaharkes]
|
pooh-bah
Registered: 31/08/1999
Posts: 1649
Loc: San Carlos, CA
|
Is the format for the config.ini settings "param: value" or "param=value"? If I understand the readme you are using the first format, but you might want to use the second instead since everything else that uses config.ini uses the second sentax.
-Mike
|
Top
|
|
|
|
#121420 - 21/10/2002 19:01
Re: gpsapp-v0.10
[Re: jaharkes]
|
member
Registered: 14/01/2002
Posts: 156
Loc: Saratoga, CA, USA
|
Thanks for the config.ini addition. Big step in useability
I have not been able to get the new M50... script to run, I get the following shell report:
kftpd: listening on port 21
player.cpp : 385:empeg-car 2.00-beta13 2002/07/24.
: No such file or directoryacman: /programs0/empacman
: command not foundd/M50gpsapp:
: command not foundd/M50gpsapp: exit
: No such file or directoryapp: /programs0/gpsapp
: command not foundd/M50gpsapp:
Prolux 4 empeg car - 2.1434 Jul 24 2002
and no GPSapp in the Hijack menu.
However, the previous version, with the $Protocol statement does work fine. I have added the protocol=tsip ("=" seems to be right for the other options) statement to config.ini but ??? Seems like Preinit doesn't like something - any clues?
Also, the satellite signal strength change is probably not helpful for Trimble receivers, could this be protocol dependent to at least retain the old scaling with TSIP?
Lynn
|
Top
|
|
|
|
#121421 - 21/10/2002 19:06
Re: gpsapp-v0.10
[Re: mcomb]
|
pooh-bah
Registered: 31/08/1999
Posts: 1649
Loc: San Carlos, CA
|
Ahh, nevermind. Trial and error shows that it is using the equals syntax. Cool.
-Mike
|
Top
|
|
|
|
#121422 - 21/10/2002 20:20
Re: gpsapp-v0.10
[Re: ellweber]
|
Carpal Tunnel
Registered: 08/02/2002
Posts: 3411
|
Do you have 'incar' installed?
_________________________
Mk2a 60GB Blue. Serial 030102962
sig.mp3: File Format not Valid.
|
Top
|
|
|
|
|
|