Skip to content

Commit c5dd249

Browse files
edenhausMVladislav
andcommitted
Copied new background values from #372
Co-authored-by: mvladislav <dev@mvladislav.online>
1 parent 1e9e5ae commit c5dd249

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

deebot_client/map.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -116,11 +116,13 @@ class _PositionSvg:
116116
MapSetType.NO_MOP_ZONES: "#ffa500",
117117
}
118118
_DEFAULT_MAP_BACKGROUND_COLOR = ImageColor.getrgb("#badaff") # floor
119-
_MAP_BACKGROUND_COLORS = {
119+
_MAP_BACKGROUND_COLORS: dict[int, tuple[int, ...]] = {
120120
0: ImageColor.getrgb("#000000"), # unknown (will be transparent)
121121
1: _DEFAULT_MAP_BACKGROUND_COLOR, # floor
122122
2: ImageColor.getrgb("#4e96e2"), # wall
123123
3: ImageColor.getrgb("#1a81ed"), # carpet
124+
4: ImageColor.getrgb("#dee9fb"), # not scanned space
125+
5: ImageColor.getrgb("#edf3fb"), # possible obstacle
124126
# fallsback to _DEFAULT_MAP_BACKGROUND_COLOR for any other value
125127
}
126128

0 commit comments

Comments
 (0)