@@ -115,7 +115,6 @@ add_library(exponential_filter SHARED
115
115
target_compile_features (exponential_filter PUBLIC cxx_std_17 )
116
116
target_include_directories (exponential_filter PUBLIC
117
117
$< BUILD_INTERFACE:${CMAKE_CURRENT_SOURCE_DIR} /include>
118
- $< BUILD_INTERFACE:${EIGEN3_INCLUDE_DIR} >
119
118
$< INSTALL_INTERFACE:include/control_toolbox>
120
119
)
121
120
target_link_libraries (exponential_filter PUBLIC
@@ -148,6 +147,19 @@ if(BUILD_TESTING)
148
147
ament_target_dependencies (pid_publisher_tests rclcpp_lifecycle )
149
148
150
149
## Control Filters
150
+ # exponential_filter
151
+ add_rostest_with_parameters_gmock (test_exponential_filter test /control_filters/test_exponential_filter.cpp
152
+ ${CMAKE_CURRENT_SOURCE_DIR} /test/control_filters/test_exponential_filter_parameters.yaml
153
+ )
154
+ target_link_libraries (test_exponential_filter exponential_filter exponential_filter_parameters )
155
+ ament_target_dependencies (test_exponential_filter ${CONTROL_FILTERS_INCLUDE_DEPENDS} )
156
+ set_tests_properties (test_exponential_filter PROPERTIES TIMEOUT 2 )
157
+
158
+ ament_add_gmock (test_load_exponential_filter test /control_filters/test_load_exponential_filter.cpp )
159
+ target_link_libraries (test_load_exponential_filter exponential_filter exponential_filter_parameters )
160
+ ament_target_dependencies (test_load_exponential_filter ${CONTROL_FILTERS_INCLUDE_DEPENDS} )
161
+
162
+ # low_pass_filter
151
163
add_rostest_with_parameters_gmock (test_low_pass_filter test /control_filters/test_low_pass_filter.cpp
152
164
${CMAKE_CURRENT_SOURCE_DIR} /test/control_filters/test_low_pass_filter_parameters.yaml
153
165
)
@@ -177,6 +189,7 @@ install(
177
189
install (TARGETS control_toolbox
178
190
low_pass_filter low_pass_filter_parameters
179
191
rate_limiter rate_limiter_parameters
192
+ exponential_filter exponential_filter_parameters
180
193
EXPORT export_control_toolbox
181
194
ARCHIVE DESTINATION lib
182
195
LIBRARY DESTINATION lib
0 commit comments