-
Notifications
You must be signed in to change notification settings - Fork 171
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
CSM Camera Skymap #5072
CSM Camera Skymap #5072
Conversation
24ccfad
to
07751f4
Compare
340e84b
to
0860783
Compare
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.
I think this needs a changelog entry and then we're good to go
f57b6ef
to
66e7713
Compare
66e7713
to
53acbd7
Compare
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.
I think we also need tests for the new CSMCamera stuff?
- CSMCamera can now read and use the body rotation from ALE produced ISDs [#5072](https://github.com/DOI-USGS/ISIS3/pull/5072) | ||
- CSMSkyMap added to CSMCamera for use with local rover projections in ISIS [#5072](https://github.com/DOI-USGS/ISIS3/pull/5072) |
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.
We don't normally allow more than one changelog but this is an old PR so we can probably let it slide.
@Kelvinrr Tests are present, I will double check add potentially add some for coverage |
88aa47c
to
bd6c50f
Compare
|
if (abs(p_incam->RightAscension() - lon) > 0.1) return false; | ||
if (abs(p_incam->Declination() - lat) > 0.1) return false; |
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.
@Kelvinrr These lines were added to avoid dual projection, changing the values in the skymap test. Basically any look vector projects into two points in right ascension and declination, so if you project to 0, 0 you also project onto 0, 180. This checks avoids look vectors projecting into the inverse right ascension, declination
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.
Did you update the test data? We just got to make sure we aren't adding another failing test if we dont have to.
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.
I have updated data, we usually check it in once the PR is merged
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.
kk just making sure
Attempt at getting the CSM camera to work with
skymap
Description
These changes are related to getting the MSL Mastcam data projected using ISIS but met a hard block once the
setSky
function was hit. Within ISIS this uses the camera look vector to generate a focalplaneX/Y from a line/sample but the CSM doesn't support data within the camera reference frame.There is still room for experimentation but it seems like we will need a specific program for creating projections from rover data.
Related Issue
Ground based sensor work (See USGSCSM IAA Proposal)
How Has This Been Validated?
Has not been validated as the changes are incomplete
Types of changes
Checklist:
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: