Public Member Functions | Protected Attributes
PositionFilter Class Reference

Estimator specialized in estimating the position of a target. The estimator uses a Kalman filter with constant velocity process model. If no updates are received for a given amount of time, the PositionFilter replaces the Kalman filter output by a predefined Gaussian distribution over the current state of the filter (to avoid unrealistic propagation of the state). More...

#include <PositionFilter.h>

Inheritance diagram for PositionFilter:
Inheritance graph
[legend]

List of all members.

Public Member Functions

virtual PositionFilterclone () const
const pbl::PDFgetValue () const
 Returns the current estimated state value.
 PositionFilter ()
 PositionFilter (const PositionFilter &orig)
virtual void propagate (const mhf::Time &time)
 Propagates the internal state to Time time.
virtual void reset ()
 Resets the internal state of the estimator to its initial value.
bool setParameter (const std::string &param, bool b)
 Set a boolean parameter of this state estimator.
bool setParameter (const std::string &param, double v)
 Set a real-valued parameter of this state estimator.
void setValue (const pbl::PDF &pdf)
void update (const pbl::PDF &z, const mhf::Time &time)
 Updates the internal state based on measurement z.
virtual ~PositionFilter ()

Protected Attributes

pbl::Gaussianfixed_pdf_
double fixed_pdf_cov_
KalmanFilterkalman_filter_
double kalman_timeout_
double max_acceleration_
mhf::Time t_last_propagation_
mhf::Time t_last_update_

Detailed Description

Estimator specialized in estimating the position of a target. The estimator uses a Kalman filter with constant velocity process model. If no updates are received for a given amount of time, the PositionFilter replaces the Kalman filter output by a predefined Gaussian distribution over the current state of the filter (to avoid unrealistic propagation of the state).

Definition at line 52 of file PositionFilter.h.


Constructor & Destructor Documentation

Definition at line 40 of file PositionFilter.cpp.

Definition at line 44 of file PositionFilter.cpp.

Definition at line 57 of file PositionFilter.cpp.


Member Function Documentation

PositionFilter * PositionFilter::clone ( ) const [virtual]

Implements mhf::IStateEstimator.

Definition at line 62 of file PositionFilter.cpp.

const pbl::PDF & PositionFilter::getValue ( ) const [virtual]

Returns the current estimated state value.

Returns:
The current state, i.e., the current attribute value represented as probability density function

Implements mhf::IStateEstimator.

Definition at line 137 of file PositionFilter.cpp.

void PositionFilter::propagate ( const mhf::Time time) [virtual]

Propagates the internal state to Time time.

Parameters:
timeThe time to which the internal state is propagated

Implements mhf::IStateEstimator.

Definition at line 66 of file PositionFilter.cpp.

void PositionFilter::reset ( ) [virtual]

Resets the internal state of the estimator to its initial value.

Implements mhf::IStateEstimator.

Definition at line 129 of file PositionFilter.cpp.

bool PositionFilter::setParameter ( const std::string &  param,
bool  b 
) [virtual]

Set a boolean parameter of this state estimator.

Parameters:
paramThe parameter name
bThe boolean value
Returns:
Returns true if the parameter was known to the estimator; false otherwise

Reimplemented from mhf::IStateEstimator.

Definition at line 147 of file PositionFilter.cpp.

bool PositionFilter::setParameter ( const std::string &  param,
double  v 
) [virtual]

Set a real-valued parameter of this state estimator.

Parameters:
paramThe parameter name
vThe float value
Returns:
Returns true if the parameter was known to the estimator; false otherwise

Reimplemented from mhf::IStateEstimator.

Definition at line 151 of file PositionFilter.cpp.

void PositionFilter::setValue ( const pbl::PDF pdf)
void PositionFilter::update ( const pbl::PDF z,
const mhf::Time time 
) [virtual]

Updates the internal state based on measurement z.

Parameters:
zThe measurement with which to update, represented as a probability density function
timeThe time to which the internal state is propagated before updating

Implements mhf::IStateEstimator.

Definition at line 111 of file PositionFilter.cpp.


Member Data Documentation

Definition at line 114 of file PositionFilter.h.

double PositionFilter::fixed_pdf_cov_ [protected]

Definition at line 120 of file PositionFilter.h.

Definition at line 112 of file PositionFilter.h.

double PositionFilter::kalman_timeout_ [protected]

Definition at line 122 of file PositionFilter.h.

Definition at line 118 of file PositionFilter.h.

Definition at line 110 of file PositionFilter.h.

Definition at line 108 of file PositionFilter.h.


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


wire_state_estimators
Author(s): Sjoerd van den Dries
autogenerated on Tue Jan 7 2014 11:43:34