Commit 8359c887 authored by Ian Humphrey's avatar Ian Humphrey
Browse files

PROG: Updated BundleUtilities unit test for changes made to BundleObservation...

PROG: Updated BundleUtilities unit test for changes made to BundleObservation for formatBundleOutputString(). References #4464.

git-svn-id: http://subversion.wr.usgs.gov/repos/prog/isis3/branches/ipce@7193 41f8697f-d340-4b68-9986-7bafba869bb8
parent 5aa7b8fe
Loading
Loading
Loading
Loading
+21 −6
Original line number Diff line number Diff line
@@ -391,8 +391,14 @@ Object = NoCamAngles
End_Object

    output bundle observation...


0.0,0.0,0.0,-1.0,0.0,0.0,0.0,0.0,-1.0,0.0,0.0,0.0,0.0,-1.0,0.0,0.0,0.0,0.0,-1.0,0.0,0.0,0.0,0.0,-1.0,0.0,0.0,0.0,0.0,-1.0,0.0,
0.0,0.0,0.0,-1.0,N/A,0.0,0.0,0.0,-1.0,N/A,0.0,0.0,0.0,-1.0,N/A,0.0,0.0,0.0,-1.0,N/A,0.0,0.0,0.0,-1.0,N/A,0.0,0.0,0.0,-1.0,N/A,
  X  (t0)       0.00000000           0.00000000          0.00000000               N/A               N/A
  Y  (t0)       0.00000000           0.00000000          0.00000000               N/A               N/A
  Z  (t0)       0.00000000           0.00000000          0.00000000               N/A               N/A
 RA  (t0)       0.00000000           0.00000000          0.00000000               N/A               N/A
DEC  (t0)       0.00000000           0.00000000          0.00000000               N/A               N/A
TWI  (t0)       0.00000000           0.00000000          0.00000000               N/A               N/A

    Set solve settings using with TWIST=FALSE...
Object = NoTwist
@@ -414,8 +420,8 @@ Object = NoTwist
End_Object

    output bundle observation...
0.0,0.0,0.0,8.0,0.00.0,0.0,0.0,9.0,0.00.0,0.0,0.0,-1.0,0.00.0,0.0,0.0,-1.0,0.00.0,0.0,0.0,-1.0,0.00.0,0.0,0.0,-1.0,0.00.0,0.0,0.0,-1.0,0.00.0,0.0,0.0,-1.0,0.00.0,0.0,0.0,8.0,0.00.0,0.0,0.0,9.0,0.00.0,0.0,0.0,-1.0,0.00.0,0.0,0.0,-1.0,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0,0.0,0.0,0.0,0.0,-1.0,0.0,0.0,0.0,0.0,-1.0,0.0,
0.0,0.0,0.0,8.0,N/A,0.0,0.0,0.0,9.0,N/A,0.0,0.0,0.0,-1.0,N/A,0.0,0.0,0.0,-1.0,N/A,0.0,0.0,0.0,-1.0,N/A,0.0,0.0,0.0,-1.0,N/A,0.0,0.0,0.0,-1.0,N/A,0.0,0.0,0.0,-1.0,N/A,0.0,0.0,0.0,8.0,N/A,0.0,0.0,0.0,9.0,N/A,0.0,0.0,0.0,-1.0,N/A,0.0,0.0,0.0,-1.0,N/A,0.0,0.0,0.0,-1.0,N/A,0.0,0.0,0.0,-1.0,N/A,0.0,0.0,0.0,-1.0,N/A,0.0,0.0,0.0,-1.0,N/A,0.0,0.0,0.0,8.0,N/A,0.0,0.0,0.0,9.0,N/A,0.0,0.0,0.0,-1.0,N/A,0.0,0.0,0.0,-1.0,N/A,0.0,0.0,0.0,-1.0,N/A,0.0,0.0,0.0,-1.0,N/A,0.0,0.0,0.0,-1.0,N/A,0.0,0.0,0.0,-1.0,N/A,0.0,0.0,0.0,1.0,N/A,0.0,0.0,0.0,-1.0,N/A,0.0,0.0,0.0,3.0,N/A,0.0,0.0,0.0,-1.0,N/A,0.0,0.0,0.0,-1.0,N/A,0.0,0.0,0.0,-1.0,N/A,0.0,0.0,0.0,1.0,N/A,0.0,0.0,0.0,-1.0,N/A,0.0,0.0,0.0,3.0,N/A,0.0,0.0,0.0,-1.0,N/A,0.0,0.0,0.0,-1.0,N/A,0.0,0.0,0.0,-1.0,N/A,0.0,0.0,0.0,-1.0,N/A,0.0,0.0,0.0,-1.0,N/A,0.0,0.0,0.0,-1.0,N/A,0.0,0.0,0.0,-1.0,N/A,0.0,0.0,0.0,-1.0,N/A,0.0,0.0,0.0,-1.0,N/A,
  X  (t0)       0.00000000           0.00000000          0.00000000               8.0               N/A
     (t1)       0.00000000           0.00000000          0.00000000               9.0               N/A
     (t2)       0.00000000           0.00000000          0.00000000               N/A               N/A
@@ -452,6 +458,12 @@ DEC (t0) 0.00000000 0.00000000 0.00000000
     (t3)       0.00000000           0.00000000          0.00000000               N/A               N/A
     (t4)       0.00000000           0.00000000          0.00000000               N/A               N/A
     (t5)       0.00000000           0.00000000          0.00000000               N/A               N/A
TWI  (t0)       0.00000000           0.00000000          0.00000000               N/A               N/A
     (t1)       0.00000000           0.00000000          0.00000000               N/A               N/A
     (t2)       0.00000000           0.00000000          0.00000000               N/A               N/A
     (t3)       0.00000000           0.00000000          0.00000000               N/A               N/A
     (t4)       0.00000000           0.00000000          0.00000000               N/A               N/A
     (t5)       0.00000000           0.00000000          0.00000000               N/A               N/A

    Set solve settings using with CAMSOLVE=ALL and TWIST=TRUE...
Object = SettingsFromBundleObservation
@@ -484,12 +496,15 @@ parameter corrections : 0.0 0.0 0.0
apriori sigmas :        -1.79769313486231e+308     -1.79769313486231e+308     -1.79769313486231e+308     
adjusted sigmas :       0.0     0.0     0.0     
    output bundle observation...
0.0,0.0,0.0,-1.0,N/A,0.0,0.0,0.0,-1.0,N/A,0.0,0.0,0.0,-1.0,N/A,
0.0,0.0,0.0,-1.0,N/A,0.0,0.0,0.0,-1.0,N/A,0.0,0.0,0.0,-1.0,N/A,0.0,0.0,0.0,-1.0,N/A,0.0,0.0,0.0,-1.0,N/A,0.0,0.0,0.0,-1.0,N/A,
  X  (t0)       0.00000000           0.00000000          0.00000000               N/A               N/A
  Y  (t0)       0.00000000           0.00000000          0.00000000               N/A               N/A
  Z  (t0)       0.00000000           0.00000000          0.00000000               N/A               N/A
 RA  (t0)       0.00000000           0.00000000          0.00000000               N/A               N/A
DEC  (t0)       0.00000000           0.00000000          0.00000000               N/A               N/A
TWI  (t0)       0.00000000           0.00000000          0.00000000               N/A               N/A

0.0,0.0,0.0,-1.0,0.0,0.0,0.0,0.0,-1.0,0.0,0.0,0.0,0.0,-1.0,0.0,
0.0,0.0,0.0,-1.0,0.0,0.0,0.0,0.0,-1.0,0.0,0.0,0.0,0.0,-1.0,0.0,0.0,0.0,0.0,-1.0,0.0,0.0,0.0,0.0,-1.0,0.0,0.0,0.0,0.0,-1.0,0.0,
init exterior orientiation successful?   "Yes"
**ERROR** Unable to apply parameter corrections to BundleObservation.
**ERROR** Instrument rotation is NULL, but pointing solve option is AnglesOnly.