mirror of
https://github.com/PhotonVision/photonvision
synced 2026-06-26 01:51:40 +00:00
Upgrade to wpilib alpha-6 (#2434)
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com> Co-authored-by: Ryanforce08 <rradtke1208@gmail.com> Co-authored-by: PJ Reiniger <pj.reiniger@gmail.com> Co-authored-by: Jade Turner <spacey-sooty@proton.me> Co-authored-by: Matt Morley <matthew.morley.ca@gmail.com>
This commit is contained in:
@@ -53,7 +53,7 @@ class TimeSyncServer:
|
||||
PORT = 5810
|
||||
|
||||
def __init__(self, time_provider: Optional[Callable[[], int]] = None):
|
||||
self.time_provider = time_provider or Timer.getFPGATimestamp
|
||||
self.time_provider = time_provider or Timer.getMonotonicTimestamp
|
||||
self._process: Optional[threading.Thread] = None
|
||||
self.logger = logging.getLogger("PhotonVision-TimeSyncServer")
|
||||
|
||||
|
||||
Reference in New Issue
Block a user