Skip to content

zhengxiang94/plane_segmentation_ros2

Repository files navigation

Plane Segmentation

Overview

This is a C++ ROS package for extracting convex polygons from elevation maps. In a first step, the terrain is segmented into planes, and their non-convex contour is extracted. In a second step, a local convex approximation can be obtained. fork from: https://github.com/leggedrobotics/elevation_mapping_cupy/tree/main/plane_segmentation

Usage

Build

// only tested on ros2 iron
colcon build --packages-select build convex_plane_decomposition_ros

Run as node

ros2 launch convex_plane_decomposition_ros convex_plane_decomposition.launch.py

Run demo

ros2 launch convex_plane_decomposition_ros demo.launch.py

Convex approximation demo

A simple 2D demo the convex inner approximation is available:

ros2 run convex_plane_decomposition_ros convex_plane_decomposition_ros_TestShapeGrowing

Parameters

You can select input map topics, pipeline parameters etc. in the respective yaml file in

convex_plane_decomposition_ros/config/

Some other parameters are set through the launch files.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published