Add ability query camera results outside of PhotonPoseEstimator (#786)

This commit is contained in:
PJ Reiniger
2023-02-09 14:43:52 -05:00
committed by GitHub
parent 6886663688
commit 0255798d6c
3 changed files with 22 additions and 0 deletions

View File

@@ -155,6 +155,11 @@ class PhotonPoseEstimator {
*/
std::optional<EstimatedRobotPose> Update();
/**
* Update the pose estimator.
*/
std::optional<EstimatedRobotPose> Update(const PhotonPipelineResult& result);
inline PhotonCamera& GetCamera() { return camera; }
private: