Skip to content

Commit

Permalink
[HumansPerceptionManager] update human sensors
Browse files Browse the repository at this point in the history
  • Loading branch information
sarthou committed Sep 14, 2024
1 parent c751369 commit 52d5543
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions src/Perception/Managers/HumansPerceptionManager.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -73,6 +73,15 @@ namespace owds {
inner_it->second->updatePose(percept.second->pose(), percept.second->lastStamp());
}
}
else
{
auto sensors = agent->getSensors();
for(auto& eye : sensors)
{
if(percept.second->isLocated())
eye.second->updatePose(percept.second->pose(), percept.second->lastStamp());
}
}
}
}
}
Expand Down

0 comments on commit 52d5543

Please sign in to comment.