SolvedValetudo Persistant Maps, No-Go Zones and Virtual Barriers

This issue shall gather information on persistent maps, how they behave etc.

They require a recent firmware and are enabled either by miio set_lab_status with payload [1] or via filesystem access: echo -n "1" > /mnt/data/rockrobo/lab.cfg

To begin, here are a few questions:

  • Is there any reason not to enable them?
  • How does one force a rebuild? Is that even possible?
  • Any change in behavior?
26 Answers

✔️Accepted Answer

Hi all, Thank you for all the work down with valetudo.

Using gen2 with firmware 1748 and valetudo 0.3.0 freshly installed with persistent map enabled here what I am experiencing:

save_map creates the file /mnt/data/rockrobo/usermap0 by copying /mnt/data/rockrobo/lastmap
reset_map removes these two files (and also other files)

When it starts a new cleanup, the robot:

  • uses the map stored in /mnt/data/rockrobo/usermap0 (I tried to replace it with an other one and it works as expected),
  • Locates himself on the map (even if you have deplaced it in an other place)
  • Starts the cleanup

Other Answers:

Oh so thats what reset_map does.
We should definitely add support for this in the Web Interface before we start supporting persistent maps.

Related Issues:

8
Valetudo Persistant Maps, No-Go Zones and Virtual Barriers
Hi all Thank you for all the work down with valetudo This issue shall gather information on persiste...
3
Valetudo No Map Data
maybe to come back at the topic of problem solving: did you check if the contents of rc.local are ac...
12
XiaoMi Pro Hackintosh Fail to install macOS Big Sur
Update: OC 0.6.0 (up to commit acidanthera/OpenCorePkg@27ede15) After setting AvoidRuntimeDefrag to ...
8
ble_monitor Add support for ATC's format
I've added the custom advertising format and the voltage measurement it now supports the ACT1441 for...
6
XiaoMi Pro Hackintosh There is a Bluetooth driver for Intel to release. Can you tell me if I can drive it
hey all On the first day of 2020 a engineer released the Intel Bluetooth driver which can be driven ...
5
XiaoMi Pro Hackintosh RDY | Automatic Intel Bluetooth firmware uploader
EDIT: This post FAQ will always be updated read before asking Q: It stopped working after sleep.. ...
3
XiaoMi Pro Hackintosh Disabling the Internal Bluetooth
Hi I can help you with disabling internal Bluetooth The reason why our clover folder leaves it open ...
3
python miio Integration in home assistant
I have been using this on HA for a few weeks now and it works very nice Hi does someone plan to inte...
3
python miio Support for new vaccum Xiaomi Mijia STYJ02YM
I did a quick test with this: miio protocol call 192.168.1.105 get_prop '[run_state,mode,err_state,b...
3
python miio Viomi V2 discoverable, not responding
Have you tried turn it off and on again? method worked for me with combination of retry_count=20 in ...