|
RCAC C++
|
#include "RCAC.hpp"#include "RCACRLS.hpp"#include "RCACGrad.hpp"
Go to the source code of this file.
Functions | |
| rcacFilt | initFiltSimulink (int lz, int ly, int lu, int Nc, int filtorder, double *&FILTmx) |
| RCAC * | initSimulink (double *&FLAGSmx, double *&FILTmx, std::string &rcacType) |
Variables | |
| std::string | useRLS = "RLS" |
| std::string | useGrad = "Grad" |
Define the methods for initializing different RCAC types here
| RCAC* initSimulink | ( | double *& | FLAGSmx, |
| double *& | FILTmx, | ||
| std::string & | rcacType | ||
| ) |
This function takes an array format of the Flags and Filt from MATLAB and converts them to a Eigen compatible matrix/vector.
This must be defined for each type of RCAC that is created.
This function is NOT meant to be called outside of RCACSimulink.cpp
| FLAGSmx | Array from MATLAB in a special order for the flags (check the source file for the order) |
| FILTmx | Array from MATLAB in a special order for the filter variables |
| rcacType | RCAC type taken from a matlab char string (C-style) and converted to a string (C++ string) |