Class representing a posvel mcpdf. More...
#include <mcpdf_pos_vel.h>
Public Member Functions | |
virtual StatePosVel | ExpectedValueGet () const |
MatrixWrapper::Matrix | getHistogramPos (const tf::Vector3 &min, const tf::Vector3 &max, const tf::Vector3 &step) const |
Get pos histogram from certain area. More... | |
MatrixWrapper::Matrix | getHistogramVel (const tf::Vector3 &min, const tf::Vector3 &max, const tf::Vector3 &step) const |
Get vel histogram from certain area. More... | |
void | getParticleCloud (const tf::Vector3 &step, double threshold, sensor_msgs::PointCloud &cloud) const |
Get evenly distributed particle cloud. More... | |
MCPdfPosVel (unsigned int num_samples) | |
Constructor. More... | |
virtual unsigned int | numParticlesGet () const |
virtual WeightedSample< StatePosVel > | SampleGet (unsigned int particle) const |
virtual | ~MCPdfPosVel () |
Destructor. More... | |
Private Member Functions | |
MatrixWrapper::Matrix | getHistogram (const tf::Vector3 &min, const tf::Vector3 &max, const tf::Vector3 &step, bool pos_hist) const |
Get histogram from certain area. More... | |
Class representing a posvel mcpdf.
Definition at line 48 of file mcpdf_pos_vel.h.
MCPdfPosVel::MCPdfPosVel | ( | unsigned int | num_samples | ) |
Constructor.
Definition at line 51 of file mcpdf_pos_vel.cpp.
|
virtual |
Destructor.
Definition at line 55 of file mcpdf_pos_vel.cpp.
|
virtual |
Definition at line 66 of file mcpdf_pos_vel.cpp.
|
private |
Get histogram from certain area.
Definition at line 148 of file mcpdf_pos_vel.cpp.
MatrixWrapper::Matrix MCPdfPosVel::getHistogramPos | ( | const tf::Vector3 & | min, |
const tf::Vector3 & | max, | ||
const tf::Vector3 & | step | ||
) | const |
Get pos histogram from certain area.
Get histogram from pos.
Definition at line 134 of file mcpdf_pos_vel.cpp.
MatrixWrapper::Matrix MCPdfPosVel::getHistogramVel | ( | const tf::Vector3 & | min, |
const tf::Vector3 & | max, | ||
const tf::Vector3 & | step | ||
) | const |
Get vel histogram from certain area.
Get histogram from vel.
Definition at line 141 of file mcpdf_pos_vel.cpp.
void MCPdfPosVel::getParticleCloud | ( | const tf::Vector3 & | step, |
double | threshold, | ||
sensor_msgs::PointCloud & | cloud | ||
) | const |
Get evenly distributed particle cloud.
Definition at line 83 of file mcpdf_pos_vel.cpp.
|
virtual |
Definition at line 177 of file mcpdf_pos_vel.cpp.
|
virtual |
Definition at line 59 of file mcpdf_pos_vel.cpp.