Commit 3cd4941f authored by Ulrich Kemloh's avatar Ulrich Kemloh

corrected wrong initial number of agents in trajectories

parent 93e5a95d
......@@ -116,7 +116,7 @@ string TrajectoriesJPSV04::WritePed(Pedestrian* ped)
void TrajectoriesJPSV04::WriteHeader(long nPeds, double fps, Building* building, int seed)
{
nPeds=building->GetAllPedestrians().size();
//nPeds=building->GetAllPedestrians().size();
string tmp;
tmp =
"<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n\n" "<trajectories>\n";
......@@ -444,7 +444,7 @@ void TrajectoriesVTK::WriteFooter()
void TrajectoriesJPSV06::WriteHeader(long nPeds, double fps, Building* building, int seed)
{
nPeds=building->GetAllPedestrians().size();
//nPeds=building->GetAllPedestrians().size();
string tmp;
tmp =
"<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n\n" "<trajectories>\n";
......@@ -624,7 +624,7 @@ void TrajectoriesXML_MESH::WriteGeometry(Building* building)
void TrajectoriesJPSV05::WriteHeader(long nPeds, double fps, Building* building, int seed)
{
nPeds=building->GetAllPedestrians().size();
//nPeds=building->GetAllPedestrians().size();
string tmp;
tmp = "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n\n" "<trajectories>\n";
char agents[CLENGTH] = "";
......
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