remove file data_convert
This commit is contained in:
@@ -35,7 +35,7 @@
|
||||
#include <sensor_msgs/point_cloud2_iterator.h>
|
||||
#include <Eigen/Eigen>
|
||||
#include <Eigen/Geometry>
|
||||
#include <tf3_sensor_msgs/data_convert.h>
|
||||
#include <data_convert/data_convert.h>
|
||||
|
||||
namespace tf3
|
||||
{
|
||||
@@ -52,7 +52,7 @@ namespace tf3
|
||||
*/
|
||||
template <>
|
||||
inline
|
||||
const tf3::Time& getTimestamp(const sensor_msgs::PointCloud2& p) {return convertTime(p.header.stamp);}
|
||||
const tf3::Time& getTimestamp(const sensor_msgs::PointCloud2& p) {return data_convert::convertTime(p.header.stamp);}
|
||||
|
||||
/** \brief Extract a frame ID from the header of a PointCloud2 message.
|
||||
* This function is a specialization of the getFrameId template defined in tf3/convert.h.
|
||||
@@ -71,7 +71,7 @@ void doTransform(const sensor_msgs::PointCloud2 &p_in, sensor_msgs::PointCloud2
|
||||
{
|
||||
p_out = p_in;
|
||||
p_out.header.seq = p_in.header.seq;
|
||||
p_out.header.stamp = tf3::convertTime(t_in.header.stamp);
|
||||
p_out.header.stamp = data_convert::convertTime(t_in.header.stamp);
|
||||
p_out.header.frame_id = t_in.header.frame_id;
|
||||
Eigen::Transform<float,3,Eigen::Isometry> t = Eigen::Translation3f(t_in.transform.translation.x, t_in.transform.translation.y,
|
||||
t_in.transform.translation.z) * Eigen::Quaternion<float>(
|
||||
|
||||
Reference in New Issue
Block a user