-
-
Notifications
You must be signed in to change notification settings - Fork 408
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Persistant Maps, No-Go Zones and Virtual Barriers #132
Comments
if lab status is 1 and the robot is rebooted,
I assume that we need to use a different command to pull the map if lab_status is 1. The robot does report its lab status on a status request so we should in theory be able to support both. As soon as a new cleanup is started, get_map_v1 returns a newly built map like before. |
I'm experiencing the following behaviour on Gen2 1748 after reboot:
Spamming Maybe this is happening because i've enabled lab mode after the full cleanup? Also, this issue is related: marcelrv/XiaomiRobotVacuumProtocol#15 |
Hi all! I'm using Gen2 with 1768. I'm not happy with persistent mode. The base is in the hallway with 6 doors to different rooms, every room and the hallway is configured as a zone. To generate the map, I opened all doors an run a full cleanup. Then I started zone cleaning and on it's way to the zone the vac passed other rooms with closed doors. The map is updated, and there is no longer an entry into the room. If I try to clean a room where the door was closed (the door is open again), the vac is moving to the zone, but doesn't find a way to enter it. The vac does not see the the door is open again. I have to reset the map with mirobo raw-command reset_map. |
Oh so thats what reset_map does. |
I forgot to say, it's not possible to use zone cleaning after the reset_map command. I don't know if it's possible, but it would be nice to reset the map to a defined "version", in my case where all doors are open. |
Maybe use_old_map is the thing I'm looking for. When enabled, it seems that the previously generated map is used, but I'm not 100% sure. |
The interesting commands in the AppProxy I found are:
|
@funth1ngs If the zone is bigger so the robot starts to clean outside of the door, it will drive there and then see that the door is open. It can't enter a room with closed doors. Make the zones a bit bigger :-) |
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:
When it starts a new cleanup, the robot:
|
Im having the issues with not entering rooms with Valetudo, 1720 & persistent Maps, too. But zoned cleaning is working fine after cleaning the corridor or running a home assistant script which has gotos before and behind each door. But the problem with closed doors exists for me, too. Only way to solve this is to manual control the robot into the zone. The problem with zones bigger than the room is, that the robot trying to get cleaned everything in the zone (including not existent room; rooms which he shouldn’t reach) and drives through the whole house to get there. A button to reset (or better save a copy which can be loaded again) would be awesome, as the robot sometimes creates duplicate ares, which aren’t existent and the whole map is „destroyed“. |
You can also start a full cleanup close to the open door, and the robot will update its map with the door open. Then save the map and run the zone cleanup |
If the robot remembers a closed door and you try to send it there, it wont see a path and fail. If you increase the zone that the robot starts cleaning infront of the door he has a path can go there and then recognize that the door is open! |
Okay so every time Is there a way to fetch the current settings or is this value write-only? |
I don't know about a command, you could parse the PersistData1 file. @JohnRev wrote a parser for the file, see: https://github.com/JohnRev/Valetudo/commits/PersistData |
Nvm we can just use the map data for that since it contains all of those. |
Is there any progress in no-go zone / virtual barrier implementation? One of our roborocks get's stuck every time a cleaning is ran. I don't want to use any tape or somthang as this is below the TV-set. |
In the latest master there is a implementation which shows the configured nogo-zones on the map. Please feel free to send a PR :) |
Ok, ts there any way to configure them otherwise?? |
Not while having valetudo installed .. |
It seems like |
That's true but you will have the issue of finding out the coordinates ( #102 ) |
For this to work and not break users with gen1 / labmode disabled we have to think about:
|
|
Hm that's a pity .. Maybe the robot type could be unprovisioned / gen1 / gen2 |
iirc miIO.info is the only one not working. We can however just fetch the info from |
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:
The text was updated successfully, but these errors were encountered: