Unoffical empeg BBS

Quick Links: Empeg FAQ | RioCar.Org | Hijack | BigDisk Builder | jEmplode | emphatic
Repairs: Repairs

Topic Options
#145582 - 24/02/2003 23:34 Problems with gpsapp
fossi
journeyman

Registered: 12/01/2003
Posts: 64
Loc: Germany
With gpsapp I have 2 problems:

1. When gpsapp is running I do no longer receive traffic alerts from the tuner

2. when a route is loaded gpsapp seems to have problems synchronizing with my actual position. When my position is exactly at the starting point of the route I can see the stored route on the empeg display about 5-10m away from my current position, during my travel the current position remains about 5m away from the calculated route but gpsapp does not "close the gap" and sync on the route; the same problem occurs while following a route, gpsapp seems to get easily out of sync between current position and original route (e.g. when a turn is slightly miscalculated) and then goes strictly to the end of the route and does not resync again with my current position, even not if I load the entire route again.

Any idea on this?

Juergen


Top
#145583 - 24/02/2003 23:43 Re: Problems with gpsapp [Re: fossi]
tfabris
carpal tunnel

Registered: 20/12/1999
Posts: 31600
Loc: Seattle, WA
For the second one, I often find I need to twiddle the knob a few times during the course of the trip to get it to re-acquire my route.
_________________________
Tony Fabris

Top
#145584 - 25/02/2003 08:09 Re: Problems with gpsapp [Re: tfabris]
tonyc
carpal tunnel

Registered: 27/06/1999
Posts: 7058
Loc: Pittsburgh, PA
Okay, that avatar is just riduclous!
_________________________
- Tony C
my empeg stuff

Top
#145585 - 25/02/2003 09:52 Re: Problems with gpsapp [Re: fossi]
Daria
carpal tunnel

Registered: 24/01/2002
Posts: 3937
Loc: Providence, RI
When gpsapp is running I do no longer receive traffic alerts from the tuner


Nothing does traffic alert on this side of the pond that I know of, so I can't suggest anything for this.

when a route is loaded gpsapp seems to have problems synchronizing with my actual position.


Do you have any way of capturing a GPS log of the route, or just staying around the start of it, then sending me that and the route file?

Top
#145586 - 25/02/2003 11:21 Re: Problems with gpsapp [Re: tonyc]
tfabris
carpal tunnel

Registered: 20/12/1999
Posts: 31600
Loc: Seattle, WA
Okay, that avatar is just riduclous!
Wise man say: When living in house of glass, do not hurl stone.
_________________________
Tony Fabris

Top
#145587 - 25/02/2003 11:22 Re: Problems with gpsapp [Re: tfabris]
tonyc
carpal tunnel

Registered: 27/06/1999
Posts: 7058
Loc: Pittsburgh, PA
Okay well if you're gonna carry on with that avatar, you need to change your title to "FAQ Mastah" or "FAQ Sensei" or something.
_________________________
- Tony C
my empeg stuff

Top
#145588 - 25/02/2003 11:55 Re: Problems with gpsapp [Re: tonyc]
wfaulk
carpal tunnel

Registered: 25/12/2000
Posts: 16706
Loc: Raleigh, NC US
"FAQ Sensei"
I believe that would be ``FAQ Sifu''.
_________________________
Bitt Faulk

Top
#145589 - 25/02/2003 12:10 Re: Problems with gpsapp [Re: tonyc]
genixia
Carpal Tunnel

Registered: 08/02/2002
Posts: 3411
Okay well if you're gonna carry on with that avatar, you need to change your title to "FAQ Mastah" or "FAQ Sensei" or something.


FAQ Mahshi'n ?
_________________________
Mk2a 60GB Blue. Serial 030102962 sig.mp3: File Format not Valid.

Top
#145590 - 25/02/2003 12:46 Re: Problems with gpsapp [Re: Daria]
fossi
journeyman

Registered: 12/01/2003
Posts: 64
Loc: Germany
O.K., thanks for your response.

Problem 1 (traffic alerts) seems to be on my side, after some other configuration the problem has gone ... so sorry for that.

Problem 2:
I'll try mz best to capture some data, but it will be a tricky job while driving.
Some more findings on my side:
Turns are most of the time not exactly calculated, about 100-200m away from the original turn. This could be a problem of Greenflag map data - I will check for this.

While following a route and being in sync with gpsapp I can see that when driving on a longer part of the route (10km) through curvy areas then gpsapp looses contact to the directy calculated line between the last and the next turn. This happens if I leave the direct line for more than 100-200 meters. In this case also the compass function of gpsapp stops working. When touching the route again, even crossing the route gpsapp gets not back in sync.

Try to fing more data on that.

Juergen

Top
#145591 - 27/02/2003 23:09 Re: Problems with gpsapp [Re: fossi]
jaharkes
enthusiast

Registered: 20/08/2002
Posts: 340
Loc: Pittsburgh, PA
Hmm, 100-200m away from the actual turn. That sounds like greenflag is using a different datum. Most mapdata in the US seems to be NAD27, which is about 200m skewed wrt. to WGS84 which is what the gps is reporting. Now NAD27 stands for 'north american datum 1927', so it is highly unlikely that the european map data uses the same reference grid.

Every calculation in gpsapp is based on the WGS84 datum, because that is what the gps is reporting. The datum conversion of the mapsonus route data is performed by parse_mapsonus.py. You'll notice in a couple of places I'm using NAD27toWGS84(Coord(lat, long)). Just replace those with Coord(lat, long) and thel coordinates that you feed into the parser will not get the datum conversion applied.
_________________________
40GB - serial #40104051 gpsapp

Top
#145592 - 28/02/2003 09:41 Re: Problems with gpsapp [Re: jaharkes]
fossi
journeyman

Registered: 12/01/2003
Posts: 64
Loc: Germany
Perfectly True!

I removed the NAD27toWGS84 conversion from the script and now the truns match quite good to my real position.

Many thanks for your advise!

Still present are the following problems:

1. gpsapp "looses" contact between actual position and calculated route, the route description goes (without moving my car) step-by-step directly to the end, display says "No route loaded", loading route again is not possible, map of the route is still present - with the new coordinate system its better (occurs not so often) but not solved

Today I tried hard (while driving) to log some data while following the route. My description of the route with empeg display messages is on
http://www.bndlg.de/~fossi/gpslog.htm

An interesting finding was that the reverse route works quite good.

2. Somtimes (as today) gpsapp suddenly hangs up while travelling without any user interaction (just display and moving map), front-keys are blocked, mp3 is still playing, remote works, tuner does not work - after rebooting everything is fine again

Any idea?

Juergen

Top
#145593 - 28/02/2003 11:20 Re: Problems with gpsapp [Re: fossi]
Daria
carpal tunnel

Registered: 24/01/2002
Posts: 3937
Loc: Providence, RI
Can you take a laptop to the car (at the start of the route), attach a GPS receiver, run a comm program and capture NMEA data for 2 or 3 minutes?


Top
#145594 - 28/02/2003 11:42 Re: Problems with gpsapp [Re: Daria]
fossi
journeyman

Registered: 12/01/2003
Posts: 64
Loc: Germany
Quite hard for me, as I have no laptop and the gps-mouse installed and wired through the whole car.

But which info do you need, probably there is another way to get it.

Top
#145595 - 28/02/2003 11:42 Re: Problems with gpsapp [Re: fossi]
tfabris
carpal tunnel

Registered: 20/12/1999
Posts: 31600
Loc: Seattle, WA
Somtimes (as today) gpsapp suddenly hangs up while travelling without any user interaction (just display and moving map), front-keys are blocked, mp3 is still playing, remote works, tuner does not work - after rebooting everything is fine again
Yeah, I reported this bug a couple months ago. I wonder if it's related to the keystrokes-getting-through-to-player bug (the one where it fast forwards the song when you try to zoom in the map).

Oh, and on that last bug, I thought of something. Since it begins fast forwarding the song, that means only the key DOWN event gets through to the player software, not the key UP event. Maybe that'll help locate the bug?
_________________________
Tony Fabris

Top
#145596 - 28/02/2003 11:51 Re: Problems with gpsapp [Re: fossi]
Daria
carpal tunnel

Registered: 24/01/2002
Posts: 3937
Loc: Providence, RI
Well, having complete NMEA sentences from the GPS receiver would be nice.

Top
#145597 - 01/03/2003 00:07 Re: Problems with gpsapp [Re: Daria]
fossi
journeyman

Registered: 12/01/2003
Posts: 64
Loc: Germany
It's hard for me to connect the gps-mouse to another device as I would have to dewire half of my car.

But I have WLAN access to the empeg build in the car. Is there any way to capture data from the serial port within the empeg software?

Juergen

Top
#145598 - 01/03/2003 16:39 Re: Problems with gpsapp [Re: fossi]
Daria
carpal tunnel

Registered: 24/01/2002
Posts: 3937
Loc: Providence, RI
if you have wavelan, i assume you can get telnetd, and at that point it's a trivial matter to capture data by telnetting in and reading the serial port.

I posted a gpsd binary a while back. Install them, but do not hijack exec them.

telnet in. run gpsd -p /dev/ttyS1

at that point you should be able to telnet to port 2947 on the empeg.
type "R" at it and it will start streaming NMEA sentences at you. Capture them.

Top
#145599 - 02/03/2003 11:20 Re: Problems with gpsapp [Re: Daria]
fossi
journeyman

Registered: 12/01/2003
Posts: 64
Loc: Germany
Did not suceed running gpsd.

Run it on the empeg with the command:
[ -x /programs0/gpsd ] && /programs0/gpsd -p /dev/ttyS1

Am I totally wrong ? (I'm not an expert on Linux)


Top
#145600 - 02/03/2003 12:17 Re: Problems with gpsapp [Re: fossi]
Daria
carpal tunnel

Registered: 24/01/2002
Posts: 3937
Loc: Providence, RI
ls -l /programs0/gpsd
gives you?

Top
#145601 - 02/03/2003 14:13 Re: Problems with gpsapp [Re: Daria]
fossi
journeyman

Registered: 12/01/2003
Posts: 64
Loc: Germany
ls -l gives me:

-rwxr-xr-x 1 0 0 26192 Mar 2 17:01 gpsd

So gpsd is in fact executable, it evens runs without error, after a few seconds the cursor is back. I have at no time access to port 2947 with telnet, connections are refused. The number of network connections is not limited in config.ini.

What else could I try out ?

Juergen

Top
#145602 - 02/03/2003 15:32 Re: Problems with gpsapp [Re: fossi]
Daria
carpal tunnel

Registered: 24/01/2002
Posts: 3937
Loc: Providence, RI
get mini_ifconfig and run it, then you can telnet to it directly on the empeg, but i have no telnet client to offer you and no handy way to compile it just now. Nor is my empeg handy for me to make sure it works.

From the empeg, you'd
telnet 127.0.0.1 2947
and type R as before.

Top
#145603 - 05/03/2003 11:35 Re: Problems with gpsapp [Re: Daria]
fossi
journeyman

Registered: 12/01/2003
Posts: 64
Loc: Germany
Puuh ...
quite a little piece of work.

But finally ... here is a log file of received data at the starting point of the logged route:
http://www.bndlg.de/~fossi/gps.txt

Usefull?

Juergen

Top
#145604 - 06/03/2003 23:46 Another one, Re: Problems with gpsapp [Re: jaharkes]
fossi
journeyman

Registered: 12/01/2003
Posts: 64
Loc: Germany
Another problem occured while using gpsapp, which could have something to do with the previously reported problem:

Some routes work quite well, but when loading the route

http://www.bndlg.de/~fossi/route_error

gpsapp instantly reports "No route loaded", there is no route plan scrolling, there is simply nothing displayed, even not in map mode.

When trying to load the route a second time, gpsapp and the entire empeg hang up (only unplugging power helps).

Juergen

Top
#145605 - 10/03/2003 22:04 Another one, Re: Problems with gpsapp [Re: fossi]
tfabris
carpal tunnel

Registered: 20/12/1999
Posts: 31600
Loc: Seattle, WA
It isn't something silly like it's choking on the Ä character, is it?

Try editing the file so that it's got English-language-only characters and see if it still crashes.
_________________________
Tony Fabris

Top
#145606 - 11/03/2003 05:34 Another one, Re: Problems with gpsapp [Re: tfabris]
fossi
journeyman

Registered: 12/01/2003
Posts: 64
Loc: Germany
Characters were not the problem (even if not displayed correctly on the empeg) but the file was simply a little bit corrupted during transmission to the empeg (no idea why). So this particular problem is solved.

Juergen

Top
#145607 - 11/03/2003 06:32 Another one, Re: Problems with gpsapp [Re: fossi]
Daria
carpal tunnel

Registered: 24/01/2002
Posts: 3937
Loc: Providence, RI
I don't suppose you save a corrupted copy?

Top