Classes | Typedefs | Functions
pbl Namespace Reference

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  PDF
 
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

PDFdeserialize (const problib::PDF &msg, int type, int &i_data)
 
PMFdeserialize_discrete (const problib::PDF &msg)
 
PDFdeserialize_exact (const problib::PDF &msg)
 
Gaussiandeserialize_gaussian (const problib::PDF &msg, int &i_data)
 
Hybriddeserialize_hybrid (const problib::PDF &msg, int &i_data)
 
Mixturedeserialize_mixture (const problib::PDF &msg, int &i_data)
 
Uniformdeserialize_uniform (const problib::PDF &msg, int &i_data)
 
GaussianmsgToGaussian (const problib::PDF &msg)
 Converts a PDF ROS message to a Gaussian object if the message represents a Gaussian. More...
 
MixturemsgToMixture (const problib::PDF &msg)
 Converts a PDF ROS message to a Mixture object if the message represents a Mixture. More...
 
PDFmsgToPDF (const problib::PDF &msg)
 Converts a PDF ROS message to a PDF object. More...
 
PMFmsgToPMF (const problib::PDF &msg)
 Converts a PDF ROS message to a PMF object if the message represents a PMF. More...
 
const GaussianPDFtoGaussian (const PDF &pdf)
 Casts a PDF object to a Gaussian if the PDF represents a Gaussian. More...
 
const HybridPDFtoHybrid (const PDF &pdf)
 
const MixturePDFtoMixture (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 PMFPDFtoPMF (const PDF &pdf)
 Casts a PDF object to a PMF if the PDF represents a PMF. More...
 
const UniformPDFtoUniform (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 Documentation

Definition at line 46 of file datatypes.h.

Definition at line 44 of file datatypes.h.

Function Documentation

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)

Converts a PDF ROS message to a Gaussian object if the message represents a Gaussian.

Parameters
msgThe PDF ROS message
Returns
Pointer to the PDF object if conversion was successful (only if the message represents a Gaussian); 0 otherwise

Definition at line 63 of file conversions.cpp.

Mixture * pbl::msgToMixture ( const problib::PDF &  msg)

Converts a PDF ROS message to a Mixture object if the message represents a Mixture.

Parameters
msgThe PDF ROS message
Returns
Pointer to the PDF object if conversion was successful (only if the message represents a Mixture); 0 otherwise

Definition at line 71 of file conversions.cpp.

PDF * pbl::msgToPDF ( const problib::PDF &  msg)

Converts a PDF ROS message to a PDF object.

Parameters
msgThe PDF ROS message
Returns
Pointer to the PDF object if conversion was successful; 0 otherwise

Definition at line 58 of file conversions.cpp.

PMF * pbl::msgToPMF ( const problib::PDF &  msg)

Converts a PDF ROS message to a PMF object if the message represents a PMF.

Parameters
msgThe PDF ROS message
Returns
Pointer to the PDF object if conversion was successful (only if the message represents a PMF); 0 otherwise

Definition at line 79 of file conversions.cpp.

const Gaussian * pbl::PDFtoGaussian ( const PDF pdf)

Casts a PDF object to a Gaussian if the PDF represents a Gaussian.

Parameters
msgThe PDF object
Returns
Pointer to the PDF object if casting was successful; 0 otherwise

Definition at line 93 of file conversions.cpp.

const Hybrid* pbl::PDFtoHybrid ( const PDF pdf)

Definition at line 116 of file conversions.cpp.

const Mixture * pbl::PDFtoMixture ( const PDF pdf)

Casts a PDF object to a Mixture if the PDF represents a Mixture.

Parameters
msgThe PDF object
Returns
Pointer to the PDF object if casting was successful; 0 otherwise

Definition at line 86 of file conversions.cpp.

void pbl::PDFtoMsg ( const PDF pdf,
problib::PDF &  msg 
)

Converts a PDF object to a ROS message.

Parameters
pdfThe PDF to be converter
msgReference 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 pdf)

Converts a PDF object to a ROS message.

Parameters
pdfThe PDF to be converter
Returns
The PDF ROS Message

Definition at line 52 of file conversions.cpp.

const PMF * pbl::PDFtoPMF ( const PDF pdf)

Casts a PDF object to a PMF if the PDF represents a PMF.

Parameters
msgThe PDF object
Returns
Pointer to the PDF object if casting was successful; 0 otherwise

Definition at line 109 of file conversions.cpp.

const Uniform * pbl::PDFtoUniform ( const PDF pdf)

Casts a PDF object to a Uniform distribution if the PDF represents a Uniform distribution.

Parameters
msgThe PDF object
Returns
Pointer to the PDF object if casting was successful; 0 otherwise

Definition at line 101 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.



problib
Author(s): Sjoerd van den Dries, Jos Elfring
autogenerated on Fri Apr 16 2021 02:32:19