I am trying to write a simple shell script that moves the telescope simulator in RA
Connect
Set SLEW_SPEED
Read RA1
Set WE motion West On
While Current RA > to (RA1 -0.5) wait
Set WE motion Off
What I see is even though scope is 'moving' as seen by watching RA in Skychart, my loop never sees RA change
If I do a motion in SKychart, my script sees the RA change then completes
This is the output
2021-02-12T09:51:56,778342081-05:00
RA=19.794006588257666124 RAT=19.294006588257666124
RA=19.794006588257666124 RAT=19.294006588257666124
RA=19.794006588257666124 RAT=19.294006588257666124
RA=19.794006588257666124 RAT=19.294006588257666124
RA=19.794006588257666124 RAT=19.294006588257666124
RA=19.794006588257666124 RAT=19.294006588257666124 (Force motion with SKychart, script see change and exits)
RA=4.6399652575165211132 RAT=19.294006588257666124