Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@

# Except this one file - used for universal configuration matching between bUEs
!auto_config.yaml
!utw_config.yaml

logs/*.log
uw_env/
Expand Down
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -230,3 +230,4 @@ If you are not seeing any traffic:

- This README is intentionally focused on getting a base station + one or more bUEs talking over Reyax modules for lake experiments.
- For deeper architectural details (message formats, state diagrams, etc.), refer to comments in `bue_main.py`, `base_station_main.py`, and `ota.py`, and any accompanying lab documentation (e.g., internal Notion pages).
- Thank you
4 changes: 2 additions & 2 deletions base_station_main.py
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
from loguru import logger

from ota import Ota
from constants import State
from constants import Bue_State

logger.remove() # Remove default sink

Expand Down Expand Up @@ -208,7 +208,7 @@ def ota_ping_handler(self, src_id: str, state: str, lat: str, long: str):
and reported. Always note the time the PING was received, the state the bUE reports to be at,
and response to the bUE with a PINGR
"""
self.bue_id_to_state[int(src_id)] = State(int(state))
self.bue_id_to_state[int(src_id)] = Bue_State(int(state))
self.bue_id_to_last_ping_time[int(src_id)] = time.time()

coords: str = ""
Expand Down
Loading
Loading