Christopher Mahoney
2024-12-17 12:01:19 -05:00
committed by GitHub
parent e8efef476b
commit 08c62ab8cd
29 changed files with 503 additions and 641 deletions

View File

@@ -84,11 +84,9 @@ public class VisionTargetSim {
@Override
public boolean equals(Object obj) {
if (this == obj) return true;
if (obj instanceof VisionTargetSim) {
var o = (VisionTargetSim) obj;
return pose.equals(o.pose) && model.equals(o.model);
}
return false;
return this == obj
&& obj instanceof VisionTargetSim o
&& pose.equals(o.pose)
&& model.equals(o.model);
}
}