Skip to content

Autonomy Phase 2 (files labelled and linters fixed)#46

Closed
christghuynh wants to merge 11 commits intoUWARG:mainfrom
christghuynh:main
Closed

Autonomy Phase 2 (files labelled and linters fixed)#46
christghuynh wants to merge 11 commits intoUWARG:mainfrom
christghuynh:main

Conversation

@christghuynh
Copy link

No description provided.

@@ -0,0 +1,2 @@
14:50:51: [INFO] [C:\Users\chris\warg-autonomy-bootcamp\autonomy-bootcamp-2025-p2\modules\common\modules\logger\logger_main_setup.py | setup_main_logger | 62] main logger initialized
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

either in your main or worker logs you need to log the telemetry data object

@@ -0,0 +1,2 @@
14:49:48: [INFO] [C:\Users\chris\warg-autonomy-bootcamp\autonomy-bootcamp-2025-p2\modules\common\modules\logger\logger_main_setup.py | setup_main_logger | 62] main logger initialized
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

you need to log either "disconnected" or "connected" as the status

self,
args, # Put your own arguments here
):
def run(self: "HeartbeatSender") -> tuple[bool, None]:
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

you don't have to return a tuple if you don't need to

bootcamp_main.py Outdated
if status == "Disconnected":
break
main_logger.info(f"Heartbeat Status: {status}")
while not command_to_main_queue.queue.empty():
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

this shouldn't be in a while loop

@ellyokes253
Copy link
Contributor

reviewed!

bootcamp_main.py Outdated
Comment on lines 237 to 240
if not telemetry_to_command_queue.queue.empty():
telemetry_data = telemetry_to_command_queue.queue.get_nowait()
main_logger.info(f"Telemetry data: {telemetry_data}")
telemetry_to_command_queue.queue.put(telemetry_data)
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

you only need to check the command_to_main_queue since the telemetry_to_command_queue empties into there anyways

@ellyokes253
Copy link
Contributor

reviewed!

@ellyokes253
Copy link
Contributor

lgtm!

@ellyokes253 ellyokes253 closed this Feb 9, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants