mirror of
https://github.com/MAPIRlab/rf2o_laser_odometry.git
synced 2023-04-06 19:28:55 +08:00
Changes to make it work with MRPT 1.9
- Added C++14 flag to CMakeLists.txt - Fixed conversion of CPoses
This commit is contained in:
@@ -26,15 +26,19 @@
|
||||
// MRPT related headers
|
||||
#include <mrpt/version.h>
|
||||
#if MRPT_VERSION>=0x130
|
||||
# include <mrpt/obs/CObservation2DRangeScan.h>
|
||||
# include <mrpt/obs/CObservation2DRangeScan.h>
|
||||
# include <mrpt/obs/CObservationOdometry.h>
|
||||
using namespace mrpt::obs;
|
||||
#else
|
||||
# include <mrpt/slam/CObservation2DRangeScan.h>
|
||||
# include <mrpt/slam/CObservation2DRangeScan.h>
|
||||
# include <mrpt/slam/CObservationOdometry.h>
|
||||
using namespace mrpt::slam;
|
||||
#endif
|
||||
#include <mrpt/system/threads.h>
|
||||
|
||||
#if MRPT_VERSION<0x150
|
||||
# include <mrpt/system/threads.h>
|
||||
#endif
|
||||
|
||||
#include <mrpt/system/os.h>
|
||||
#include <mrpt/poses/CPose3D.h>
|
||||
#include <mrpt/utils.h>
|
||||
|
||||
Reference in New Issue
Block a user