A simple closed-loop PID feedback controller.
This project uses CMake.
To build, run:
mkdir _build
cd _build
cmake ..
make
To install, run with proper privileges:
make install
On Linux, installation typically places libraries in /usr/local/lib
and header files in /usr/local/include
.
Install must be run before uninstalling in order to have a manifest. To uninstall, run with proper privileges:
make uninstall
Get linker information with pkg-config
:
pkg-config --libs pid-controller
Or in your Makefile, add to your linker flags with:
$(shell pkg-config --libs pid-controller)
Depending on your install location, you may also need to augment your compiler flags with:
pkg-config --cflags pid-controller
See the inc/pid-controller.h and inc/pid-controller-util.h header files for function descriptions.