diff --git a/patch/ros-humble-imu-complementary-filter.patch b/patch/ros-humble-imu-complementary-filter.patch new file mode 100644 index 000000000..a1a5cf957 --- /dev/null +++ b/patch/ros-humble-imu-complementary-filter.patch @@ -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 diff --git a/vinca.yaml b/vinca.yaml index cf2318d9f..74f11c5a2 100644 --- a/vinca.yaml +++ b/vinca.yaml @@ -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