Skip to content

Commit

Permalink
Merge pull request #294 from DavidB-CMU/master
Browse files Browse the repository at this point in the history
issue #292 | issue #293
  • Loading branch information
mkoval committed Apr 24, 2016
2 parents 1d63f63 + 05f78f1 commit 028684d
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/prpy/perception/apriltags.py
Original file line number Diff line number Diff line change
Expand Up @@ -134,6 +134,7 @@ def DetectObject(self, robot, object_name, **kw_args):
return_obj = None
for obj in added_bodies:
if obj.GetName() != object_name:
env = robot.GetEnv()
env.Remove(obj)
else:
return_obj = obj
Expand Down

0 comments on commit 028684d

Please sign in to comment.