Create TSP Server in C++ photonlib (#1516)

Automatically starts a TCP server in C++. Also adds warnings to Python.
This commit is contained in:
Matt
2024-11-01 23:32:38 -07:00
committed by GitHub
parent 75e2498f53
commit fc8ecac376
8 changed files with 82 additions and 4 deletions

View File

@@ -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