Skip to content

Commit

Permalink
Update src/surface/transceiver/transceiver/serial_reader.py
Browse files Browse the repository at this point in the history
Co-authored-by: Benjamin Poulin <[email protected]>
  • Loading branch information
InvincibleRMC and benjaminwp18 authored Jun 15, 2024
1 parent d13f1d4 commit e6947f8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/surface/transceiver/transceiver/serial_reader.py
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,7 @@ def ros_publish(self, packet: str) -> None:

class SerialReaderPacketHandler:

def __init__(self, queue_size: int = 5) -> None:
def __init__(self, queue_size: int = AVERAGE_QUEUE_LEN) -> None:
self.surface_pressure = AMBIENT_PRESSURE_DEFAULT
self.surface_pressures: Queue[float] = Queue(queue_size)

Expand Down

0 comments on commit e6947f8

Please sign in to comment.