-
Notifications
You must be signed in to change notification settings - Fork 33
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
Proj Speed Up #479
Proj Speed Up #479
Conversation
tests/ProjectedCameraTests.cpp
Outdated
csm::RasterGM * model = getUsgsCsmModelFromState(modelState, UsgsAstroProjectedSensorModel::_SENSOR_MODEL_NAME, NULL); | ||
|
||
// When this is different, the output is very hard to parse | ||
// TODO implement JSON diff for gtest |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Is this something that needs to be done before merge, or just a QOL thing for debugging?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This was a comment that was ripped from the line scan camera test that this was copied from. I can remove it just so we don't duplicate it
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Ran the tests locally with PROJ_IGNORE_CELESTIAL_BODY=Yes
, tests pass. Looks good.
Moves proj CRS creation into camera instantiation and properly cleans up proj objects once finished.
Licensing
This project is mostly composed of free and unencumbered software released into the public domain, and we are unlikely to accept contributions that are not also released into the public domain. Somewhere near the top of each file should have these words: