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: