Public Member Functions

Estimation::PF1DTransCmdModel Class Reference

1D translational command model for particle filter More...

#include <ParticleFilter1D.hpp>

Inheritance diagram for Estimation::PF1DTransCmdModel:
Inheritance graph
[legend]
Collaboration diagram for Estimation::PF1DTransCmdModel:
Collaboration graph
[legend]

List of all members.

Public Member Functions

double updateState (const double &curState, const double &translation) const
 Translates along the range [0, 10].

Detailed Description

1D translational command model for particle filter

Implements motion in the range [0, 10]. Commands are taken as a translation to be added to the current position of the target. The commanded translation is applied with some uncertainty (+/- 10% of the commanded magnitude), and the result is clipped to the motion range.

Author:
Zach Pezzementi

Definition at line 45 of file ParticleFilter1D.hpp.


Member Function Documentation

double Estimation::PF1DTransCmdModel::updateState ( const double &  curState,
const double &  translation 
) const [inline, virtual]

Translates along the range [0, 10].

Parameters:
curState the starting position
translation a commanded translation
Returns:
the resulting position

Applies the translation (with noise) to the starting position and returns the resulting position.

Author:
Zach Pezzementi

Implements Estimation::PFCommandModel< double, double >.

Definition at line 60 of file ParticleFilter1D.hpp.


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