From 4a926fa572d51aca13cf82a73b54e82620510764 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jos=C3=A9=20S=C3=A1nchez-Gallego?= Date: Sat, 12 Aug 2023 05:20:54 +0000 Subject: [PATCH] Do not stop slew on k-mirror since it already does --- src/gort/devices/telescope.py | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/src/gort/devices/telescope.py b/src/gort/devices/telescope.py index 986fe5c..420129e 100644 --- a/src/gort/devices/telescope.py +++ b/src/gort/devices/telescope.py @@ -66,6 +66,7 @@ async def home(self): """Homes the k-mirror.""" await self.slew_delay() + await self.actor.commands.slewStop(timeout=self.timeouts["slewStop"]) self.write_to_log("Homing k-mirror.", level="info") await self.actor.commands.moveToHome(timeout=self.timeouts["moveToHome"]) @@ -76,7 +77,6 @@ async def park(self): await self.slew_delay() - await self.actor.commands.slewStop(timeout=self.timeouts["slewStop"]) await self.move(90) async def move(self, degs: float): @@ -115,9 +115,6 @@ async def slew(self, ra: float, dec: float): """ - self.write_to_log("Stopping slew.") - await self.actor.commands.slewStop(timeout=self.timeouts["slewStop"]) - await self.slew_delay() self.write_to_log(