feature-line-distance.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_LINEDISTANCE_HH__
11 #define __SOT_FEATURE_LINEDISTANCE_HH__
12 
13 /* --------------------------------------------------------------------- */
14 /* --- INCLUDE --------------------------------------------------------- */
15 /* --------------------------------------------------------------------- */
16 
17 /* SOT */
21 /* --------------------------------------------------------------------- */
22 /* --- API ------------------------------------------------------------- */
23 /* --------------------------------------------------------------------- */
24 
25 #if defined(WIN32)
26 #if defined(feature_line_distance_EXPORTS)
27 #define SOTFEATURELINEDISTANCE_EXPORT __declspec(dllexport)
28 #else
29 #define SOTFEATURELINEDISTANCE_EXPORT __declspec(dllimport)
30 #endif
31 #else
32 #define SOTFEATURELINEDISTANCE_EXPORT
33 #endif
34 
35 /* --------------------------------------------------------------------- */
36 /* --- CLASS ----------------------------------------------------------- */
37 /* --------------------------------------------------------------------- */
38 
39 namespace dynamicgraph {
40 namespace sot {
41 
47  : public FeatureAbstract {
48  public:
49  static const std::string CLASS_NAME;
50  virtual const std::string &getClassName(void) const { return CLASS_NAME; }
51 
52  protected:
53  /* --- SIGNALS ------------------------------------------------------------ */
54  public:
60 
64 
71  public:
72  FeatureLineDistance(const std::string &name);
73  virtual ~FeatureLineDistance(void) {}
74 
75  virtual size_type &getDimension(size_type &dim, sigtime_t time);
76 
77  virtual dynamicgraph::Vector &computeError(dynamicgraph::Vector &res,
78  sigtime_t time);
79  virtual dynamicgraph::Matrix &computeJacobian(dynamicgraph::Matrix &res,
80  sigtime_t time);
81  dynamicgraph::Vector &computeLineCoordinates(dynamicgraph::Vector &cood,
82  sigtime_t time);
83 
84  virtual void display(std::ostream &os) const;
85 };
86 
87 } /* namespace sot */
88 } /* namespace dynamicgraph */
89 
90 #endif // #ifndef __SOT_FEATURE_LINEDISTANCE_HH__
91 
92 /*
93  * Local variables:
94  * c-basic-offset: 2
95  * End:
96  */
dynamicgraph::sot::FeatureLineDistance::articularJacobianSIN
dynamicgraph::SignalPtr< dynamicgraph::Matrix, sigtime_t > articularJacobianSIN
Definition: feature-line-distance.hh:56
dynamicgraph::sot::FeatureLineDistance::~FeatureLineDistance
virtual ~FeatureLineDistance(void)
Definition: feature-line-distance.hh:73
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< MatrixHomogeneous, sigtime_t >
dynamicgraph
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::FeatureLineDistance::CLASS_NAME
static const std::string CLASS_NAME
Definition: feature-line-distance.hh:49
dynamicgraph::sot::FeatureAbstract
This class gives the abstract definition of a feature.
Definition: feature-abstract.hh:76
dynamicgraph::sot::FeatureLineDistance
Class that defines point-3d control feature.
Definition: feature-line-distance.hh:46
dynamicgraph::sigtime_t
int64_t sigtime_t
SOTFEATURELINEDISTANCE_EXPORT
#define SOTFEATURELINEDISTANCE_EXPORT
Definition: feature-line-distance.hh:32
dynamicgraph::sot::FeatureLineDistance::vectorSIN
dynamicgraph::SignalPtr< dynamicgraph::Vector, sigtime_t > vectorSIN
Definition: feature-line-distance.hh:58
dynamicgraph::sot::FeatureLineDistance::positionSIN
dynamicgraph::SignalPtr< MatrixHomogeneous, sigtime_t > positionSIN
Definition: feature-line-distance.hh:55
dynamicgraph::size_type
Matrix::Index size_type
display
dynamicgraph::Vector
Eigen::VectorXd Vector
dynamicgraph::sot::FeatureLineDistance::DECLARE_NO_REFERENCE
DECLARE_NO_REFERENCE
Definition: feature-line-distance.hh:68
dynamicgraph::sot::FeatureLineDistance::lineSOUT
dynamicgraph::SignalTimeDependent< dynamicgraph::Vector, sigtime_t > lineSOUT
Definition: feature-line-distance.hh:59
matrix-geometry.hh
exception-task.hh
dynamicgraph::SignalTimeDependent< dynamicgraph::Vector, sigtime_t >
dynamicgraph::sot::FeatureLineDistance::positionRefSIN
dynamicgraph::SignalPtr< dynamicgraph::Vector, sigtime_t > positionRefSIN
Definition: feature-line-distance.hh:57
dynamicgraph::sot::FeatureLineDistance::getClassName
virtual const std::string & getClassName(void) const
Returns the name class.
Definition: feature-line-distance.hh:50
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