Skip to content
Unverified Commit 88112b96 authored by Jesse Mapel's avatar Jesse Mapel Committed by GitHub
Browse files

Adds CSM camera model (#4291)



* Initial CSMCamera model implementation.

* Get CSM Camera working through a dummy setimage

* More progress on SetImage

* Cleanup.

* Added resolution and radii to CSM camera model (#4261)

* Added psuedoinverse method

* Added CSM pixel resolution calculations

* Add subsurfacepoint code and get working up to but not through setimage (#4264)

Co-authored-by: default avatarKristin Berry <kberry@gyro.wr.usgs.gov>

* Changed pseudoinverse computation to armadillo SVD based (#4263)

* Changed psuedoinverse to Armadillo SVD

* Fixed name

* Fixed comparison warning

* In progress set ground

* Add SetUniversalGround for CSMCamera and nullptr initializations in Spice defaultinit

Co-authored-by: default avatarKristin Berry <kberry@gyro.wr.usgs.gov>

* Modified CSM setImage to intersect the shape model (#4266)

* Fixed scaling issue in setImage

* Added shape model intersection

* added initial CSMCamera test (#4267)

* added initial CSMCamera test

* Added matchers and more tests

* Added more set ground tests

* minor clean up

* Added proper ShapeModel stuff (#4269)

* Added proper ShapeModel stuff

* General clean-up

* Starting to get campt working (#4270)

* Added a bunch more stuff for campt (#4272)

* Added a bunch of stuff for campt

* Fixed compiler error

* Got RA, DEC, and all Solar Calculations from campt correctly returning NULL (#4273)

Co-authored-by: default avatarKristin Berry <kberry@gyro.wr.usgs.gov>

* Updated CSMCamera tests to pass (#4278)

* Updated CSMCamera tests

* made another fixture

* Moved dem radius to 1 place in the fixture

* Added remaining function tests

* Finished CSMCamera tests

* Flipped illumination vector

* Updated CameraFactory unitTest for new error message

* Removed campt couts

* Updated chip truth data for new camera factory error

* Re-fixed CameraFactory truth

* Changed Spice hasGroup to hasBlob for Target unit test

* Update camera plugin loading and add a check to csminit that the camera can be instantiated. (#4279)

* Update camera plugin loading and add a check to csminit that the camera model can be instantiated.

* Update csminit to restore original label contents if csminit fails

* Working on debugging an issue with saving and restoring the original csmstate blob if csminit fails

* Updated StringBlob to be able to read in and then write out the same blob without doubling it

* Update to use existing TargetName in label if not supplied by user.

Co-authored-by: default avatarKristin Berry <kberry@gyro.wr.usgs.gov>

* Added campt and hasblob tests (#4283)

* Added campt and hasblob tests

* Fixed spacing

* Updated CSMCamera doc strings (#4282)

* Updated doc strings

* Added cmapt history

* Fixed typo in CSMCamera::sunPosition docs

* Get csminit tests passing (#4284)

* Update tests

* Get csminit tests passing

Co-authored-by: default avatarKristin Berry <kberry@gyro.wr.usgs.gov>

* Updated UTC time conversions (#4288)

* Converted iTime test

* Modified iTime::setUtc to accept basic formats

* Update CSMCamera to use iTime::setUtc

* Removed old include

* docs clean-up

* Update csminit to work with an input state and add associated tests.

* Combined ISD vs State into single if else

* Added changelog and histories

* Removed duplicate error check

* Fixed review comments

* Added Sensor history comment

Co-authored-by: default avatarKristin <kberry@usgs.gov>
Co-authored-by: default avatarKristin Berry <kberry@gyro.wr.usgs.gov>
parent cf27c7c1
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment