added getCompass to navigation class

This commit is contained in:
2023-05-23 23:36:09 +02:00
parent 8199b47089
commit 7e460e04b0
+1
View File
@@ -171,6 +171,7 @@ class Navigation {
* @return uint16_t degree * @return uint16_t degree
*/ */
uint16_t getAzimuth() const { return this->azimuth; } uint16_t getAzimuth() const { return this->azimuth; }
QMC5883LCompass* getCompass() const { return this->compass; }
/** /**
* @brief Set the output status for PVTdata. * @brief Set the output status for PVTdata.