-
Notifications
You must be signed in to change notification settings - Fork 91
The voxblox plusplus node
-
mesh
[voxblox_msgs::MeshBlock]
A colored mesh of the reconstructed volumetric object-level map that can be visualized in RViz, with each color encoding a different object instance. The topic is only advertised if the parameter
publishers/publish_scene_mesh
is set totrue
. The update rate is controlled by theupdate_mesh_every_n_sec
parameter.
-
get_map
[Request type: vpp_msgs::GetMap::Request, Response type: vpp_msgs::GetMap::Response]
Returns the reconstructed 3D object-level map as 3D pointcloud, together with the
voxel_size
needed to decode the map. Each point in the cloud represents the center of an observed voxel in the map and contains the following fields: XYZ, TSDF distance, TSDF weight, segment label and a semantic class (if any).If the node parameter
publishers/publish_scene_map
is set totrue
, the pointcloud is also published on the/gsm_node/map
topic. -
generate_mesh
[Request type: empty, Response type: empty]
Generates a colored mesh from the reconstructed 3D object-level map, with colors encoding the different objects in the scene. If the node parameter
publishers/publish_scene_mesh
is set totrue
, the generated mesh will be published on the/gsm_node/mesh
topic. The mesh will be also saved as a PLY file in the .ros folder in your home directory under the filename "merged_" + the value specified in the node parametermeshing/mesh_filename
. Note that, if the parametermeshing/mesh_filename
is set to "" (empty string), the PLY file will not be stored.If the node parameter
debug/multiple_visualizers
is set totrue
, the service will additionally generate and save to file the following three meshes: (i) a color mesh encoding the different geometric-only segments, (ii) a color mesh encoding the different instances of the semantically recognized segments, and (iii) a color mesh encoding the semantic class of the semantically recognized segments. The filenames of the three meshes are prefixed, respectively, with "label_", "instance_", and "semantic_".