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

Changed SRC camera and serial number to use start time instead of sta… #4910

Merged
merged 7 commits into from
May 13, 2022

Conversation

scsides
Copy link
Contributor

@scsides scsides commented Apr 16, 2022

Changed HRSC camera and serial number to use start time instead of start clock count

Description

The HRSC SCR framing camera often takes a series of images a few seconds apart. In some instances the start clock count is identical for all of the images. This was causing the SPICE attached in spiceinit to be inaccurate, and the serial
number for each of the images in the series was also identical making it impossible to use the serial numbers in the control software.

Related Issue

$4803

Motivation and Context

#4803

How Has This Been Tested?

All tests are awaiting a clean run of CI

Screenshots (if appropriate):

Types of changes

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Documentation change (update to the documentation; no code change)
  • Breaking change (fix or feature that would cause existing functionality to change)

Checklist:

  • I have read and agree to abide by the Code of Conduct
  • I have read the CONTRIBUTING document.
  • My change requires a change to the documentation.
  • I have updated the documentation accordingly.
  • I have added tests to cover my changes.
  • All new and existing tests passed.
  • I have added myself to the .zenodo.json document.
  • I have added any user impacting changes to the CHANGELOG.md document.

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:

This work is free and unencumbered software released into the public domain. In jurisdictions that recognize copyright laws, the author or authors of this software dedicate any and all copyright interest in the software to the public domain.

  • I dedicate any and all copyright interest in this software to the public domain. I make this dedication for the benefit of the public at large and to the detriment of my heirs and successors. I intend this dedication to be an overt act of relinquishment in perpetuity of all present and future rights to this software under copyright law.

@scsides
Copy link
Contributor Author

scsides commented Apr 16, 2022

In draft until CI passes

@scsides scsides marked this pull request as draft April 16, 2022 01:49
Copy link
Contributor

@jessemapel jessemapel left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Does this impact the tests at all?

Do we need to tick the camera model version for this? I don't think so but I'm not sure.

@scsides
Copy link
Contributor Author

scsides commented Apr 18, 2022

It should affect the tests. That's why I put it into draft mode.

I've been debating the camera version too. This is a breaking change, so yes it should be. I'll add that unless I see objections.

Copy link
Contributor

@jessemapel jessemapel left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This isn't a breaking change as of right now. We do not consider camera model version ticks to be breaking right now.

CHANGELOG.md Outdated Show resolved Hide resolved
@scsides
Copy link
Contributor Author

scsides commented May 12, 2022

This change required a change to the serial number for images from the SRC camera. Any existing control networks will need to be fixed. This seems like a breaking change.

@jessemapel
Copy link
Contributor

We had similar changes in #4887 and decided it wasn't a break. You should comment on #4792 if you have an opinion about what is and is not API breaking

@scsides
Copy link
Contributor Author

scsides commented May 13, 2022

We should go with @jessemapel suggestion to remain consistent.

@scsides scsides marked this pull request as ready for review May 13, 2022 15:37
@ladoramkershner ladoramkershner merged commit bea365e into DOI-USGS:dev May 13, 2022
Kelvinrr pushed a commit to gsn9/ISIS3 that referenced this pull request Jul 18, 2022
DOI-USGS#4910)

* Changed SRC camera and serial number to use start time instead of start clock count

* Change log entry

* Tick the camera version to 2

* Update unittest

* Update MexHrscSrcCamera.cpp

* Update CHANGELOG.md
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