Background:
Now we can use pyNDS(see elog #3722), so I wrote a python script that adjusts Q-value automatically.
What I did:
1. Wrote a python script. /cvs/cds/caltech/users/yuta/scripts/QAdjuster.py
2. Ran this script for every DOF, every MC suspension.
Result:
Following lines and attached are example output when I ran QAdjuster.py for MC3 POS.
Currently, C1:SUS-MC3_SUSPOS_GAIN is 5
Connecting.... authenticate failed: Unspecified error
Connecting.... done
Current GPS time is 971149410
I kicked C1:SUS-MC3_SUSPOS_OFFSET
Waiting for the ringdown...... 0\
Current GPS time is 971149431
omega_0= 6.326764,
Q= 11.254252,
A= -53.491850,
delta= 5.007821,
ofset= 4349.808434
Q-value was 11.3
Set C1:SUS-MC3_SUSPOS_GAIN = 10.2311380794
Current Q-values automatically set are as follows.
|
MC1 |
MC2 |
MC3 |
POS |
4.9 |
4.8 |
5.9 |
PIT |
6.8 |
5.5 |
4.5 |
YAW |
6.4 |
5.6 |
5.3 |
SIDE |
5.8 |
5.2 |
5.0 |
Next work:
- Modify the script so that it adjusts all the channels automatically. Now, it is one by one, trial by trial.
- Modify the script so that it automatically turns the offset switch on. Now, it must be turned on beforehand.
- Write a how-to
|