This object is in archive! 

Compass offset

Adam S shared this problem 6 years ago
Solved

Hi I'm very pleased of using Locus but in some devices it is problem with compass calibration. For example in my huawey P8, it's all time the same 20 degrees lapse. My idea is to add compass offset in configuration (constant value in degrees).

Best Answer
photo

Oki, let's "solve" it.

Locus Map has also special configuration file where may be placed some more advanced configuration & parameters.

I've just added new parameter "hardware_compass_offset" . So wait on next version ( it will probably take a few weeks, expect almost middle of March ) and then try to set this parameter on required offset value ( in degrees ). It should work.

Menion

Replies (10)

photo
1

Good day Adam,

I have to change you idea to a "problem". Such settings makes no sense, because there should not be any offset in app.


Did you tried to calibrate your compass by waving with device around all three axis?

Also what about "true bearing" in settings > sensors? Do you have enabled this option?

photo
1

Thank you for fast response.


Yes, I've tried calibrate few times. I don't have neither settings>sensors nor "true bearing" option.

photo
1

Are we talking about settings in Locus Map app itself? "True Bearing" option should be available on all devices.


http://docs.locusmap.eu/doku.php?id=manual:user_guide:settings:sensors

photo
1

I've looked for this settings in android settings. In locus "true bearing" is switched on.

photo
1

Good day Adam,

sorry to hear this.


If you have a while, may you please try:

Thank you and sorry for a complications

photo
1

I'm sorry for delayed response. I just checked beta and compatybility mode. In beta I didn't see any changes. In "compatibility mode" I noticed fast but unstable indicating with the same error. The problem is device problem, no software problem. I noticed in another aplications I have the same error. I've attached a screen - the line schould point along the street:(


I think only offset in sensor options could resolve the problem.

photo
1

Good day Adam,

understand. I'm anyway sorry, I cannot provide solution for such unique problem on your device. I hope that compatibility mode solve this anyway if not, I have no better solution. Thanks for understanding.

photo
2

Hi,

i have the same Problem on my BQ 5+, its not a bug in Locus, it would be a feature for correct an incorrect mounted compass in the phone. Actually you can make an offset for the air pressure too.

The same feature for manually make an offset for the compass would be nice for people who often use the compass.

photo
1

Hello Herr,

is it really possible that some device has offset on it's compass? Are you perfectly sure that your compass device is calibrated (wave around all three device axes for a while), that there are no magnetic objects close to device, maybe also restart your device (it solve many problems).

photo
1

Hi Menion,

thanks for your quick response.

Yeah, I'm absolutely sure it's a hardware problem of the phone.

(layout design, twisting of the component during production)

I tested it with several devices at the same place (Military compass, Samsung Tab 7, Nokia 3, LG Leon) after each restart and flight mode to avoid magnetic interference.

After calibration, the other instruments had a deviation far below 5 degrees from the military compass. The BQ always has a deviation of almost 20 degrees.

I think most users don't notice the difference because they never really use the compass, but for outdoor fans it's really annoying to have to work with the deviation (e. g. geocaching) and the possibility to set a manual offset would be really great.

Have a nice day !

photo
1

Oki, let's "solve" it.

Locus Map has also special configuration file where may be placed some more advanced configuration & parameters.

I've just added new parameter "hardware_compass_offset" . So wait on next version ( it will probably take a few weeks, expect almost middle of March ) and then try to set this parameter on required offset value ( in degrees ). It should work.

Menion

photo
1

Hello Menion,

you made my day,

this is a quick solution to a problem that many people don't have but are uncomfortable with a relatively new phone.

I owe you a beer ;-).

Thank you very much


Díky, můj příteli

Clemens

photo
1

Thank you for the solution.I also have a compass direction problem in my Sony mobile phone. I missed a "compass correction" in the sensors menu. But this config.cfg modification solved all of my problems, the compass and the maps show the true direction.

photo
1

Perfect, glad to hear it!

photo
1

Good day Menion,


I also want to say thank you for the solution of compass offset. My device (Huawei Mate 9) has, after compass calibration (!) a declination of about 60°, which was the reason I had to combine Locus with a traditional compass. Now I found this thread – and after correction in the config file it works!


Best software ever :)

Thanks and all the best,

Lucas

photo
1

Hello Lucas,

I'm again surprised that such "fix" is really needed, interesting. Anyway I'm glad it works fine for you, perfect!

Menion

Replies have been locked on this page!