FDCL Controllers
FDCL Controllers in C++

Compiling

Following instructions assume you have git already installed in your system.

  1. Install dependencies.
    1 # Linux
    2 sudo apt-get install -y cmake pkg-config
    3 
    4 # Mac
    5 brew install cmake pkg-config
  2. Update submodules
    1 git submodule update --init --recursive
  3. Setup compile directory inside the cpp directory.
    1 mkdir build
    2 cd build
    3 cmake ../
  4. Compile and run.
    1 make example
    2 ./example

For more information, make sure to check the Classes tab.

Unit Tests

  1. Build the unit tests first:
    1 make test_all
  2. Run the unit test
    1 ./test_all
    All the tests must pass.

Generating the Documentation

This C++ code is documented using Doxygen. Doxygen automatically generates the documentation based on the comments in header files.

If you want to update the documentation, follow the below steps.

  1. If not already installed, install doxygen:
    1 # Linux
    2 sudo apt-get install -y doxygen graphviz
    3 
    4 # Mac
    5 brew install graphviz doxygen
  1. Run doxygen (from master branch)
    1 cd Doxygen
    2 doxygen Doxyfile