Skip to main content

Python robot control utils

Project description

Builds Docs

ctrl-utils

ctrl-utils is a C++/Python utilities library for robot control.

See the documentation for ctrl-utils here.

Installation

This library is written in C++ with Python bindings automatically generated with pybind11. It has been tested on Ubuntu 18.04, Ubuntu 20.04, and macOS 10.15 Catalina.

Compilation requirements:

  • cmake >= 3.11
  • C++17 support (gcc >= 7, clang >= 7).

See Updating CMake for details on how to install the latest cmake. Ubuntu 20.04 comes with a sufficient version of cmake out of the box.

C++ only

The C++ portion of ctrl-utils is header-only, but to add ctrl-utils as a cmake dependency, you can run the following:

mkdir build
cmake -B build

Python only

Use pip to install ctrl-utils in your virtual environment.

pip install .

You can now import the ctrlutils package in Python.

import ctrlutils

C++ and Python

An in-place pip install will run the appropriate CMake command to build ctrl-utils locally in the ./build folder. This will give you access to the cmake configuration files for C++ as well as the ctrlutils package in Python.

pip install -e .

Updating CMake

Ubuntu 18.04

The simplest way to install the latest version of cmake is through pip:

pip install cmake

You can also install it through apt:

sudo apt-get update && sudo apt-get install -y apt-transport-https ca-certificates gnupg wget
wget -O - https://apt.kitware.com/keys/kitware-archive-latest.asc 2>/dev/null | gpg --dearmor - | sudo tee /etc/apt/trusted.gpg.d/kitware.gpg >/dev/null
sudo apt-add-repository -y 'deb https://apt.kitware.com/ubuntu/ bionic main'
sudo apt-get update && sudo apt-get install -y cmake kitware-archive-keyring
sudo rm /etc/apt/trusted.gpg.d/kitware.gpg

macOS

Install cmake through Homebrew:

brew install cmake

Or through pip:

pip3 install cmake

Project details


Download files

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

Source Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distributions

ctrlutils-1.5.0-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (493.3 kB view details)

Uploaded CPython 3.10 manylinux: glibc 2.17+ x86-64

ctrlutils-1.5.0-cp310-cp310-macosx_10_14_universal2.whl (896.7 kB view details)

Uploaded CPython 3.10 macOS 10.14+ universal2 (ARM64, x86-64)

ctrlutils-1.5.0-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (492.9 kB view details)

Uploaded CPython 3.9 manylinux: glibc 2.17+ x86-64

ctrlutils-1.5.0-cp39-cp39-macosx_10_14_universal2.whl (897.0 kB view details)

Uploaded CPython 3.9 macOS 10.14+ universal2 (ARM64, x86-64)

ctrlutils-1.5.0-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (493.7 kB view details)

Uploaded CPython 3.8 manylinux: glibc 2.17+ x86-64

ctrlutils-1.5.0-cp38-cp38-macosx_10_14_universal2.whl (896.4 kB view details)

Uploaded CPython 3.8 macOS 10.14+ universal2 (ARM64, x86-64)

ctrlutils-1.5.0-cp37-cp37m-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (502.6 kB view details)

Uploaded CPython 3.7m manylinux: glibc 2.17+ x86-64

File details

Details for the file ctrlutils-1.5.0-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.

File metadata

File hashes

Hashes for ctrlutils-1.5.0-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 58c319d67cb4a887bcea49e7f4df94af475a7cb83cb983d7e03a445c8492ae9c
MD5 58f113239582138d5ba3ab1caa7c32d3
BLAKE2b-256 5d7b0e21ddd4e28c27b14b0f57e9389cd23e9efa299f4e903339164969bc97b7

See more details on using hashes here.

File details

Details for the file ctrlutils-1.5.0-cp310-cp310-macosx_10_14_universal2.whl.

File metadata

File hashes

Hashes for ctrlutils-1.5.0-cp310-cp310-macosx_10_14_universal2.whl
Algorithm Hash digest
SHA256 c26f1ed2ae478401fe31488614ac1108607057d56dfa238ca8d814522e55a586
MD5 b2f79cff997782421eedc6bf70184266
BLAKE2b-256 dfe5f8b4690f27d9bda2c44bf837c315ed920c8d04e0de926e5a39fd37a76797

See more details on using hashes here.

File details

Details for the file ctrlutils-1.5.0-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.

File metadata

File hashes

Hashes for ctrlutils-1.5.0-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 2c56165909cedf3692e11108c2d8353486282f2c2af3a59af8d34430afeaea51
MD5 5b3caa76f80481e01114c81b87da1ddd
BLAKE2b-256 3534a7e34de80647ad927d8cfdfba4f02b8a553ea7a749f58a3a13bf1f7febfe

See more details on using hashes here.

File details

Details for the file ctrlutils-1.5.0-cp39-cp39-macosx_10_14_universal2.whl.

File metadata

File hashes

Hashes for ctrlutils-1.5.0-cp39-cp39-macosx_10_14_universal2.whl
Algorithm Hash digest
SHA256 91126bc26aa8e9ce74baa3135da4354dc8c6a6f41426d15f043974189b697f1a
MD5 97cee5ed2c1e82ab601bd21f965809e6
BLAKE2b-256 0f715520ec2df79e1a9ff8e7566c26c0a8938b42f4669c4349837b3c2d56c948

See more details on using hashes here.

File details

Details for the file ctrlutils-1.5.0-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.

File metadata

File hashes

Hashes for ctrlutils-1.5.0-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 fc1f37d3a31cc5cd3120a9aacde07b0a02b056e89a9980b0a891fc6a08fc7073
MD5 a9d4e3117274cded79953b2106daa32d
BLAKE2b-256 67feb96569af5cfc1536c45b99eadac8578fc4568ed4d58585a3aa3957be3685

See more details on using hashes here.

File details

Details for the file ctrlutils-1.5.0-cp38-cp38-macosx_10_14_universal2.whl.

File metadata

File hashes

Hashes for ctrlutils-1.5.0-cp38-cp38-macosx_10_14_universal2.whl
Algorithm Hash digest
SHA256 3dcd06a9282a6164fb040642f293c989279d4229778093b1e247b461ba97b014
MD5 4732bda5effe4917ae1eae2c893cda2a
BLAKE2b-256 20f2c779a9c2eb76ed036df1f0bc027efd59d2df9ec31577a38221049a5ea456

See more details on using hashes here.

File details

Details for the file ctrlutils-1.5.0-cp37-cp37m-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.

File metadata

File hashes

Hashes for ctrlutils-1.5.0-cp37-cp37m-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 c74b0efe44e81b92b5f47ec63e8c28ab48f79b707342daa246e021ee3dfbb13c
MD5 e06bd7cae38ee2e5f42838cef7dbf7e7
BLAKE2b-256 3b374879160f8b64ac762d00df3379a1e14fe16cfbd0ada57e2bb66b3a39d547

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