Python tweaks (#1211)

* Increasing api parity with java/cpp by adding hasTargets

* type hints fixed up

* wpiFormat
This commit is contained in:
Chris Gerth
2024-02-02 14:17:53 -06:00
committed by GitHub
parent ea1b701ba7
commit 5851509a9e
5 changed files with 27 additions and 23 deletions

View File

@@ -19,7 +19,7 @@ class EstimatedRobotPose:
timestampSeconds: float
"""The estimated time the frame used to derive the robot pose was taken"""
targetsUsed: [PhotonTrackedTarget]
targetsUsed: list[PhotonTrackedTarget]
"""A list of the targets used to compute this pose"""
strategy: "PoseStrategy"