From 1040a2cbf544b8eda78a7d61ff11c0147409c5ef Mon Sep 17 00:00:00 2001 From: Kristin Date: Mon, 22 Apr 2019 10:32:00 -0700 Subject: [PATCH] Update unit test for Kaguya TC to match output of updated camera model --- isis/src/kaguya/objs/KaguyaTcCamera/KaguyaTcCamera.truth | 8 ++++---- isis/src/kaguya/objs/KaguyaTcCamera/unitTest.cpp | 8 ++++---- 2 files changed, 8 insertions(+), 8 deletions(-) diff --git a/isis/src/kaguya/objs/KaguyaTcCamera/KaguyaTcCamera.truth b/isis/src/kaguya/objs/KaguyaTcCamera/KaguyaTcCamera.truth index b319844f67..ac8c51725e 100644 --- a/isis/src/kaguya/objs/KaguyaTcCamera/KaguyaTcCamera.truth +++ b/isis/src/kaguya/objs/KaguyaTcCamera/KaguyaTcCamera.truth @@ -28,8 +28,8 @@ DeltaSample = 0 DeltaLine = 0 For center pixel position ... -Latitude off by: -9.37449768301235054e-05 -Longitude off by: -5.93533007986479788e-05 +Latitude OK +Longitude OK Testing TC1 s L2B0 image... @@ -61,5 +61,5 @@ DeltaSample = 0 DeltaLine = 0 For center pixel position ... -Latitude off by: 0.000266978116243876684 -Longitude off by: 0.000317664115719651363 +Latitude OK +Longitude OK diff --git a/isis/src/kaguya/objs/KaguyaTcCamera/unitTest.cpp b/isis/src/kaguya/objs/KaguyaTcCamera/unitTest.cpp index 309beff461..10ffd897b2 100644 --- a/isis/src/kaguya/objs/KaguyaTcCamera/unitTest.cpp +++ b/isis/src/kaguya/objs/KaguyaTcCamera/unitTest.cpp @@ -51,8 +51,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 = 59.0972605733461691; - double knownLon = 311.467742700096323; + double knownLat = 58.3498029142273396; + double knownLon = 311.458498980458671; qDebug() << "Testing TC2 w L2B0 image..."; Cube c("$kaguya/testData/TC2W2B0_01_02735N583E3115.cub", "r"); @@ -114,8 +114,8 @@ int main(void) { qDebug() << ""; qDebug() << ""; qDebug() << "Testing TC1 s L2B0 image..."; - knownLat = -81.2150653963736175; - knownLon = 47.1989499604665284; + knownLat = -82.0214347373044603; + knownLon = 46.4180177580203335; Cube c2("$kaguya/testData/TC1S2B0_01_06691S820E0465.cub", "r"); KaguyaTcCamera *cam2 = (KaguyaTcCamera *) CameraFactory::Create(c2);