Skip to content

Geometry patches and chunked RViz display for large NavMaps - #48

Open
jmguerreroh wants to merge 2 commits into
rollingfrom
fractal-navmap-plugin
Open

jmguerreroh wants to merge 2 commits into
rollingfrom
fractal-navmap-plugin

Conversation

@jmguerreroh

Copy link
Copy Markdown
Contributor

Francisco's fractal-navmap-plugin branch, on top of current rolling:

  • Geometry patches: a NavMapPatch message and navmap_ros::to_patch_msg / apply_patch to send only what changed in a map's geometry, and rebuild_geometry_accels(adjacency, bvh, normals) for builders that already know the topology.
  • RViz: the NavMap display draws large maps in chunks, applies NavMapPatch messages (<topic>_patch by default) rebuilding only the chunks they touch, and can draw the NavCel edges.

Needed by the Fractal filter of easynav_navmap_maps_manager (EasyNavigation/easynav_plugins, same branch name), which publishes its simplified map as a full map and then as patches.

NavMapPatch message, navmap_ros::to_patch_msg / apply_patch to send only what
changed in a map's geometry, and rebuild_geometry_accels(adjacency, bvh,
normals) for builders that already know the topology.
The NavMap display draws large maps in chunks, applies NavMapPatch messages
(Patch Topic, <topic>_patch by default) rebuilding only the chunks they
touch, and can draw the NavCel edges (Draw Edges, Edge Color).

@fmrico fmrico left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@juanscelyg

Copy link
Copy Markdown
Contributor

I am not sure if the correct way to send updated NavMap batches is using a new interface. Maybe, it could be a Navmap msg in another ROS topic. I mean, Could we refactor this implementation using a legacy Navmap msg? If I am wrong, pls let me know it

@juanscelyg

Copy link
Copy Markdown
Contributor

I am not sure if the correct way to send updated NavMap batches is using a new interface. Maybe, it could be a Navmap msg in another ROS topic. I mean, Could we refactor this implementation using a legacy Navmap msg? If I am wrong, pls let me know it

I could accept this PR because Patch msg is from past implementation and this PR is to adapt an enhancement for that interface.

This branch has not been deployed

No deployments
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.

3 participants