Skip to content

Commit

Permalink
Improve overslew az log messages.
Browse files Browse the repository at this point in the history
  • Loading branch information
edennihy committed Nov 16, 2023
1 parent 72f8f38 commit f40ab6e
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion python/lsst/ts/observatory/control/base_tcs.py
Original file line number Diff line number Diff line change
Expand Up @@ -653,10 +653,14 @@ async def slew_icrs(
else:
if self._overslew_az:
overslew_az = 2.0 * 3600.0 * np.cos(alt_az.alt.rad)
self.log.info(f"Slewing az past target {overslew_az}")
self.log.info(
"Overslew Azimuth feature is enabled. Slewing past target position by"
f"{(overslew_az/3600.):.1f} degrees and waiting for settle."
)
await asyncio.sleep(self.tel_settle_time)
await self.offset_azel(az=overslew_az, el=0, relative=False)
await asyncio.sleep(self.tel_settle_time)
self.log.info("Slewing back to target position.")
await self.offset_azel(az=0, el=0, relative=False)
break

Expand Down

0 comments on commit f40ab6e

Please sign in to comment.