Skip to content

Commit 3dd34e1

Browse files
Update header files (#12)
* Update header files * Fix header order --------- Co-authored-by: Stephen Williams <[email protected]>
1 parent 8342acf commit 3dd34e1

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,8 @@ does limit its use to a single output type, so I've had to make a guess as to th
77

88
For example:
99
```
10-
#include <tf2_2d/tf2_2d.h> // This header includes the tf2 conversion functions
11-
#include <tf2_2d/transform.h> // Then include what you use
10+
#include <tf2_2d/tf2_2d.hpp> // This header includes the tf2 conversion functions
11+
#include <tf2_2d/transform.hpp> // Then include what you use
1212
1313
// Convert a tf2_2d object into a 3D message
1414
auto transform_2d = tf2_2d::Transform(1.0, 1.5, 2.0);

include/tf2_2d/tf2_2d.hpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,6 @@
3535
#define TF2_2D__TF2_2D_HPP_
3636

3737
#include <Eigen/Core>
38-
#include <tf2_ros/buffer_interface.h>
3938

4039
#include <array>
4140
#include <cmath>
@@ -59,6 +58,7 @@
5958
#include <tf2_2d/transform.hpp>
6059
#include <tf2_2d/vector2.hpp>
6160
#include <tf2_geometry_msgs/tf2_geometry_msgs.hpp>
61+
#include <tf2_ros/buffer_interface.hpp>
6262

6363
#include <boost/array.hpp>
6464

test/test_conversions.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,6 @@
3333
*/
3434
#include <Eigen/Core>
3535
#include <gtest/gtest.h>
36-
#include <tf2_ros/buffer_interface.h>
3736

3837
#include <boost/array.hpp>
3938
#include <geometry_msgs/msg/quaternion.hpp>
@@ -54,6 +53,7 @@
5453
#include <tf2_2d/tf2_2d.hpp>
5554
#include <tf2_2d/transform.hpp>
5655
#include <tf2_2d/vector2.hpp>
56+
#include <tf2_ros/buffer_interface.hpp>
5757

5858

5959
TEST(Conversions, Vector2)

0 commit comments

Comments
 (0)