op-point-modifier.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_OP_POINT_MODIFIOR_H__
11 #define __SOT_OP_POINT_MODIFIOR_H__
12 
14 #include <dynamic-graph/entity.h>
15 
16 #include <sot/core/debug.hh>
18 
19 /* Matrix */
21 
22 /* --------------------------------------------------------------------- */
23 /* --- API ------------------------------------------------------------- */
24 /* --------------------------------------------------------------------- */
25 
26 #if defined(WIN32)
27 #if defined(op_point_modifier_EXPORTS)
28 #define SOTOPPOINTMODIFIER_EXPORT __declspec(dllexport)
29 #else
30 #define SOTOPPOINTMODIFIER_EXPORT __declspec(dllimport)
31 #endif
32 #else
33 #define SOTOPPOINTMODIFIER_EXPORT
34 #endif
35 
36 /* --------------------------------------------------------------------- */
37 /* --- VECTOR ---------------------------------------------------------- */
38 /* --------------------------------------------------------------------- */
39 
40 namespace dynamicgraph {
41 namespace sot {
42 
50  public:
51  static const std::string CLASS_NAME;
52  virtual const std::string &getClassName(void) const { return CLASS_NAME; }
53 
54  public:
57 
61 
62  public:
63  OpPointModifier(const std::string &name);
64  virtual ~OpPointModifier(void) {}
65 
66  dynamicgraph::Matrix &jacobianSOUT_function(dynamicgraph::Matrix &res,
67  const sigtime_t &time);
68  MatrixHomogeneous &positionSOUT_function(MatrixHomogeneous &res,
69  const sigtime_t &time);
70  void setTransformation(const Eigen::Matrix4d &tr);
71  void setTransformationBySignalName(std::istringstream &cmdArgs);
72  const Eigen::Matrix4d &getTransformation(void);
73 
74  private:
76 
77  /* This bool tunes the effect of the modifier for end-effector Jacobian (ie
78  * the output velocity is expressed in the end-effector frame) of from the
79  * world-ref Jacobian (ie
80  * the ouput velocity is computed in the world frame). */
82 };
83 
84 } /* namespace sot */
85 } /* namespace dynamicgraph */
86 
87 #endif // __SOT_OP_POINT_MODIFIOR_H__
dynamicgraph::sot::MatrixHomogeneous
Eigen::Transform< double, 3, Eigen::Affine > SOT_CORE_EXPORT MatrixHomogeneous
Definition: matrix-geometry.hh:75
dynamicgraph::sot::OpPointModifier
Compute position and jacobian of a local frame attached to a joint.
Definition: op-point-modifier.hh:49
dynamicgraph::sot::OpPointModifier::~OpPointModifier
virtual ~OpPointModifier(void)
Definition: op-point-modifier.hh:64
dynamicgraph::SignalPtr< dynamicgraph::Matrix, sigtime_t >
dynamicgraph
dynamicgraph::Entity
dynamicgraph::sot::OpPointModifier::isEndEffector
bool isEndEffector
Definition: op-point-modifier.hh:81
dynamicgraph::sot::OpPointModifier::getClassName
virtual const std::string & getClassName(void) const
Definition: op-point-modifier.hh:52
dynamicgraph::Matrix
Eigen::MatrixXd Matrix
dynamicgraph::sot::OpPointModifier::CLASS_NAME
static const std::string CLASS_NAME
Definition: op-point-modifier.hh:51
debug.hh
SOTOPPOINTMODIFIER_EXPORT
#define SOTOPPOINTMODIFIER_EXPORT
Definition: op-point-modifier.hh:33
dynamicgraph::sot::OpPointModifier::jacobianSIN
dynamicgraph::SignalPtr< dynamicgraph::Matrix, sigtime_t > jacobianSIN
Definition: op-point-modifier.hh:55
dynamicgraph::sigtime_t
int64_t sigtime_t
dynamicgraph::sot::OpPointModifier::positionSOUT
dynamicgraph::SignalTimeDependent< MatrixHomogeneous, sigtime_t > positionSOUT
Definition: op-point-modifier.hh:60
all-signals.h
dynamicgraph::sot::OpPointModifier::transformation
MatrixHomogeneous transformation
Definition: op-point-modifier.hh:75
linear-algebra.h
matrix-geometry.hh
dynamicgraph::SignalTimeDependent< dynamicgraph::Matrix, sigtime_t >
compile.name
name
Definition: compile.py:23
dynamicgraph::sot::OpPointModifier::positionSIN
dynamicgraph::SignalPtr< MatrixHomogeneous, sigtime_t > positionSIN
Definition: op-point-modifier.hh:56
dynamicgraph::sot::OpPointModifier::jacobianSOUT
dynamicgraph::SignalTimeDependent< dynamicgraph::Matrix, sigtime_t > jacobianSOUT
Definition: op-point-modifier.hh:59


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