#include "nav-precomp.h"
#include <mrpt/nav/tpspace/CPTG_DiffDrive_CollisionGridBased.h>
#include <mrpt/utils/CFileGZInputStream.h>
#include <mrpt/utils/CFileGZOutputStream.h>
#include <mrpt/utils/CTicTac.h>
#include <mrpt/math/geometry.h>
#include <mrpt/utils/stl_serialization.h>
#include <mrpt/kinematics/CVehicleVelCmd_DiffDriven.h>
Go to the source code of this file.
Macros | |
#define | READ_UINT16_CHECK_IT_MATCHES_STORED(_VAR) { uint16_t ff; *f >> ff; if (ff!=_VAR) return false; } |
#define | READ_FLOAT_CHECK_IT_MATCHES_STORED(_VAR) { float ff; *f >> ff; if (std::abs(ff-_VAR)>1e-4f) return false; } |
#define | READ_DOUBLE_CHECK_IT_MATCHES_STORED(_VAR) { double ff; *f >> ff; if (std::abs(ff-_VAR)>1e-6) return false; } |
Variables | |
const uint32_t | COLGRID_FILE_MAGIC = 0xC0C0C0C3 |
#define READ_DOUBLE_CHECK_IT_MATCHES_STORED | ( | _VAR | ) | { double ff; *f >> ff; if (std::abs(ff-_VAR)>1e-6) return false; } |
#define READ_FLOAT_CHECK_IT_MATCHES_STORED | ( | _VAR | ) | { float ff; *f >> ff; if (std::abs(ff-_VAR)>1e-4f) return false; } |
#define READ_UINT16_CHECK_IT_MATCHES_STORED | ( | _VAR | ) | { uint16_t ff; *f >> ff; if (ff!=_VAR) return false; } |
const uint32_t COLGRID_FILE_MAGIC = 0xC0C0C0C3 |
Definition at line 350 of file CPTG_DiffDrive_CollisionGridBased.cpp.
Referenced by mrpt::nav::CPTG_DiffDrive_CollisionGridBased::CCollisionGrid::loadFromFile(), and mrpt::nav::CPTG_DiffDrive_CollisionGridBased::CCollisionGrid::saveToFile().
Page generated by Doxygen 1.8.14 for MRPT 1.5.9 Git: 690a4699f Wed Apr 15 19:29:53 2020 +0200 at miƩ abr 15 19:30:12 CEST 2020 |