Closed defypp closed 6 years ago
Could you post a snapshot picture of the error message on the terminal? It would be helpful to know which lines of code give the error.
This error most likely comes from the env in V-REP. The python function add_objects()
in robot.py calls a lua script in V-REP (called importShape()
in the scene object remoteApiCommandServer
) to add objects to the simulation. Something might've interrupted that script. Does the console log on the bottom of the V-REP window show any errors?
I did a fresh install on another Ubuntu 16.04 machine with CUDA 8.0 but was unfortunately unable to reproduce your error.
V-rep operation about "Dynamics content " causes the index error in my env, I test the following situation. Open v-rep and main.py, then "Dynamics content " dialog window pop out, if I hesitate to click the window more than maybe 5 secs, The index error comes in terminal, as I have to response to the window three times, accidental I got that Index error. Now, it works fine to me.
Ah yes, the "Dynamics content" window will pop up a few times upon your first installation of V-REP. After completing the dialogue for a total of three times, it should stop occurring until you reinstall V-REP.
Hello, Recently I am also using this code to do robot pushing and grasping, is it convenient to leave a contact? Let us communicate and learn together. Thank you, are you Chinese? I am, my mailbox is 1563845456@qq.com, I am looking forward to your reply. Thanks,
while running main.py, after some training steps, I got the error described in title. IndexError: list index out of range. I want to know the error caused by env or code? My enviroment: ubuntu16.04 with Intel® Xeon(R) CPU E5-1620 v3 @ 3.50GHz × 8 , cuda8.0 installed(no cudnn) with NVIDIA GTX 1080TI.