Skip to content

Software

mesh_tools

By Nature Robots, Germany (checked on github.com/naturerobots (opens in a new tab)), from github.com/naturerobots/mesh_tools (opens in a new tab)

  • Navigation and mapping
  • Tool
  • BSD-3-Clause

A ROS 2 toolset for handling 3D triangle meshes, with message definitions and RViz plugins to visualize, texture, annotate and label large environment meshes.

Facts

GitHub stars
281read on 28 Nov 2026
Last update
23 Nov 2026Newest commit on main
Maintenance
Activea commit in the last 90 days
Difficulty
Intermediate

Checked on GitHub on 28 Nov 2026.

Licenses

Code
BSD-3-Clause (opens in a new tab)

Read by Robotheca from LICENSE (opens in a new tab) (BSD-3-Clause) at commit 88991f5 (opens in a new tab), on 28 Nov 2026.

Commercial use
Yes

At a glance

What it is
  • Defines ROS 2 messages for mesh geometry, vertex colors, vertex costs, textures, materials and features, linked by a UUID.
  • Provides RViz plugins to display meshes with textures, vertex colors or cost layers, in lighting, material or wireframe modes.
  • Includes an interactive tool to set navigation goal poses on a mesh surface for path planning.
  • Offers an interactive labeling tool to select connected triangle clusters and assign semantic labels to them.
  • Includes a panel to manage clusters, label names and their colors.
  • Targets the ROS 2 Humble and Jazzy distributions; the ROS 1 version lives on a separate branch.

Robotheca's summary of the project's documents, not the creator's words.

Robots on Robotheca
No robot on Robotheca uses it yet.
Licence
BSD-3-Clause. Commercial use: Yes. Where it was read
Install
In the creator's words: The project's website (opens in a new tab)
Maintenance
Active, last commit on 23 Nov 2026.

Use it

How to install it, in the creator's words: The project's website (opens in a new tab)

Robotheca doesn't review code. Read it before running it.

Files and versions

Facts read at commit 88991f5

Robotheca read the repository at two versions: the summary at 42d0734 and the facts and the README at 88991f5 (read on 28 Nov 2026).

Robotheca never hosts the code: each link goes to the creator's own page.

The README

The creator's own README, copied as written: README.md by Nature Robots, at commit 88991f5, under BSD-3-Clause (opens in a new tab). The original on GitHub (opens in a new tab).

Read the README here

(opens in a new tab) (opens in a new tab)

This is the active ROS2 branch of this repository. If your are looking for the old ROS1 version, checkout the noetic branch (opens in a new tab).

Mesh Tools

We introduce a set of tools to make 3D environment mesh representations accessible and manageable in ROS. We provide RViz tools to visualize and annotate huge meshes in combination with generated textures and different cost layers, which are based on the geometric analyses of the environment, or which represent different sensor readings, e.g. RGB image or even hyper-spectral image textures.

Introduction

Over the last years, the Knowledge Based Systems Group has developed an extensive set of tools to automatically generate triangle meshes from 3D laser scans. These tools are implemented in the freely available Las Vegas Surface Reconstruction Toolkit (LVR) and have been successfully applied in different robotic contexts.

With terrestrial and mobile laser scanning it is possible to create 3D point clouds of large environments in short time. However, the amount of collected data is too large to be processed on a mobile robot. To make this data available on mobile robots, we suggest to compute 3D triangle meshes from point cloud data as corresponding map representations. Such maps have several advantages over raw point cloud data and voxel representations. They overcome the discretization of voxel maps and deliver topologically connected surface representations, which ease segmentation, annotation and enable intuitive visualization.

However, to make the maps accessible in ROS, corresponding message definitions and tools for storing, handling and editing such maps are required.

Citation

Please reference the following papers when using mesh_tools in your scientific work.

@inproceedings{putz2019ecmr,
  title={{Tools for visualizing, annotating and storing triangle meshes in ROS and RViz}},
  author={P{\"u}tz, Sebastian and Wiemann, Thomas and Hertzberg, Joachim},
  booktitle={2019 European Conference on Mobile Robots (ECMR)},
  pages={1--6},
  year={2019},
  organization={IEEE}
}
@article{putz2021ras,
  title = {{The Mesh Tools Package – Introducing Annotated 3D Triangle Maps in ROS}},
  journal = {Robotics and Autonomous Systems},
  volume = {138},
  pages = {103688},
  year = {2021},
  doi = {https://doi.org/10.1016/j.robot.2020.103688},
  author = {P{\"u}tz, Sebastian and Wiemann, Thomas and Hertzberg, Joachim},
}
Message Definitions

We divided the mesh structure in its geometry, textures and cost layers. These different components are then associated using a UUID. This structure enables passing the geometry at first to RViz and other nodes. Theses nodes may analyze the geometry, e.g the roughness or height difference and compute corresponding mesh cost layers which are published as individual message with a corresponding mesh UUID. Thereby other nodes can associate these layers with a certain mesh object. In RViz a certain layer can then be selected by the user and visualized coloring the corresponding costs or displaying the textures. In the following gives an overview on most important mesh messages:

  • MeshGeometry(Stamped): Geometric structure of a triangle mesh using a buffer vertices, normals and faces
  • MeshVertexColors(Stamped): Vertex color information of a corresponding mesh
  • MeshVertexCosts(Stamped): Vertex cost information of a corresponding mesh coloring the mesh using a rainbow color scheme.
  • ClusterLabel: Grouping a set of triangles / faces of a corresponding mesh using the face indices, optional cluster label
  • Texture: Texture using an Image and an ID
  • Material: Color and optional texture ID
  • VertexTexCoords: Texture coordinate
  • MeshMaterials(Stamped): Combining the materials with texture coordinates and clusters of a corresponding mesh
  • Feature: A feature at a specific location and its feature descriptor
  • MeshFeatures: List of features for a corresponding mesh
RViz Plugins

We developed several RViz plugins to display 3D meshes together with different information layers (RGB textures, semantic labels, trafficability, etc.). It is possible to render the received meshes in different modes (lighting, materials and wireframe). The supported modes are selectable based on availability in the tree view. For path planning, we also implemented an interactive tool to set navigation goal poses on the mesh surface. To generate semantic maps, we implemented an interactive tool that can be used to select connected clusters of triangles and assign semantic labels to them. Some screenshots and videos demonstrate these plugins (see Supplementary Material).

RViz Mesh Plugin

The TexturedMesh displays a mesh with optional a fixed color, textures, vertex colors or vertex costs. Additionally, it can display the wire-frame as well as the vertex normals of the mesh. The MeshGoal Tool provides the possibility to select a geometry_msgs/PoseStamped on the surface of the mesh.

RViz Map Plugin

The Mesh Display displays labeled faces. The ClusterLabel Display displays labeled clusters. The ClusterLabel Tool enables the labeling of certain faces using different selection and de-selection methods as shown in a video (see Supplementary Material. The ClusterLabel Panel allows to manage your clusters and label names as well as the corresponding colors.

Videos

Mesh Cost Layer

This Video shows different cost layers which are used for path planning in outdoor terrain. It shows one partly reconstructed scan in the botanical garden of Osnabrück

Image: Mesh Cost Layer (opens in a new tab) (opens in a new tab)

Mesh Textures

This Video shows a textured dataset of the botanical garden of Osnabrück including footpaths

Image: Mesh Textures (opens in a new tab) (opens in a new tab)

Label Tool

This video shows the labeling tool, which is used to cluster faces to an object or a union, (in the example a door) using a mesh inside a building

Image: Label Tool (opens in a new tab) (opens in a new tab)

Robotheca lists software as a reference: nothing is hosted or run here, and every fact links to where it was read.