Skip to content
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

MSL Nadir Pointing #564

Merged
merged 6 commits into from
Sep 29, 2023
Merged

MSL Nadir Pointing #564

merged 6 commits into from
Sep 29, 2023

Conversation

acpaquette
Copy link
Collaborator

Adds the ability to request nadir pointing for MSL data.

This allows for orthographic projection in ISIS using cam2map.

@acpaquette
Copy link
Collaborator Author

@oleg-alexandrov This PR would also be a good idea to look at on Monday

@oleg-alexandrov
Copy link
Collaborator

oleg-alexandrov commented Sep 16, 2023

I am not sure why you need to have it both ways with the signs. I did not encounter such an issue with MSL. But maybe there are more cases to consider.

I had my own tweaks for signs for MSL in my branch of ale, and I think I made some big changes to what actually gets saved in the .json file for the constant rotation. If you are getting unexpected cameras when saving from disk, you may want to take a look.

BTW, I also had a fix for ensuring the left and right nav cam sensor have the proper baseline. This may not be important for stitching, but it becomes important for stereo.

And a question. You still need some kind of rotation matrix to place the rover in ellipsoid coordinates rather than at planet center. How do you get that rotation?

@acpaquette
Copy link
Collaborator Author

@oleg-alexandrov the isd_generate script has an extra argument in this PR that only puts the rover at the center of the body when you set -l or --local. Otherwise the rover is on the ellipsoid

@oleg-alexandrov
Copy link
Collaborator

Looks good. This brings us closer to accurate pose for the rover on the planet. By now the issue is not with cahvor but in the rover frame.

@acpaquette
Copy link
Collaborator Author

@oleg-alexandrov Right, I was able to get around this by just computing nadir pointing which seems to work well. I would be curious to see how close the nadir rotations are from the rotations you are computing in your PR

@Kelvinrr
Copy link
Collaborator

I think this only needs passing tests?

@Kelvinrr Kelvinrr merged commit 269fdb6 into DOI-USGS:main Sep 29, 2023
11 of 13 checks passed
Kelvinrr added a commit that referenced this pull request Sep 29, 2023
* Fixes LRO minirf driver

* Reverted gitignore

* Reverted sensor_frame_id override

* Added naifkeyword test for minirf

* Added changelog entry

* Updated minirf json

* Lunar orbiter high camera (#553)

* skeleton class for LO

* lo center time and ikid

* detector center line/sample dummy values

* LO driver (processes cube w/o error)

* lo test data

* lunar orbiter tests

* removed old comment

* removed geotransform and projection from ISD

* Clementine LWIR, NIR, and HIRES Drivers (#565)

* Clementine Drivers

* Added missing kernels

* Combined to one driver

* Updated doc strings

* MSL Nadir Pointing (#564)

* Enabled nadir pointing in MSL/CAHVOR driver

* Removed commented out position changes

* Fix MSL test

* More msl fiddling

* Update for MSL Nadir pointing rotation in the cahvor mixin

* Fixed msl tests and added nadir test

* Updated ALE version in CmakeList.txt (#555)

* Ale Path Expansion Fixes (#551)

* Fixed expandvar function to expand paths completely

* Made expandvars fail if it can't expand a variable

* fixed typo

---------

Co-authored-by: Jacob Cain <[email protected]>
Co-authored-by: Amy Stamile <[email protected]>
Co-authored-by: Kelvin <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants