-
Type: Bug
-
Status: Done (View Workflow)
-
Priority: Normal
-
Resolution: Done
-
Component/s: ics_fpsActor
-
Labels:
After the near-dot convergence, I analyzed the data and created a maskFile to only move the cobras which were 500 microns away from their target.
I tried to re-converge those cobras using moveToPfsDesign and the maskFile option but it didn't work, the command failed with :
2024-03-09 10:19:49.388Z cmds 20 Actor.py:524 new cmd: moveToPfsDesign designId=7362534226687433961 iteration=12 tolerance=0.005 exptime=4.8 noTweak maskFile=/data/fps/maskFiles/nearDotReconverge1.csv 2024-03-09 10:19:49.389Z cmds 20 CommandLink.py:122 > 2 24 i text="Setting moveToPfsDesign expTime=4.8" 2024-03-09 10:19:49.389Z cmds 20 CommandLink.py:122 > 2 24 i text="Running moveToPfsDesign with tolerance=0.005 iteration=12 " 2024-03-09 10:19:49.389Z cmds 20 CommandLink.py:122 > 2 24 i text="moveToPfsDesign with twoSteps=True goHome=False" 2024-03-09 10:19:49.390Z cmdr 20 CmdrConnection.py:218 queueing command gen2(getVisit caller=fps) 2024-03-09 10:19:49.756Z cmdr 20 CmdrConnection.py:212 command returned gen2 'getVisit caller=fps' 2024-03-09 10:19:49.826Z cmds 20 CommandLink.py:122 > 2 24 i pfsConfig=0x662cf9deec5c1ce9,106917,Preparing 2024-03-09 10:19:49.854Z cmds 20 CommandLink.py:122 > 2 24 i text="Setting good cobra index" 2024-03-09 10:19:49.858Z cmds 20 CommandLink.py:122 > 2 24 i text="Handling the cobra target table." 2024-03-09 10:19:49.869Z pfi 40 pfi.py:899 Some phi angles are out of range 2024-03-09 10:19:49.870Z engineer 20 engineer.py:395 Move theta arms to angle=[ 59.08 361.54 29.47 29.91 278.53 89.3 192.26 50.59 46.87 77.06 2024-03-09 10:19:49.870Z engineer 20 engineer.py:396 Move phi arms to angle=[66.85 68.37 58.56 56.4 54.36 58.54 60.41 64.22 62.56 57.23 64.85 57.7 2024-03-09 10:19:49.870Z engineer 20 engineer.py:398 Checking passed homed argument = True 2024-03-09 10:19:49.870Z engineer 20 engineer.py:402 Move theta arms CW and phi arms CCW to the hard stops 2024-03-09 10:19:49.870Z cobraCoach 20 cobraCoach.py:1064 home cobras: theta=10000, phi=-5000 2024-03-09 10:19:49.871Z engineer 20 engineer.py:412 Sending angles to moveToAngles for 0-th iteration 2024-03-09 10:19:49.871Z cobraCoach 20 cobraCoach.py:1008 Moving deltaTheta = [-5.6141534 -0.38427213 -6.19765737 -6.17381573 -1.78258869 -5.11731029 2024-03-09 10:19:49.871Z cobraCoach 20 cobraCoach.py:1009 Moving deltaPhi = [1.16670568 1.19324148 1.02215106 0.98442324 0.9488047 1.02166453 2024-03-09 10:19:49.873Z cobraCoach 20 cobraCoach.py:876 Finished converting angle to steps, sending command to moveSteps. 2024-03-09 10:19:49.874Z cobraCoach 20 cobraCoach.py:586 Sending step numbers to FPGA for moving cobra. 2024-03-09 10:19:49.874Z pfi 30 pfi.py:584 clipping (1742, 'theta', 'ccw') ontime to 0.14 and scale 2.00 to 1.7500000000000002 2024-03-09 10:19:49.875Z cobraCoach 20 cobraCoach.py:600 cobra control FPGA operation done. 2024-03-09 10:19:49.885Z pfi 40 pfi.py:896 Some theta angles are out of range 2024-03-09 10:19:49.885Z pfi 40 pfi.py:899 Some phi angles are out of range 2024-03-09 10:19:49.938Z engineer 20 engineer.py:422 Updating the cobra information 2024-03-09 10:19:49.939Z engineer 20 engineer.py:436 done: [ 42 48 72 570 584 842 1026 1184 1241 1266 1340 1346 1351 1421 2024-03-09 10:19:49.939Z engineer 20 engineer.py:412 Sending angles to moveToAngles for 1-th iteration 2024-03-09 10:19:49.939Z cobraCoach 20 cobraCoach.py:1008 Moving deltaTheta = [-0.00123841] 2024-03-09 10:19:49.939Z cobraCoach 20 cobraCoach.py:1009 Moving deltaPhi = [-0.00108676] 2024-03-09 10:19:49.939Z cobraCoach 20 cobraCoach.py:876 Finished converting angle to steps, sending command to moveSteps. 2024-03-09 10:19:49.939Z cobraCoach 20 cobraCoach.py:586 Sending step numbers to FPGA for moving cobra. 2024-03-09 10:19:49.939Z cobraCoach 20 cobraCoach.py:600 cobra control FPGA operation done. 2024-03-09 10:19:49.950Z pfi 40 pfi.py:896 Some theta angles are out of range 2024-03-09 10:19:49.950Z pfi 40 pfi.py:899 Some phi angles are out of range 2024-03-09 10:19:50.002Z engineer 20 engineer.py:422 Updating the cobra information 2024-03-09 10:19:50.002Z engineer 20 engineer.py:436 done: [482], 0 left 2024-03-09 10:19:50.002Z engineer 20 engineer.py:438 all cobras are in positions 2024-03-09 10:19:50.013Z pfi 40 pfi.py:899 Some phi angles are out of range 2024-03-09 10:19:50.013Z engineer 20 engineer.py:395 Move theta arms to angle=[ 39.4 340.55 12.25 11.23 266.46 70. 177.04 29.87 32.36 63.25 2024-03-09 10:19:50.014Z engineer 20 engineer.py:396 Move phi arms to angle=[106.2 110.35 92.99 93.77 78.51 97.14 90.87 105.66 91.59 84.83 2024-03-09 10:19:50.014Z engineer 20 engineer.py:398 Checking passed homed argument = False 2024-03-09 10:19:50.014Z engineer 20 engineer.py:412 Sending angles to moveToAngles for 0-th iteration 2024-03-09 10:19:50.014Z cobraCoach 20 cobraCoach.py:1008 Moving deltaTheta = [-0.34315072 -0.36693681 -0.29975365 -0.32609326 -0.21034857 -0.33786987 2024-03-09 10:19:50.014Z cobraCoach 20 cobraCoach.py:1009 Moving deltaPhi = [0.68618813 0.73337264 0.60101413 0.65180447 0.42083301 0.67420303 2024-03-09 10:19:50.015Z cobraCoach 20 cobraCoach.py:876 Finished converting angle to steps, sending command to moveSteps. 2024-03-09 10:19:50.016Z cobraCoach 20 cobraCoach.py:586 Sending step numbers to FPGA for moving cobra. 2024-03-09 10:19:50.017Z cobraCoach 20 cobraCoach.py:600 cobra control FPGA operation done. 2024-03-09 10:19:50.028Z pfi 40 pfi.py:896 Some theta angles are out of range 2024-03-09 10:19:50.028Z pfi 40 pfi.py:899 Some phi angles are out of range 2024-03-09 10:19:50.080Z engineer 20 engineer.py:422 Updating the cobra information 2024-03-09 10:19:50.081Z engineer 20 engineer.py:436 done: [ 42 48 72 482 570 584 842 1026 1184 1241 1266 1340 1346 1351 2024-03-09 10:19:50.081Z engineer 20 engineer.py:438 all cobras are in positions 2024-03-09 10:19:50.081Z cmds 20 CommandLink.py:122 > 2 24 i text="Reset the current angles for cobra arms." 2024-03-09 10:19:50.081Z cmds 20 CommandLink.py:122 > 2 24 i text="Setting ThetaAngle = [1.49397171 4.85288715 4.43539286 ... 4.66122007 6.16810656 1.50877714] and phiAngle = [1.7308569 1.85908878 1.69207418 ... 1.78467751 1.92317438 1.81385016]." 2024-03-09 10:19:50.085Z cmds 20 CommandLink.py:122 > 2 24 f text="command failed: RuntimeError('number of theta angles must match number of cobras') in setCurrentAngles() at /software/mhs/products/Linux64/ics_cobraCharmer/1.4.8a/python/ics/cobraCharmer/cobraCoach/cobraCoach.py:1136"