Skip to content

Commit b9718b1

Browse files
committed
Add patch for imu_tools package
1 parent 3cd1c60 commit b9718b1

File tree

2 files changed

+15
-0
lines changed

2 files changed

+15
-0
lines changed
Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
diff --git a/CMakeLists.txt b/CMakeLists.txt
2+
index cd1d015..91cb66d 100644
3+
--- a/CMakeLists.txt
4+
+++ b/CMakeLists.txt
5+
@@ -36,6 +36,9 @@ ament_target_dependencies(complementary_filter
6+
# Causes the visibility macros to use dllexport rather than dllimport,
7+
# which is appropriate when building the dll but not consuming it.
8+
target_compile_definitions(complementary_filter PRIVATE "IMU_COMPLEMENTARY_FILTER_BUILDING_LIBRARY")
9+
+if(WIN32 AND MSVC)
10+
+ set_target_properties(complementary_filter PROPERTIES WINDOWS_EXPORT_ALL_SYMBOLS ON)
11+
+endif()
12+
13+
# create complementary_filter_node executable
14+
add_executable(complementary_filter_node

vinca.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -312,6 +312,7 @@ packages_select_by_deps:
312312
- cartographer_ros
313313
# Requested in https://github.com/RoboStack/ros-humble/issues/325
314314
- data_tamer_cpp
315+
- imu_tools
315316

316317
# These packages are only built on Linux as they depend on Linux-specific API
317318
- if: linux

0 commit comments

Comments
 (0)