Skip to content
Snippets Groups Projects
Commit bc562a64 authored by Angel Santamaria-Navarro's avatar Angel Santamaria-Navarro
Browse files

trying to fix segfault ony with ROS

parent 3f45300e
No related branches found
No related tags found
No related merge requests found
......@@ -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
# ********************************************************************
......
......@@ -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;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment