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  sigtime_t time);
47  dynamicgraph::Vector &computeWidthJl(dynamicgraph::Vector &res,
48  const sigtime_t &time);
49 
50  virtual void display(std::ostream &os) const;
51 
63 };
64 } // end of namespace sot.
65 } // namespace dynamicgraph
66 
67 #endif
dynamicgraph::sot::JointLimitator
Filter control vector to avoid exceeding joint maximum values.
Definition: joint-limitator.hh:38
dynamicgraph::SignalPtr< dynamicgraph::Vector, sigtime_t >
dynamicgraph
dynamicgraph::sot::JointLimitator::upperJlSIN
dynamicgraph::SignalPtr< dynamicgraph::Vector, sigtime_t > upperJlSIN
Definition: joint-limitator.hh:55
dynamicgraph::sot::JointLimitator::~JointLimitator
virtual ~JointLimitator()
Definition: joint-limitator.hh:43
dynamicgraph::Entity
dynamicgraph::sot::JointLimitator::jointSIN
dynamicgraph::SignalPtr< dynamicgraph::Vector, sigtime_t > jointSIN
Definition: joint-limitator.hh:54
dynamicgraph::sot::JointLimitator::widthJlSINTERN
dynamicgraph::SignalTimeDependent< dynamicgraph::Vector, sigtime_t > widthJlSINTERN
Definition: joint-limitator.hh:61
dynamicgraph::sot::JointLimitator::lowerJlSIN
dynamicgraph::SignalPtr< dynamicgraph::Vector, sigtime_t > lowerJlSIN
Definition: joint-limitator.hh:56
DYNAMIC_GRAPH_ENTITY_DECL
#define DYNAMIC_GRAPH_ENTITY_DECL()
SOTJOINTLIMITATOR_EXPORT
#define SOTJOINTLIMITATOR_EXPORT
Definition: joint-limitator.hh:28
dynamicgraph::sigtime_t
int64_t sigtime_t
all-signals.h
display
dynamicgraph::Vector
Eigen::VectorXd Vector
linear-algebra.h
exception-task.hh
dynamicgraph::SignalTimeDependent< dynamicgraph::Vector, sigtime_t >
dynamicgraph::sot::JointLimitator::controlSIN
dynamicgraph::SignalPtr< dynamicgraph::Vector, sigtime_t > controlSIN
Definition: joint-limitator.hh:57
dynamicgraph::sot::JointLimitator::controlSOUT
dynamicgraph::SignalTimeDependent< dynamicgraph::Vector, sigtime_t > controlSOUT
Definition: joint-limitator.hh:59
compile.name
name
Definition: compile.py:23


sot-core
Author(s): Olivier Stasse, ostasse@laas.fr
autogenerated on Tue Oct 24 2023 02:26:31