代码拉取完成,页面将自动刷新
同步操作将从 bill4u/imu_allan 强制同步,此操作会覆盖自 Fork 仓库以来所做的任何修改,且无法恢复!!!
确定后同步将在后台操作,完成时将刷新页面,请耐心等待。
cmake_minimum_required(VERSION 2.8.3)
project(imu_allan)
## Compile as C++11, supported in ROS Kinetic and newer
set(CMAKE_BUILD_TYPE "Release")
set(CMAKE_CXX_FLAGS "-std=c++11")
#-DEIGEN_USE_MKL_ALL")
set(CMAKE_CXX_FLAGS_RELEASE "-O3 -Wall -g -fPIC")
## Find catkin macros and libraries
## if COMPONENTS list like find_package(catkin REQUIRED COMPONENTS xyz)
## is used, also find other catkin packages
find_package(catkin REQUIRED
roscpp
std_msgs
geometry_msgs
nav_msgs
)
find_package(OpenCV REQUIRED)
find_package(Ceres REQUIRED)
find_package(Eigen3 REQUIRED)
include_directories(
${catkin_INCLUDE_DIRS}
${CERES_INCLUDE_DIRS}
${EIGEN3_INCLUDE_DIR}
)
add_library(code_utils STATIC src/code_utils/cv_utils.cc
src/code_utils/dlt.cpp
src/code_utils/linearpnp.cpp
src/code_utils/nonlinearpnp.cpp
src/code_utils/pnp.cpp
src/code_utils/Polynomial.cpp)
target_link_libraries(code_utils ${Boost_LIBRARIES} ${OpenCV_LIBS} ${CERES_LIBRARIES})
catkin_package(
INCLUDE_DIRS
LIBRARIES code_utils
CATKIN_DEPENDS roscpp std_msgs
)
set(ACC_LIB_SOURCE_FILES
${PROJECT_SOURCE_DIR}/src/acc_lib/allan_acc.cpp
${PROJECT_SOURCE_DIR}/src/acc_lib/fitallan_acc.cpp
)
set(GYR_LIB_SOURCE_FILES
${PROJECT_SOURCE_DIR}/src/gyr_lib/allan_gyr.cpp
${PROJECT_SOURCE_DIR}/src/gyr_lib/fitallan_gyr.cpp
)
add_executable(imu_an
src/imu_an.cpp
${GYR_LIB_SOURCE_FILES}
${ACC_LIB_SOURCE_FILES}
)
target_link_libraries(imu_an ${catkin_LIBRARIES} ${OpenCV_LIBS} ${CERES_LIBRARIES})
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。