Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Enable build of ICP correction w/ PCL #1

Merged
merged 1 commit into from
May 28, 2021
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
15 changes: 6 additions & 9 deletions src/object-tracking/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ find_package(Eigen3 REQUIRED)
find_package(OpenCV REQUIRED)

# PCL
# find_package(PCL REQUIRED)
find_package(PCL REQUIRED)

# YARP
find_package(YARP CONFIG REQUIRED
Expand Down Expand Up @@ -59,7 +59,7 @@ set(${EXE_TARGET_NAME}_HDR
set(${EXE_TARGET_NAME}_SRC
src/Camera.cpp
src/Correction.cpp
# src/CorrectionICP.cpp
src/CorrectionICP.cpp
src/DiscretizedKinematicModel.cpp
src/InitGroundTruth.cpp
src/MaskSegmentation.cpp
Expand Down Expand Up @@ -97,13 +97,10 @@ target_link_libraries(${EXE_TARGET_NAME}
${OpenCV_LIBS}
)

# target_link_libraries(${EXE_TARGET_NAME} PRIVATE ${PCL_LIBRARIES})
# target_include_directories(${EXE_TARGET_NAME} PRIVATE ${PCL_INCLUDE_DIRS})
# target_compile_definitions(${EXE_TARGET_NAME} PRIVATE ${PCL_DEFINITIONS})
# target_compile_options(${EXE_TARGET_NAME} PRIVATE ${PCL_COMPILE_OPTIONS})

# target_compile_definitions(CameraLibrary PRIVATE ${PCL_DEFINITIONS})
# target_compile_options(CameraLibrary PRIVATE ${PCL_COMPILE_OPTIONS})
target_link_libraries(${EXE_TARGET_NAME} PRIVATE ${PCL_LIBRARIES})
target_include_directories(${EXE_TARGET_NAME} PRIVATE ${PCL_INCLUDE_DIRS})
target_compile_definitions(${EXE_TARGET_NAME} PRIVATE ${PCL_DEFINITIONS})
target_compile_options(${EXE_TARGET_NAME} PRIVATE ${PCL_COMPILE_OPTIONS})

# file(GLOB ${EXE_TARGET_NAME}_YCB_MODELS ${CMAKE_CURRENT_SOURCE_DIR}/models/*)

Expand Down