Details
-
Type:
Story
-
Status: Done
-
Resolution: Done
-
Fix Version/s: None
-
Component/s: ts_main_telescope
-
Labels:
-
Story Points:3
-
Epic Link:
-
Sprint:TSSW Sprint - Jun 21 - Jul 05
-
Team:Telescope and Site
-
Urgent?:No
Description
The pivot point should be (0,0,0) now but it appears unchanged in the notebook and no event generated in the EFD.
pivot at (0, 0, -2758400) microns
Starting the test at 2021-06-14 13:32:24 UTC:
- Reading the event configuration
hexConfig = await hexapod_csc.evt_configuration.aget(timeout=10.)
Getting the Pivot point and limits:
pivot at (0, 0, -2758400) microns
maxXY = 11400.0 microns, maxZ= 13100.0 microns
maxUV = 0.36 deg, maxW= 0.1 deg
- Moving to test position
x=2000,y=-3500,z=200,u=0.01,v=-0.05,w=0.002,sync=True)
Result:INFO:Script:START- Camera Hexapod Integration Test -- LVV-T1600 Pivot test - Moving to testing position- Starting time: 2021-06-14 13:49:40.434948 UTC
hex position 2000.57 -3499.85 200.17 0.01 -0.05 0.00
- Setting new Pivot point
await hexapod_csc.cmd_setPivot.set_start(x=0,y=0,z=0)
Result:
INFO:Script:START- Camera Hexapod Integration Test -- LVV-T1600 Pivot test - Pivot point set to (0,0,0)- Starting time: 2021-06-14 13:35:14.816864 UTC
hex position -407.81 -3981.81 198.72 0.01 -0.05 0.00
Values changed in the EUI (Hex.Pos.Actual) and in the EFD.
Changes are shown in Chronograph.
Strut. Pos. Actual in the EUI unchanged – no movement
Pivot Point (microns!) value in the EUI did not change!
- Reading the event configuration again
hexConfig = await hexapod_csc.evt_configuration.aget(timeout=10.)
Getting the Pivot point and limits:
pivot at (0, 0, -2758400) microns
maxXY = 11400.0 microns, maxZ= 13100.0 microns
maxUV = 0.36 deg, maxW= 0.1 deg
**
The pivot point should be (0,0,0) now but appears unchanged here and no event generated in the EFD.
- Setting back the Pivot point:
await hexapod_csc.cmd_setPivot.set_start(x=0,y=0,z=-2758400)
- Result:
INFO:Script:START- Camera Hexapod Integration Test -- LVV-T1600 Test Step 29 - Pivot set (0,0,-2758400)- Starting time: 2021-06-14 13:49:40.434948 UTC
hex position 4408.05 -3018.38 201.33 0.01 -0.05 0.00
First try: Values did not change back! Not when reading from the EFD, not in the EUI.
*Second try: Restart the EUI, move to zero, move to test position. Change the Pivot point forth and back between (0,0,0) and (0,0,-2758400) everything seems to be normal. *
Note: Holger asks to add a print for the "pivot" field in the "config" events to the low-level controller.
Attachments
Issue Links
- is triggering
-
DM-31248 MTHexapod: evt_configuration needs to be published upon enabled
- Done
-
DM-23150 MT Camera Hexapod CSC does not reject move commands that are outside custom position limits
- Won't Fix
-
DM-30811 Please have the hexapod send exactly the same telemetry and config data to the EUI and CSC
- Done
-
DM-30960 Hard-Code the TAI Offset in Rotator Controller
- Done
-
DM-30964 Investigate to Fix the TAI by the LUT or Xenomai
- Done
- relates to
-
DM-28695 The MTHexapod is mis-handling configuration changes
- Invalid
I noticed the DDS does not get the update of pivot. I rewrote the logic in sys.c to publish the data to DDS.