Adam M Rivera
|
63ce400f77
|
AP_Declination: Moved rows with large spikes in delta to their own unsigned exception rows. The signs are in a separate packed array.
|
2012-03-30 14:21:57 +11:00 |
|
Adam M Rivera
|
782c1aaaa3
|
AP_Declination: Implemented Delta Encoding and Run-Length Encoding. Added method to traverse the compressed array and return the lookup value based on the same lat_index/lon_index that was used before.
|
2012-03-30 14:21:57 +11:00 |
|
Adam M Rivera
|
9888a4730f
|
AP_Declination: Changed PROGMEM read function to pgm_read_word_far to support the int16_t datatype.
|
2012-03-30 14:21:57 +11:00 |
|
Adam M Rivera
|
d883bdf75e
|
AP_Declination: Changed datatype to int16_t to support the -90 <-> 90 latitude range.
|
2012-03-30 14:21:57 +11:00 |
|
Adam M Rivera
|
719636d00c
|
AP_Declination: Reduced the size of the lookup table to support -75 <-> 70 latitude range. This allows the datatype to remain int8_t.
|
2012-03-30 14:21:57 +11:00 |
|
Andrew Tridgell
|
0e6037322a
|
AP_Declination: fixed build of test sketch
|
2012-03-12 17:33:15 +11:00 |
|
Andrew Tridgell
|
b4d69ef473
|
AP_Declination: fixed usage of headers
|
2012-03-11 20:59:47 +11:00 |
|
Adam M Rivera
|
ad3a20b6a3
|
AP_Declination: Updated comment.
Signed-off-by: Andrew Tridgell <tridge@samba.org>
|
2012-03-11 20:59:47 +11:00 |
|
Adam M Rivera
|
94d1c48544
|
AP_Declination: Increased range of supported latitude coordinates.
Fixed incorrect type usage to save stack space.
Signed-off-by: Andrew Tridgell <tridge@samba.org>
|
2012-03-11 20:59:47 +11:00 |
|
Adam M Rivera
|
1709403b87
|
Added AP_Declination test sketch. I will be improving the test sketch soon.
Signed-off-by: Andrew Tridgell <tridge@samba.org>
|
2012-03-11 20:59:47 +11:00 |
|
Adam M Rivera
|
3f28184cb0
|
Added AP_Declination library. It contains the lookup table (lat/lng -> declination) as well as a method that performs the lookup.
Signed-off-by: Andrew Tridgell <tridge@samba.org>
|
2012-03-11 20:59:47 +11:00 |
|