From 465e0434a10ae61ed0628ace932712e10f4ca19f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Christoph=20Sch=C3=BCtte?= Date: Wed, 6 Dec 2017 10:53:31 +0100 Subject: [PATCH] Fix 0. constant to 0.0 to comply with YAML standard (#618) --- cartographer_ros/cartographer_ros/ros_map.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cartographer_ros/cartographer_ros/ros_map.cc b/cartographer_ros/cartographer_ros/ros_map.cc index 6dfc92f..82f9776 100644 --- a/cartographer_ros/cartographer_ros/ros_map.cc +++ b/cartographer_ros/cartographer_ros/ros_map.cc @@ -42,7 +42,7 @@ void WriteYaml(const double resolution, const Eigen::Vector2d& origin, "image: " + pgm_filename + "\n" + "resolution: " + std::to_string(resolution) + "\n" + "origin: [" + std::to_string(origin.x()) + ", " + std::to_string(origin.y()) + - ", 0.]\nnegate: 0\noccupied_thresh: 0.65\nfree_thresh: 0.196\n"; + ", 0.0]\nnegate: 0\noccupied_thresh: 0.65\nfree_thresh: 0.196\n"; file_writer->Write(output.data(), output.size()); }