10 #ifndef __SOT_Control_GR_HH__
11 #define __SOT_Control_GR_HH__
18 #include <dynamic-graph/linear-algebra.h>
21 #include <dynamic-graph/entity.h>
22 #include <dynamic-graph/signal-ptr.h>
23 #include <dynamic-graph/signal-time-dependent.h>
30 #if defined(control_gr_EXPORTS)
31 #define ControlGR_EXPORT __declspec(dllexport)
33 #define ControlGR_EXPORT __declspec(dllimport)
36 #define ControlGR_EXPORT
51 void init(
const double &step);
59 virtual void display(std::ostream &os)
const;
60 virtual const std::string &
getClassName(
void)
const {
return CLASS_NAME; }
Definition: control-gr.hh:46
virtual void display(std::ostream &os) const
SignalPtr< dynamicgraph::Vector, int > gravitySIN
Definition: control-gr.hh:71
SignalPtr< dynamicgraph::Vector, int > accelerationSIN
Definition: control-gr.hh:70
virtual const std::string & getClassName(void) const
Definition: control-gr.hh:60
static const std::string CLASS_NAME
Definition: control-gr.hh:58
double _dimension
Definition: control-gr.hh:66
void init(const double &step)
static const double TIME_STEP_DEFAULT
Definition: control-gr.hh:55
SignalPtr< dynamicgraph::Matrix, int > matrixASIN
Definition: control-gr.hh:69
dynamicgraph::Vector & computeControl(dynamicgraph::Vector &tau, int t)
double TimeStep
Definition: control-gr.hh:65
SignalTimeDependent< dynamicgraph::Vector, int > controlSOUT
Definition: control-gr.hh:72
double & setsize(int dimension)
ControlGR(const std::string &name)
#define ControlGR_EXPORT
Definition: control-gr.hh:36
Definition: abstract-sot-external-interface.hh:17