personalrobotics / or_rviz

OpenRAVE viewer plugin that publishes the environment to RViz as InteractiveMarkers.
BSD 2-Clause "Simplified" License
5 stars 5 forks source link

Avoid publishing empty trimeshes #39

Closed mkoval closed 7 years ago

mkoval commented 7 years ago

RViz SEGFAULTs if it receives an InteractiveMarker that contains an empty trimesh. This pull request works around that issue by publishing a degenerate triangle (three co-located points) if an empty mesh would otherwise be published.