Skip to content

Commit

Permalink
Handling issue with tf2 circular dependency (#4)
Browse files Browse the repository at this point in the history
* Handling issue with tf2 circular dependency and other warnings
  • Loading branch information
ayrton04 authored Jul 14, 2021
1 parent a9a55bc commit 6b8abcc
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 1 deletion.
4 changes: 3 additions & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
cmake_minimum_required(VERSION 2.8.3)
cmake_minimum_required(VERSION 3.0.2)
project(tf2_2d)

add_compile_options(-std=c++14)
Expand All @@ -8,6 +8,7 @@ add_compile_options(-Werror)
find_package(catkin REQUIRED COMPONENTS
roscpp
tf2
tf2_geometry_msgs
)
find_package(Eigen3 REQUIRED)

Expand All @@ -17,6 +18,7 @@ catkin_package(
CATKIN_DEPENDS
roscpp
tf2
tf2_geometry_msgs
DEPENDS
EIGEN3
)
Expand Down
1 change: 1 addition & 0 deletions include/tf2_2d/tf2_2d.h
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,7 @@
#include <tf2_2d/rotation.h>
#include <tf2_2d/transform.h>
#include <tf2_2d/vector2.h>
#include <tf2_geometry_msgs/tf2_geometry_msgs.h>

#include <boost/array.hpp>
#include <Eigen/Core>
Expand Down
1 change: 1 addition & 0 deletions package.xml
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@
<depend>eigen</depend>
<depend>roscpp</depend>
<depend>tf2</depend>
<depend>tf2_geometry_msgs</depend>

<test_depend>roslint</test_depend>
</package>

0 comments on commit 6b8abcc

Please sign in to comment.