Commit 119d5237 authored by Jesse Mapel's avatar Jesse Mapel
Browse files

PROG: Fixed TGO CaSSIS unitTest and UTF-8 encoding error with TgoCassisDistortionMap documentation.

git-svn-id: http://subversion.wr.usgs.gov/repos/prog/isis3/trunk@8140 41f8697f-d340-4b68-9986-7bafba869bb8
parent 6a153f16
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -68,7 +68,7 @@ namespace Isis {
   * Compute undistorted focal plane (x,y) coordinate given the distorted 
   * (x,y). 
   *  
   * Model derived by Stepan Tulyakov and Anoton Ivanov, EPFL (École 
   * Model derived by Stepan Tulyakov and Anoton Ivanov, EPFL (Ecole 
   * Polytechnique Fédérale de Lausanne). 
   *  
   * Given distorted focal plane coordinates, in millimeters, and parameters of 
@@ -124,7 +124,7 @@ namespace Isis {
  /** 
   * Compute distorted focal plane (x,y) given an undistorted focal plane (x,y).
   * 
   * Model derived by Stepan Tulyakov and Anoton Ivanov, EPFL (École 
   * Model derived by Stepan Tulyakov and Anoton Ivanov, EPFL (Ecole 
   * Polytechnique Fédérale de Lausanne). 
   *  
   * Given ideal focal plane coordinates, in millimeters, and parameters
+2 −2
Original line number Diff line number Diff line
@@ -45,8 +45,8 @@ int main(void) {
    // These should be lat/lon at center of image. To obtain these numbers for a new cube/camera,
    // set both the known lat and known lon to zero and copy the unit test output
    // "Latitude off by: " and "Longitude off by: " values directly into these variables.
    double knownLat = 4.14660759922619704;// 4.33164869218781323; // before distortion model:   4.1185046573490665;
    double knownLon = 322.757254701230863;// 322.715872037511133; // before distortion model: 322.6163976791718824;
    double knownLat = 4.14693704119268247;
    double knownLon = 322.758190354645023;

    Cube c("$tgo/testData/CAS-MCO-2016-11-22T16.38.39.354-NIR-02036-00.cub", "r");
    TgoCassisCamera *cam = (TgoCassisCamera *) CameraFactory::Create(c);