feature-vector3.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_VECTOR3_HH__
11 #define __SOT_FEATURE_VECTOR3_HH__
12 
13 /* --------------------------------------------------------------------- */
14 /* --- INCLUDE --------------------------------------------------------- */
15 /* --------------------------------------------------------------------- */
16 
17 /* SOT */
21 
22 /* --------------------------------------------------------------------- */
23 /* --- API ------------------------------------------------------------- */
24 /* --------------------------------------------------------------------- */
25 
26 #if defined(WIN32)
27 #if defined(feature_vector3_EXPORTS)
28 #define SOTFEATUREVECTOR3_EXPORT __declspec(dllexport)
29 #else
30 #define SOTFEATUREVECTOR3_EXPORT __declspec(dllimport)
31 #endif
32 #else
33 #define SOTFEATUREVECTOR3_EXPORT
34 #endif
35 
36 /* --------------------------------------------------------------------- */
37 /* --- CLASS ----------------------------------------------------------- */
38 /* --------------------------------------------------------------------- */
39 
40 namespace dynamicgraph {
41 namespace sot {
42 
48  public:
49  static const std::string CLASS_NAME;
50  virtual const std::string &getClassName(void) const { return CLASS_NAME; }
51 
53 
54  protected:
55  /* --- SIGNALS ------------------------------------------------------------ */
56  public:
61 
65 
66  public:
67  FeatureVector3(const std::string &name);
68  virtual ~FeatureVector3(void) {}
69 
70  virtual size_type &getDimension(size_type &dim, sigtime_t time);
71 
72  virtual dynamicgraph::Vector &computeError(dynamicgraph::Vector &res,
73  sigtime_t time);
74  virtual dynamicgraph::Matrix &computeJacobian(dynamicgraph::Matrix &res,
75  sigtime_t time);
76 
77  virtual void display(std::ostream &os) const;
78 };
79 
80 } /* namespace sot */
81 } /* namespace dynamicgraph */
82 
83 #endif // #ifndef __SOT_FEATURE_VECTOR3_HH__
84 
85 /*
86  * Local variables:
87  * c-basic-offset: 2
88  * End:
89  */
dynamicgraph::sot::FeatureVector3
Class that defines point-3d control feature.
Definition: feature-vector3.hh:47
dynamicgraph::sot::FeatureVector3::getClassName
virtual const std::string & getClassName(void) const
Returns the name class.
Definition: feature-vector3.hh:50
dynamicgraph::sot::FeatureVector3::CLASS_NAME
static const std::string CLASS_NAME
Definition: feature-vector3.hh:49
dynamicgraph::sot::FeatureAbstract::errorSOUT
SignalTimeDependent< dynamicgraph::Vector, sigtime_t > errorSOUT
This signal returns the error between the desired value and the current value : .
Definition: feature-abstract.hh:185
dynamicgraph::SignalPtr< dynamicgraph::Vector, sigtime_t >
dynamicgraph
dynamicgraph::sot::FeatureVector3::positionSIN
dynamicgraph::SignalPtr< MatrixHomogeneous, sigtime_t > positionSIN
Definition: feature-vector3.hh:58
dynamicgraph::sot::FeatureAbstract::selectionSIN
SignalPtr< Flags, sigtime_t > selectionSIN
This vector specifies which dimension are used to perform the computation. For instance let us assume...
Definition: feature-abstract.hh:173
dynamicgraph::Matrix
Eigen::MatrixXd Matrix
dynamicgraph::sot::FeatureAbstract::jacobianSOUT
SignalTimeDependent< dynamicgraph::Matrix, sigtime_t > jacobianSOUT
Jacobian of the error wrt the robot state: .
Definition: feature-abstract.hh:193
feature-abstract.hh
dynamicgraph::sot::FeatureAbstract
This class gives the abstract definition of a feature.
Definition: feature-abstract.hh:76
dynamicgraph::sot::FeatureVector3::~FeatureVector3
virtual ~FeatureVector3(void)
Definition: feature-vector3.hh:68
dynamicgraph::sot::FeatureVector3::positionRefSIN
dynamicgraph::SignalPtr< dynamicgraph::Vector, sigtime_t > positionRefSIN
Definition: feature-vector3.hh:60
dynamicgraph::sigtime_t
int64_t sigtime_t
dynamicgraph::size_type
Matrix::Index size_type
display
dynamicgraph::Vector
Eigen::VectorXd Vector
dynamicgraph::sot::FeatureVector3::articularJacobianSIN
dynamicgraph::SignalPtr< dynamicgraph::Matrix, sigtime_t > articularJacobianSIN
Definition: feature-vector3.hh:59
matrix-geometry.hh
exception-task.hh
SOTFEATUREVECTOR3_EXPORT
#define SOTFEATUREVECTOR3_EXPORT
Definition: feature-vector3.hh:33
dynamicgraph::sot::FeatureVector3::DECLARE_NO_REFERENCE
DECLARE_NO_REFERENCE
Definition: feature-vector3.hh:52
dynamicgraph::sot::FeatureVector3::vectorSIN
dynamicgraph::SignalPtr< dynamicgraph::Vector, sigtime_t > vectorSIN
Definition: feature-vector3.hh:57
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