From 670d70601b1a59ef67ecf54a98032370136f5531 Mon Sep 17 00:00:00 2001 From: David St-Onge Date: Mon, 6 Aug 2018 15:00:38 -0400 Subject: [PATCH] data logging fix --- src/roscontroller.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/roscontroller.cpp b/src/roscontroller.cpp index 2441720..6e85238 100644 --- a/src/roscontroller.cpp +++ b/src/roscontroller.cpp @@ -193,8 +193,8 @@ void roscontroller::RosControllerRun() neighbours_pos_map.begin(); for (; it != neighbours_pos_map.end(); ++it) { - log<< it->first<<","; - log <<","<< (double)it->second.x << "," << (double)it->second.y + log<<","<< it->first<<","; + log<< (double)it->second.x << "," << (double)it->second.y << "," << (double)it->second.z; } for (std::vector::iterator it = inmsgdata.begin() ; it != inmsgdata.end(); ++it){