Skip to content
Snippets Groups Projects

Resolve "File restructuration"

Merged Pep Martí Saumell requested to merge 8-file-restructuration into devel
1 file
+ 8
3
Compare changes
  • Side-by-side
  • Inline
@@ -2,6 +2,9 @@
using namespace GNSSUtils;
namespace GNSSUtils
{
Eigen::Vector3d ecefToLatLonAlt(const Eigen::Vector3d& _ecef)
{
Eigen::Vector3d pos;
@@ -10,10 +13,10 @@ Eigen::Vector3d ecefToLatLonAlt(const Eigen::Vector3d& _ecef)
return pos;
}
Eigen::Vector3d latLonAltToEcef(const Eigen::Vector3d& _pos)
Eigen::Vector3d latLonAltToEcef(const Eigen::Vector3d& _latlon)
{
Eigen::Vector3d ecef;
pos2ecef(_pos.data(), ecef.data());
pos2ecef(_latlon.data(), ecef.data());
return ecef;
}
@@ -144,4 +147,6 @@ void computeEnuEcefFromLatLonAlt(const Eigen::Vector3d& _ENU_latlonalt,
Eigen::Vector3d t_ECEF_ENU = latLonAltToEcef(_ENU_latlonalt);
t_ENU_ECEF = -R_ENU_ECEF * t_ECEF_ENU;
}
\ No newline at end of file
}
} // namespace GNSSUtils
\ No newline at end of file
Loading