10 #include <gtest/gtest.h> 18 #include <mrpt/config.h> 20 #include <json/json.h> 26 TEST(SchemaSerialization, JSON_archive)
33 auto pos = ss.str().find(
"\"datatype\" : \"mrpt::poses::CPose2D\"");
49 TEST(SchemaSerialization, JSON_raw)
58 auto pos = ss.str().find(
"\"datatype\" : \"mrpt::poses::CPose2D\"");
EXPECT_TRUE(mrpt::system::fileExists(ini_fil))
Virtual base class for "schematic archives" (JSON, XML,...)
TEST(ICP_SLAM_App, MapFromRawlog_PointMap)
Base template class for schema-capable "archives", e.g.
A class used to store a 2D pose, including the 2D coordinate point and a heading (phi) angle...
EXPECT_NEAR(out.cam_params.rightCameraPose.x, 0.1194, 0.005)
CSchemeArchiveBase archiveJSON()
Returns an archive for reading/writing in JSON format.