Java-side bugfixes for RobotPoseEstimator and PhotonCamera (#685)

Closes #684
Closes #683
Closes #681
Closes #680
Closes #678
This commit is contained in:
Chris Gerth
2023-01-01 21:40:48 -06:00
committed by GitHub
parent 7c49cfe625
commit aaa886bd73
5 changed files with 124 additions and 91 deletions

View File

@@ -280,7 +280,7 @@ public class PhotonCamera {
prevHeartbeatValue = curHeartbeat;
}
return ((now - prevHeartbeatChangeTime) > HEARBEAT_DEBOUNCE_SEC);
return ((now - prevHeartbeatChangeTime) < HEARBEAT_DEBOUNCE_SEC);
}
private void verifyVersion() {