|
33 | 33 | #ifndef VELODYNE_POINTCLOUD__DATACONTAINERBASE_HPP_ |
34 | 34 | #define VELODYNE_POINTCLOUD__DATACONTAINERBASE_HPP_ |
35 | 35 |
|
36 | | -#include <tf2/LinearMath/Quaternion.hpp> |
37 | | -#include <tf2/LinearMath/Vector3.hpp> |
38 | | -#include <tf2/buffer_core.hpp> |
39 | | -#include <tf2/exceptions.hpp> |
40 | | -#include <tf2_ros/buffer.hpp> |
41 | | -#include <tf2_ros/transform_listener.hpp> |
42 | 36 |
|
43 | 37 | #include <Eigen/Core> |
44 | 38 | #include <Eigen/Geometry> |
|
48 | 42 | #include <memory> |
49 | 43 | #include <string> |
50 | 44 |
|
51 | | -#include <rclcpp/time.hpp> |
52 | 45 | #include <geometry_msgs/msg/transform_stamped.hpp> |
| 46 | +#include <rclcpp/time.hpp> |
53 | 47 | #include <sensor_msgs/msg/point_cloud2.hpp> |
54 | 48 | #include <sensor_msgs/point_cloud2_iterator.hpp> |
55 | | - |
| 49 | +#include <tf2/LinearMath/Quaternion.hpp> |
| 50 | +#include <tf2/LinearMath/Vector3.hpp> |
| 51 | +#include <tf2/buffer_core.hpp> |
| 52 | +#include <tf2/exceptions.hpp> |
| 53 | +#include <tf2_ros/buffer.hpp> |
| 54 | +#include <tf2_ros/transform_listener.hpp> |
56 | 55 | #include <velodyne_msgs/msg/velodyne_scan.hpp> |
57 | 56 |
|
58 | 57 | namespace velodyne_rawdata |
@@ -167,7 +166,7 @@ class DataContainerBase |
167 | 166 | } |
168 | 167 |
|
169 | 168 | // avoid doing transformation when sensor_frame equals target frame |
170 | | - // and no ego motion compensation is perfomed |
| 169 | + // and no ego motion compensation is performed |
171 | 170 | if (config_.fixed_frame.empty() && sensor_frame_ == config_.target_frame) { |
172 | 171 | // when the string is empty the points will not be transformed later on |
173 | 172 | config_.target_frame = ""; |
|
0 commit comments