Skip to content

Commit

Permalink
In maintel/mtcs.py, update wait_for_rotator_inposition to use a lower…
Browse files Browse the repository at this point in the history
… race condition timeout and to not await any settling time.
  • Loading branch information
tribeiro committed Nov 29, 2024
1 parent b1c3909 commit 6038206
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion python/lsst/ts/observatory/control/maintel/mtcs.py
Original file line number Diff line number Diff line change
Expand Up @@ -138,6 +138,10 @@ def __init__(
# used to check the in position event race condition for
# the hexapod when checking if it is ready to take data.
self.hexapod_ready_to_take_data_timeout = 0.5
# Similar to the mtmount_race_condition_timeout, this is
# used to check the in position event race condition for
# the rotator when checking if it is in position.
self.mtrotator_race_condition_timeout = 1.0

self.tel_park_el = 80.0
self.tel_park_az = 0.0
Expand Down Expand Up @@ -585,8 +589,9 @@ async def wait_for_rotator_inposition(
return await self._handle_in_position(
self.rem.mtrotator.evt_inPosition,
timeout=timeout,
settle_time=self.tel_settle_time,
settle_time=0.0,
component_name="MTRotator",
race_condition_timeout=self.mtrotator_race_condition_timeout,
)
except asyncio.TimeoutError:
self.log.warning("MTRotator time-out getting into position. Continuing.")
Expand Down

0 comments on commit 6038206

Please sign in to comment.