From a1d052b3fe224e105784abb1e6c1af32bb65d371 Mon Sep 17 00:00:00 2001 From: Matthijs van der Burgh Date: Mon, 11 Apr 2022 10:04:49 +0200 Subject: [PATCH] (laser) small cleanup of tf2 stuff --- ed_sensor_integration/CMakeLists.txt | 1 - ed_sensor_integration/package.xml | 1 - ed_sensor_integration/src/laser/laser_plugin.cpp | 4 +++- ed_sensor_integration/src/laser/laser_plugin.h | 6 +++++- 4 files changed, 8 insertions(+), 4 deletions(-) diff --git a/ed_sensor_integration/CMakeLists.txt b/ed_sensor_integration/CMakeLists.txt index dc078cd5..7362f2e5 100644 --- a/ed_sensor_integration/CMakeLists.txt +++ b/ed_sensor_integration/CMakeLists.txt @@ -8,7 +8,6 @@ find_package(catkin REQUIRED COMPONENTS geometry_msgs image_geometry sensor_msgs - tf2 tf2_ros tue_config tue_filesystem diff --git a/ed_sensor_integration/package.xml b/ed_sensor_integration/package.xml index b1f48eec..ae842d1f 100644 --- a/ed_sensor_integration/package.xml +++ b/ed_sensor_integration/package.xml @@ -19,7 +19,6 @@ geometry_msgs image_geometry sensor_msgs - tf2 tf2_ros tue_config tue_filesystem diff --git a/ed_sensor_integration/src/laser/laser_plugin.cpp b/ed_sensor_integration/src/laser/laser_plugin.cpp index aed11d15..7a28f595 100644 --- a/ed_sensor_integration/src/laser/laser_plugin.cpp +++ b/ed_sensor_integration/src/laser/laser_plugin.cpp @@ -12,12 +12,14 @@ #include #include +#include + #include #include #include -#include "tf2/transform_datatypes.h" +#include #include diff --git a/ed_sensor_integration/src/laser/laser_plugin.h b/ed_sensor_integration/src/laser/laser_plugin.h index dc44e972..83bbd933 100644 --- a/ed_sensor_integration/src/laser/laser_plugin.h +++ b/ed_sensor_integration/src/laser/laser_plugin.h @@ -11,13 +11,17 @@ #include #include #include -#include #include #include #include #include +namespace tf2_ros +{ +class TransformListener; +} + class LaserPlugin : public ed::Plugin {