Initial: ContinuousTransponder wrapper for Kogger USBL
High-level Python wrapper around the upstream cosma-tech/kogger_acousticAntenna
driver. Configures a Kogger acoustic antenna as a permanent slave transponder
in a single start() call: address filter, echo filter, optional TDMA sync slot,
permanent response window, and Python callbacks for each ping received.
No modification to the upstream driver — only composes existing public methods
in the right order. Snapshot of upstream driver included read-only under driver/
for reference.
Includes:
- transponder_continu.py (302 lines): the wrapper class + CLI
- examples/auv_slave.py (79 lines): usage example with logging
- README.md: design rationale, usage, multi-AUV TDMA, watchdog, hardware wiring
- driver/: snapshot of cosma-tech/kogger_acousticAntenna at commit 1b539f9
('Add index slot for multi pinger', 2025-03-11)
Built for Cosma context (USV master + N AUVs slaves) following the design
conversation in Discord #ping-pong-ping (2026-04-27). See poulpe/ping-pong-ping
on Gitea for the interactive demo of the protocol.
This commit is contained in:
5
driver/test/log/2026-03-20_13-35-32_log_auv.log
Normal file
5
driver/test/log/2026-03-20_13-35-32_log_auv.log
Normal file
@@ -0,0 +1,5 @@
|
||||
2026-03-20 13:35:32.057 | INFO | kogger_protocol_driver:setup_logging:81 - Kogger Protocol Driver: Loguru logging configured to level INFO and file log/2026-03-20_13-35-32_log_auv.log.
|
||||
2026-03-20 13:35:32.057 | INFO | kogger_protocol_driver:__init__:224 - KoggerSBPDevice configured for port /dev/serial/by-path/platform-fd500000.pcie-pci-0000:01:00.0-usb-0:1.3:1.0, baudrate 921600, address 0
|
||||
2026-03-20 13:35:32.058 | INFO | kogger_protocol_driver:_open_file:43 - CSV logging enabled to log/2026-03-20_13-35-32_AUV_usbl.csv
|
||||
2026-03-20 13:35:32.058 | ERROR | kogger_protocol_driver:connect:317 - Error connecting to /dev/serial/by-path/platform-fd500000.pcie-pci-0000:01:00.0-usb-0:1.3:1.0: [Errno 2] could not open port /dev/serial/by-path/platform-fd500000.pcie-pci-0000:01:00.0-usb-0:1.3:1.0: [Errno 2] No such file or directory: '/dev/serial/by-path/platform-fd500000.pcie-pci-0000:01:00.0-usb-0:1.3:1.0'
|
||||
2026-03-20 13:35:32.059 | WARNING | kogger_protocol_driver:disconnect:341 - Not connected or already disconnected.
|
||||
Reference in New Issue
Block a user