data logging fix

This commit is contained in:
David St-Onge 2018-08-06 15:00:38 -04:00
parent bf4f23bc48
commit 670d70601b
1 changed files with 2 additions and 2 deletions

View File

@ -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<msg_data>::iterator it = inmsgdata.begin() ; it != inmsgdata.end(); ++it){