I have encountered this problem when I'm trying to run notebooks/motion_planning_sampling/panda.ipynb.
is_collide = True
while is_collide is True:
q = rob_simple_sampler.sample().flatten()
res = projector_constraint.project(q)
q, success, func_calls = res['q'], res['stat'], res['nfev']
#print(projector_constraint.project(q))
is_collide = rob_col_checker.check_collision(q)
set_q_std(q.flatten())
NameError Traceback (most recent call last)
<ipython-input-40-dc57b1fb1684> in <module>
3 while is_collide is True:
4 q = rob_simple_sampler.sample().flatten()
----> 5 res = projector_constraint.project(q)
6 q, success, func_calls = res['q'], res['stat'], res['nfev']
7 #print(projector_constraint.project(q))
NameError: name 'projector_constraint' is not defined
My environment: ubuntu18.04, numpy1.19.03, pinocchio2.6.0, pybullet3.1.3, tensorflow2.4.1, and I have installed everything according to the Installation Procedure.
It seems like the ·'projector_constraint' class cannot be found.