Skip to content

Commit

Permalink
[canopen_motor_node] Address deprecated filter_chain.h header
Browse files Browse the repository at this point in the history
Backwards compatible with melodic
  • Loading branch information
wxmerkt committed Oct 13, 2022
1 parent 7912343 commit cde1e49
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions canopen_motor_node/include/canopen_motor_node/handle_layer.h
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,12 @@
#include <atomic>
#include <functional>
#include <boost/thread/mutex.hpp>
#include <ros/common.h> // for ROS_VERSION_MINIMUM
#if ROS_VERSION_MINIMUM(1, 15, 0)
#include <filters/filter_chain.hpp>
#else
#include <filters/filter_chain.h>
#endif
#include <hardware_interface/joint_command_interface.h>
#include <hardware_interface/joint_state_interface.h>
#include <joint_limits_interface/joint_limits_interface.h>
Expand Down

0 comments on commit cde1e49

Please sign in to comment.