Lodestar
An integrated real-time control package in C++
AlgebraicRiccatiEquation.hpp
1 //
2 // Created by Hamza El-Kebir on 5/9/21.
3 //
4 
5 #ifndef LODESTAR_ALGEBRAICRICCATIEQUATION_HPP
6 #define LODESTAR_ALGEBRAICRICCATIEQUATION_HPP
7 
8 #include "Lodestar/systems/StateSpace.hpp"
9 #include <Eigen/Eigenvalues>
10 
11 namespace ls {
12  namespace synthesis {
14  public:
15  static Eigen::MatrixXd
16  solveDARE(const Eigen::MatrixXd &A, const Eigen::MatrixXd &B, const Eigen::MatrixXd &Q,
17  const Eigen::MatrixXd &R);
18 
19  static Eigen::MatrixXd
20  solveDARE(const systems::StateSpace<> &sys, const Eigen::MatrixXd &Q, const Eigen::MatrixXd &R);
21  };
22  }
23 }
24 
25 #endif //LODESTAR_ALGEBRAICRICCATIEQUATION_HPP
ls
Main Lodestar code.
Definition: BilinearTransformation.hpp:12
ls::systems::StateSpace
Definition: StateSpace.hpp:15
ls::synthesis::AlgebraicRiccatiEquation
Definition: AlgebraicRiccatiEquation.hpp:13