Public Member Functions | Public Attributes | Static Public Attributes | Protected Member Functions | Protected Attributes | List of all members
dynamicgraph::sot::ControlGR Class Reference

#include <control-gr.hh>

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

Public Member Functions

 ControlGR (const std::string &name)
 
virtual void display (std::ostream &os) const
 
virtual const std::string & getClassName (void) const
 
void init (const double &step)
 
- Public Member Functions inherited from dynamicgraph::Entity
std::ostream & displaySignalList (std::ostream &os) const
 
 Entity (const std::string &name)
 
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< sigtime_t > & getSignal (const std::string &signalName)
 
const SignalBase< sigtime_t > & 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 ()
 
Loggerlogger ()
 
const Loggerlogger () const
 
const Loggerlogger () 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< sigtime_t > * test ()
 
virtual void test2 (SignalBase< sigtime_t > *)
 
virtual std::ostream & writeCompletionList (std::ostream &os) const
 
virtual std::ostream & writeGraph (std::ostream &os) const
 
virtual ~Entity ()
 

Public Attributes

SignalPtr< dynamicgraph::Vector, sigtime_taccelerationSIN
 
SignalTimeDependent< dynamicgraph::Vector, sigtime_tcontrolSOUT
 
SignalPtr< dynamicgraph::Vector, sigtime_tgravitySIN
 
SignalPtr< dynamicgraph::Matrix, sigtime_tmatrixASIN
 

Static Public Attributes

static const std::string CLASS_NAME
 
static const double TIME_STEP_DEFAULT = .001
 

Protected Member Functions

dynamicgraph::VectorcomputeControl (dynamicgraph::Vector &tau, sigtime_t t)
 
doublesetsize (size_type dimension)
 
- 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< sigtime_t > &signals)
 

Protected Attributes

double _dimension
 
double TimeStep
 
- Protected Attributes inherited from dynamicgraph::Entity
CommandMap_t commandMap
 
Logger logger_
 
std::string name
 
SignalMap signalMap
 

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< sigtime_t > * > SignalMap
 

Detailed Description

Definition at line 46 of file control-gr.hh.

Constructor & Destructor Documentation

◆ ControlGR()

ControlGR::ControlGR ( const std::string &  name)

Definition at line 39 of file control-gr.cpp.

Member Function Documentation

◆ computeControl()

dynamicgraph::Vector & ControlGR::computeControl ( dynamicgraph::Vector tau,
sigtime_t  t 
)
protected

Definition at line 88 of file control-gr.cpp.

◆ display()

void ControlGR::display ( std::ostream &  os) const
virtual

Reimplemented from dynamicgraph::Entity.

Definition at line 68 of file control-gr.cpp.

◆ getClassName()

virtual const std::string& dynamicgraph::sot::ControlGR::getClassName ( void  ) const
inlinevirtual

Reimplemented from dynamicgraph::Entity.

Definition at line 60 of file control-gr.hh.

◆ init()

void ControlGR::init ( const double step)

Definition at line 58 of file control-gr.cpp.

◆ setsize()

double & ControlGR::setsize ( size_type  dimension)
protected

Definition at line 81 of file control-gr.cpp.

Member Data Documentation

◆ _dimension

double dynamicgraph::sot::ControlGR::_dimension
protected

Definition at line 66 of file control-gr.hh.

◆ accelerationSIN

SignalPtr<dynamicgraph::Vector, sigtime_t> dynamicgraph::sot::ControlGR::accelerationSIN

Definition at line 70 of file control-gr.hh.

◆ CLASS_NAME

const std::string dynamicgraph::sot::ControlGR::CLASS_NAME
static

Definition at line 58 of file control-gr.hh.

◆ controlSOUT

SignalTimeDependent<dynamicgraph::Vector, sigtime_t> dynamicgraph::sot::ControlGR::controlSOUT

Definition at line 72 of file control-gr.hh.

◆ gravitySIN

SignalPtr<dynamicgraph::Vector, sigtime_t> dynamicgraph::sot::ControlGR::gravitySIN

Definition at line 71 of file control-gr.hh.

◆ matrixASIN

SignalPtr<dynamicgraph::Matrix, sigtime_t> dynamicgraph::sot::ControlGR::matrixASIN

Definition at line 69 of file control-gr.hh.

◆ TIME_STEP_DEFAULT

const double ControlGR::TIME_STEP_DEFAULT = .001
static

Definition at line 55 of file control-gr.hh.

◆ TimeStep

double dynamicgraph::sot::ControlGR::TimeStep
protected

Definition at line 65 of file control-gr.hh.


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


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