My system is ubuntu 16.04 and V-REP version is 3.5 EDU. First, I open "grasp_scene.ttt". But when I run the simulation, I see the barretthand disappeared. Then I run the script "collect_grasps.py", but it comes out that an error occurs. Here is the traceback:
Traceback (most recent call last):
File "", line 1, in
runfile('/media/xiaoqing/Project/Git Grasp/multi-contact-grasping/src/collect_grasps.py', wdir='/media/xiaoqing/Project/Git Grasp/multi-contact-grasping/src')
File "/home/xiaoqing/anaconda2/lib/python2.7/site-packages/spyder/utils/site/sitecustomize.py", line 705, in runfile
execfile(filename, namespace)
File "/home/xiaoqing/anaconda2/lib/python2.7/site-packages/spyder/utils/site/sitecustomize.py", line 94, in execfile
builtins.execfile(filename, *where)
File "/media/xiaoqing/Project/Git Grasp/multi-contact-grasping/src/collect_grasps.py", line 274, in
collect_grasps(mesh_path, sim)
File "/media/xiaoqing/Project/Git Grasp/multi-contact-grasping/src/collect_grasps.py", line 165, in collect_grasps
gripper_offset=candidate_offset)
File "/media/xiaoqing/Project/Git Grasp/multi-contact-grasping/src/collect_grasps.py", line 107, in generate_candidates
h=(p - triangles)**2
ValueError: operands could not be broadcast together with shapes (95,3) (12,3)
Could you help me about this problem? Many thanks.