Skip to content
Merged
Show file tree
Hide file tree
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
14 changes: 14 additions & 0 deletions patch/ros-humble-imu-complementary-filter.patch
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
diff --git a/CMakeLists.txt b/CMakeLists.txt
index cd1d015..91cb66d 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -36,6 +36,9 @@ ament_target_dependencies(complementary_filter
# Causes the visibility macros to use dllexport rather than dllimport,
# which is appropriate when building the dll but not consuming it.
target_compile_definitions(complementary_filter PRIVATE "IMU_COMPLEMENTARY_FILTER_BUILDING_LIBRARY")
+if(WIN32 AND MSVC)
+ set_target_properties(complementary_filter PROPERTIES WINDOWS_EXPORT_ALL_SYMBOLS ON)
+endif()

# create complementary_filter_node executable
add_executable(complementary_filter_node
1 change: 1 addition & 0 deletions vinca.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -312,6 +312,7 @@ packages_select_by_deps:
- cartographer_ros
# Requested in https://github.com/RoboStack/ros-humble/issues/325
- data_tamer_cpp
- imu_tools

# These packages are only built on Linux as they depend on Linux-specific API
- if: linux
Expand Down
Loading