Skip to content

Commit

Permalink
DELETE ME: Ignore rotator timing out.
Browse files Browse the repository at this point in the history
Rotator is not getting in position when tracking at high elevation. This is a work around for the pointing data. Delete this commit.
  • Loading branch information
tribeiro committed Nov 22, 2024
1 parent 129272c commit a1cd224
Showing 1 changed file with 10 additions and 6 deletions.
16 changes: 10 additions & 6 deletions python/lsst/ts/observatory/control/maintel/mtcs.py
Original file line number Diff line number Diff line change
Expand Up @@ -569,12 +569,16 @@ 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=self.tel_settle_time,
component_name="MTRotator",
)
try:
return await self._handle_in_position(
self.rem.mtrotator.evt_inPosition,
timeout=timeout,
settle_time=self.tel_settle_time,
component_name="MTRotator",
)
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 a1cd224

Please sign in to comment.