small changes in Cmake
This commit is contained in:
parent
e1a1c3c3d0
commit
1ee6ca8294
|
@ -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;
|
||||
|
|
|
@ -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.
|
||||
|
|
Loading…
Reference in New Issue