No project description provided
Project description
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, whilescikit-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
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distributions
Built Distributions
File details
Details for the file common_robotics_utilities-2023.6.3-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
.
File metadata
- Download URL: common_robotics_utilities-2023.6.3-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
- Upload date:
- Size: 23.7 MB
- Tags: CPython 3.11, manylinux: glibc 2.17+ x86-64
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/4.0.1 CPython/3.11.3
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 1b0aa82a3003368c548e33758407d0b8ca1a39ed15731a708305830efdca2cdd |
|
MD5 | 781fb1b65bb78d0c21aa0b8c693e4201 |
|
BLAKE2b-256 | 6ad0988cc18a805ec0958a85b8ba067f98766c3fcbb96ad338a6b08653eaf225 |
File details
Details for the file common_robotics_utilities-2023.6.3-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
.
File metadata
- Download URL: common_robotics_utilities-2023.6.3-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
- Upload date:
- Size: 23.7 MB
- Tags: CPython 3.10, manylinux: glibc 2.17+ x86-64
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/4.0.1 CPython/3.11.3
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | e0828f859edd934178c5cb4661e24cc806bbff6e7fbfdaa4944647f37e623119 |
|
MD5 | b654abdcb4c3324632619dbba253762d |
|
BLAKE2b-256 | 302623589fa52a878c87a24015eeafa0debafd46480771b9954cb41f26c480b3 |
File details
Details for the file common_robotics_utilities-2023.6.3-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
.
File metadata
- Download URL: common_robotics_utilities-2023.6.3-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
- Upload date:
- Size: 23.7 MB
- Tags: CPython 3.9, manylinux: glibc 2.17+ x86-64
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/4.0.1 CPython/3.11.3
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 288f99c5cec0ef567ad96a7bb244a327b9bdac04729f7192827ce80210433af2 |
|
MD5 | 04693e59eb31ee60e7017815af01dee3 |
|
BLAKE2b-256 | 055715d538b53959ebe2cfc567c8de9cdc8537c18cf699eeaab76cf6c970c643 |
File details
Details for the file common_robotics_utilities-2023.6.3-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
.
File metadata
- Download URL: common_robotics_utilities-2023.6.3-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
- Upload date:
- Size: 23.7 MB
- Tags: CPython 3.8, manylinux: glibc 2.17+ x86-64
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/4.0.1 CPython/3.11.3
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | eb0722f3caea752275cfa03fed74fd76d2dee6515ae28e246ff69f47c6b70a3b |
|
MD5 | ae117fee09228f089df68cb7355f3103 |
|
BLAKE2b-256 | d4f715b04b83e39e4052db6cb3404fe9c196972aa04a562da60c3ca0e57f6dd9 |
File details
Details for the file common_robotics_utilities-2023.6.3-cp37-cp37m-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
.
File metadata
- Download URL: common_robotics_utilities-2023.6.3-cp37-cp37m-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
- Upload date:
- Size: 23.7 MB
- Tags: CPython 3.7m, manylinux: glibc 2.17+ x86-64
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/4.0.1 CPython/3.11.3
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 60a12c955c539aaabc500ee7f09552a6265d8e26bc3c91cf91188865d125d726 |
|
MD5 | c7b4b40d1b3e25c60de5622c2734588b |
|
BLAKE2b-256 | ab18962f5add23c9adf4b0d726ed9f6f439bba65126407e912e620a65f316dac |