OctoMap / octomap_rviz_plugins

RViz display plugins for visualizing octomap messages in ROS
http://ros.org/wiki/octomap_rviz_plugins
89 stars 63 forks source link

Update node frame from TF on every update. #29

Closed VladimirIvan closed 6 years ago

VladimirIvan commented 6 years ago

Moves the Octomap grid with the frame defined in the header on every frame update. This makes it possible to attach an Octomap to a moving frame (e.g. items on a conveyor belt). This PR adds:

The additional node frame update does not seem to have any performance impact on rendering speed. Unless there is another reason not to do so, updating the frames regardless of the Octomap being static or moving can be default behaviour.

For compatibility, this commit cherrypicks cleanly on all versions of the plugin except for fuerte (tested on kinetic and indigo).

This PR is related to #12 but it doesn't solve the issue.

ahornung commented 6 years ago

Thanks for your contribution!