Skip to main content

common_robotics_utilities

Common utility functions and algorithms for robotics work used by ARC & ARM labs and TRI.

Bindings

Binding codes copied from mpetersen94/drake:gcs2 with:

  • adaption to latest commit of the cpp library
  • write tests in a more pythonic way
  • more tests

Installation

Requirements:

  • cmake, Eigen3
  • (Pip) scikit-build, calver, numpy Note that only Eigen3 is required for building the C++ library, while scikit-build is required, other dependencies are automatically resolved by python's build system.
pip install .

Usage

The C++ library supports parallelism using OpenMP in finding nearest k neighborhoods, connecting roadmaps, etc. However, cares must be taken when calling these codes. In general, if python codes is being executed in the parallel region with parallelism activated: single thread performance or deadlock will be observed. One should either:

  • (best performance) write most planning problem related codes in C++, for an example, see GraphPuzzle.
  • (avoid deadlock) turn-off parallelism by passing use_parallel=False in those function.

C++ library

Building

mkdir build && cd build
cmake .. 
cmake --build .
cmake --install .

Testing

mkdir build && cd build
cmake .. 
ctest
pytest bindings/test

Metadata

Release files for common-robotics-utilities 2023.6.3

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Built distributions (wheels)

Table of built distributions (wheels) for common-robotics-utilities 2023.6.3
File
common_robotics_utilities-2023.6.3-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl CPython 3.11 CPython 3.11 Linux glibc 2.17+ x86-64 Details
common_robotics_utilities-2023.6.3-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl CPython 3.10 CPython 3.10 Linux glibc 2.17+ x86-64 Details
common_robotics_utilities-2023.6.3-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl CPython 3.9 CPython 3.9 Linux glibc 2.17+ x86-64 Details
common_robotics_utilities-2023.6.3-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl CPython 3.8 CPython 3.8 Linux glibc 2.17+ x86-64 Details
common_robotics_utilities-2023.6.3-cp37-cp37m-manylinux_2_17_x86_64.manylinux2014_x86_64.whl CPython 3.7 CPython 3.7 pymalloc Linux glibc 2.17+ x86-64 Details

Total release size: 118.5 MB

Release files / common_robotics_utilities-2023.6.3-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl

Download URL common_robotics_utilities-2023.6.3-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Size 23.7 MB
Tags CPython 3.11 Linux glibc 2.17+ x86-64
SHA-256 checksum
How to use checksums
1b0aa82a3003368c548e33758407d0b8ca1a39ed15731a708305830efdca2cdd
BLAKE2b-256 checksum
How to use checksums
6ad0988cc18a805ec0958a85b8ba067f98766c3fcbb96ad338a6b08653eaf225
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/4.0.1 CPython/3.11.3

Release files / common_robotics_utilities-2023.6.3-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl

Download URL common_robotics_utilities-2023.6.3-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Size 23.7 MB
Tags CPython 3.10 Linux glibc 2.17+ x86-64
SHA-256 checksum
How to use checksums
e0828f859edd934178c5cb4661e24cc806bbff6e7fbfdaa4944647f37e623119
BLAKE2b-256 checksum
How to use checksums
302623589fa52a878c87a24015eeafa0debafd46480771b9954cb41f26c480b3
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/4.0.1 CPython/3.11.3

Release files / common_robotics_utilities-2023.6.3-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl

Download URL common_robotics_utilities-2023.6.3-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Size 23.7 MB
Tags CPython 3.9 Linux glibc 2.17+ x86-64
SHA-256 checksum
How to use checksums
288f99c5cec0ef567ad96a7bb244a327b9bdac04729f7192827ce80210433af2
BLAKE2b-256 checksum
How to use checksums
055715d538b53959ebe2cfc567c8de9cdc8537c18cf699eeaab76cf6c970c643
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/4.0.1 CPython/3.11.3

Release files / common_robotics_utilities-2023.6.3-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl

Download URL common_robotics_utilities-2023.6.3-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Size 23.7 MB
Tags CPython 3.8 Linux glibc 2.17+ x86-64
SHA-256 checksum
How to use checksums
eb0722f3caea752275cfa03fed74fd76d2dee6515ae28e246ff69f47c6b70a3b
BLAKE2b-256 checksum
How to use checksums
d4f715b04b83e39e4052db6cb3404fe9c196972aa04a562da60c3ca0e57f6dd9
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/4.0.1 CPython/3.11.3

Release files / common_robotics_utilities-2023.6.3-cp37-cp37m-manylinux_2_17_x86_64.manylinux2014_x86_64.whl

Download URL common_robotics_utilities-2023.6.3-cp37-cp37m-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Size 23.7 MB
Tags CPython 3.7 CPython 3.7 pymalloc Linux glibc 2.17+ x86-64
SHA-256 checksum
How to use checksums
60a12c955c539aaabc500ee7f09552a6265d8e26bc3c91cf91188865d125d726
BLAKE2b-256 checksum
How to use checksums
ab18962f5add23c9adf4b0d726ed9f6f439bba65126407e912e620a65f316dac
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/4.0.1 CPython/3.11.3

Release history Release notifications | RSS feed

This release

2023.6.3 This release

5 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page