costfunctionromeoactuator.hh
Go to the documentation of this file.
1 #ifndef COSTFUNCTIONROMEOACTUATOR_H
2 #define COSTFUNCTIONROMEOACTUATOR_H
3 
5 
6 class CostFunctionRomeoActuator : public CostFunction<double, 4, 1> {
7  public:
9 
10  private:
11  stateMat_t Q;
12  commandMat_t R;
13  double dt;
14 
15  protected:
16  // attributes //
17  public:
18  private:
19  protected:
20  // methods //
21  public:
22  void computeCostAndDeriv(const stateVec_t& X, const stateVec_t& Xdes,
23  const commandVec_t& U);
24  void computeFinalCostAndDeriv(const stateVec_t& X, const stateVec_t& Xdes);
25 
26  private:
27  protected:
28  // accessors //
29  public:
30 };
31 
32 #endif // COSTFUNCTIONROMEOACTUATOR_H
Definition: costfunctionromeoactuator.hh:6
void computeCostAndDeriv(const stateVec_t &X, const stateVec_t &Xdes, const commandVec_t &U)
Definition: costfunctionromeoactuator.cpp:17
CostFunctionRomeoActuator()
Definition: costfunctionromeoactuator.cpp:3
void computeFinalCostAndDeriv(const stateVec_t &X, const stateVec_t &Xdes)
Definition: costfunctionromeoactuator.cpp:26
Definition: costfunction.hh:7
Eigen::Matrix< double, commandSize, 1 > commandVec_t
Definition: costfunction.hh:19
Eigen::Matrix< double, stateSize, 1 > stateVec_t
Definition: costfunction.hh:9
Eigen::Matrix< double, commandSize, commandSize > commandMat_t
Definition: costfunction.hh:23
Eigen::Matrix< double, stateSize, stateSize > stateMat_t
Definition: costfunction.hh:13