Skip to content
Snippets Groups Projects
Commit 4bea6654 authored by Tommy Persson's avatar Tommy Persson
Browse files

Remove error print.

parent 0286b321
Branches master
No related tags found
No related merge requests found
Pipeline #46779 passed
......@@ -333,15 +333,15 @@ geometry_msgs::PointStamped GeoConvert::to_utm(geometry_msgs::PointStamped pin)
string utm_frame_id = get_utm_frame_id();
if (is_wgs84(pin.header.frame_id))
{
double easting;
double northing;
double easting = 0.0;
double northing = 0.0;
if (gps_convert_longlat_utm(pin.point.x, pin.point.y,
easting, northing)) {
res.header.frame_id = utm_frame_id;
res.point.x = easting;
res.point.y = northing;
} else {
cerr << "FAILED CONVERSION PointStamped to_utm";
// ROS_ERROR("FAILED CONVERSION PointStamped to_utm");
}
} else if (is_world(pin.header.frame_id))
{
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment