[INSTRM-1480] Fixing the cobra spot matching problem. Created: 08/Dec/21 Updated: 11/May/22 Resolved: 22/Apr/22 |
|
| Status: | Done |
| Project: | Instrument control development |
| Component/s: | None |
| Affects Version/s: | None |
| Fix Version/s: | None |
| Type: | Task | Priority: | Normal |
| Reporter: | chyan | Assignee: | karr |
| Resolution: | Done | Votes: | 0 |
| Labels: | EngRun | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Attachments: |
|
||||||||
| Issue Links: |
|
||||||||
| Story Points: | 3 | ||||||||
| Sprint: | PreEngRun05 D, PreEngRun05 E, PreEngRun05 F | ||||||||
| Description |
|
In the November run, Robert reported the cobra spots are missed matched in some cobras. See the following image.
|
| Comments |
| Comment by karr [ 01/Mar/22 ] |
|
This should be addressed after convergence runs have been performed with the full fibre identification code, which can be done on the test stand. |
| Comment by karr [ 04/Mar/22 ] |
|
I've started testing the code against the motor map data, which provide interesting test cases. The theta runs provide a trivial case, as all the spots should be inside the region only one cobra can access, while the phi runs gives examples where all the cobras are in the overlap regions. This case tests the closest to the last position algorithm for sorting out ambiguous positions. At the moment, I'm running in offline mode, to make sure the algorithms run as expected, before testing in MHS simulation mode to test integration into the system on the same data.
|
| Comment by karr [ 10/Mar/22 ] |
|
A few minor changes have been pushed to the branch. Currently, we're sorting out some geometry/transformation issues which affect hte fibre identification. |
| Comment by karr [ 17/Mar/22 ] |
|
Geometry issues have been registered in ticket |
| Comment by karr [ 15/Apr/22 ] |
|
The identification algorithm has been updated to deal with uncertainties in the transform, and to account for the illuminated but non moving cobras. The updated code is in branch 1480, which needs to be be checked on the real system and merged to master. |
| Comment by hassan [ 15/Apr/22 ] |
|
Can we merge this to master prior to checks on the real system? It would be good not to have too many open ticket branches. |
| Comment by karr [ 15/Apr/22 ] |
|
I can give it a check to make sure the interface has remained the same, then it merge fairly cleanly. |
| Comment by karr [ 21/Apr/22 ] |
|
I checked the interface, and made a few modification to McsCmd.py, in particular passing an additional parameter (the fiducial positions) to fibreId and adding a top level routine to switch methods in the fibre ID between target position and previous position modes.
|
| Comment by karr [ 22/Apr/22 ] |
|
rebased and merged to master. Can close now, and open up smaller tickets for updates. |
| Comment by cloomis [ 29/Apr/22 ] |
|
merged? Does not look like that has been pushed.... |
| Comment by cloomis [ 11/May/22 ] |
|
Ping on the merge/push? I see the tip at 8a37af5, but a merge whose text says it is a merge of |