Skip to content

Fix small radio bridge bugs#385

Open
barulicm wants to merge 2 commits intomainfrom
dev/barulicm/claude_bugs
Open

Fix small radio bridge bugs#385
barulicm wants to merge 2 commits intomainfrom
dev/barulicm/claude_bugs

Conversation

@barulicm
Copy link
Copy Markdown
Contributor

This PR addresses the bugs flagged by tonight's AI review of the radio bridge code.
Specifically:

  • Uninitialized boolean arrays are now initialized with std::fill at the top of the node constructor.
  • Robot ID validation in the discovery callback now correctly catches robot_id == connections_.size() as an invalid ID.
  • Deadlock caused by robot sending goodbye message removed. Receiving a goodbye packet now flags the connection to be destroyed in CheckConnectionsCallback, crucially outside of the io_service thread for the connection object.

@barulicm barulicm changed the title Dev/barulicm/claude bugs Fix small radio bridge bugs Apr 13, 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.

1 participant