Skip to content

Commit

Permalink
#60 fixing inits and config
Browse files Browse the repository at this point in the history
  • Loading branch information
DarylDohner committed Jul 2, 2023
1 parent 40c0fe5 commit 79edfad
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
4 changes: 2 additions & 2 deletions EosPayload/drivers/GPS_driver.py
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,8 @@
class GPSDriver(PositionAwareDriverBase):
data_time_format = "%H:%M:%S %d/%m/%Y"

def __init__(self, output_directory: str):
super().__init__(output_directory)
def __init__(self, output_directory: str, config: dict) -> None:
super().__init__(output_directory, config)
self.emit_rate = datetime.timedelta(seconds=1)
self.transmit_rate = datetime.timedelta(seconds=10)
self.state_update_rate = datetime.timedelta(seconds=15)
Expand Down
4 changes: 2 additions & 2 deletions EosPayload/drivers/cutdown_driver.py
Original file line number Diff line number Diff line change
Expand Up @@ -30,8 +30,8 @@ def get_device_name() -> str:
def read_thread_enabled() -> bool:
return True

def __init__(self, output_directory: str):
super().__init__(output_directory)
def __init__(self, output_directory: str, config: dict) -> None:
super().__init__(output_directory, config)
self.has_triggered = False
self._command_queue = Queue()

Expand Down
2 changes: 1 addition & 1 deletion config.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@

{
"name": "camera-driver",
"driver_class": "CameraDriver",
"driver_class": "Camera1Driver",
"device_id": "CAMERA_1",
"enabled": "true"
},
Expand Down

0 comments on commit 79edfad

Please sign in to comment.