Unverified Commit 05a3ef77 authored by Tammo Jan Dijkema's avatar Tammo Jan Dijkema
Browse files

Sleep a bit in waitUntilThere

parent e17d6ebf
......@@ -2,6 +2,7 @@ from __future__ import print_function
import socket
import logging
import time
from astropy.coordinates import SkyCoord, RangeError
from configparser import ConfigParser
import astropy.units as u
......@@ -335,6 +336,8 @@ class Telescope:
self.logger.info("Waiting to reach setpoint")
if waitForUpdate:
distIsSmall = False
while not distIsSmall:
(dist_el, dist_az) = self.getDistance(waitForUpdate=waitForUpdate)
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment