Andrew Tridgell
02948c05b4
AP_GSOF: fix GPS week field decoding
...
The GSOF position-time record encodes GPS week as a 16-bit big-endian value. Reading 32 bits folded the following satellite-count and flag bytes into the reported week. Guard optional logging so a packet-level regression test can exercise the parser without a logger singleton.
2026-09-05 06:26:33 +10:00
Ryan Friedman
a586dfa4e6
AP_GSOF: Add GSOF packets for PX-1 EAHRS
2026-03-19 09:57:16 +11:00
Peter Barker
391eded634
AP_GSOF: replace ALLOW_DOUBLE_MATH_FUNCTIONS with AP_MATH_ALLOW_DOUBLE_FUNCTIONS
...
.... and this one is always defined, so check for truth!
2025-07-26 15:56:56 +10:00
Ryan Friedman
20c77ae762
AP_GSOF: refactor GSOF to expect packets by ID
...
Signed-off-by: Ryan Friedman <25047695+Ryanf55@users.noreply.github.com >
2025-01-08 08:52:21 +11:00
Ryan Friedman
284faf08ee
AP_GSOF: Use sparse endian instead of custom code
...
* This saves flash
Signed-off-by: Ryan Friedman <ryanfriedman5410+github@gmail.com >
2024-08-26 13:31:49 +10:00
Ryan Friedman
921ef6cd36
AP_GSOF: factor out common library for GSOF
...
* Add tests too
Signed-off-by: Ryan Friedman <ryanfriedman5410+github@gmail.com >
2024-08-20 14:50:05 +10:00