diff --git a/python/lsst/ts/externalscripts/auxtel/build_pointing_model.py b/python/lsst/ts/externalscripts/auxtel/build_pointing_model.py index 3398e7996..17605c221 100644 --- a/python/lsst/ts/externalscripts/auxtel/build_pointing_model.py +++ b/python/lsst/ts/externalscripts/auxtel/build_pointing_model.py @@ -78,7 +78,10 @@ def __init__(self, index: int, remotes: bool = True) -> None: if remotes: self.atcs = ATCS(domain=self.domain, log=self.log) - self.latiss = LATISS(domain=self.domain, log=self.log) + self.latiss = LATISS( + domain=self.domain, log=self.log, + tcs_ready_to_take_data=self.atcs.ready_to_take_data, + ) else: self.atcs = ATCS( domain=self.domain, log=self.log, intended_usage=ATCSUsages.DryTest diff --git a/python/lsst/ts/externalscripts/auxtel/correct_pointing.py b/python/lsst/ts/externalscripts/auxtel/correct_pointing.py index e73e6fa4e..97b2b9662 100644 --- a/python/lsst/ts/externalscripts/auxtel/correct_pointing.py +++ b/python/lsst/ts/externalscripts/auxtel/correct_pointing.py @@ -62,7 +62,8 @@ def __init__(self, index: int, remotes: bool = True) -> None: if remotes: self.atcs = ATCS(domain=self.domain, log=self.log) - self.latiss = LATISS(domain=self.domain, log=self.log) + self.latiss = LATISS(domain=self.domain, log=self.log, + tcs_ready_to_take_data=self.atcs.ready_to_take_data) else: self.atcs = ATCS( domain=self.domain, log=self.log, intended_usage=ATCSUsages.DryTest diff --git a/python/lsst/ts/externalscripts/auxtel/latiss_acquire.py b/python/lsst/ts/externalscripts/auxtel/latiss_acquire.py index a26afb068..4dceac032 100644 --- a/python/lsst/ts/externalscripts/auxtel/latiss_acquire.py +++ b/python/lsst/ts/externalscripts/auxtel/latiss_acquire.py @@ -78,10 +78,14 @@ def __init__(self, index, add_remotes: bool = True): atcs_usage = None if add_remotes else ATCSUsages.DryTest + self.atcs = ATCS(domain=self.domain, intended_usage=atcs_usage, log=self.log) + + tcs_ready_to_take_data = self.atcs.ready_to_take_data if add_remotes else None + self.latiss = LATISS( - domain=self.domain, intended_usage=latiss_usage, log=self.log + domain=self.domain, intended_usage=latiss_usage, log=self.log, + tcs_ready_to_take_data=tcs_ready_to_take_data ) - self.atcs = ATCS(domain=self.domain, intended_usage=atcs_usage, log=self.log) self.image_in_oods_timeout = 15.0