Skip to content
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

manipulate maps on robot #3

Open
marcianito opened this issue Sep 27, 2018 · 0 comments
Open

manipulate maps on robot #3

marcianito opened this issue Sep 27, 2018 · 0 comments

Comments

@marcianito
Copy link

Hi @asphalter,

having read your long post on HA and live maps, it seems you have quite an idea about this stuff. I am writing because I couldn't figure out my problem crawling the web neither by myself. Maybe you have an idea..

I am having this problem that when new maps are created and the robot stops (interrups), the latest map does not include all room. Hence my HA scripts for cleaning only specific rooms won't work as these areas are "unknown" to the robot. I know this is an issue discussed in some boards.

My idea was to manipulate the map on the robot in a way to always "restore a map" (prior to cleaning), where he mapped the complete appartment. So I though he'd get this information from the robot.db file. Overwriting with the "correct" .db file did not solve this issue though. Then I found your post and thought this /run/shm/navmap*.ppm could solve this issue but as I understood this is only temporarily created during cleaning!? (I have gen2 and no such file in this directory)

I dough a little deeper and found a file called "last_map" in /mnt/data/rockrobo. So i guess, the last map is not only getting written to the robot.db but also here (where he probably gets this coordinates for next cleaning procedure). Nevertheless, this is a binary file and I have no clue how to manipulate this one, in order to restore a map where all rooms where included.

Do you have any idea? Did you maybe solve this issue for yourself? Do you know where the robot retrieves its data about "which places are known" when spot cleaning?

Any advice would be helpful!

Thanks and cheers :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant