Details
-
Type:
Story
-
Status: Done
-
Resolution: Done
-
Fix Version/s: None
-
Component/s: ts_main_telescope
-
Story Points:3
-
Sprint:TSSW Sprint - Jul 20 - Aug 3
-
Team:Telescope and Site
-
Urgent?:No
Description
Fix the transition of tracking in deciding the tracking trajectory. In the previous update (DM-25243), I made two mistakes. One is that I do not generate a smooth velocity command in the tracking (I forgot the 4000 Hz internal calculation). The other one is that I do not stop the rotator's velocity smoothly if there is no new tracking command for some time. This ticket is to fix these two bugs.
Attachments
Issue Links
Activity
Field | Original Value | New Value |
---|---|---|
Epic Link |
|
Description | Fix the transition of tracking in deciding the tracking trajectory. In the previous update, I made two mistakes. One is that I do not generate a smooth velocity command in the tracking (I forgot the 4000 Hz internal calculation). The other one is that I do not stop the rotator's velocity smoothly if there is no new tracking command for some time. This ticket is to fix these two bugs. |
Fix the transition of tracking in deciding the tracking trajectory. In the previous update ( |
Sprint | TSSW Sprint - Jul 6 - Jul 20 [ 1031 ] | TSSW Sprint - Jul 20 - Aug 3 [ 1034 ] |
Status | To Do [ 10001 ] | In Progress [ 3 ] |
Attachment | trackNeg.png [ 45053 ] | |
Attachment | trackPos.png [ 45054 ] |
Attachment | trackVel.png [ 45055 ] |
Attachment | velDip.png [ 45056 ] |
Attachment | badTransitionOfCmd.png [ 45066 ] |
Attachment | digVelMagnify.png [ 45067 ] |
Attachment | extrapolationMagnifySecondTarget.png [ 45070 ] | |
Attachment | extrapolationMagnifyFirstTarget.png [ 45071 ] | |
Attachment | extrapolationOverall.png [ 45072 ] |
Attachment | updatedTracking.png [ 45074 ] |
Reviewers | Tiago Ribeiro [ tribeiro ] | |
Status | In Progress [ 3 ] | In Review [ 10004 ] |
Status | In Review [ 10004 ] | Reviewed [ 10101 ] |
Resolution | Done [ 10000 ] | |
Status | Reviewed [ 10101 ] | Done [ 10002 ] |
Test condition: two targets. The first target is at 1.2 deg with velocity = 0.01 deg/sec. The second target is at 3 deg with velocity = -0.01 deg/sec.
The tracking velocity is continuous in the tracking process now:

There is a dip of velocity transition here (to 2nd target):

This velocity transitions from 0.01 deg/sec to -0.01 deg/sec happens in 0.005 seconds, which is 20 steps in 4000 Hz. We can see the acceleration > 0 for the new slew. Therefore, this transition does not make the physical sense at all.

The tracking target and position command have the wrong time order (the left figure is in the positive tracking and the right one is in the negative tracking):

Based on this order, I began to consider to use the interpolation instead.