Skip to content

Commit

Permalink
[ObjectsPerceptionManager] do not perform lerp of objects in hand
Browse files Browse the repository at this point in the history
  • Loading branch information
sarthou committed Aug 5, 2024
1 parent 928fbcf commit 0751f20
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Perception/Managers/ObjectsPerceptionManager.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ namespace owds {
{
if(object.second->isStatic() == false)
{
if(object.second->isLocated())
if(object.second->isLocated() && (object.second->isInHand() == false))
{
if(simulated_objects_.find(object.second->id()) == simulated_objects_.end())
{
Expand Down

0 comments on commit 0751f20

Please sign in to comment.