Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
V
VisionX
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Software
ArmarX
VisionX
Commits
cd3d3e07
Commit
cd3d3e07
authored
2 years ago
by
Fabian Reister
Browse files
Options
Downloads
Patches
Plain Diff
cmakelists: ARMARX_ENABLE_AZURE_KINECT_BODY_TRACKING to disable the body tracking by default
parent
9ae35976
No related branches found
No related tags found
1 merge request
!141
feature: Azure Kinect Body Tracking SDK
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
source/VisionX/components/pointcloud_provider/AzureKinectPointCloudProvider/CMakeLists.txt
+10
-6
10 additions, 6 deletions
...oud_provider/AzureKinectPointCloudProvider/CMakeLists.txt
with
10 additions
and
6 deletions
source/VisionX/components/pointcloud_provider/AzureKinectPointCloudProvider/CMakeLists.txt
+
10
−
6
View file @
cd3d3e07
...
...
@@ -13,13 +13,17 @@ set(COMPONENT_LIBS ArmarXCore ArmarXCoreObservers RobotAPIInterfaces VisionXInte
set
(
SOURCES AzureKinectPointCloudProvider.cpp
)
set
(
HEADERS AzureKinectPointCloudProvider.h
)
armarx_add_component
(
"
${
SOURCES
}
"
"
${
HEADERS
}
"
)
if
(
k4a_FOUND
)
target_include_directories
(
AzureKinectPointCloudProvider PUBLIC
${
k4a_INCLUDE_DIR
}
)
endif
()
if
(
k4abt_FOUND
)
target_link_libraries
(
AzureKinectPointCloudProvider PUBLIC k4abt::k4abt
)
target_compile_definitions
(
AzureKinectPointCloudProvider PUBLIC INCLUDE_BODY_TRACKING
)
option
(
ARMARX_ENABLE_AZURE_KINECT_BODY_TRACKING
""
OFF
)
if
(
ARMARX_ENABLE_AZURE_KINECT_BODY_TRACKING
)
message
(
STATUS
"Azure Kinect Body Tracking enabled by user"
)
if
(
k4abt_FOUND
)
target_link_libraries
(
AzureKinectPointCloudProvider PUBLIC k4abt::k4abt
)
target_compile_definitions
(
AzureKinectPointCloudProvider PUBLIC INCLUDE_BODY_TRACKING
)
endif
()
endif
()
# add unit tests
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment