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; }
110 virtual const StackType &
tasks()
const {
return stack; }
144 virtual void clear(
void);
151 virtual void defineNbDof(
const unsigned int &nbDof);
152 virtual const unsigned int &
getNbDof()
const {
return nbJoints; }
172 virtual void display(std::ostream &os)
const;
201 virtual std::ostream &
writeGraph(std::ostream &os)
const;
SignalTimeDependent< dynamicgraph::Vector, int > controlSOUT
Allow to get the result of the computed control law.
std::vector< MultiBound > VectorMultiBound
virtual const unsigned int & getNbDof() const
SignalPtr< double, int > inversionThresholdSIN
This signal allow to change the threshold for the damped pseudo-inverse on-line.
double maxControlIncrementSquaredNorm
Maximum allowed squared norm of control increment. A task whose control increment is above this value...
SignalPtr< dynamicgraph::Vector, int > q0SIN
Intrinsec velocity of the robot, that is used to initialized the recurence of the SOT (e...
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...
bool enablePostureTaskAcceleration
Option to disable the computation of the SVD for the last task if this task is a Task with a single F...
static const double INVERSION_THRESHOLD_DEFAULT
Threshold to compute the dumped pseudo inverse.
std::list< TaskAbstract * > StackType
Defines a type for a list of tasks.
SOT_CORE_EXPORT std::ostream & operator<<(std::ostream &os, const VectorMultiBound &v)
StackType stack
This field is a list of controllers managed by the stack of tasks.
unsigned int nbJoints
Store the number of joints to be used in the command computed by the stack of tasks.
static const std::string CLASS_NAME
Specify the name of the class entity.
virtual const StackType & tasks() const
This class implements the Stack of Task. It allows to deal with the priority of the controllers throu...
void writeGraph(const char *filename)
#define SOTSOT_CORE_EXPORT
virtual const std::string & getClassName() const
Returns the name of this class.