navit-project.org
http://forum.navit-project.org/

Android: enable magnetic compass
http://forum.navit-project.org/viewtopic.php?f=17&t=519
Page 1 of 1

Author:  Jandegr [ 14 Aug 2014, 17:33 ]
Post subject:  Android: enable magnetic compass

Hi,
I have been experimenting with the magnetic sensors on Android.
The purpose is to let the map align with the magnetic compass for
profiles bike, pedestrian, horse ...
see my ticket :
http://trac.navit-project.org/ticket/1234

For anyone who wants to test it without compiling the whole works,
I have a prebuilt version :
https://db.tt/aQWy099R
(based on svn 5909)
EDIT: now also works in near-vertical positions and also includes the patch for
http://trac.navit-project.org/ticket/1243

To use it:
In the vehicle profile of your choice set static_speed en static_distance to zero.
Run navit and select that profile.
In the popup menu (long tap on Android screen), tap on 'enable magnetic compass'
Now see the map align with the magnetic compass at each gps fix.
In the popup menu you now have an line 'disable magnetic compass' to revert to
GPS bearing (worthless when standing still, better if making some speed).

regards,
Jan

Page 1 of 1 All times are UTC
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group
http://www.phpbb.com/