mirror of
https://github.com/PhotonVision/photonvision
synced 2026-06-25 01:41:40 +00:00
Update C++ Simulation to match Java (#1026)
This commit is contained in:
@@ -27,15 +27,15 @@ class PNPResult {
|
||||
public:
|
||||
// This could be wrapped in an std::optional, but chose to do it this way to
|
||||
// mirror Java
|
||||
bool isPresent;
|
||||
bool isPresent{false};
|
||||
|
||||
frc::Transform3d best;
|
||||
double bestReprojErr;
|
||||
frc::Transform3d best{};
|
||||
double bestReprojErr{0};
|
||||
|
||||
frc::Transform3d alt;
|
||||
double altReprojErr;
|
||||
frc::Transform3d alt{};
|
||||
double altReprojErr{0};
|
||||
|
||||
double ambiguity;
|
||||
double ambiguity{0};
|
||||
|
||||
bool operator==(const PNPResult& other) const;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user