Classes | Public Member Functions | Public Attributes | Protected Member Functions | List of all members
dynamicgraph::sot::TaskAbstract Class Reference

#include <task-abstract.hh>

Inheritance diagram for dynamicgraph::sot::TaskAbstract:
Inheritance graph
[legend]

Classes

class  MemoryTaskAbstract
 

Public Member Functions

 TaskAbstract (const std::string &n)
 
- Public Member Functions inherited from dynamicgraph::Entity
virtual void display (std::ostream &os) const
 
std::ostream & displaySignalList (std::ostream &os) const
 
 Entity (const std::string &name)
 
virtual const std::string & getClassName () const
 
const std::string & getCommandList () const
 
virtual std::string getDocString () const
 
LoggerVerbosity getLoggerVerbosityLevel ()
 
LoggerVerbosity getLoggerVerbosityLevel ()
 
const std::string & getName () const
 
command::CommandgetNewStyleCommand (const std::string &cmdName)
 
CommandMap_t getNewStyleCommandMap ()
 
SignalBase< int > & getSignal (const std::string &signalName)
 
const SignalBase< int > & getSignal (const std::string &signalName) const
 
SignalMap getSignalMap () const
 
double getStreamPrintPeriod ()
 
double getStreamPrintPeriod ()
 
double getTimeSample ()
 
double getTimeSample ()
 
bool hasSignal (const std::string &signame) const
 
Loggerlogger ()
 
Logger const & logger () const
 
Loggerlogger ()
 
Logger const & logger () const
 
void sendMsg (const std::string &msg, MsgType t=MSG_TYPE_INFO, const std::string &lineId="")
 
void sendMsg (const std::string &msg, MsgType t=MSG_TYPE_INFO, const std::string &lineId="")
 
void setLoggerVerbosityLevel (LoggerVerbosity lv)
 
void setLoggerVerbosityLevel (LoggerVerbosity lv)
 
bool setStreamPrintPeriod (double t)
 
bool setStreamPrintPeriod (double t)
 
bool setTimeSample (double t)
 
bool setTimeSample (double t)
 
virtual SignalBase< int > * test ()
 
virtual void test2 (SignalBase< int > *)
 
virtual std::ostream & writeCompletionList (std::ostream &os) const
 
virtual std::ostream & writeGraph (std::ostream &os) const
 
virtual ~Entity ()
 

Public Attributes

dynamicgraph::SignalTimeDependent< dynamicgraph::Matrix, int > jacobianSOUT
 
MemoryTaskAbstractmemoryInternal
 
dynamicgraph::SignalTimeDependent< VectorMultiBound, int > taskSOUT
 

Protected Member Functions

void taskRegistration (void)
 
- Protected Member Functions inherited from dynamicgraph::Entity
void addCommand (const std::string &name, command::Command *command)
 
void entityDeregistration ()
 
void entityRegistration ()
 
void signalDeregistration (const std::string &name)
 
void signalRegistration (const SignalArray< int > &signals)
 

Additional Inherited Members

- Public Types inherited from dynamicgraph::Entity
typedef std::map< const std::string, command::Command *> CommandMap_t
 
typedef std::map< std::string, SignalBase< int > *> SignalMap
 
- Protected Attributes inherited from dynamicgraph::Entity
CommandMap_t commandMap
 
Logger logger_
 
std::string name
 
SignalMap signalMap
 

Detailed Description

Hierarchical element of the stack of tasks.

A task computes a value and a Jacobian as output signals. Once stacked into a solver, the solver will compute the control vector that makes the task values converge toward zero in the order defined by the priority levels.

task.png
Task diagram: Task types derive from

TaskAbstract. The value and Jacobian of a Task are computed from the features that are stored in the task.

Definition at line 51 of file task-abstract.hh.

Constructor & Destructor Documentation

◆ TaskAbstract()

TaskAbstract::TaskAbstract ( const std::string &  n)

Definition at line 25 of file task-abstract.cpp.

Member Function Documentation

◆ taskRegistration()

void TaskAbstract::taskRegistration ( void  )
protected

Definition at line 34 of file task-abstract.cpp.

Member Data Documentation

◆ jacobianSOUT

dynamicgraph::SignalTimeDependent<dynamicgraph::Matrix, int> dynamicgraph::sot::TaskAbstract::jacobianSOUT

Definition at line 82 of file task-abstract.hh.

◆ memoryInternal

MemoryTaskAbstract* dynamicgraph::sot::TaskAbstract::memoryInternal

Definition at line 72 of file task-abstract.hh.

◆ taskSOUT

dynamicgraph::SignalTimeDependent<VectorMultiBound, int> dynamicgraph::sot::TaskAbstract::taskSOUT

Definition at line 81 of file task-abstract.hh.


The documentation for this class was generated from the following files:


sot-core
Author(s): Olivier Stasse, ostasse@laas.fr
autogenerated on Wed Jun 21 2023 02:51:27