Unverified Commit 0d4cfb60 authored by acpaquette's avatar acpaquette Committed by GitHub
Browse files

Msl Landed Fix (#590)

* Changes to landed option

* Added changelog entry
parent e59d297b
Loading
Loading
Loading
Loading
+4 −0
Original line number Diff line number Diff line
@@ -37,6 +37,10 @@ release.
### Added
- Apollo Metric drivers, tests, and data [#533](https://github.com/DOI-USGS/ale/pull/533)

### Fixed

- Fixed landed sensors to correctly project locally [#590](https://github.com/DOI-USGS/ale/pull/590)

## [0.10.0] - 2024-01-08 

### Added
+1 −4
Original line number Diff line number Diff line
@@ -500,9 +500,6 @@ class Cahvor():
            v_s = self.compute_v_s()
            H_prime = (self.cahvor_camera_dict['H'] - h_c * self.cahvor_camera_dict['A'])/h_s
            V_prime = (self.cahvor_camera_dict['V'] - v_c * self.cahvor_camera_dict['A'])/v_s
            if self._props.get("landed", False):
              self._cahvor_rotation_matrix = np.array([-H_prime, -V_prime, self.cahvor_camera_dict['A']])
            else:
            self._cahvor_rotation_matrix = np.array([H_prime, V_prime, self.cahvor_camera_dict['A']])
        return self._cahvor_rotation_matrix

+4 −1
Original line number Diff line number Diff line
@@ -183,6 +183,9 @@ class MslMastcamPds3NaifSpiceDriver(Cahvor, Framer, Pds3Label, NaifSpice, Cahvor
            # See is_navcam() for an explanation.
            return (self.compute_h_s() + self.compute_v_s())/2.0
        
        if self._props.get("landed", False):
            return -super().focal_length

        # For mast cam
        return super().focal_length