From b52653d61bbc70bc74616ea1e63bae7ca5a8cae2 Mon Sep 17 00:00:00 2001 From: Jorn Date: Fri, 19 Jul 2024 11:28:42 +0200 Subject: [PATCH] Fix magic number --- .../observer/src/filters/vision/ball/CameraGroundBallFilter.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/roboteam_observer/observer/src/filters/vision/ball/CameraGroundBallFilter.cpp b/roboteam_observer/observer/src/filters/vision/ball/CameraGroundBallFilter.cpp index 318b39c2a..ad330dd72 100644 --- a/roboteam_observer/observer/src/filters/vision/ball/CameraGroundBallFilter.cpp +++ b/roboteam_observer/observer/src/filters/vision/ball/CameraGroundBallFilter.cpp @@ -95,7 +95,7 @@ bool CameraGroundBallFilter::checkRobotCollision(const FilteredRobot& robot, con return true; } - auto botCircle = rtt::Circle(robotPos, 0.08 + 0.0213); + auto botCircle = rtt::Circle(robotPos, 0.07 + 0.0213); auto intersects = botCircle.intersects(ballVelLine); if (!intersects.empty()) {