remove file data_convert
This commit is contained in:
@@ -1,7 +1,8 @@
|
||||
#include <costmap_2d/directional_layer.h>
|
||||
#include <costmap_2d/data_convert.h>
|
||||
#include <data_convert/data_convert.h>
|
||||
#include <tf3/convert.h>
|
||||
#include <tf3/utils.h>
|
||||
#include <tf3_geometry_msgs/tf3_geometry_msgs.h>
|
||||
|
||||
#include <boost/dll/alias.hpp>
|
||||
|
||||
@@ -134,7 +135,7 @@ namespace costmap_2d
|
||||
return false;
|
||||
}
|
||||
// Convert to yaw
|
||||
tf3::Quaternion quaternion = convertQuaternion(p.pose.orientation);
|
||||
tf3::Quaternion quaternion = data_convert::convertQuaternion(p.pose.orientation);
|
||||
double theta = tf3::getYaw(quaternion);
|
||||
unsigned char value = laneFilter(mx, my, theta);
|
||||
if (get_success)
|
||||
@@ -413,7 +414,7 @@ namespace costmap_2d
|
||||
}
|
||||
// Copy map data given proper transformations
|
||||
tf3::Transform tf3_transform;
|
||||
tf3_transform = convertTotf3Transform(transformMsg.transform);
|
||||
tf3_transform = data_convert::convertTotf3Transform(transformMsg.transform);
|
||||
x = tf3_transform.getOrigin().x();
|
||||
y = tf3_transform.getOrigin().y();
|
||||
// Extract the rotation as a quaternion from the transform
|
||||
|
||||
Reference in New Issue
Block a user