Skip to content

Commit

Permalink
DELETE: In maintel/mtcs.py, remove check for rotator inPosition. This…
Browse files Browse the repository at this point in the history
… is a workaround and should be DELETED.
  • Loading branch information
edennihy committed Dec 2, 2024
1 parent 837b33b commit dc3fc2f
Showing 1 changed file with 11 additions and 7 deletions.
18 changes: 11 additions & 7 deletions python/lsst/ts/observatory/control/maintel/mtcs.py
Original file line number Diff line number Diff line change
Expand Up @@ -581,13 +581,17 @@ async def wait_for_rotator_inposition(
`str`
Message indicating the component is in position.
"""
return await self._handle_in_position(
self.rem.mtrotator.evt_inPosition,
timeout=timeout,
settle_time=0.0,
component_name="MTRotator",
race_condition_timeout=self.mtrotator_race_condition_timeout,
)
try:
return await self._handle_in_position(
self.rem.mtrotator.evt_inPosition,
timeout=timeout,
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.")
return "MTRotator timedout getting in position."

async def dome_az_in_position(self) -> str:
"""Wait for `_dome_az_in_position` event to be set and return a string
Expand Down

0 comments on commit dc3fc2f

Please sign in to comment.