NMEA/Attitude: Provide possibility for checking if heading is usable
commit74b0f17c827a2c6ed4c1b0e55633d9195d0c15a7
authorAndreas Pfaller <pfaller@gmail.com>
Wed, 13 Mar 2013 13:01:42 +0000 (13 14:01 +0100)
committerAndreas Pfaller <pfaller@gmail.com>
Wed, 13 Mar 2013 14:05:36 +0000 (13 15:05 +0100)
tree0d445f5ef12f681c031dc6d9c61e0065df0cf9b6
parent29bd63eb26c6284b42ed6fb199d08f1e90ca1d35
NMEA/Attitude: Provide possibility for checking if heading is usable

For the internal "fallback" calculation of the heading heading_available
is never set to true. It is also not possible to set this to true since in
that case the recalculation would be skipped until it expires.

Provide an additional flag to allow checking the "usability" of the
heading regardless of how it was obtained.
src/Computer/BasicComputer.cpp
src/NMEA/Attitude.hpp