Jafar
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines
Public Member Functions | Private Member Functions | Private Attributes
jafar::dseg::LineFitterKalman2 Class Reference

Detailed Description

Definition at line 20 of file LineFitterKalman2.hpp.

List of all members.

Public Member Functions

 LineFitterKalman2 (double x_o, double y_o, double angle_o)
 Create a LineFitter.
 LineFitterKalman2 (const LineFitterKalman2 &_lf)
void addPoint (double t, const jblas::vec2 &_point, double angle, double sigmaPx)
 This function is called when a new point is detected.
double direction () const
double angle () const
const jblas::vec2vecNormal () const
jblas::vec2 pointAt (double t) const
double errorAt (double t) const
jblas::sym_mat22 covAt (double t) const
void dump () const
void merge (const LineFitterKalman2 *)
 Merge two segments.
bool compatible (const LineFitterKalman2 *_lf) const
const jblas::vec2x () const
double quality () const
jblas::sym_mat22 vecDirectionCov () const
jblas::sym_mat22 originCov () const
jblas::sym_mat22 originMergeCov () const
jblas::vec2 origin () const
bool isCompatibleObservation (double _x, double _y) const
 Check if an observation is compatible with this parameters.
bool isCompatibleDirectionObservation (double _u, double _v) const
 Check if a direction is compatible with this parameters.
double distance (double _x, double _y) const
void setUncertainty (double sigma_u, double sigma_x0, double sigma_v, double sigma_y0)
 Set the uncertainty level of this segment.
const jblas::vec4state () const

Private Member Functions

void update ()

Private Attributes

Private *const d

Constructor & Destructor Documentation

jafar::dseg::LineFitterKalman2::LineFitterKalman2 ( double  x_o,
double  y_o,
double  angle_o 
)

Create a LineFitter.

Parameters:
x_ox coordinate of the first point
y_oy coordinate of the second point

Member Function Documentation

void jafar::dseg::LineFitterKalman2::addPoint ( double  t,
const jblas::vec2 _point,
double  angle,
double  sigmaPx 
)

This function is called when a new point is detected.

Parameters:
tdistance from the first point
_pointposition of the point
_angleangle of the gradient around the point
stepstep used to find the maximum of gradient
Returns:
the angle of the line between [-PI, PI]
Returns:
true if _lf is compatible for merging with this segment
Returns:
the current direction of the line between [ -PI/2, PI/2]
double jafar::dseg::LineFitterKalman2::distance ( double  _x,
double  _y 
) const
Returns:
the distance between the line and (x , y )
double jafar::dseg::LineFitterKalman2::errorAt ( double  t) const
Returns:
the error at positon t
Returns:
the origin
Returns:
the covariance matrix of the origin
Returns:
the point at positon t
Returns:
the determinant of the covariance matrix
Returns:
the kalman state
Returns:
the covariance matrix of the direction vector
Returns:
the vector normal

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:34 for Jafar by doxygen 1.7.6.1
LAAS-CNRS