|
The HumanFilter class can be used to track and filter the state of a single human. More...
#include <armarx/navigation/human/HumanFilter.h>
Classes | |
struct | Parameters |
Public Member Functions | |
Duration | detectionAge (const DateTime ¤tTime) const |
const Human & | get () const |
HumanFilter::get returns the human whose pose is filtered containing the most recent state. More... | |
HumanFilter (const core::Pose2D &pose0, const DateTime &detectionTime, bool useKalmanFilter) | |
HumanFilter::HumanFilter creates a new filter that filters 2D poses (position and rotation in a two dimensional plane) More... | |
void | propagation (const DateTime &detectionTime) |
HumanFilter::propagation propagate the system model to the given point in time. More... | |
void | update (const core::Pose2D &pose, const DateTime &detectionTime) |
HumanFilter::update update the filter a new detected pose of the tracked human and the detection time. More... | |
The HumanFilter class can be used to track and filter the state of a single human.
It hides implementation detail on how the filtering is done. New information about the human can be fed by using the update method. The human itself can be obtained using the get method.
Definition at line 38 of file HumanFilter.h.
HumanFilter | ( | const core::Pose2D & | pose0, |
const DateTime & | detectionTime, | ||
bool | useKalmanFilter | ||
) |
HumanFilter::HumanFilter creates a new filter that filters 2D poses (position and rotation in a two dimensional plane)
pose0 | the first known pose of the human |
detectionTime | the point of detection |
Definition at line 6 of file HumanFilter.cpp.
Definition at line 104 of file HumanFilter.cpp.
const Human & get | ( | ) | const |
HumanFilter::get returns the human whose pose is filtered containing the most recent state.
Definition at line 98 of file HumanFilter.cpp.
void propagation | ( | const DateTime & | detectionTime | ) |
HumanFilter::propagation propagate the system model to the given point in time.
This means that the human pose is updated according to the filters prediction for the given point in time. Should be called at most once between every two calls of HumanFilter::update.
detectionTime | the point in time for which the pose should be predicted |
Definition at line 42 of file HumanFilter.cpp.
void update | ( | const core::Pose2D & | pose, |
const DateTime & | detectionTime | ||
) |
HumanFilter::update update the filter a new detected pose of the tracked human and the detection time.
pose | the new detected pose of the human |
detectionTime | the detection time |
Definition at line 59 of file HumanFilter.cpp.