Code Monkey home page Code Monkey logo

g1fitting-1's Introduction

g1fitting

Clothoid generation and sampling library, with Python wrapper

The library was originally written by the authors of the work published here. For questions regarding the underlying algorithm, contact Enrico Bertolazzi, Universita` degli Studi di Trento (Dipartimento di Ingegneria Industriale). Email: [email protected]

An excellent MATLAB version of this, with many more features, exists on the MATLAB File Exchange here

I've ported his MATLAB sampling function back to C++ and added a Python 2.7 wrapper for Clothoid::buildClothoid and Clothoid::pointsOnClothoid. The MATLAB function G1spline, which computes a spline for N > 2 points, has not yet been ported.

Build/install

Installation is available via PyPI: pip install g1fitting

The pypi branch has all code related to that.

Source build

C++ library

typical CMake operation: mkdir build && cd build && cmake .. && make install && ./test

Python wrapper

Use the typical method: python setup.py install && python test.py. This does not require the C++ library to be built, and operates without the CMake build system.

Note that this has only been tested on Linux

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.