-
Notifications
You must be signed in to change notification settings - Fork 1.7k
Update ModelAligner to handle GPS and custom coords. and more #1371
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Changes from all commits
4f7409f
8daf338
d66d2ba
5223791
1e094b1
61887ed
8383c5e
6729874
c8e7ac3
11b4a48
43da879
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -55,6 +55,24 @@ class GPSTransform { | |
std::vector<Eigen::Vector3d> XYZToEll( | ||
const std::vector<Eigen::Vector3d>& xyz) const; | ||
|
||
// Convert GPS (lat / lon / alt) to ENU coords. with lat0 and lon0 | ||
// defining the origin of the ENU frame | ||
std::vector<Eigen::Vector3d> EllToENU(const std::vector<Eigen::Vector3d>& ell, | ||
const double lat0, | ||
const double lon0) const; | ||
|
||
std::vector<Eigen::Vector3d> XYZToENU(const std::vector<Eigen::Vector3d>& xyz, | ||
const double lat0, | ||
const double lon0) const; | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Seems like this should be a private method? There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. I don't really know here. It's not used yet anywhere else yet but might become handy for later use / applications? Also this will give me some troubles for the test functions ^^ |
||
|
||
std::vector<Eigen::Vector3d> ENUToEll(const std::vector<Eigen::Vector3d>& enu, | ||
const double lat0, const double lon0, | ||
const double alt0) const; | ||
|
||
std::vector<Eigen::Vector3d> ENUToXYZ(const std::vector<Eigen::Vector3d>& enu, | ||
const double lat0, const double lon0, | ||
const double alt0) const; | ||
|
||
private: | ||
// Semimajor axis. | ||
double a_; | ||
|
Uh oh!
There was an error while loading. Please reload this page.