1D translational command model for particle filter More...
#include <ParticleFilter1D.hpp>


Public Member Functions | |
| double | updateState (const double &curState, const double &translation) const |
| Translates along the range [0, 10]. | |
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.
Definition at line 45 of file ParticleFilter1D.hpp.
| double Estimation::PF1DTransCmdModel::updateState | ( | const double & | curState, | |
| const double & | translation | |||
| ) | const [inline, virtual] |
Translates along the range [0, 10].
| curState | the starting position | |
| translation | a commanded translation |
Applies the translation (with noise) to the starting position and returns the resulting position.
Implements Estimation::PFCommandModel< double, double >.
Definition at line 60 of file ParticleFilter1D.hpp.
1.7.1