Commit f5d05093 authored by Mohcine Chraibi's avatar Mohcine Chraibi

remove some debug messages

parent 3a3ae04e
Pipeline #5932 passed with stages
in 1 minute and 3 seconds
......@@ -156,6 +156,9 @@ bool PedData::InitializeVariables(const string& filename)
static int once = 1;
std::vector<std::string> strs;
boost::split(strs, line , boost::is_any_of("\t "),boost::token_compress_on);
if (lineNr % 100000 == 0)
std::cout << "lineNr " << lineNr<< std::endl;
if(once) // && strs.size() < 5
{
once = 0;
......@@ -165,13 +168,11 @@ bool PedData::InitializeVariables(const string& filename)
Log->Write("INFO: pos_y: %d", pos_y);
Log->Write("INFO: pos_z: %d", pos_z);
Log->Write("INFO: pos_vd: %d", pos_vd);
std::cout << "size= " << strs.size() << " V: "<< _vComponent<< std::endl;
// Log->Write("WARNING:\t assuming z=0 for all data");
}
_IdsTXT.push_back(atoi(strs[pos_id].c_str()));
_FramesTXT.push_back(atoi(strs[pos_fr].c_str()));
xs.push_back(atof(strs[pos_x].c_str()));
ys.push_back(atof(strs[pos_y].c_str()));
ys.push_back(atof(strs[pos_y].c_str()));
if(strs.size() >= 5)
zs.push_back(atof(strs[pos_z].c_str()));
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment