From 7fb598988d80ef10bc3734868c46839b32f9cf3a Mon Sep 17 00:00:00 2001 From: ia74 <68617740+ia74@users.noreply.github.com> Date: Fri, 25 Jul 2025 08:24:14 -0500 Subject: [PATCH] make 1/8 --- custom_components/roomba_rest980/camera.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/custom_components/roomba_rest980/camera.py b/custom_components/roomba_rest980/camera.py index 5ac8f4b..21b9f4c 100644 --- a/custom_components/roomba_rest980/camera.py +++ b/custom_components/roomba_rest980/camera.py @@ -597,9 +597,9 @@ class RoombaMapCamera(Camera): # Use center of the vacuum coordinate space calibration_center_x = (min_x + max_x) / 2 calibration_center_y = (min_y + max_y) / 2 - # Use a reasonable differential (about 1/4 of the map size) - calibration_diff_x = map_width / 4 - calibration_diff_y = map_height / 4 + # Use a smaller differential for finer calibration (about 1/8 of the map size) + calibration_diff_x = map_width / 8 + calibration_diff_y = map_height / 8 # Create three calibration points (center, center+diff_x, center+diff_y) vacuum_points = [