Hi folks,
MultiWii is a fabulous ecosystem - I've just cut my teeth on some simple in-house patches.
I've noticed one minor glitch I haven't been able to address with a quick look:
The MAG_DECLINATION setting seems to be limited to 20 - both in the GUI and even if I set a higher value in config.h (or perhaps it IS being interpreted correctly in code but displayed as 20 in the GUI; that makes some sense).
Is there some bit-related reason for the cap of 20 or is it just an arbitrary coding limit?
In my neck of the woods, declination is +23.5 - not that the extra three degrees matters a whole lot. But it's a bit like encountering software which can't cope with a UTC+13 timezone.
Mag declination limited to 20?
Re: Mag declination limited to 20?
There's no limit in MWii code.
The numberbox is limited to +/20 in the Gui.
What is the largest MAG_DECLINATION that can be expected?
is +/-30 reasonable limits?
I increased to 30 and uploaded it to be included in next release.
A compiled copy can be downloaded here.
The numberbox is limited to +/20 in the Gui.
What is the largest MAG_DECLINATION that can be expected?
is +/-30 reasonable limits?
I increased to 30 and uploaded it to be included in next release.
A compiled copy can be downloaded here.
Re: Mag declination limited to 20?
Thanks PatrikE!
According to Yahoo Answers, 40-50 is possible in "normal" locations, though it can get higher if quite close to the magnetic N pole or its opposite. https://nz.answers.yahoo.com/question/index?qid=20090918080032AAMZFO9
According to Yahoo Answers, 40-50 is possible in "normal" locations, though it can get higher if quite close to the magnetic N pole or its opposite. https://nz.answers.yahoo.com/question/index?qid=20090918080032AAMZFO9