Read-only mirror of https://github.com/ethz-asl/mesh_to_grid_map — ETHZ ASL. Issues & pull requests at the source.
  • C++ 94.9%
  • CMake 5.1%
Find a file
Repository files (latest commit first)
Filename Latest commit message Latest commit date
Marco Tranzatto 53750113e1
Merge pull request #8 from ethz-asl/feature/load_save_services
Service calls to save/load grid_map/mesh instead of using rosparam
2019-02-07 09:01:14 +01:00
include/mesh_to_grid_map Addressing PR's comments. 2019-02-07 07:56:08 +01:00
launch Cleaning up params to save/load and use service calls instead. 2019-02-06 20:49:29 +01:00
mesh_examples added example to lead mesh from file. 2019-01-11 15:41:10 +01:00
results Adding an empty output folder to avoid hard coded paths oin clients. 2017-07-26 12:48:45 +02:00
src Addressing PR's comments. 2019-02-07 07:56:08 +01:00
CMakeLists.txt pcl_catkin and fix warnings 2018-12-18 10:52:39 +01:00
package.xml pcl_catkin and fix warnings 2018-12-18 10:52:39 +01:00
README.md Cleaning up params to save/load and use service calls instead. 2019-02-06 20:49:29 +01:00

mesh_to_grid_map

Overview

A node which converts meshes to grid maps and publishes them.

Keywords: mesh, grid_map, conversion.

Building from Source

Dependencies

  • Grid Map (Universal grid map library for mobile robotic mapping),
  • PCL Catkin (Catkinized version of the latest version of PCL).

Building

To build from source, clone the latest version from this repository and its dependecies into your catkin workspace and compile the package using

cd ~/catkin_ws/src
git clone git@github.com:ethz-asl/mesh_to_grid_map.git
git clone git@github.com:ANYbotics/grid_map.git
git clone git@github.com:ethz-asl/pcl_catkin.git
cd pcl_catkin
git submodule update --init --recursive
cd  ~/catkin_ws/
catkin build mesh_to_grid_map

Usage

  • mesh_to_grid_map_test.launch demonstrates a simple example for using the mesh_to_grid_map ROS node. This ROS node subscribes to the topic mesh and converts every new message to a grid_map map.

      roslaunch mesh_to_grid_map mesh_to_grid_map_test.launch
    

Subscribed Topics

Published Topics

Services

  • load_mesh_from_file (grid_map_srvs/ProcessFile)

    Trigger the loading of an input mesh from a .ply file.

      rosservice call /mesh_to_grid_map_node/load_mesh_from_file "file_path: '/home/user/bags/mesh_file.ply' topic_name: ''"
    
  • save_grid_map_to_file (grid_map_srvs/ProcessFile)

    Trigger the saving of the current grid map to a rosbag file.

      rosservice call /mesh_to_grid_map_node/save_grid_map_to_file "file_path: '/home/user/bags/grid_map.bag' topic_name: 'grid_map'"