F3E Sub-Tests

The goal of these sub-tests are to determine whether limbs shots at better resolution help generate a more detailed SPC product. The sub-tests involve testing 100cm, 50cm, 15cm, and 5cm limb images. Each sub-test will be run twice. Once with high stereo data and the other with low stereo data.

Important Note

The entirety of this test will take place within the /SPC_Test/F3E-Limbs directory on ormacsrv1. When ever an action is performed during the test, commands will be logged for future reference. To do this type the following commands

script datepwd ls -l

Then continue with a procedural step. When done with a procedural step cancel the script and place it into the /SPC_Test/F3E-Limbs/log directory.bWith script still enabled do the following to end it while in the test directory.

exitmv typescript ../log/<name/path>

Procedure

The procedures shown can be repeated for every sub-test in the table.

Sub-Test Number	Base image set	Limb image resolution	Methods	Evaluation
F3E-1	Low Stereo	100cm	Iteration x5 GEOMETRY 2	Spacecraft & Landmark position
F3E-2	Low Stereo	50cm	Iteration x5 GEOMETRY 2	Spacecraft & Landmark position
F3E-3	Low Stereo	15cm	Iteration x5 GEOMETRY 2	Spacecraft & Landmark position
F3E-4	Low Stereo	5cm	Iteration x5 GEOMETRY 2	Spacecraft & Landmark position
F3E-5	High Stereo	100cm	Iteration x5 GEOMETRY 2	Spacecraft & Landmark position
F3E-6	High Stereo	50cm	Iteration x5 GEOMETRY 2	Spacecraft & Landmark position
F3E-7	High Stereo	15cm	Iteration x5 GEOMETRY 2	Spacecraft & Landmark position
F3E-8	High Stereo	5cm	Iteration x5 GEOMETRY 2	Spacecraft & Landmark position

1. Setting up the test directory

Depending on the subtest, the high or low stereo prep directory is being copied over to the test directory with the test directory being emptied first.

Test F3E Test Directory Set-Up

2. Symbolically Linking the Correct List of Images to PICTLIST.TXT

While in the test directory symbolically link the PICTLIST.TXT file to the correct file in the support directory for the respected test. For example, for the 100cm limb shot test using low stereo data do the following while in the test directory:

rm PICTLIST.TXTln -s ../lsupport/PICTLISTF3Elow_1.txt PICTLIST.TXT

3. Register Sub-Test Limb Images

Copy the correct registering file in in the lsupport directory for the respected test as make_scriptR.in in the test directory. For example, for the 100cm limb shot test do the following while in the test directory.

cp ../lsupport/F3E1Registering.txt make_scriptR.in

Then execute the following procedural block

Test F3E Register

4. Run 5 iterations

Next, run 5 iterations one after one. Each iteration should be done by following the procedural block below.

Test F3E Iterate -- Use the 100 cm area scenario

5. Obtain 5cm Landmark Point Cloud and Evaluate its obj to the Truth Model

First enter the following:

bigmap < support/EVAL20.in

This will output a list of the landarks within the evaluation region of the tag site. Copy and paste this list into LMKFILES/LMRKEvalList.txt

While in the test directory input the following commands.

grep "0.0500" MAPINFO.TXT | awk '{ print $1 }' >> LMKFILES/LMRK05.txt # Makes a text file of all 5cm landmark namescd /SPC_Test/F3E-Limbs/test/LMKFILESwhile read line; do f=`grep $line LMRKEvalList.txt | wc -l`; if [ $f -gt 0 ]; then echo $line >> EvalLMRK05List.txt; fi; done < LMRK05.txt # Makes a list of 5 cm landmarks in 20 by 20 meter area around tagsiteswhile read line; do grep "VLM" $line* | awk '{ print $1, $2, $3 }' >> PC05.txt; done < EvalLMRK05List.txt # Makes the point cloudcp PC05.txt LMRK05.txt ../../results/<subtest name>/ # Copy point cloud files to resultscp PC05.txt ~/send/ # Copy point cloud to send directory so it can be evaluated on personal machine

Now, these are the exact commands I enter to evaluate the point cloud on my machine.

cp send/PC05.txt send/CompareOBJfiles/cd /Users/kdrozd/Dropbox\ \(OREx\)/SPC-ORex/eval_tools/altwg-2016.01.25-macosx-x64/binvi ~/send/CompareOBJfiles/PC05.txt:%s/D/E/gZZ./ComparePointCloudToOBJ --compute-optimal-translation-and-rotation ~/send/CompareOBJfiles/PC05.txt truthTAG1-5cm-1.1K.obj

The Copy the output of the last command into a file in the the subtest directory located in the /SPC_Test/F3E-Limbs/results directory.

6. Run Geometry 2

Next run Geometry to just update the spacecraft position and pointing (not landmark heights). To do this follow the procedural block below, but when Geometry is run make sure only option 2 and 0 are selected under the geometry section.

Test F3E Geometry 2

7. Evaluate Position and Pointing of Spacecraft

First step is to make a text file that contains a list of the names of the 4 high or 4 low stereo images appended with the tests respected 4 limb shot images. This text file can be made anyway and does not require a direct procedure. Just make sure the textfile is a list only. Call the textile imgname.txt.

Then follow Diane's procedural block below. Replace listSum, with imgname.txt. Also when, logging the SCOBJ and point vector files put them in the test's respected directory in the /SPC_Test/F3E-Limbs/results directory.

Test F3E Procedure Block - Capture SCOBJ & Pointing