Models the effects of commands on state for a particle filter. More...
#include <ParticleFilter.hpp>
Public Member Functions | |
| virtual STATE | updateState (const STATE &curState, const CMD &command) const =0 |
| Updates state according to the given command. | |
Models the effects of commands on state for a particle filter.
A component of a particle filter that describes how commands affect the state being estimated, so that particles can be updated accordingly.
Definition at line 53 of file ParticleFilter.hpp.
| virtual STATE Estimation::PFCommandModel< CMD, STATE >::updateState | ( | const STATE & | curState, | |
| const CMD & | command | |||
| ) | const [pure virtual] |
Updates state according to the given command.
| curState | current state | |
| command | given command |
Given a current state and a command, returns a resulting state, according to the update model. May incorporate some non-determinism, so that this function is suitable for updating individual particles, but not necessarily for an overall estimate. Generally, this function should sample from
to produce its output.
Implemented in Estimation::PF1DTransCmdModel.
1.7.1