NMEA: changed interface of sentences containing position information.
commit3db392fde875a7f47a3e1755e88b275f3f6a354d
authorMario Konrad <mario.konrad@gmx.net>
Tue, 21 Jun 2016 20:40:25 +0000 (21 22:40 +0200)
committerMario Konrad <mario.konrad@gmx.net>
Tue, 21 Jun 2016 20:40:25 +0000 (21 22:40 +0200)
tree60b33ea7b87aed20ab49ff1e575c3dc69b7f9191
parentb30754ebb5fada8dff3feeb29c66464dd90ac098
NMEA: changed interface of sentences containing position information.

The interface does not longer return raw data for lat/lon and their
respective hemisphere. Access to the position information is now
provided with the functions

 - get_latitude
 - get_longitude

which return geo::latitude and geo::longitude. This interface is
easier to use and more intuitive, as well as it encapsulates the
position encoding in the NMEA sentence.
28 files changed:
.clang-format
CMakeLists.txt
README.md
doc/main.dox.in
examples/qtnmeadiag/MainWindow.cpp
src/CMakeLists.txt
src/marnav/geo/angle.cpp
src/marnav/math/floatingpoint.hpp
src/marnav/nmea/bwc.cpp
src/marnav/nmea/bwc.hpp
src/marnav/nmea/bwr.cpp
src/marnav/nmea/bwr.hpp
src/marnav/nmea/convert.cpp
src/marnav/nmea/convert.hpp
src/marnav/nmea/gll.cpp
src/marnav/nmea/gll.hpp
src/marnav/nmea/gns.cpp
src/marnav/nmea/gns.hpp
src/marnav/nmea/rma.cpp
src/marnav/nmea/rma.hpp
src/marnav/nmea/rmb.cpp
src/marnav/nmea/rmb.hpp
src/marnav/nmea/tll.cpp
src/marnav/nmea/tll.hpp
src/marnav/nmea/wpl.cpp
src/marnav/nmea/wpl.hpp
test/CMakeLists.txt
test/nmea/Test_nmea_tll.cpp