GCC Code Coverage Report
Directory: ./ Exec Total Coverage
File: include/ddp-actuator-solver/romeo_actuator/romeosimpleactuator.hh Lines: 0 1 0.0 %
Date: 2023-06-02 15:50:43 Branches: 0 0 - %

Line Branch Exec Source
1
#ifndef ROMEOSIMPLEACTUATOR_H
2
#define ROMEOSIMPLEACTUATOR_H
3
4
#include <ddp-actuator-solver/dynamicmodel.hh>
5
6
class RomeoSimpleActuator : public DynamicModel<double, 4, 1> {
7
 public:
8
  RomeoSimpleActuator(double& mydt, bool noiseOnParameters = 0);
9
  virtual ~RomeoSimpleActuator(){};
10
11
 private:
12
 protected:
13
  // attributes //
14
 public:
15
 private:
16
  double dt;
17
18
 private:
19
  double k;
20
  double R;
21
  double Jm;
22
  double Jl;
23
  double fvm;
24
  double fvl;
25
  double Kt;
26
  double mu;
27
  double Cf0;
28
  double a;
29
30
 private:
31
  stateVec_t Xreal;
32
  stateMat_t Id;
33
  stateMat_t A;
34
  stateMat_t Ad;
35
  stateR_commandC_t B;
36
  stateR_commandC_t Bd;
37
  double A13atan;
38
  double A33atan;
39
  stateMat_t fxBase;
40
  stateR_commandC_t fuBase;
41
42
  stateMat_t QxxCont;
43
  commandMat_t QuuCont;
44
  commandR_stateC_t QuxCont;
45
46
 protected:
47
  // methods //
48
 public:
49
  stateVec_t computeNextState(double& dt, const stateVec_t& X,
50
                              const commandVec_t& U);
51
  void computeModelDeriv(double& dt, const stateVec_t& X,
52
                         const commandVec_t& U);
53
  stateMat_t computeTensorContxx(const stateVec_t& nextVx);
54
  commandMat_t computeTensorContuu(const stateVec_t& nextVx);
55
  commandR_stateC_t computeTensorContux(const stateVec_t& nextVx);
56
57
 private:
58
 protected:
59
  // accessors //
60
 public:
61
};
62
63
#endif  // ROMEOSIMPLEACTUATOR_H