Opened 9 years ago

Closed 9 years ago

#875 closed enhancement/feature request (fixed)

cursor position is not equal to the real position

Reported by: antenna Owned by: KaZeR
Priority: major Milestone:
Component: core Version: git master
Severity: Keywords:
Cc:

Description

The cursor position lags always behind the real position which can be quite confusing.

Does it help to update the position more often or could there be some kind of projection depending on the current speed to set the cursor approximately to the real position?

Change History (4)

comment:1 Changed 9 years ago by korrosa

Hi antenna!

Just in case you haven't seen it in the logs, dandor/tegzed has a theory as to why this might be. http://irclogs.navit.ie/%23navit-2011-06-10.log

In essence, find the vehicle_gpsd.c file (vehicle/gpsd/vehicle_gpsd.c) and modify line 224

gps_stream(priv->gps, WATCH_ENABLE|WATCH_NMEA|WATCH_JSON, NULL);

by removing the WATCH_NMEA string:

gps_stream(priv->gps, WATCH_ENABLE|WATCH_JSON, NULL);

I haven't tried it yet, but let us know if this works for you!

Note: This will disable nmea logging...

Last edited 9 years ago by korrosa (previous) (diff)

comment:2 Changed 9 years ago by robin seidel

If I understand this correctly you can only change this if you compile the code afterwards (as I didn't find a file name called vehicle_gpsd.c with my standart ipk installation of navit on the freerunner). As I also experience this lag of position it would be great if the WATCH_NMEA could be removed in the standard edition, for people like me, who are not capable of building their own compilation change. Maybe two navit versions could be published.

comment:3 Changed 9 years ago by korrosa

Patched in r4568.

http://navit.svn.sourceforge.net/navit/?rev=4568&view=rev

robin: As this change is in the svn trunk, you will still need to compile for the device yourself. Sorry!

comment:4 Changed 9 years ago by korrosa

  • Resolution set to fixed
  • Status changed from new to closed

Please also check lag attribute in the <vehicle ... > tag: http://wiki.navit-project.org/index.php/Configuring_Navit/Full_list_of_options

Note: See TracTickets for help on using tickets.