visual-pushing-grasping icon indicating copy to clipboard operation
visual-pushing-grasping copied to clipboard

What is the reason for this?

Open github-lile opened this issue 5 years ago • 5 comments

Traceback (most recent call last): File "main.py", line 15, in from robot import Robot File "E:\AAAAAAAAAAAA\visual-pushing-grasping-master\robot.py", line 8, in from simulation import vrep File "E:\AAAAAAAAAAAA\visual-pushing-grasping-master\simulation\vrep.py", line 59, in c_GetJointPosition = ct.CFUNCTYPE(ct.c_int32,ct.c_int32, ct.c_int32, ct.POINTER(ct.c_float), ct.c_int32)(("simxGetJointPosition", libsimx)) AttributeError: 'NoneType' object has no attribute '_handle'

github-lile avatar Apr 17 '21 02:04 github-lile

print: ---------------------------------------------------- The remoteApi library could not be loaded. Make sure it is located in the same folder as "vrep.py", or appropriately adjust the file "vrep.py" ---------------------------------------------------- But they locate in the same fiolder.

github-lile avatar Apr 17 '21 03:04 github-lile

I have solved this problem. I think the operating system you have used is windows and the python file in it needs a remote API file to run. So I recommend you copy the remoteApi.dll file to the simulation folder.

MingshanHe avatar Jan 13 '22 05:01 MingshanHe

I have solved this problem. I think the operating system you have used is windows and the python file in it needs a remote API file to run. So I recommend you copy the remoteApi.dll file to the simulation folder.

Where can I get these two files which you mentioned? Thanks in advance :)

Amina00Aslam avatar Mar 19 '22 15:03 Amina00Aslam

These two files are contained in the location where the software CoppeliaSim is installed. Exactly, CoppeliaSim/programming/remoteApiBindings/lib/lib/. I can not guarantee the difference between the PC. Hope this will help you.

MingshanHe avatar Mar 19 '22 15:03 MingshanHe

Hello, I found the remoteApi.dll file but did not find the simulation folder. Could you please help me whether the simulation folder is in the repository or somewhere else?

Many thanks for your time and help

yangliuxin-nn avatar Feb 27 '23 06:02 yangliuxin-nn