Public Member Functions | Public Attributes | List of all members
FeatureTestBase Class Referenceabstract
Inheritance diagram for FeatureTestBase:
Inheritance graph
[legend]

Public Member Functions

void checkTaskOutput ()
 
virtual void checkValue ()
 
void computeExpectedTaskOutput (const Vector &error, const Vector &errorDrift)
 
template<typename LG_t >
void computeExpectedTaskOutput (const Vector &s, const Vector &sdes, const Vector &sDesDot, const LG_t &lg)
 
virtual FeatureAbstractfeatureAbstract ()=0
 
 FeatureTestBase (unsigned dim, const std::string &name)
 
virtual void init ()
 
virtual void printInputs ()
 
virtual void printOutputs ()
 
virtual void recompute ()
 
void setGain (double gain)
 
virtual void setInputs ()=0
 
template<typename SignalType , typename ValueType >
void setSignal (SignalType &sig, const ValueType &v)
 

Public Attributes

dynamicgraph::Vector expectedTaskOutput_
 
Task task_
 
int time_
 

Detailed Description

Definition at line 76 of file test_feature_generic.cpp.

Constructor & Destructor Documentation

◆ FeatureTestBase()

FeatureTestBase::FeatureTestBase ( unsigned  dim,
const std::string &  name 
)
inline

Definition at line 82 of file test_feature_generic.cpp.

Member Function Documentation

◆ checkTaskOutput()

void FeatureTestBase::checkTaskOutput ( )
inline

Definition at line 111 of file test_feature_generic.cpp.

◆ checkValue()

virtual void FeatureTestBase::checkValue ( )
inlinevirtual

Definition at line 155 of file test_feature_generic.cpp.

◆ computeExpectedTaskOutput() [1/2]

void FeatureTestBase::computeExpectedTaskOutput ( const Vector error,
const Vector errorDrift 
)
inline

Definition at line 92 of file test_feature_generic.cpp.

◆ computeExpectedTaskOutput() [2/2]

template<typename LG_t >
void FeatureTestBase::computeExpectedTaskOutput ( const Vector s,
const Vector sdes,
const Vector sDesDot,
const LG_t &  lg 
)
inline

Definition at line 99 of file test_feature_generic.cpp.

◆ featureAbstract()

virtual FeatureAbstract& FeatureTestBase::featureAbstract ( )
pure virtual

◆ init()

virtual void FeatureTestBase::init ( void  )
inlinevirtual

Definition at line 87 of file test_feature_generic.cpp.

◆ printInputs()

virtual void FeatureTestBase::printInputs ( )
inlinevirtual

Reimplemented in TestFeaturePose< representation >, and TestFeatureGeneric.

Definition at line 137 of file test_feature_generic.cpp.

◆ printOutputs()

virtual void FeatureTestBase::printOutputs ( )
inlinevirtual

Reimplemented in TestFeaturePose< representation >, and TestFeatureGeneric.

Definition at line 153 of file test_feature_generic.cpp.

◆ recompute()

virtual void FeatureTestBase::recompute ( )
inlinevirtual

Reimplemented in TestFeaturePose< representation >, and TestFeatureGeneric.

Definition at line 139 of file test_feature_generic.cpp.

◆ setGain()

void FeatureTestBase::setGain ( double  gain)
inline

Definition at line 120 of file test_feature_generic.cpp.

◆ setInputs()

virtual void FeatureTestBase::setInputs ( )
pure virtual

◆ setSignal()

template<typename SignalType , typename ValueType >
void FeatureTestBase::setSignal ( SignalType &  sig,
const ValueType &  v 
)
inline

Definition at line 127 of file test_feature_generic.cpp.

Member Data Documentation

◆ expectedTaskOutput_

dynamicgraph::Vector FeatureTestBase::expectedTaskOutput_

Definition at line 80 of file test_feature_generic.cpp.

◆ task_

Task FeatureTestBase::task_

Definition at line 78 of file test_feature_generic.cpp.

◆ time_

int FeatureTestBase::time_

Definition at line 79 of file test_feature_generic.cpp.


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


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