Locus Map - forum

Support => Troubles & Questions => Topic started by: Bob Denny on November 25, 2012, 01:01:55

Title: Effect of Sensor: Magnetic Azimuth Using GPS for direction
Post by: Bob Denny on November 25, 2012, 01:01:55
While moving in the car and recording a track, I selected "rotate map" (course up not north up) with the azimuth to Magnetic (Sensor settings, Use True North off/unchecked). Traveling true north on a road that runs true north. The whole map and track, along with the course line, rotated to point in the direction of Magnetic north. So I made some tests. With the map set for "rotate map" and Sensor set for Magnetic North, the display looks OK as long as you are going slow enough (slowly walking) to be using the compass for heading. However, when you speed up and Locus shifts over to using the GPS for course ("heading" but not really, right?) the entire display (map, track, guiding line, course projection) rotates away from "course up" by an angle equal to the magnetic deviation (-14 deg here in Arizona USA, so it rotates clockwise 14 deg). I think this is a bug.
Title: Re: Effect of Sensor: Magnetic Azimuth Using GPS for directi
Post by: Bob Denny on November 27, 2012, 01:12:23
This is actually a big issue for me... is there something I need to do with the settings or is it a bug?
Title: Re: Effect of Sensor: Magnetic Azimuth Using GPS for directi
Post by: Menion on November 27, 2012, 20:15:28
Bob, I'll check it tomorrow (I wanted today but due to work on some other stuff, I completely forget)
Title: Re: Effect of Sensor: Magnetic Azimuth Using GPS for directi
Post by: Bob Denny on November 28, 2012, 02:29:26
No rush, I apologize for bugging you.
Title: Re: Effect of Sensor: Magnetic Azimuth Using GPS for directi
Post by: Menion on November 28, 2012, 11:17:38
no apology needed. It's sometimes only way to achieve fix of some problems, so refresh topics where you need answers, no problem ;)

anyway I'm checking it and trying to understand where exactly is problem...

1. may you please install this test version so we have same base? (you may also check new system for settings of right panel ;) ) - https://dl.dropbox.com/u/8015949/Locus% ... .7.4.2.apk (https://dl.dropbox.com/u/8015949/Locus%20%28dev%29/test_versions/2.7.4.2.apk)

2.in settings > sensor, Use hardware compass - true, Use true bearing - true, Auto change - false

 - in this case, locus will take magnetic bearing from internal compass (and reduce to true bearing if needed, by bearing + declination) and use it

this settings you may simply test at home, so check please if there is any problem in rotation of map etc. You can also change Use true bearing to false and test it also.

3. change Use hardware compass to false.

 - in this case, locus will take true bearing from GPS (and reduce to magnetic bearing if needed, by bearing - declination) and use it

here is needed some movement, so once you'll ride somewhere, please check it. Here you may also check "Use true bearing" - true/false

------------------

I'm testing it at home and simulating and for me, all possible combinations seems to be OK. So unfortunately I need from you more precise description and testing to solve this. Thanks!
Title: Re: Effect of Sensor: Magnetic Azimuth Using GPS for directi
Post by: Bob Denny on December 01, 2012, 02:42:49
Thanks for this. I am totally busy for a couple of days more. I will try this Sunday or Monday.
Title: Re: Effect of Sensor: Magnetic Azimuth Using GPS for directi
Post by: Bob Denny on December 03, 2012, 21:19:54
The APK seems missing, 404 not found. I have Locus Pro 2.7.4. Is that ok for your tests?
Title: Re: Effect of Sensor: Magnetic Azimuth Using GPS for directi
Post by: Menion on December 03, 2012, 22:07:35
ah sorry. I'm usually older test versions removing

here is current one https://dl.dropbox.com/u/8015949/Locus% ... .7.4.5.apk (https://dl.dropbox.com/u/8015949/Locus%20%28dev%29/test_versions/2.7.4.5.apk)
Title: Re: Effect of Sensor: Magnetic Azimuth Using GPS for directi
Post by: Bob Denny on December 04, 2012, 00:30:17
OK I have done  the test. Click the images for full size screen shots.

The Compass/GPS also showing the magnetic variation here.
(//http://solo.dc3.com/forumimg/lt1.png) (//http://solo.dc3.com/forumimg/lt1b.png)

The display on North up
(//http://solo.dc3.com/forumimg/lt2.png) (//http://solo.dc3.com/forumimg/lt2b.png)

Track up - Hardware compass Use true bearing = true
(//http://solo.dc3.com/forumimg/lt3.png) (//http://solo.dc3.com/forumimg/lt3b.png)

Track up - Hardware compass Use true bearing = false
(//http://solo.dc3.com/forumimg/lt4.png) (//http://solo.dc3.com/forumimg/lt4b.png)

Track up - GPS heading (hardware compass off to make sure) Use true bearing = true
(//http://solo.dc3.com/forumimg/lt5.png) (//http://solo.dc3.com/forumimg/lt5b.png)

Track up - GPS heading (hardware compass off to make sure) Use true bearing = false
(//http://solo.dc3.com/forumimg/lt6.png) (//http://solo.dc3.com/forumimg/lt6b.png)

To me, the "use true bearing" should only affect the displayed bearing values (true or magnetic) and not the orientation of the map itself. When moving, "track up" should be "track up" in all cases. With Use True Bearing = false, as you can see with both the hardware compass and the GPS as the heading source, the track is not up, it is rotated away from "up" by the magnetic variation.
Title: Re: Effect of Sensor: Magnetic Azimuth Using GPS for directi
Post by: Menion on December 05, 2012, 11:00:56
ah damn, this is what I needed to hear whole years "When moving, "track up" should be "track up" in all cases" ... it's clear and simple and I was still overlooking it

fine, so all fixed and tested and should work. In application was little bit mess between values. When you obtain bearing from GPS, it's in "TRUE", from internal hardware compass, it's "MAGNETIC". Computed values are always "TRUE" ... anyway, all seems correct. I would like to release new version in friday if google will communicate with us and fix some market problems, so check it and let me know
Title: Re: Effect of Sensor: Magnetic Azimuth Using GPS for directi
Post by: Bob Denny on December 06, 2012, 03:52:23
Excellent. I write astronomy software for a living (see http://acp.dc3.com/ (http://acp.dc3.com/)), so I know how it is that something obvious can sit out there for years!! Thank you!!