sot-core
4.11.8
Hierarchical task solver plug-in for dynamic-graph.
|
Go to the documentation of this file.
18 #include <dynamic-graph/linear-algebra.h>
24 #include <dynamic-graph/entity.h>
33 #ifndef SOTSOT_CORE_EXPORT
35 #if defined(sot_EXPORTS)
36 #define SOTSOT_CORE_EXPORT __declspec(dllexport)
38 #define SOTSOT_CORE_EXPORT __declspec(dllimport)
41 #define SOTSOT_CORE_EXPORT
64 virtual const std::string &
getClassName()
const {
return CLASS_NAME; }
103 Sot(
const std::string &name);
144 virtual void clear(
void);
151 virtual void defineNbDof(
const unsigned int &nbDof);
152 virtual const unsigned int &
getNbDof()
const {
return nbJoints; }
162 virtual dynamicgraph::Vector &computeControlLaw(dynamicgraph::Vector &control,
172 virtual void display(std::ostream &os)
const;
185 SignalPtr<dynamicgraph::Vector, int>
q0SIN;
201 virtual std::ostream &writeGraph(std::ostream &os)
const;
SignalPtr< dynamicgraph::Vector, int > q0SIN
Intrinsec velocity of the robot, that is used to initialized the recurence of the SOT (e....
Definition: sot.hh:185
SOT_CORE_EXPORT std::ostream & operator<<(std::ostream &os, const VectorMultiBound &v)
Definition: abstract-sot-external-interface.hh:17
std::vector< MultiBound > VectorMultiBound
Definition: multi-bound.hh:71
Definition: task-abstract.hh:51
~Sot(void)
Definition: sot.hh:104
This class implements the Stack of Task. It allows to deal with the priority of the controllers throu...
Definition: sot.hh:57
virtual const unsigned int & getNbDof() const
Definition: sot.hh:152
StackType stack
This field is a list of controllers managed by the stack of tasks.
Definition: sot.hh:72
virtual const StackType & tasks() const
Definition: sot.hh:110
double maxControlIncrementSquaredNorm
Maximum allowed squared norm of control increment. A task whose control increment is above this value...
Definition: sot.hh:88
std::list< TaskAbstract * > StackType
Defines a type for a list of tasks.
Definition: sot.hh:67
unsigned int nbJoints
Store the number of joints to be used in the command computed by the stack of tasks.
Definition: sot.hh:76
SignalPtr< double, int > inversionThresholdSIN
This signal allow to change the threshold for the damped pseudo-inverse on-line.
Definition: sot.hh:194
SignalPtr< dynamicgraph::Matrix, int > proj0SIN
A matrix K whose columns are a base of the desired velocity. In other words, where is the free para...
Definition: sot.hh:191
static const double INVERSION_THRESHOLD_DEFAULT
Threshold to compute the dumped pseudo inverse.
Definition: sot.hh:92
virtual const std::string & getClassName() const
Returns the name of this class.
Definition: sot.hh:64
#define SOTSOT_CORE_EXPORT
Definition: sot.hh:41
bool enablePostureTaskAcceleration
Option to disable the computation of the SVD for the last task if this task is a Task with a single F...
Definition: sot.hh:80
SignalTimeDependent< dynamicgraph::Vector, int > controlSOUT
Allow to get the result of the computed control law.
Definition: sot.hh:196
static const std::string CLASS_NAME
Specify the name of the class entity.
Definition: sot.hh:60