Skip to content

Add alerts for timesync and disconnection#1799

Merged
mcm001 merged 18 commits intoPhotonVision:mainfrom
Gold872:disconnect-alert
Mar 14, 2025
Merged

Add alerts for timesync and disconnection#1799
mcm001 merged 18 commits intoPhotonVision:mainfrom
Gold872:disconnect-alert

Conversation

@Gold872
Copy link
Contributor

@Gold872 Gold872 commented Mar 3, 2025

Resolves #1798

Also adds missing C++ implementation for IsConnected() along with heartbeat checking.

Has not been tested yet.

@mcm001
Copy link
Contributor

mcm001 commented Mar 7, 2025

My new Java unit test makes me happy with that stuff. Someone should port that to c++.

Copy link
Member

@spacey-sooty spacey-sooty left a comment

Choose a reason for hiding this comment

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

Make a seperate group for Photon alerts

@mcm001 mcm001 force-pushed the disconnect-alert branch 4 times, most recently from 6d0e5e8 to 25b54c1 Compare March 10, 2025 21:34
@mcm001 mcm001 marked this pull request as ready for review March 10, 2025 21:50
@mcm001 mcm001 requested a review from a team as a code owner March 10, 2025 21:50
@mcm001 mcm001 requested a review from spacey-sooty March 10, 2025 21:50
@spacey-sooty
Copy link
Member

Test is failing on mac

@mcm001
Copy link
Contributor

mcm001 commented Mar 14, 2025

Yeah and i have no idea why

@mcm001 mcm001 force-pushed the disconnect-alert branch from 906b670 to 9ec596e Compare March 14, 2025 04:48
Copy link
Member

@spacey-sooty spacey-sooty left a comment

Choose a reason for hiding this comment

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

Seems reasonable

@mcm001 mcm001 merged commit 8d4024b into PhotonVision:main Mar 14, 2025
36 checks passed
@Gold856 Gold856 added the photonlib Things related to the PhotonVision library label Jul 12, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

photonlib Things related to the PhotonVision library

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Ability to use WPILib Alert API for Camera Disconnection

4 participants