We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1e9e5ae commit c5dd249Copy full SHA for c5dd249
deebot_client/map.py
@@ -116,11 +116,13 @@ class _PositionSvg:
116
MapSetType.NO_MOP_ZONES: "#ffa500",
117
}
118
_DEFAULT_MAP_BACKGROUND_COLOR = ImageColor.getrgb("#badaff") # floor
119
-_MAP_BACKGROUND_COLORS = {
+_MAP_BACKGROUND_COLORS: dict[int, tuple[int, ...]] = {
120
0: ImageColor.getrgb("#000000"), # unknown (will be transparent)
121
1: _DEFAULT_MAP_BACKGROUND_COLOR, # floor
122
2: ImageColor.getrgb("#4e96e2"), # wall
123
3: ImageColor.getrgb("#1a81ed"), # carpet
124
+ 4: ImageColor.getrgb("#dee9fb"), # not scanned space
125
+ 5: ImageColor.getrgb("#edf3fb"), # possible obstacle
126
# fallsback to _DEFAULT_MAP_BACKGROUND_COLOR for any other value
127
128
0 commit comments