We will in this lab play around with the Eigen library, which is a C++ library for linear algebra that we will use throughout this course.
This lab consists of two different code projects, which are both part of this repository. Start by cloning this repository on your machine.
Then open the lab project in CLion using the cmake-file in the base directory: lab-transformations/cpp/CMakeLists.txt .
If you are uncertain about how this is done, please take a look at last week's lab.
Remember to use the correct repository address!
The lab is carried out by following these steps:
When appropriate, take a look at our proposed solution.
Please start the lab by going to the first step.
-
Eigen must be installed on your system. If you are on a lab computer, you are all set.
If you are on Ubuntu 22, but not on a lab computer, the following should be sufficient.
sudo apt update sudo apt install libeigen3-dev
-
We refer to setup_scripts and the intro lab as a general getting started-guide for the C++ labs on Ubuntu 22.04.