|
ctrl-utils
|
ctrl-utils is a C++/Python utilities library for robot control.
See the documentation for ctrl-utils here.
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.11gcc >= 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.
The C++ portion of ctrl-utils is header-only, but to add ctrl-utils as a cmake dependency, you can run the following:
Use pip to install ctrl-utils in your virtual environment.
You can now import the ctrlutils package in 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.
The simplest way to install the latest version of cmake is through pip:
You can also install it through apt:
Install cmake through Homebrew:
Or through pip: