Classes | |
class | Gaussian |
This class represents a multi-variate Gaussian (Normal) distribution. More... | |
class | Hybrid |
class | Matrix3 |
class | Matrix4 |
class | Mixture |
This class represents the weighted sum of a finite set of probability density functions. More... | |
class | |
class | PMF |
This class represents a discrete probability distribution (or probability mass function). Currently, this PMF can only take strings as values. More... | |
class | Scalar |
class | Uniform |
This class represents a hyper-cube shaped uniform distribution. More... | |
class | Vector3 |
class | Vector4 |
Typedefs | |
typedef arma::mat | Matrix |
typedef arma::vec | Vector |
Functions | |
PDF * | deserialize (const problib::PDF &msg, int type, int &i_data) |
PMF * | deserialize_discrete (const problib::PDF &msg) |
PDF * | deserialize_exact (const problib::PDF &msg) |
Gaussian * | deserialize_gaussian (const problib::PDF &msg, int &i_data) |
Hybrid * | deserialize_hybrid (const problib::PDF &msg, int &i_data) |
Mixture * | deserialize_mixture (const problib::PDF &msg, int &i_data) |
Uniform * | deserialize_uniform (const problib::PDF &msg, int &i_data) |
Gaussian * | msgToGaussian (const problib::PDF &msg) |
Converts a PDF ROS message to a Gaussian object if the message represents a Gaussian. More... | |
Mixture * | msgToMixture (const problib::PDF &msg) |
Converts a PDF ROS message to a Mixture object if the message represents a Mixture. More... | |
PDF * | msgToPDF (const problib::PDF &msg) |
Converts a PDF ROS message to a PDF object. More... | |
PMF * | msgToPMF (const problib::PDF &msg) |
Converts a PDF ROS message to a PMF object if the message represents a PMF. More... | |
const Gaussian * | PDFtoGaussian (const PDF &pdf) |
Casts a PDF object to a Gaussian if the PDF represents a Gaussian. More... | |
const Hybrid * | PDFtoHybrid (const PDF &pdf) |
const Mixture * | PDFtoMixture (const PDF &pdf) |
Casts a PDF object to a Mixture if the PDF represents a Mixture. More... | |
void | PDFtoMsg (const PDF &pdf, problib::PDF &msg) |
Converts a PDF object to a ROS message. More... | |
problib::PDF | PDFtoMsg (const PDF &pdf) |
Converts a PDF object to a ROS message. More... | |
const PMF * | PDFtoPMF (const PDF &pdf) |
Casts a PDF object to a PMF if the PDF represents a PMF. More... | |
const Uniform * | PDFtoUniform (const PDF &pdf) |
Casts a PDF object to a Uniform distribution if the PDF represents a Uniform distribution. More... | |
void | serialize (const PDF &gauss, problib::PDF &msg) |
void | serialize_discrete (const PMF &pmf, problib::PDF &msg) |
void | serialize_gaussian (const Gaussian &gauss, problib::PDF &msg) |
void | serialize_hybrid (const Hybrid &hybrid, problib::PDF &msg) |
void | serialize_mixture (const Mixture &mix, problib::PDF &msg) |
void | serialize_uniform (const Uniform &uniform, problib::PDF &msg) |
std::string | typeToName (PDF::PDFType type) |
typedef arma::mat pbl::Matrix |
Definition at line 46 of file datatypes.h.
typedef arma::vec pbl::Vector |
Definition at line 44 of file datatypes.h.
PDF * pbl::deserialize | ( | const problib::PDF & | msg, |
int | type, | ||
int & | i_data | ||
) |
Definition at line 159 of file conversions.cpp.
PMF * pbl::deserialize_discrete | ( | const problib::PDF & | msg | ) |
Definition at line 267 of file conversions.cpp.
PDF * pbl::deserialize_exact | ( | const problib::PDF & | msg | ) |
Definition at line 316 of file conversions.cpp.
Gaussian * pbl::deserialize_gaussian | ( | const problib::PDF & | msg, |
int & | i_data | ||
) |
Definition at line 198 of file conversions.cpp.
Hybrid * pbl::deserialize_hybrid | ( | const problib::PDF & | msg, |
int & | i_data | ||
) |
Definition at line 300 of file conversions.cpp.
Mixture * pbl::deserialize_mixture | ( | const problib::PDF & | msg, |
int & | i_data | ||
) |
Definition at line 231 of file conversions.cpp.
Uniform * pbl::deserialize_uniform | ( | const problib::PDF & | msg, |
int & | i_data | ||
) |
Definition at line 255 of file conversions.cpp.
Gaussian * pbl::msgToGaussian | ( | const problib::PDF & | msg | ) |
Mixture * pbl::msgToMixture | ( | const problib::PDF & | msg | ) |
PDF * pbl::msgToPDF | ( | const problib::PDF & | msg | ) |
PMF * pbl::msgToPMF | ( | const problib::PDF & | msg | ) |
Definition at line 116 of file conversions.cpp.
void pbl::PDFtoMsg | ( | const PDF & | pdf, |
problib::PDF & | msg | ||
) |
Converts a PDF object to a ROS message.
The PDF to be converter | |
msg | Reference to the message that will be filled with the PDF information |
Definition at line 41 of file conversions.cpp.
problib::PDF pbl::PDFtoMsg | ( | const PDF & | ) |
Converts a PDF object to a ROS message.
The PDF to be converter |
Definition at line 52 of file conversions.cpp.
void pbl::serialize | ( | const PDF & | gauss, |
problib::PDF & | msg | ||
) |
Definition at line 140 of file conversions.cpp.
void pbl::serialize_discrete | ( | const PMF & | pmf, |
problib::PDF & | msg | ||
) |
Definition at line 261 of file conversions.cpp.
void pbl::serialize_gaussian | ( | const Gaussian & | gauss, |
problib::PDF & | msg | ||
) |
Definition at line 176 of file conversions.cpp.
void pbl::serialize_hybrid | ( | const Hybrid & | hybrid, |
problib::PDF & | msg | ||
) |
Definition at line 278 of file conversions.cpp.
void pbl::serialize_mixture | ( | const Mixture & | mix, |
problib::PDF & | msg | ||
) |
Definition at line 216 of file conversions.cpp.
void pbl::serialize_uniform | ( | const Uniform & | uniform, |
problib::PDF & | msg | ||
) |
Definition at line 250 of file conversions.cpp.
std::string pbl::typeToName | ( | PDF::PDFType | type | ) |
Definition at line 123 of file conversions.cpp.