small changes in Cmake

This commit is contained in:
Vladyslav Usenko 2019-06-18 15:16:24 +02:00
parent e1a1c3c3d0
commit 1ee6ca8294
2 changed files with 9 additions and 2 deletions

View File

@ -77,8 +77,8 @@ void alignButton();
static const int knot_time = 3;
static const double obs_std_dev = 0.5;
static const double accel_std_dev = 0.23;
static const double gyro_std_dev = 0.0027;
static const double accel_std_dev = 0.5;
static const double gyro_std_dev = 0.008;
static const double accel_bias_std_dev = 0.00123;
static const double gyro_bias_std_dev = 0.000234;

View File

@ -18,6 +18,13 @@ set(BUILD_PANGOLIN_LIBREALSENSE2 OFF CACHE BOOL "Enable librealsense2")
set(EIGEN_INCLUDE_DIR "${EIGEN3_INCLUDE_DIR}")
set(EIGEN_INCLUDE_DIRS "${EIGEN3_INCLUDE_DIR}")
# Hack to disable march=native in opengv
macro(add_definitions)
if(NOT ${ARGV0} STREQUAL "-march=native")
_add_definitions(${ARGN})
endif()
endmacro()
add_subdirectory(opengv EXCLUDE_FROM_ALL)
# Hack to disable CPack in Pangolin.