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.1-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (493.4 kB view details)

Uploaded CPython 3.10 manylinux: glibc 2.17+ x86-64

ctrlutils-1.5.1-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.1-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (493.0 kB view details)

Uploaded CPython 3.9 manylinux: glibc 2.17+ x86-64

ctrlutils-1.5.1-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.1-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.1-cp38-cp38-macosx_10_14_universal2.whl (896.5 kB view details)

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

ctrlutils-1.5.1-cp37-cp37m-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (502.7 kB view details)

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

File details

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

File metadata

File hashes

Hashes for ctrlutils-1.5.1-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 c7a9062594f637f2000641dc46a79f1fa02104f027b92ac34a6c40c4111da602
MD5 cdb5c2d21918c611d24e97378f8e4238
BLAKE2b-256 f3c94dda21d4cc4fcfcc6d7c7536aa84b5bc7df259498ca2f7707840330154db

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for ctrlutils-1.5.1-cp310-cp310-macosx_10_14_universal2.whl
Algorithm Hash digest
SHA256 325bbc2a3a8851600bb176bfbadf96cd06dbfedbc82d9f8c0a9a7eb952c3c7e5
MD5 2669fc5ba3f5c9a96c53fac184d1452e
BLAKE2b-256 c2c7bda66baada996e529819a0306849d5d8262706066fef5cafe526e5f7428b

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for ctrlutils-1.5.1-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 a8077f000d3bbcdfc242a9cd4e14cb0165824fd726440cca961e11c80ef6860d
MD5 b457891ee9dd5708061449de6ddc3eda
BLAKE2b-256 11345973816003c94f2d0f181f43abd2c3fce89eeb185b9d266996555c8eb2e2

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for ctrlutils-1.5.1-cp39-cp39-macosx_10_14_universal2.whl
Algorithm Hash digest
SHA256 f6153b86f628c3f12c7b6efb5dee1edf681fb95a38e069da800604fcb360eba2
MD5 4ff773fc315a15a7967e883cdab39400
BLAKE2b-256 b2eaf632a376907fc14bc08cc7193f4ad401dc37eeb551294651983093d7de40

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for ctrlutils-1.5.1-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 6aec6a3aa474a6d40fb62c89af0d5653ed8bceba4d4543c315e4f2730e799727
MD5 8bdad16a6ef872ba1b7f483866962e4b
BLAKE2b-256 ab104ab06f3e57b5a07ed503be836a8e7be0c80550192712df354f0f0d168bd4

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for ctrlutils-1.5.1-cp38-cp38-macosx_10_14_universal2.whl
Algorithm Hash digest
SHA256 2e86177053756d9f5498c34e4772b638e4d7af0fe9bd2ca74506dbb4fe3e7ae8
MD5 596b03b3caeedb8cd324729703ab0b64
BLAKE2b-256 d550de78bf57041ffb29f644e377b5ee29a355ba4d823d45c28d2d2d727c44b0

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for ctrlutils-1.5.1-cp37-cp37m-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 7133ffe08ac9d8842195981cfe600488334d6decc3ad72c3dd1075656f867f81
MD5 4534f100c0d8afe19c1ba49b19edbb12
BLAKE2b-256 46aede1365021e83fb136ad0735e21d76b64d8465a17b8dadb8d56b5073b0efd

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