Commit e9b538fb authored by Jeannie Backer's avatar Jeannie Backer
Browse files

Fixed bug in VariableLineScanCameraDetector map that was erroneously...

Fixed bug in VariableLineScanCameraDetector map that was erroneously subtracting a half second from scan rate start times. Fixes #4435.

git-svn-id: http://subversion.wr.usgs.gov/repos/prog/isis3/trunk@7196 41f8697f-d340-4b68-9986-7bafba869bb8
parent 15b6f620
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -53,7 +53,7 @@ namespace Isis {
    double currEt = p_camera->time().Et();
    int rateIndex = p_lineRates.size() - 1;

    while(rateIndex >= 0 && currEt < p_lineRates[rateIndex].GetStartEt() - 0.5) {
    while(rateIndex >= 0 && currEt < p_lineRates[rateIndex].GetStartEt()) {
      rateIndex --;
    }

+3 −0
Original line number Diff line number Diff line
@@ -44,6 +44,9 @@ namespace Isis {
   *   @history 2009-03-07 Debbie A. Cook Removed reference to obsolute CameraDetectorMap methods
   *   @history 2012-06-20 Debbie A. Cook, Updated Spice members to be more compliant with Isis 
   *                          coding standards
   *   @history 2016-10-27 Jeannie Backer - Fixed bug in SetDetector() that was subtracting 1/2
   *                           second from each line rate start ET when trying to find the
   *                           appropriate rate index for this line. Fixes #4435.
   *
   */
  class VariableLineScanCameraDetectorMap : public LineScanCameraDetectorMap {