Merge branch develop
This commit is contained in:
@@ -56,9 +56,6 @@ checkPackage("sensor_msgs" "")
|
||||
checkPackage("std_msgs" "")
|
||||
checkPackage("tf" "")
|
||||
|
||||
find_package(OpenCV REQUIRED)
|
||||
message(STATUS "Found OpenCV: ${OpenCV_VERSION}")
|
||||
|
||||
## messages
|
||||
|
||||
add_message_files(
|
||||
@@ -82,14 +79,20 @@ catkin_package(
|
||||
|
||||
get_filename_component(SDK_DIR "${PROJECT_SOURCE_DIR}/../../../.." ABSOLUTE)
|
||||
|
||||
LIST(APPEND CMAKE_PREFIX_PATH ${SDK_DIR}/third_party/glog/_build)
|
||||
find_package(glog REQUIRED)
|
||||
message(STATUS "Found glog: ${glog_VERSION}")
|
||||
|
||||
LIST(APPEND CMAKE_PREFIX_PATH ${SDK_DIR}/_install/lib/cmake)
|
||||
find_package(mynteye REQUIRED)
|
||||
message(STATUS "Found mynteye: ${mynteye_VERSION}")
|
||||
|
||||
if(NOT mynteye_WITH_API)
|
||||
message(FATAL_ERROR "Must with API layer :(")
|
||||
endif()
|
||||
|
||||
include(${SDK_DIR}/cmake/DetectOpenCV.cmake)
|
||||
|
||||
if(mynteye_WITH_GLOG)
|
||||
include(${SDK_DIR}/cmake/DetectGLog.cmake)
|
||||
endif()
|
||||
|
||||
# targets
|
||||
|
||||
add_compile_options(-std=c++11)
|
||||
|
||||
@@ -14,7 +14,7 @@
|
||||
#include <nodelet/loader.h>
|
||||
#include <ros/ros.h>
|
||||
|
||||
#include "mynteye/glog_init.h"
|
||||
#include "mynteye/logger.h"
|
||||
|
||||
int main(int argc, char *argv[]) {
|
||||
glog_init _(argc, argv);
|
||||
|
||||
@@ -28,8 +28,6 @@
|
||||
#include <mynt_eye_ros_wrapper/GetInfo.h>
|
||||
#include <mynt_eye_ros_wrapper/Temp.h>
|
||||
|
||||
#include <glog/logging.h>
|
||||
|
||||
#define _USE_MATH_DEFINES
|
||||
#include <cmath>
|
||||
#include <map>
|
||||
@@ -38,6 +36,7 @@
|
||||
#include "mynteye/api.h"
|
||||
#include "mynteye/context.h"
|
||||
#include "mynteye/device.h"
|
||||
#include "mynteye/logger.h"
|
||||
|
||||
#define FULL_PRECISION \
|
||||
std::fixed << std::setprecision(std::numeric_limits<double>::max_digits10)
|
||||
|
||||
Reference in New Issue
Block a user