Fix 0. constant to 0.0 to comply with YAML standard (#618)

master
Christoph Schütte 2017-12-06 10:53:31 +01:00 committed by GitHub
parent 718dee5c2c
commit 465e0434a1
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -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());
}