10 #include <gtest/gtest.h> 13 #include <test_mrpt_common.h> 16 TEST(CPointsMapXYZI, loadFromKittiVelodyneFile)
19 const string kitti_fil =
20 mrpt::UNITTEST_BASEDIR +
string(
"/tests/kitti_00_000000.bin.gz");
23 cerr <<
"WARNING: Skipping test due to missing file: " << kitti_fil
31 EXPECT_EQ(124668U, m.
size());
bool fileExists(const std::string &fileName)
Test if a given file (or directory) exists.
bool loadFromKittiVelodyneFile(const std::string &filename)
Loads from a Kitti dataset Velodyne scan binary file.
TEST(CPointsMapXYZI, loadFromKittiVelodyneFile)
GLsizei const GLchar ** string
A map of 3D points with reflectance/intensity (float).
size_t size() const
Returns the number of stored points in the map.