GithubHelp home page GithubHelp logo

popov1212 / decomputil Goto Github PK

View Code? Open in Web Editor NEW

This project forked from sikang/decomputil

0.0 0.0 0.0 4.72 MB

A header only c++ package for convex decomposition using ellipsoids

License: BSD 3-Clause "New" or "Revised" License

CMake 4.25% C++ 95.75%

decomputil's Introduction

MRSL Decomputil Library v1.0

wercker status


A header only c++ library for fast convex decomposition. In the basic pipeline, it implements ellipsoid based regional inflation to model free space from a given path inside a point cloud. Detials of the algorithm is proposed in "S. Liu, M. Watterson, K. Mohta, K. Sun, S. Bhattacharya, C.J. Taylor and V. Kumar. Planning Dynamically Feasible Trajectories for Quadrotors using Safe Flight Corridors in 3-D Complex Environments. ICRA 2017".

Installation

DecompUtil is a header only library, several test nodes are compiled during the installation.

A) Simple cmake

$ mkdir build && cd build && cmake .. && make

B) Using CATKIN (not recognizable by catkin_make)

$ cd mv decomp_util ~/catkin_ws/src
$ cd ~/catkin_ws & catkin_make_isolated -DCMAKE_BUILD_TYPE=Release

CTest

To check if everything is installed properlly:

$ make test

Include in other projects:

To link this lib properly, add following in the CMakeLists.txt

find_package(decomp_util REQUIRED)
include_directories(${DECOMP_UTIL_INCLUDE_DIRS})

Examples

The examples of using SeedDecomp2D, LineSegment2D, EllipsoidDecomp2D and IterativeDecomp2D are plotted as followings:

SeedDecomp2D LineSegment2D EllipsoidDecomp2D IterativeDecomp2D

The corresponding code for testing can be found in the test folder.

Doxygen

For more details, please refer to https://sikang.github.io/DecompUtil/index.html

ROS

The ROS wrapper for easier use of this package can be found in DecompROS.

decomputil's People

Contributors

sikang avatar mwatterson avatar kartikmohta avatar fla-falcon-deploy avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.