Skip to main content

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
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


Download files

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

Source Distribution

common_robotics_utilities-2023.4.6.tar.gz (126.1 kB view hashes)

Uploaded Source

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