[INSTRM-106] Motor status made before the end of motion Created: 12/Apr/17 Updated: 17/May/17 Resolved: 17/May/17 |
|
| Status: | Done |
| Project: | Instrument control development |
| Component/s: | None |
| Affects Version/s: | None |
| Fix Version/s: | None |
| Type: | Bug | Priority: | Major |
| Reporter: | arnaud.lefur | Assignee: | cloomis |
| Resolution: | Done | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Description |
|
When we are asking the motors to move from its end of range to 0. That can be problematic because the motors have actually moved, but the positions in the FITS Header are wrong. Any ideas ? |
| Comments |
| Comment by cloomis [ 26/Apr/17 ] |
|
The expected motion time is calculated. I need to check whether I do that right. |
| Comment by cloomis [ 27/Apr/17 ] |
|
OK, distance/velocity + 3s is coming up short. Will fix. |
| Comment by arnaud.lefur [ 04/May/17 ] |
|
I think this is related 2017-05-03 17:24:52.461Z cmds 20 CommandLink.py:118 > 2 316 d text="waiting 2.000s for for idle" 2017-05-03 17:24:52.496Z cmds 20 CommandLink.py:118 > 2 316 d text="not busy after 0.00s" 2017-05-03 17:24:52.497Z cmds 20 CommandLink.py:118 > 2 316 d text="sending '~@,T10000,/1aM1R'" 2017-05-03 17:24:52.533Z cmds 20 CommandLink.py:118 > 2 316 d text="received '/0@'" 2017-05-03 17:24:52.534Z cmds 20 CommandLink.py:118 > 2 316 d text="sending '~@,T10000,/1?aa1'" 2017-05-03 17:24:52.734Z cmds 20 CommandLink.py:118 > 2 316 d text="received '/0`16,31'" 2017-05-03 17:24:52.735Z cmds 20 CommandLink.py:118 > 2 316 d text="sending '~@,T10000,/1?0'" 2017-05-03 17:24:52.777Z cmds 20 CommandLink.py:118 > 2 316 d text="received '/0`56032'" 2017-05-03 17:24:52.777Z cmds 20 CommandLink.py:118 > 2 316 i ccdMotor1=OK,0,0,3502,293.75 2017-05-03 17:24:52.778Z cmds 20 CommandLink.py:118 > 2 316 d text="sending '~@,T10000,/1aM2R'" 2017-05-03 17:24:52.970Z cmds 20 CommandLink.py:118 > 2 316 d text="received '/0@'" 2017-05-03 17:24:52.970Z cmds 20 CommandLink.py:118 > 2 316 d text="sending '~@,T10000,/1?aa2'" 2017-05-03 17:24:53.019Z cmds 20 CommandLink.py:118 > 2 316 d text="received '/0`15,16'" 2017-05-03 17:24:53.020Z cmds 20 CommandLink.py:118 > 2 316 d text="sending '~@,T10000,/1?0'" 2017-05-03 17:24:53.214Z cmds 20 CommandLink.py:118 > 2 316 d text="received '/0`55088'" 2017-05-03 17:24:53.214Z cmds 20 CommandLink.py:118 > 2 316 i ccdMotor2=OK,0,0,3443,294.67 2017-05-03 17:24:53.215Z cmds 20 CommandLink.py:118 > 2 316 d text="sending '~@,T10000,/1aM3R'" 2017-05-03 17:24:53.255Z cmds 20 CommandLink.py:118 > 2 316 d text="received '/0@'" 2017-05-03 17:24:53.256Z cmds 20 CommandLink.py:118 > 2 316 d text="sending '~@,T10000,/1?aa3'" 2017-05-03 17:24:53.458Z cmds 20 CommandLink.py:118 > 2 316 d text="received '/0`16,16'" 2017-05-03 17:24:53.458Z cmds 20 CommandLink.py:118 > 2 316 d text="sending '~@,T10000,/1?0'" 2017-05-03 17:24:53.500Z cmds 20 CommandLink.py:118 > 2 316 d text="received '/0`55088'" 2017-05-03 17:24:53.501Z cmds 20 CommandLink.py:118 > 2 316 i ccdMotor3=OK,0,0,3443,294.67 2017-05-03 17:24:53.501Z cmds 20 CommandLink.py:118 > 2 316 d text="waiting 1.000s for for idle" 2017-05-03 17:24:53.689Z cmds 20 CommandLink.py:118 > 2 316 d text="not busy after 0.00s" 2017-05-03 17:24:53.690Z cmds 20 CommandLink.py:118 > 2 316 d text="sending '~@,T3000,/1A10864,1600,1600,R'" 2017-05-03 17:24:53.749Z cmds 20 CommandLink.py:118 > 2 316 d text="received '/0@'" 2017-05-03 17:24:53.749Z cmds 20 CommandLink.py:118 > 2 316 d text="waiting 3.000s for for idle" 2017-05-03 17:24:56.782Z cmds 20 CommandLink.py:118 > 2 316 d text="still busy after 3.00s" 2017-05-03 17:24:56.783Z root 30 PCM.py:185 text="motor controller busy for 3.0 after motor command" 2017-05-03 17:24:56.783Z cmds 20 CommandLink.py:118 > 2 316 d text="waiting 2.000s for for idle" 2017-05-03 17:24:58.835Z cmds 20 CommandLink.py:118 > 2 316 d text="still busy after 2.02s" 2017-05-03 17:24:58.836Z cmds 20 CommandLink.py:118 > 2 316 d text="sending '~@,T10000,/1aM1R'" 2017-05-03 17:24:58.944Z cmds 20 CommandLink.py:118 > 2 316 d text="received '/0O'" 2017-05-03 17:24:58.945Z cmds 20 CommandLink.py:118 > 2 316 f text="selection of axis 1 failed with code=Controller Busy" 2017-05-03 17:24:58.948Z cmds 20 CommandLink.py:120 > 2 316 w text="this command has already been finished!!!! (client.v1326 316): mot... 2017-05-03 17:24:58.949Z cmds 20 CommandLink.py:118 > 2 316 d text="sending '~@,T10000,/1?aa1'" 2017-05-03 17:24:59.078Z cmds 20 CommandLink.py:120 > 2 316 w text="this command has already been finished!!!! (client.v1326 316): mot... 2017-05-03 17:24:59.079Z cmds 20 CommandLink.py:118 > 2 316 d text="received '/0@15,32'" 2017-05-03 17:24:59.082Z cmds 20 CommandLink.py:120 > 2 316 w text="this command has already been finished!!!! (client.v1326 316): mot... 2017-05-03 17:24:59.083Z cmds 20 CommandLink.py:118 > 2 316 d text="sending '~@,T10000,/1?0'" 2017-05-03 17:24:59.180Z cmds 20 CommandLink.py:120 > 2 316 w text="this command has already been finished!!!! (client.v1326 316): mot... 2017-05-03 17:24:59.181Z cmds 20 CommandLink.py:118 > 2 316 d text="received '/0@16786'" 2017-05-03 17:24:59.182Z cmds 20 CommandLink.py:120 > 2 316 w text="this command has already been finished!!!! (client.v1326 316): mot... 2017-05-03 17:24:59.182Z cmds 20 CommandLink.py:118 > 2 316 w text="motor 1 is not at a full step: 16786 microsteps" 2017-05-03 17:24:59.183Z cmds 20 CommandLink.py:120 > 2 316 w text="this command has already been finished!!!! (client.v1326 316): mot... 2017-05-03 17:24:59.187Z cmds 20 CommandLink.py:118 > 2 316 i ccdMotor1=OK,0,0,1049,81.95 2017-05-03 17:24:59.188Z cmds 20 CommandLink.py:120 > 2 316 w text="this command has already been finished!!!! (client.v1326 316): mot... 2017-05-03 17:24:59.189Z cmds 20 CommandLink.py:118 > 2 316 d text="sending '~@,T10000,/1aM2R'" 2017-05-03 17:24:59.312Z cmds 20 CommandLink.py:120 > 2 316 w text="this command has already been finished!!!! (client.v1326 316): mot... 2017-05-03 17:24:59.313Z cmds 20 CommandLink.py:118 > 2 316 d text="received '/0O'" 2017-05-03 17:24:59.313Z cmds 20 CommandLink.py:120 > 2 316 w text="this command has already been finished!!!! (client.v1326 316): mot... 2017-05-03 17:24:59.313Z cmds 20 CommandLink.py:118 > 2 316 f text="selection of axis 2 failed with code=Controller Busy" 2017-05-03 17:24:59.314Z cmds 20 CommandLink.py:120 > 2 316 w text="this command has already been finished!!!! (client.v1326 316): mot... 2017-05-03 17:24:59.314Z cmds 20 CommandLink.py:118 > 2 316 d text="sending '~@,T10000,/1?aa2'" 2017-05-03 17:24:59.423Z cmds 20 CommandLink.py:120 > 2 316 w text="this command has already been finished!!!! (client.v1326 316): mot... 2017-05-03 17:24:59.424Z cmds 20 CommandLink.py:118 > 2 316 d text="received '/0@16,15'" 2017-05-03 17:24:59.424Z cmds 20 CommandLink.py:120 > 2 316 w text="this command has already been finished!!!! (client.v1326 316): mot... 2017-05-03 17:24:59.424Z cmds 20 CommandLink.py:118 > 2 316 d text="sending '~@,T10000,/1?0'" 2017-05-03 17:24:59.547Z cmds 20 CommandLink.py:120 > 2 316 w text="this command has already been finished!!!! (client.v1326 316): mot... 2017-05-03 17:24:59.547Z cmds 20 CommandLink.py:118 > 2 316 d text="received '/0@14070'" 2017-05-03 17:24:59.547Z cmds 20 CommandLink.py:120 > 2 316 w text="this command has already been finished!!!! (client.v1326 316): mot... 2017-05-03 17:24:59.548Z cmds 20 CommandLink.py:118 > 2 316 w text="motor 2 is not at a full step: 14070 microsteps" 2017-05-03 17:24:59.548Z cmds 20 CommandLink.py:120 > 2 316 w text="this command has already been finished!!!! (client.v1326 316): mot... 2017-05-03 17:24:59.548Z cmds 20 CommandLink.py:118 > 2 316 i ccdMotor2=OK,0,0,879,68.70 2017-05-03 17:24:59.548Z cmds 20 CommandLink.py:120 > 2 316 w text="this command has already been finished!!!! (client.v1326 316): mot... 2017-05-03 17:24:59.549Z cmds 20 CommandLink.py:118 > 2 316 d text="sending '~@,T10000,/1aM3R'" 2017-05-03 17:24:59.657Z cmds 20 CommandLink.py:120 > 2 316 w text="this command has already been finished!!!! (client.v1326 316): mot... 2017-05-03 17:24:59.658Z cmds 20 CommandLink.py:118 > 2 316 d text="received '/0O'" 2017-05-03 17:24:59.658Z cmds 20 CommandLink.py:120 > 2 316 w text="this command has already been finished!!!! (client.v1326 316): mot... 2017-05-03 17:24:59.658Z cmds 20 CommandLink.py:118 > 2 316 f text="selection of axis 3 failed with code=Controller Busy" 2017-05-03 17:24:59.659Z cmds 20 CommandLink.py:120 > 2 316 w text="this command has already been finished!!!! (client.v1326 316): mot... 2017-05-03 17:24:59.659Z cmds 20 CommandLink.py:118 > 2 316 d text="sending '~@,T10000,/1?aa3'" 2017-05-03 17:24:59.791Z cmds 20 CommandLink.py:120 > 2 316 w text="this command has already been finished!!!! (client.v1326 316): mot... 2017-05-03 17:24:59.791Z cmds 20 CommandLink.py:118 > 2 316 d text="received '/0@15,15'" 2017-05-03 17:24:59.792Z cmds 20 CommandLink.py:120 > 2 316 w text="this command has already been finished!!!! (client.v1326 316): mot... 2017-05-03 17:24:59.793Z cmds 20 CommandLink.py:118 > 2 316 d text="sending '~@,T10000,/1?0'" 2017-05-03 17:24:59.892Z cmds 20 CommandLink.py:120 > 2 316 w text="this command has already been finished!!!! (client.v1326 316): mot... 2017-05-03 17:24:59.893Z cmds 20 CommandLink.py:118 > 2 316 d text="received '/0@11508'" 2017-05-03 17:24:59.893Z cmds 20 CommandLink.py:120 > 2 316 w text="this command has already been finished!!!! (client.v1326 316): mot... 2017-05-03 17:24:59.893Z cmds 20 CommandLink.py:118 > 2 316 w text="motor 3 is not at a full step: 11508 microsteps" 2017-05-03 17:24:59.894Z cmds 20 CommandLink.py:120 > 2 316 w text="this command has already been finished!!!! (client.v1326 316): mot... 2017-05-03 17:24:59.894Z cmds 20 CommandLink.py:118 > 2 316 i ccdMotor3=OK,0,0,719,54.58 2017-05-03 17:24:59.894Z cmds 20 CommandLink.py:120 > 2 316 w text="this command has already been finished!!!! (client.v1326 316): mot... 2017-05-03 17:24:59.895Z cmds 20 CommandLink.py:118 > 2 316 : |
| Comment by cloomis [ 04/May/17 ] |
|
About to merge fix. Will test today and tag. |
| Comment by cloomis [ 04/May/17 ] |
|
merged in 2c69481 |
| Comment by cloomis [ 17/May/17 ] |
|
Available in 1.6.2 |