From cde1e49e00aed36af004c27e031db68ced19ca66 Mon Sep 17 00:00:00 2001 From: Wolfgang Merkt Date: Thu, 13 Oct 2022 17:18:23 +0100 Subject: [PATCH] [canopen_motor_node] Address deprecated filter_chain.h header Backwards compatible with melodic --- canopen_motor_node/include/canopen_motor_node/handle_layer.h | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/canopen_motor_node/include/canopen_motor_node/handle_layer.h b/canopen_motor_node/include/canopen_motor_node/handle_layer.h index 931ef37a0..13617609a 100644 --- a/canopen_motor_node/include/canopen_motor_node/handle_layer.h +++ b/canopen_motor_node/include/canopen_motor_node/handle_layer.h @@ -7,7 +7,12 @@ #include #include #include +#include // for ROS_VERSION_MINIMUM +#if ROS_VERSION_MINIMUM(1, 15, 0) +#include +#else #include +#endif #include #include #include