From 93dd14dcfa77153ad7b799cf70354860fdf2e772 Mon Sep 17 00:00:00 2001 From: Drew Williams Date: Sat, 25 Nov 2023 20:36:55 -0500 Subject: [PATCH] fixed == operator --- .../src/main/native/include/photon/simulation/VisionTargetSim.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/photon-lib/src/main/native/include/photon/simulation/VisionTargetSim.h b/photon-lib/src/main/native/include/photon/simulation/VisionTargetSim.h index 336380abe1..61ddbd3f43 100644 --- a/photon-lib/src/main/native/include/photon/simulation/VisionTargetSim.h +++ b/photon-lib/src/main/native/include/photon/simulation/VisionTargetSim.h @@ -59,7 +59,7 @@ class VisionTargetSim { other.GetPose().Translation().Z()) < 1_in && units::math::abs(pose.Rotation().Degrees() - other.GetPose().Degrees()) < 1_deg && - pose.model.GetIsPlanar() == other.model.GetIsPlanar(); + pose.model.GetIsPlanar() == other.GetModel().GetIsPlanar(); } private: