Skip to content

Commit

Permalink
Do not stop slew on k-mirror since it already does
Browse files Browse the repository at this point in the history
  • Loading branch information
albireox committed Aug 12, 2023
1 parent ea4ce2c commit 4a926fa
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions src/gort/devices/telescope.py
Original file line number Diff line number Diff line change
Expand Up @@ -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"])
Expand All @@ -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):
Expand Down Expand Up @@ -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(
Expand Down

0 comments on commit 4a926fa

Please sign in to comment.