Skip to content

Commit

Permalink
(laser) small cleanup of tf2 stuff
Browse files Browse the repository at this point in the history
  • Loading branch information
MatthijsBurgh committed Apr 11, 2022
1 parent 0fbd5cc commit a1d052b
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 4 deletions.
1 change: 0 additions & 1 deletion ed_sensor_integration/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@ find_package(catkin REQUIRED COMPONENTS
geometry_msgs
image_geometry
sensor_msgs
tf2
tf2_ros
tue_config
tue_filesystem
Expand Down
1 change: 0 additions & 1 deletion ed_sensor_integration/package.xml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,6 @@
<depend>geometry_msgs</depend>
<depend>image_geometry</depend>
<depend>sensor_msgs</depend>
<depend>tf2</depend>
<depend>tf2_ros</depend>
<depend>tue_config</depend>
<depend>tue_filesystem</depend>
Expand Down
4 changes: 3 additions & 1 deletion ed_sensor_integration/src/laser/laser_plugin.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -12,12 +12,14 @@
#include <geolib/ros/msg_conversions.h>
#include <geolib/Shape.h>

#include <geometry_msgs/TransformStamped.h>

#include <opencv2/imgproc/imgproc.hpp>

#include <ros/console.h>
#include <ros/node_handle.h>

#include "tf2/transform_datatypes.h"
#include <tf2_ros/transform_listener.h>

#include <iostream>

Expand Down
6 changes: 5 additions & 1 deletion ed_sensor_integration/src/laser/laser_plugin.h
Original file line number Diff line number Diff line change
Expand Up @@ -11,13 +11,17 @@
#include <ros/subscriber.h>
#include <ros/callback_queue.h>
#include <tf2_ros/buffer.h>
#include <tf2_ros/transform_listener.h>
#include <sensor_msgs/LaserScan.h>

#include <queue>
#include <map>
#include <memory>

namespace tf2_ros
{
class TransformListener;
}

class LaserPlugin : public ed::Plugin
{

Expand Down

0 comments on commit a1d052b

Please sign in to comment.