Jafar
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines
Public Types | Public Member Functions | Public Attributes | Protected Member Functions | Private Attributes | Friends
jafar::slam::BaseFeature Class Reference

Generic feature. More...


Detailed Description

Generic feature.

Definition at line 31 of file feature.hpp.

#include <feature.hpp>

Inheritance diagram for jafar::slam::BaseFeature:
Inheritance graph
[legend]

List of all members.

Public Types

typedef std::list< unsigned int > FrameIndexesType
 Indexes of frames where the feature has been observed (in chronological order).
typedef std::list
< jafar::filter::JacobianStrongConstraintModel * > 
ConstraintsListType

Public Member Functions

 BaseFeature (unsigned int id, FeatureModel &model, std::size_t sizeObs, Observation::ObservationType typeObs_)
std::size_t sizeState () const
 Object's state size.
void addObservation (unsigned int frameIndex_)

Public Attributes

Observation::ObservationType typeObs
bool atInfinity
FrameIndexesType frameIndexes
FeatureModelmodel
ConstraintsListType constraints
 list of constraints to be applied on the feature state vector
jafar::jmath::GaussianVector zPred
 Prediction of observation.
jafar::filter::JacobianBlockPredictModelfeatureConstraintModel
 Model to apply the contraints over features (this model is only implemented for segment features)

Protected Member Functions

virtual void writeLogHeader (jafar::kernel::DataLogger &log) const
 Implements this method calling repeatidly log methods.
virtual void addMembersToLog (jafar::kernel::DataLogger &log) const
 Once the loggable has been added, this method is called so that the loggable can add some of its members to the log.
virtual void writeLogData (jafar::kernel::DataLogger &log) const
 Implements this method calling repeatidly log methods.

Private Attributes

jblas::vec_range * m_x
jblas::sym_mat_rangem_P

Friends

std::ostream & operator<< (std::ostream &s, const BaseFeature &f_)

Member Function Documentation

virtual void jafar::slam::BaseFeature::addMembersToLog ( jafar::kernel::DataLogger log) const [protected, virtual]

Once the loggable has been added, this method is called so that the loggable can add some of its members to the log.

Implements this method calling addLoggable(). By default this method is empty.

Reimplemented from jafar::kernel::DataLoggable.

virtual void jafar::slam::BaseFeature::writeLogData ( jafar::kernel::DataLogger log) const [protected, virtual]

Implements this method calling repeatidly log methods.

You should use writeData() or writeDataVector().

Implements jafar::kernel::DataLoggable.

Reimplemented in jafar::slam::SegmentFeature, jafar::slam::SegmentAnchorFeature, and jafar::slam::SegmentIDFeature.

virtual void jafar::slam::BaseFeature::writeLogHeader ( jafar::kernel::DataLogger log) const [protected, virtual]

Implements this method calling repeatidly log methods.

You should use writeComment(), writeLegend() or writeLegendTokens().

Implements jafar::kernel::DataLoggable.

Reimplemented in jafar::slam::SegmentFeature, jafar::slam::SegmentAnchorFeature, and jafar::slam::SegmentIDFeature.


Member Data Documentation

Prediction of observation.

Filled by SlamEkf::observeKnownFeature.

Definition at line 54 of file feature.hpp.


The documentation for this class was generated from the following file:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines

Generated on Wed Oct 15 2014 00:37:48 for Jafar by doxygen 1.7.6.1
LAAS-CNRS