Search found 9 matches

by KaiYang
19 Apr 2018, 12:45
Forum: General questions
Topic: Run time error after running the simulation with a long time
Replies: 2
Views: 176

Re: Run time error after running the simulation with a long time

coppelia wrote:
19 Apr 2018, 07:17
Hello,

I have no idea what is happening... the Python script that is causing the error is unknown to us and not developed by us

Cheers
Thanks for replying. I think may be the memory cause some problems and I will try to deal with it.

Best wishes!
by KaiYang
18 Apr 2018, 02:43
Forum: General questions
Topic: Run time error after running the simulation with a long time
Replies: 2
Views: 176

Run time error after running the simulation with a long time

Hello, I use v-rep to train a reinforcement learning network, but I get some error code with the v-rep simulation after running 13 hours. Here is the error code: File "/home/sensetime/baselines/baselines/double_ddpg/vrep/examples/envs/ur5_vrep_env.py", line 312, in reset self.stop_simulation() File ...
by KaiYang
11 Apr 2018, 09:43
Forum: General questions
Topic: Multi clients in python remote api
Replies: 10
Views: 780

Re: Multi clients in python remote api

hello, I am doing the same thing as you do,and I don't know how to start several different port,could you please help me or share your codes? my email wolienbo@gmail.com thanks Hello, If you want to use different clients with different ports to connect to the service, you can achieve it by the foll...
by KaiYang
22 Mar 2018, 10:18
Forum: General questions
Topic: Multi clients in python remote api
Replies: 10
Views: 780

Re: Multi clients in python remote api

Problem solved.
by KaiYang
22 Mar 2018, 07:23
Forum: General questions
Topic: Multi clients in python remote api
Replies: 10
Views: 780

Re: Multi clients in python remote api

Oh, I found that I can use ./vrep.sh -h -s to start automatically with headless mode, and my problems solved completely. Thank you very much!!
by KaiYang
22 Mar 2018, 04:11
Forum: General questions
Topic: Multi clients in python remote api
Replies: 10
Views: 780

Re: Multi clients in python remote api

to achieve what you want, you need to launch V-REP 3 times. Then, from a customization script, open a remote API server service as previously mentioned. You cannot use the remoteApiConnections.txt file, since all 3 instances will try to open the same 3 ports (and this will fail, only one instance c...
by KaiYang
19 Mar 2018, 08:26
Forum: General questions
Topic: Multi clients in python remote api
Replies: 10
Views: 780

Re: Multi clients in python remote api

Thanks for your reply! So the problem is that I try to connect the same instance with 3 different clients, and the robot in the scene receive 3 different actions command and execute one of them. To accomplish what I want, I should also provide multi instances for multi clients. Is it right?
by KaiYang
19 Mar 2018, 03:04
Forum: General questions
Topic: Multi clients in python remote api
Replies: 10
Views: 780

Re: Multi clients in python remote api

Thanks for your reply. Yes, I use v-rep as like the openai gym environment. So I really want to run multi simulations in parallel to execute different actions to speed up collecting data.
by KaiYang
17 Mar 2018, 03:42
Forum: General questions
Topic: Multi clients in python remote api
Replies: 10
Views: 780

Multi clients in python remote api

Hello, I use v-rep edu 3.4 as the environment with reinforcement learning to do some cooool thing. In order to speed up in training, I start 3 clients with server_port = 19997, 19998 and 19999, and I also add portIndex1_port = 19997 portIndex1_debug = false portIndex1_syncSimTrigger = true portIndex...