Skip to content

Conversation

kaixqu
Copy link

@kaixqu kaixqu commented Jul 23, 2025

Among the update flags (kMap, kMesh, kEsdf), only kMap is not reset after being used. In serializeLayerAsMsg, the system retrieves updated blocks using:

layer.getAllUpdatedBlocks(Update::kMap, &block_list);

However, there is no corresponding call to reset the kMap update flag. As a result, Voxblox will continue publishing all previously updated blocks, which actually are the entire allocated blocks.

Fix

This PR addresses the issue by resetting the kMap flag after each publishing cycle, ensuring that only newly updated blocks are serialized and sent out.

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

Successfully merging this pull request may close these issues.

1 participant