Skip to content

Commit

Permalink
In maintel/mtcs.py, update slew control sequence.
Browse files Browse the repository at this point in the history
  • Loading branch information
tribeiro committed Dec 6, 2023
1 parent 10f3eec commit b0553a9
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions python/lsst/ts/observatory/control/maintel/mtcs.py
Original file line number Diff line number Diff line change
Expand Up @@ -1026,7 +1026,7 @@ async def _handle_m1m3_hardpoint_correction_command(
await self._wait_force_balance_system_state(enable=enable)
else:
self.log.warning(
f"Hardpoint corrections already in desired state ({enable}). Nothing to do."
f"Hardpoint corrections already in desired state ({enable=}). Nothing to do."
)

async def _wait_force_balance_system_state(self, enable: bool) -> None:
Expand Down Expand Up @@ -1950,8 +1950,9 @@ async def _ready_to_take_data(self) -> None:
async def open_m1m3_booster_valve(self) -> None:
"""Open M1M3 booster valves."""
if self.check.mtm1m3:
await self.enter_m1m3_engineering_mode()
await self.disable_m1m3_balance_system()
# await self.enter_m1m3_engineering_mode()
# await self.disable_m1m3_balance_system()
await self.enable_m1m3_balance_system()
await self._handle_m1m3_booster_valve(open=True)
else:
self.log.info("M1M3 check disabled.")
Expand All @@ -1961,7 +1962,6 @@ async def close_m1m3_booster_valve(self) -> None:
if self.check.mtm1m3:
await self._handle_m1m3_booster_valve(open=False)
await asyncio.sleep(self.fast_timeout)
await self.enable_m1m3_balance_system()

async def _handle_m1m3_booster_valve(self, open: bool) -> None:
"""Handle opening the M1M3 booster valves"""
Expand Down

0 comments on commit b0553a9

Please sign in to comment.