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

Octomap-split and Octomap-diff/update #805

Open
m3d opened this issue May 1, 2021 · 0 comments
Open

Octomap-split and Octomap-diff/update #805

m3d opened this issue May 1, 2021 · 0 comments
Labels
SubT DARPA Subterranean Challenge

Comments

@m3d
Copy link
Member

m3d commented May 1, 2021

Binary octomap is relatively dense structure. Each node is encoded in 16bits, 2bits (free, occupied, unknown, node) for each of 8 directions. The dump is depth traversability ("prohledavani do hloubky"). The map size is currently limited by maximal allowed tree depth, which is 16.

If we want to share the map among robots we have to send it in ~1000 bytes packets. They can be lost so it would be useful if each packet contains useful information independently of context (part of the map). Each node can be uniquely addressed by level and x, y and z coordinates on this resolution level (level is actually number of valid bits in xyz coordinates). This is enough for one node, but if we have interval from original dump we need more (i.e. how is the next 16bit element related to currently processed one?). Now it looks that sufficient solution would be complete stack trace to the first node (limited by 16 = maximal tree depth) and then there can be data from the original map buffer.

The second requirement is incremental update. As the robots explore more volume of the world it would not be feasible to send always the whole map. The binary diff is not nice/small but the changes should be local (in 3D world/tree). Proposal is to send only index of root node of modified subtree and then its dump. For boundary cases it would be more suitable to allow to send list of roots thus limiting updated area.

Finally both split & update should be combined :) but that is left "for some future task".

@m3d m3d added the SubT DARPA Subterranean Challenge label May 1, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
SubT DARPA Subterranean Challenge
Projects
None yet
Development

No branches or pull requests

1 participant