Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

publish diagnostics message when not connected #1

Merged
merged 3 commits into from
Jul 19, 2024

Conversation

ayin21
Copy link
Contributor

@ayin21 ayin21 commented Jul 19, 2024

When the game controller is not connected we don't want to assume a state. Instead we just want to wait. Additionally we publish a diagnostics message so that we can see if we are connected and how long we are not connected.

@Flova Flova self-requested a review July 19, 2024 08:43

#configure DiagnosticStatus message
diag = DiagnosticStatus(name = "Game Controller", hardware_id = "Game Controller" )
if not reiceved_message_lately:
Copy link
Collaborator

Choose a reason for hiding this comment

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

Fix typo

@Flova Flova merged commit 106e86d into ros-sports:rolling Jul 19, 2024
3 of 4 checks passed
@ayin21 ayin21 deleted the handle_no_connection branch July 19, 2024 09:02
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