joint-limitator.hh
Go to the documentation of this file.
1 /*
2  * Copyright 2010,
3  * François Bleibel,
4  * Olivier Stasse,
5  *
6  * CNRS/AIST
7  *
8  */
9 
10 #ifndef SOT_FEATURE_JOINTLIMITS_HH
11 #define SOT_FEATURE_JOINTLIMITS_HH
12 // Matrix
14 
15 // SOT
17 #include <dynamic-graph/entity.h>
18 
20 
21 #if defined(WIN32)
22 #if defined(joint_limitator_EXPORTS)
23 #define SOTJOINTLIMITATOR_EXPORT __declspec(dllexport)
24 #else
25 #define SOTJOINTLIMITATOR_EXPORT __declspec(dllimport)
26 #endif
27 #else
28 #define SOTJOINTLIMITATOR_EXPORT
29 #endif
30 
31 namespace dynamicgraph {
32 namespace sot {
33 
40 
41  public:
42  JointLimitator(const std::string &name);
43  virtual ~JointLimitator() {}
44 
45  virtual dynamicgraph::Vector &computeControl(dynamicgraph::Vector &res,
46  int time);
47  dynamicgraph::Vector &computeWidthJl(dynamicgraph::Vector &res,
48  const int &time);
49 
50  virtual void display(std::ostream &os) const;
51 
61 };
62 } // end of namespace sot.
63 } // namespace dynamicgraph
64 
65 #endif
dynamicgraph::SignalPtr< dynamicgraph::Vector, int > upperJlSIN
#define SOTJOINTLIMITATOR_EXPORT
Eigen::VectorXd Vector
dynamicgraph::SignalTimeDependent< dynamicgraph::Vector, int > widthJlSINTERN
Filter control vector to avoid exceeding joint maximum values.
dynamicgraph::SignalPtr< dynamicgraph::Vector, int > jointSIN
#define DYNAMIC_GRAPH_ENTITY_DECL()
res
dynamicgraph::SignalTimeDependent< dynamicgraph::Vector, int > controlSOUT
dynamicgraph::SignalPtr< dynamicgraph::Vector, int > controlSIN
dynamicgraph::SignalPtr< dynamicgraph::Vector, int > lowerJlSIN


sot-core
Author(s): Olivier Stasse, ostasse@laas.fr
autogenerated on Wed Jun 21 2023 02:51:26