Skip to content

Commit

Permalink
Fixed tf2_geometry_msgs header file suffix for galactic
Browse files Browse the repository at this point in the history
  • Loading branch information
adeguet1 committed Nov 20, 2024
1 parent 80ae7fd commit a12edfa
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion ros_modules/ambf_server/include/ambf_server/ambf_ral.h
Original file line number Diff line number Diff line change
Expand Up @@ -175,7 +175,11 @@ namespace ambf_ral {
#include <std_msgs/msg/empty.hpp>
#include <std_msgs/msg/float32.hpp>
#include <sensor_msgs/msg/point_cloud.hpp>
#include <tf2_geometry_msgs/tf2_geometry_msgs.hpp>
#if (ROS_DISTRO == ROS_GALACTIC)
#include <tf2_geometry_msgs/tf2_geometry_msgs.h>
#else
#include <tf2_geometry_msgs/tf2_geometry_msgs.hpp>
#endif

#include <ambf_msgs/msg/object_state.hpp>
#include <ambf_msgs/msg/object_cmd.hpp>
Expand Down

0 comments on commit a12edfa

Please sign in to comment.