Skip to content

Commit

Permalink
fix tf2_geometry_msgs include not found (#107)
Browse files Browse the repository at this point in the history
  • Loading branch information
bertaveira authored Jul 11, 2022
1 parent 41a43e2 commit d3cd586
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion ros2_ouster/include/ros2_ouster/conversions.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,12 @@
#include "sensor_msgs/msg/imu.hpp"
#include "sensor_msgs/msg/laser_scan.hpp"
#include "tf2/LinearMath/Transform.h"
#include "tf2_geometry_msgs/tf2_geometry_msgs.hpp"
#ifdef TF2_CPP_HEADERS
#include <tf2_geometry_msgs/tf2_geometry_msgs.hpp>
#else
#include <tf2_geometry_msgs/tf2_geometry_msgs.h>
#endif

#include "ouster_msgs/msg/metadata.hpp"

#include "ros2_ouster/client/client.h"
Expand Down

0 comments on commit d3cd586

Please sign in to comment.