Skip to content
Snippets Groups Projects
Commit 729548fa authored by Tobias Schrödter's avatar Tobias Schrödter
Browse files

TGF platform, some hard coded stuff

parent d65bcae9
Branches
No related tags found
No related merge requests found
......@@ -22,7 +22,7 @@ Point WaitingStrategy::GetTarget(Room* room, Pedestrian* ped)
ped->SetWaitingPos(target);
}
// check if in close range to desired position, hard coded!
if ((ped->GetWaitingPos()-ped->GetPos()).Norm() <= 0.1 && ped->GetV0Norm() < 0.5){
else if ((ped->GetWaitingPos()-ped->GetPos()).Norm() <= 2.0 && ped->GetV0Norm() < 0.5){
target = ped->GetPos();
ped->SetWaitingPos(target);
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment