mirror of
https://github.com/PhotonVision/photonvision
synced 2026-06-24 01:31:44 +00:00
Create TSP Server in C++ photonlib (#1516)
Automatically starts a TCP server in C++. Also adds warnings to Python.
This commit is contained in:
@@ -124,7 +124,7 @@ class PhotonCamera:
|
||||
pkt = Packet(byteList)
|
||||
newResult = PhotonPipelineResult.photonStruct.unpack(pkt)
|
||||
# NT4 allows us to correct the timestamp based on when the message was sent
|
||||
newResult.ntReceiveTimestampMicros = timestamp / 1e6
|
||||
newResult.ntReceiveTimestampMicros = timestamp
|
||||
ret.append(newResult)
|
||||
|
||||
return ret
|
||||
|
||||
Reference in New Issue
Block a user