35     arch[
"pose_pdf"] = pdf1;
    43     std::cout << arch << std::endl;
    59     arch2[
"pose_pdf"].readTo(pdf2);
    61     arch2[
"pose"].readTo(p2);
    63     std::cout << 
"read pose:" << p2.
asString() << std::endl;
    74     catch (
const std::exception& e)
    81         printf(
"Untyped exception!");
    86 #if 0  // code disabled, only present as an example for the docs:    89 #include <json/json.h>    95         std::make_unique<CSchemeArchive<Json::Value>>(
val));
   103     std::stringstream ss;
   105     std::cout << 
val << std::endl;
 void asString(std::string &s) const
Returns a human-readable textual representation of the object (eg: "[x y yaw]", yaw in degrees) ...
Virtual base class for "schematic archives" (JSON, XML,...) 
CMatrixFixed< double, 3, 3 > CMatrixDouble33
Declares a class that represents a Probability Density function (PDF) of a 2D pose ...
constexpr double DEG2RAD(const double x)
Degrees to radians. 
void WriteAndReadExample()
[example] 
A class used to store a 2D pose, including the 2D coordinate point and a heading (phi) angle...
std::string exception_to_str(const std::exception &e)
Builds a nice textual representation of a nested exception, which if generated using MRPT macros (THR...
CSchemeArchiveBase archiveJSON()
Returns an archive for reading/writing in JSON format.