diff --git a/Camera/IndiAbstractCameraSimulator.py b/Camera/IndiAbstractCameraSimulator.py index 6a3be5b..7e28d3e 100644 --- a/Camera/IndiAbstractCameraSimulator.py +++ b/Camera/IndiAbstractCameraSimulator.py @@ -24,10 +24,13 @@ def compute_sampling_arcsec(self, config): focal_length_mm = config["SCOPE_INFO"]["FOCAL_LENGTH"] return 206*px_size/focal_length_mm - def prepare_shoot(self): + def initialize_simulation_setup(self): self.set_number("SIMULATOR_SETTINGS", self.indi_camera_config["SIMULATOR_SETTINGS"]) self.set_number("SCOPE_INFO", self.indi_camera_config["SCOPE_INFO"]) - super().prepare_shoot() + + def unpark(self): + IndiAbstractCamera.unpark() + self.initialize_simulation_setup() def set_cooling_on(self): # This feels like a bug from the simulator ...