Description
Starmon is a csh script that monitors the light on the wavefront
sensor and/or STRAP and plays a cuckoo sound if the light drops by about 1
magnitude.
To Run:
- Open window on kNaoserver as kNobsao
- starmon (see examples below)
Examples:
- Summit: (play sounds on kNdisplay-tc)
-
Use either:
- starmon
- starmon s
- Remote Ops: (plays sounds to roNdisplay)
-
Use either:
- starmon r
- starmon h
To Stop:
Features:
- Works for NGS- and LGS-AO
- Compares current light level to the starting level every 3 seconds
- Prints "OK" if light drop is less than 1 magnitude
- Plays a sound and prints warning when light drop more than 1 magnitude
- Handles dithers
- Handles new target
Gotchas:
In almost all cases, the solution to a gotcha is to stop/re-start the starmon.
-
- Can miss change in starting level
- When switching targets, occasionally the starting level is not
reset so that the comparison is invalid. Stop/Start to
fix.
-
- Sets starting level immediately upon loop closure
- The check is every 3 seconds. If the loops close and are
pulling an object in, the starting level may be too low.
Stop/Start after the magnitude has settled to fix.
Future Work
- Add to /kroot
- Logging
- Fold functionality into Fault Detector/Alarm Handler