add getter for LocalCoord transformation matrices

old-commit-hash: 29262db5d63f0e5d65c2f00d4929991fb2e0d848
This commit is contained in:
Willem Melching
2020-06-10 11:35:45 -07:00
parent 0f9202c4b7
commit fe4fb82b5d
3 changed files with 20 additions and 2 deletions
+1 -2
View File
@@ -20,11 +20,10 @@ ECEF geodetic2ecef(Geodetic g);
Geodetic ecef2geodetic(ECEF e);
class LocalCoord {
private:
public:
Eigen::Matrix3d ned2ecef_matrix;
Eigen::Matrix3d ecef2ned_matrix;
Eigen::Vector3d init_ecef;
public:
LocalCoord(Geodetic g, ECEF e);
LocalCoord(Geodetic g) : LocalCoord(g, ::geodetic2ecef(g)) {}
LocalCoord(ECEF e) : LocalCoord(::ecef2geodetic(e), e) {}