This is my C++ project template. I frequently need reference trajectories to test, so this template alse uses reference data, in this instance it is generated using MATLAB.
Install the build tools if you need to:
sudo apt-get update
sudo apt-get install cmake
sudo apt-get install build-essential
sudo apt-get install libeigen3-dev
- Install MSYS2, and add to path.
- Install mingw-w64 toolchain using MSYS2,
pacman -S --needed base-devel mingw-w64-x86_64-toolchain
. - Make sure eigen is installed
Use the provided scripts or the VS Code tasks to configure, build and test:
./scripts/build/clear.sh
./scripts/build/configure.sh
./scripts/build/build.sh
./scripts/build/test.sh