Skip to content

Update header files #12

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 2 commits into
base: jazzy
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,8 @@ does limit its use to a single output type, so I've had to make a guess as to th

For example:
```
#include <tf2_2d/tf2_2d.h> // This header includes the tf2 conversion functions
#include <tf2_2d/transform.h> // Then include what you use
#include <tf2_2d/tf2_2d.hpp> // This header includes the tf2 conversion functions
#include <tf2_2d/transform.hpp> // Then include what you use

// Convert a tf2_2d object into a 3D message
auto transform_2d = tf2_2d::Transform(1.0, 1.5, 2.0);
Expand Down
2 changes: 1 addition & 1 deletion include/tf2_2d/tf2_2d.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,6 @@
#define TF2_2D__TF2_2D_HPP_

#include <Eigen/Core>
#include <tf2_ros/buffer_interface.h>

#include <array>
#include <cmath>
Expand All @@ -59,6 +58,7 @@
#include <tf2_2d/transform.hpp>
#include <tf2_2d/vector2.hpp>
#include <tf2_geometry_msgs/tf2_geometry_msgs.hpp>
#include <tf2_ros/buffer_interface.hpp>

#include <boost/array.hpp>

Expand Down
2 changes: 1 addition & 1 deletion test/test_conversions.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,6 @@
*/
#include <Eigen/Core>
#include <gtest/gtest.h>
#include <tf2_ros/buffer_interface.h>

#include <boost/array.hpp>
#include <geometry_msgs/msg/quaternion.hpp>
Expand All @@ -54,6 +53,7 @@
#include <tf2_2d/tf2_2d.hpp>
#include <tf2_2d/transform.hpp>
#include <tf2_2d/vector2.hpp>
#include <tf2_ros/buffer_interface.hpp>


TEST(Conversions, Vector2)
Expand Down