I am trying to bring a Filter class into px4 library.
I modified CMakeLists.txt in lib folder to add sub directory by add_subdirectory(Filter)
In /src/lib/Filter, I also created CMakeLists.txt and added followingspx4_add_library(Filter LowPassFilter.cpp)
I sort of figured this out myself. I found filters in mathlib and I think additional filters can be added there too.
@Kyuhyong_You It would be great if you could share how you solved the problem