kinematics-dynamics
|
First install the dependencies:
We optionally use the ProximitySensorsClient
device from yarp-devices in the haarDetectionController
app. Refer to its installation guide for instructions.
For unit testing, you'll need the googletest source package. Refer to Install googletest.
Our software integrates the previous dependencies. Note that you will be prompted for your password upon using sudo
a couple of times:
Use ccmake
instead of cmake
for additional options.
Swig is needed in order to build all language bindings. Refer to Install SWIG.
First, install Python development packages.
You can follow these steps after installing kinematics-dynamics, or just activate the correct CMake options during the initial build.
Note: You'll probably want YARP Python bindings (perma), too.
Check your installation via (should output nothing; if bad, you will see a ModuleNotFoundError
):
CMake may not detect the correct Python3 installation directory. Toggle t
in ccmake
to see additional configuration. The CMAKE_INSTALL_PYTHONDIR
variable may point to a wrong path such as lib/python3/dist-packages
(relative to CMAKE_INSTALL_PREFIX
, which usually resolves to /usr/local
). You must pick the python3.x directory instead (check via python3 -V
); on Ubuntu 20.04 and Python 3.8, this configuration variable should be changed to lib/python3.8/dist-packages
.
Done! You are now probably interested in one of the following links: