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鈥檒l occasionally send you account related emails.

Already on GitHub? Sign in to your account

Improve ethernet ping device handling #2576

Conversation

ES-Alexander
Copy link
Collaborator

@ES-Alexander ES-Alexander commented Apr 29, 2024

Some robustness improvements that will hopefully fix #2569.

I've tested this on my machine, and it doesn't seem to have any regressions, and the dropped network device handling works 馃憤
Not sure whether it fixes the duplication issue because I haven't run into it in the first place, so I've asked Aaron to see if the issue is fixed on his system.

Given the PR doesn't seem to hurt things we could potentially merge as-is, but it may also be worth waiting to see whether the issue is actually resolved (by testing from someone who can replicate it).

The (internal) registered driver in a device descriptor should not be a differentiating factor for whether another descriptor pertains to the same physical (external) device.
@ES-Alexander ES-Alexander force-pushed the fix-ethernet-ping-registration branch 2 times, most recently from 7d95d95 to 94437f2 Compare April 29, 2024 15:55
@ES-Alexander ES-Alexander force-pushed the fix-ethernet-ping-registration branch from 94437f2 to 03ae4a1 Compare May 7, 2024 08:54
@ES-Alexander
Copy link
Collaborator Author

Matthew has tested, and it does appear to fix the duplication :-)

Copy link
Member

@patrickelectric patrickelectric left a comment

Choose a reason for hiding this comment

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

Nice!

@patrickelectric patrickelectric merged commit 8b38542 into bluerobotics:master May 23, 2024
6 checks passed
@ES-Alexander ES-Alexander deleted the fix-ethernet-ping-registration branch June 3, 2024 15:50
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.

bug: multiple spurious Ping360 ethernet detections/registrations
2 participants