dynamicgraph::sot::FeatureVisualPoint Class Reference

Class that defines 2D visualPoint visual feature. More...

#include <sot/core/feature-visual-point.hh>

Inheritance diagram for dynamicgraph::sot::FeatureVisualPoint:
dynamicgraph::sot::FeatureAbstract dynamicgraph::sot::FeatureReferenceHelper< FeatureVisualPoint > dynamicgraph::Entity noncopyable

List of all members.

Public Member Functions

virtual const std::string & getClassName (void) const
 Returns the name class.
 DECLARE_REFERENCE_FUNCTIONS (FeatureVisualPoint)
 FeatureVisualPoint (const std::string &name)
virtual ~FeatureVisualPoint (void)
virtual unsigned int & getDimension (unsigned int &dim, int time)
 Verbose method.
virtual ml::VectorcomputeError (ml::Vector &res, int time)
 Compute the error between the desired feature and the current value of the feature measured or deduced from the robot state.
virtual ml::MatrixcomputeJacobian (ml::Matrix &res, int time)
 Compute the Jacobian of the error according the robot state.
virtual void display (std::ostream &os) const

Static Public Member Functions

static Flags selectX (void)
 Static Feature selection.
static Flags selectY (void)

Public Attributes

dg::SignalPtr< ml::Vector, int > xySIN
dg::SignalPtr< double, int > ZSIN
 FeatureVisualPoint depth (required to compute the interaction matrix) default Z = 1m.
dg::SignalPtr< ml::Matrix, int > articularJacobianSIN

Static Public Attributes

static const std::string CLASS_NAME
 Store the name of the class.

Protected Attributes

ml::Matrix L

Detailed Description

Class that defines 2D visualPoint visual feature.


Constructor & Destructor Documentation

virtual dynamicgraph::sot::FeatureVisualPoint::~FeatureVisualPoint ( void  ) [inline, virtual]

Member Function Documentation

virtual ml::Vector& dynamicgraph::sot::FeatureVisualPoint::computeError ( ml::Vector res,
int  time 
) [virtual]

Compute the error between the desired feature and the current value of the feature measured or deduced from the robot state.

[out] res: The error will be set into res.
[in] time: The time at which the error is computed.
Returns:
The vector res with the appropriate value.

Implements dynamicgraph::sot::FeatureAbstract.

Compute the Jacobian of the error according the robot state.

[out] res: The matrix in which the error will be written.
Returns:
The matrix res with the appropriate values.

Implements dynamicgraph::sot::FeatureAbstract.

virtual void dynamicgraph::sot::FeatureVisualPoint::display ( std::ostream &  os) const [virtual]

Reimplemented from dynamicgraph::Entity.

virtual const std::string& dynamicgraph::sot::FeatureVisualPoint::getClassName ( void  ) const [inline, virtual]

Returns the name class.

Reimplemented from dynamicgraph::sot::FeatureAbstract.

virtual unsigned int& dynamicgraph::sot::FeatureVisualPoint::getDimension ( unsigned int &  res,
int  time 
) [virtual]

Verbose method.

res: The integer in which the dimension will be return.
time: The time at which the feature should be considered.
Returns:
Dimension of the feature.
Note:
Be careful with features changing their dimension according to time.

Implements dynamicgraph::sot::FeatureAbstract.

static Flags dynamicgraph::sot::FeatureVisualPoint::selectX ( void  ) [inline, static]

Static Feature selection.

References dynamicgraph::sot::FLAG_LINE_1.


Member Data Documentation

Store the name of the class.

Reimplemented from dynamicgraph::sot::FeatureAbstract.

FeatureVisualPoint depth (required to compute the interaction matrix) default Z = 1m.

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines