PhotonPoseEstimator: Include what you use (#795)

There are a few references to PhotonPipelineResult in this header. I noticed this was being indirectly included when trying to remove the PhotonCamera dependency.
This commit is contained in:
David Vo
2023-02-11 23:23:02 +11:00
committed by GitHub
parent 0255798d6c
commit b4c93e5d34

View File

@@ -24,7 +24,6 @@
#pragma once
#include <map>
#include <memory>
#include <utility>
#include <vector>
@@ -34,6 +33,7 @@
#include <frc/geometry/Transform3d.h>
#include "photonlib/PhotonCamera.h"
#include "photonlib/PhotonPipelineResult.h"
namespace photonlib {
enum PoseStrategy : int {