Merge branch 'master' into separating_node_computation

This commit is contained in:
Javier G. Monroy
2018-11-21 13:13:03 +01:00
committed by GitHub
2 changed files with 11 additions and 4 deletions

View File

@@ -1,6 +1,13 @@
cmake_minimum_required(VERSION 2.8.3)
project(rf2o_laser_odometry)
set (CMAKE_CXX_STANDARD 14) # Require C++14
PROJECT(rf2o_laser_odometry)
CMAKE_MINIMUM_REQUIRED(VERSION 3.3)
# Require C++17
if(${CMAKE_VERSION} VERSION_LESS "3.8.0")
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -std=c++17")
else()
set(CMAKE_CXX_STANDARD 17)
endif()
## Find catkin macros and libraries
## if COMPONENTS list like find_package(catkin REQUIRED COMPONENTS xyz)
@@ -21,6 +28,7 @@ find_package(Boost REQUIRED COMPONENTS system)
find_package(cmake_modules REQUIRED)
find_package(Eigen3 REQUIRED)
find_package(MRPT REQUIRED base obs) # maps slam
#include_directories(${MRPT_INCLUDE_DIRS})
MESSAGE( STATUS "MRPT_INCLUDE_DIRS: " ${MRPT_INCLUDE_DIRS})
#link_directories(${MRPT_LIBRARY_DIRS})

View File

@@ -30,7 +30,6 @@
# include <mrpt/slam/CObservation2DRangeScan.h>
# include <mrpt/slam/CObservationOdometry.h>
typedef mrpt::poses::CObservation2DRangeScan CObservation2DRangeScan;
#endif
#if MRPT_VERSION<0x150