diff --git a/CMakeLists.txt b/CMakeLists.txt index 1fba2e990465fda1b8913d35f2f5d9a227dc088e..14d489534a4f6e52d6fa06e446690952e01aa63c 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -84,8 +84,6 @@ include_directories(${mvbluefox3_INCLUDE_DIR}) include_directories(${mvIMPACT_INCLUDE_DIR}) # include_directories(${<dependency>_INCLUDE_DIR}) -MESSAGE(STATUS ${mvbluefox3_INCLUDE_DIR}) - ## Declare a cpp library # add_library(${PROJECT_NAME} <list of source files>) @@ -99,7 +97,7 @@ target_link_libraries(${PROJECT_NAME} ${catkin_LIBRARIES}) target_link_libraries(${PROJECT_NAME} ${mvbluefox3_LIBRARY}) target_link_libraries(${PROJECT_NAME} ${mvIMPACT_LIBRARY}) # target_link_libraries(${PROJECT_NAME} ${<dependency>_LIBRARY}) - + # ******************************************************************** # Add message headers dependencies # ******************************************************************** diff --git a/src/mvbluefox3_camera_alg.cpp b/src/mvbluefox3_camera_alg.cpp index 8e4b07855606c5ee8cf2c556d1300c8bc45a3ec9..66dce97341b52f8489b90d081f11979ac9de9830 100644 --- a/src/mvbluefox3_camera_alg.cpp +++ b/src/mvbluefox3_camera_alg.cpp @@ -28,7 +28,7 @@ void Mvbluefox3CameraAlgorithm::StartDriver(const std::string &serial) { try { - this->cam_ptr_ = new CMvbluefox3::CMvbluefox3("F0300141"); + this->cam_ptr_ = new CMvbluefox3::CMvbluefox3(serial); }catch (CMvbluefox3::CmvBlueFOX3Exception& e) { std::cout << e.what() << std::endl;