Skip to main content

A minimal example package (with pybind11)

Project description

TrajGenPy

License Build Status Python Version

TrajGenPy is a Python library that provides functionality for trajectory task generation using the Boustrophedon Cell Decomposition algorithm for coverage generation. It is an extension of the C++ implementation found in the ethz-asl/polygon_coverage_planning repository, with additional features and Python bindings.

Features

  • Boustrophedon Cell Decomposition
  • Task generation for coverage planning
  • Python bindings for easy integration into your Python projects

Installation

Before using TrajGenPy, ensure you have the following requirements installed:

  • libcgal-dev - The Computational Geometry Algorithms Library
  • pybind11-dev - A lightweight header-only library for creating Python bindings

You can install these dependencies on Ubuntu using the following commands:

sudo apt-get update && apt-get -y install libcgal-dev pybind11-dev

Once you have the dependencies installed, you can install TrajGenPy using pip. Simply navigate to your project directory and run:

pip install -r requirements.txt
pip install .

Alternatively, if you want to build a pip wheel, you can do the following:

pip wheel . -v
pip install something.whl -v

Usage

To use TrajGenPy in your Python project, you can import it as follows:

import trajgenpy

You can then use the provided functions and classes to perform trajectory generation and task planning based on the Boustrophedon Cell Decomposition algorithm.

Contributing & Development

Install the bindings in dev mode. The bindings have to be reinstalled if any of the trajgenpy_bindings package is changed.

pip install -e .

To contribute to trajgenpy, start by forking the repository on GitHub. Create a new branch for your changes, make the necessary code edits, commit your changes with clear messages, and push them to your fork. Create a pull request from your branch to the original repository, describing your changes and addressing any related issues. Once your pull request is approved, a project maintainer will merge it into the main branch.

Citation

If you use TrajGenPy in your work, please cite the following paper:

@inproceedings{grontved2022icar,
  title={Decentralized Multi-UAV Trajectory Task Allocation in Search and Rescue Applications},
  author={Gr{\o}ntved, Kasper Andreas R{\o}mer and Schultz, Ulrik Pagh and Christensen, Anders Lyhne},
  booktitle={21st International Conference on Advanced Robotics},
  year={2023},
  organization={IEEE}
}

License

This library is released under the MIT License. Feel free to use, modify, and distribute it in your projects.

Issues and Contributions

If you encounter any issues or have ideas for improvements, please open an issue on the GitHub repository. Contributions in the form of pull requests are also welcome.

Support

For support and inquiries, you can contact the maintainers of this library at kaspergrontved@gmail.com.

Thank you for using TrajGenPy! We hope it proves to be a valuable tool for your trajectory generation and task planning needs.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

trajgenpy-0.0.1.tar.gz (37.1 kB view details)

Uploaded Source

Built Distribution

trajgenpy-0.0.1-cp310-cp310-manylinux_2_35_x86_64.whl (260.7 kB view details)

Uploaded CPython 3.10 manylinux: glibc 2.35+ x86-64

File details

Details for the file trajgenpy-0.0.1.tar.gz.

File metadata

  • Download URL: trajgenpy-0.0.1.tar.gz
  • Upload date:
  • Size: 37.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/4.0.2 CPython/3.11.6

File hashes

Hashes for trajgenpy-0.0.1.tar.gz
Algorithm Hash digest
SHA256 3baca1c9a0b49b3512a1e6a60af42d1ba33afa87d12f03c3f3d96897ffadac43
MD5 b3d7c4f8f3ac114a3ceb5e1d5ff5cd5e
BLAKE2b-256 a64cdd9db8986a379caa92d9fed43bcfa0ddab59b963c5c9693b7e0b77a69422

See more details on using hashes here.

File details

Details for the file trajgenpy-0.0.1-cp310-cp310-manylinux_2_35_x86_64.whl.

File metadata

File hashes

Hashes for trajgenpy-0.0.1-cp310-cp310-manylinux_2_35_x86_64.whl
Algorithm Hash digest
SHA256 5b3685b6c8487cf2e7b1f56d452786f92cad3c23c3006df39fbe4970667a7917
MD5 6f5ee479b7a6c34281debe25da231e19
BLAKE2b-256 79a20cf36f89f886b9406490760263b611ef74b31e81acf2f2bd24c733ba71ee

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page