Skip to content

Commit

Permalink
v1.6.13
Browse files Browse the repository at this point in the history
version 1.6.13
  • Loading branch information
thusser authored Dec 11, 2023
2 parents 2f8a94d + 89f1569 commit c2bf24c
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 2 deletions.
9 changes: 8 additions & 1 deletion pyobs/modules/pointing/autoguiding.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
import logging
from typing import Any, Optional

from pyobs.mixins import CameraSettingsMixin
from pyobs.modules.pointing._baseguiding import BaseGuiding
from pyobs.images.meta.exptime import ExpTime
from pyobs.images.processors.detection import SepSourceDetection
Expand All @@ -12,7 +13,7 @@
log = logging.getLogger(__name__)


class AutoGuiding(BaseGuiding):
class AutoGuiding(BaseGuiding, CameraSettingsMixin):
"""An auto-guiding system."""

__module__ = "pyobs.modules.guiding"
Expand All @@ -32,6 +33,9 @@ def __init__(self, exposure_time: float = 1.0, broadcast: bool = False, **kwargs
self._broadcast = broadcast
self._source_detection = SepSourceDetection()

# init camera settings mixin
CameraSettingsMixin.__init__(self, **kwargs)

# add thread func
self.add_background_task(self._auto_guiding)

Expand Down Expand Up @@ -81,6 +85,9 @@ async def _auto_guiding(self) -> None:
# get camera
camera = await self.proxy(self._camera, IData)

# do camera settings
await self._do_camera_settings(camera)

# take image
if isinstance(camera, IExposureTime):
# set exposure time
Expand Down
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
[tool.poetry]
name = "pyobs-core"
packages = [{ include = "pyobs" }]
version = "1.6.12"
version = "1.6.13"
description = "robotic telescope software"
authors = ["Tim-Oliver Husser <[email protected]>"]
license = "MIT"
Expand Down

0 comments on commit c2bf24c

Please sign in to comment.