Skip to content

Commit

Permalink
Use old header in older version
Browse files Browse the repository at this point in the history
  • Loading branch information
sjahr committed Aug 23, 2024
1 parent 592d0be commit b006383
Showing 1 changed file with 4 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,11 @@
#include <rclcpp/rclcpp.hpp>
#include <tf2_ros/transform_listener.h>
#include <tf2_ros/message_filter.h>
#if RCLCPP_VERSION_GTE(28, 0, 0) // Rolling
#include <message_filters/subscriber.hpp>
#else
#include <message_filters/subscriber.h> // Older versions
#endif
#include <sensor_msgs/msg/point_cloud2.hpp>
#include <moveit/occupancy_map_monitor/occupancy_map_updater.h>
#include <moveit/point_containment_filter/shape_mask.h>
Expand Down

0 comments on commit b006383

Please sign in to comment.