Skip to content

Commit

Permalink
WIP
Browse files Browse the repository at this point in the history
  • Loading branch information
gnthibault committed Aug 12, 2023
1 parent 8b504b9 commit 2e3b2e2
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions Camera/IndiAbstractCameraSimulator.py
Original file line number Diff line number Diff line change
Expand Up @@ -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 ...
Expand Down

0 comments on commit 2e3b2e2

Please sign in to comment.