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

What is the reason for this? #73

Open
github-lile opened this issue Apr 17, 2021 · 5 comments
Open

What is the reason for this? #73

github-lile opened this issue Apr 17, 2021 · 5 comments

Comments

@github-lile
Copy link

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
Copy link
Author

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.

@MingshanHe
Copy link

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.

@Amina00Aslam
Copy link

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 :)

@MingshanHe
Copy link

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.

@yangliuxin-nn
Copy link

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants