Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

env is not defined, in DetectObject() in prpy.perception.apriltags.py #293

Closed
DavidB-CMU opened this issue Apr 4, 2016 · 1 comment
Closed
Labels

Comments

@DavidB-CMU
Copy link
Contributor

in DetectObject() from apriltags.py, env is not defined.

/home/user/catkin_workspaces/herb_ws/src/prpy/src/prpy/perception/base.pyc
in call(self, instance, robot, _args, *_kw_args)
12
13 def call(self, instance, robot, _args, *_kw_args):
---> 14 return self.func(instance, robot, _args, *_kw_args)
15
16 def get(self, instance, instancetype):

/home/user/catkin_workspaces/herb_ws/src/prpy/src/prpy/perception/apriltags.py
in DetectObject(self, robot, object_name, **kw_args)
145 for obj in added_bodies:
146 if obj.GetName() != object_name:
--> 147 env.Remove(obj)
148 print "removed object"
149 else:

NameError: global name 'env' is not defined

@DavidB-CMU
Copy link
Contributor Author

Please see PR #294

@mkoval mkoval added the bug label Apr 4, 2016
mkoval added a commit that referenced this issue Apr 24, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants