mirror of
https://github.com/sudoxnym/roomba_rest980.git
synced 2026-04-14 11:37:46 +00:00
make 1/8
This commit is contained in:
parent
a7b540dc1a
commit
7fb598988d
1 changed files with 3 additions and 3 deletions
|
|
@ -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 = [
|
||||
|
|
|
|||
Loading…
Reference in a new issue