Python robot control utils
Project description
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
Built Distributions
File details
Details for the file ctrlutils-1.4.3-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
.
File metadata
- Download URL: ctrlutils-1.4.3-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
- Upload date:
- Size: 492.7 kB
- Tags: CPython 3.10, manylinux: glibc 2.17+ x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.9.16
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | b5077c15d46d715a7bfcdce6027424df18c1dba9c08cdd2a6f5b2ff7e507c65d |
|
MD5 | 3390b052ccf6f106b4a3dfce5c5abb67 |
|
BLAKE2b-256 | 9b96dc14c2bc7729a64639d81316fb91d99a51b9bf0a7c8f53b8f9a803e1bb01 |
File details
Details for the file ctrlutils-1.4.3-cp310-cp310-macosx_10_14_universal2.whl
.
File metadata
- Download URL: ctrlutils-1.4.3-cp310-cp310-macosx_10_14_universal2.whl
- Upload date:
- Size: 896.1 kB
- Tags: CPython 3.10, macOS 10.14+ universal2 (ARM64, x86-64)
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.9.16
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 0564e44b37bd6aaf0b80c5a681203c8785ad06db5a47902f4e61e6ca4a1ba743 |
|
MD5 | dedb7167bab252426907d8b55a22ac5c |
|
BLAKE2b-256 | 7fac6c77357bf4b958c02fd0b3d2304e62cf1730c4fdf0ff9f5fb7a7ab7c645d |
File details
Details for the file ctrlutils-1.4.3-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
.
File metadata
- Download URL: ctrlutils-1.4.3-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
- Upload date:
- Size: 492.3 kB
- Tags: CPython 3.9, manylinux: glibc 2.17+ x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.9.16
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | b20806085e5a5cd3baf405957ed4512e17495eefd15dadb82a1fc0e8027874b3 |
|
MD5 | 4537b4fe0c6c028ee2f82c37da771f75 |
|
BLAKE2b-256 | 94d962dd374750b8355d77319258ca74f74401bce4f1ae8a6f2e2f51d3c18d44 |
File details
Details for the file ctrlutils-1.4.3-cp39-cp39-macosx_10_14_universal2.whl
.
File metadata
- Download URL: ctrlutils-1.4.3-cp39-cp39-macosx_10_14_universal2.whl
- Upload date:
- Size: 896.4 kB
- Tags: CPython 3.9, macOS 10.14+ universal2 (ARM64, x86-64)
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.9.16
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 96bd5a3d0291cb1237eec9a4a581287b24d00595138eb00a88b5078bece2076e |
|
MD5 | 0332493128ee2b1e884b8b096bb4b4bb |
|
BLAKE2b-256 | 5350437736f270a30cc55f4a1340004dbde4ff1bf523b6544c6fbbef56ea2568 |
File details
Details for the file ctrlutils-1.4.3-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
.
File metadata
- Download URL: ctrlutils-1.4.3-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
- Upload date:
- Size: 493.1 kB
- Tags: CPython 3.8, manylinux: glibc 2.17+ x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.9.16
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 017c6355f36d745e0ad9a0f66a9c3638430e6e7778ed28337f64f21d589dfee5 |
|
MD5 | 36fff387125e60f5f906afdab26d68de |
|
BLAKE2b-256 | 51b18815fe99bbcd62e6c7cc3809dfa922fdb3fb6979dd5c54bd39ca8924148e |
File details
Details for the file ctrlutils-1.4.3-cp38-cp38-macosx_10_14_universal2.whl
.
File metadata
- Download URL: ctrlutils-1.4.3-cp38-cp38-macosx_10_14_universal2.whl
- Upload date:
- Size: 895.8 kB
- Tags: CPython 3.8, macOS 10.14+ universal2 (ARM64, x86-64)
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.9.16
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | c30a652de8773483dc28db043da009799230afed7b2c9c365067d7a39b9ccb52 |
|
MD5 | be9b25658e34c3d0c81952caabf044f4 |
|
BLAKE2b-256 | 962c8c966970e17b3a382bc27ff4d944abae7d4e415c0667f0be17d4d74bad09 |
File details
Details for the file ctrlutils-1.4.3-cp37-cp37m-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
.
File metadata
- Download URL: ctrlutils-1.4.3-cp37-cp37m-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
- Upload date:
- Size: 502.0 kB
- Tags: CPython 3.7m, manylinux: glibc 2.17+ x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.9.16
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | d80ff80389a790e60a3db3c6f40bc14cd3b6577028ba305dd8fb41a76ae275d5 |
|
MD5 | 59febfcfac826bd0b2a4672dfdefc898 |
|
BLAKE2b-256 | c58aba036e79b1315f0ecf5180a9000173293f7eaca52e45137ed12aba610641 |