diff --git a/include/gnss_utils/gnss_utils.h b/include/gnss_utils/gnss_utils.h index a550db34940dda8eb3bee9c2a39cbab4cd1e6ab5..89bacdfe24929db7161fea6ecf57c163ae774b76 100644 --- a/include/gnss_utils/gnss_utils.h +++ b/include/gnss_utils/gnss_utils.h @@ -23,6 +23,6 @@ namespace GNSSUtils const std::shared_ptr<Navigation> & _navigation, sol_t & _sol); - Eigen::Vector3d ecefToPos(const Eigen::Vector3d & _ecef); + Eigen::Vector3d ecefToLatLon(const Eigen::Vector3d & _ecef); } #endif diff --git a/src/gnss_utils.cpp b/src/gnss_utils.cpp index b5c9c0a4f85ce78618e041eb07d88fa1186b1791..060a64faf788467caef14898efcc6eaa0d126b98 100644 --- a/src/gnss_utils.cpp +++ b/src/gnss_utils.cpp @@ -37,7 +37,7 @@ namespace GNSSUtils return stat; } - Eigen::Vector3d ecefToPos(const Eigen::Vector3d & _ecef) + Eigen::Vector3d ecefToLatLon(const Eigen::Vector3d & _ecef) { double pos[3]; ecef2pos(&_ecef(0), pos);