How to use pyrep with V-REP 3.6.2 to replace/call (legacy) remote api calls to reduce communication delay

Typically: "How do I... ", "How can I... " questions
Post Reply
Uli_v
Posts: 35
Joined: 14 Dec 2018, 18:07

How to use pyrep with V-REP 3.6.2 to replace/call (legacy) remote api calls to reduce communication delay

Post by Uli_v » 26 Jun 2019, 22:41

I would like to use pyrep (https://github.com/stepjam/PyRep) to reduce the communication delay between my python script (client) and V-REP.

How easy is it to reuse my custom remote API function calls? Can I simply use pyrep to start V-REP within my script in a thread and call remote API function directly? I think there is a possibility to call child scripts in V-REP within pyrep (after looking at the pyrep source code a bit), that means I should be able to call remote API function in a child script. Would that reduce the communication delay?

coppelia
Site Admin
Posts: 7396
Joined: 14 Dec 2012, 00:25

Re: How to use pyrep with V-REP 3.6.2 to replace/call (legacy) remote api calls to reduce communication delay

Post by coppelia » 27 Jun 2019, 06:53

Hello,

normally you should be able to directly call the C API functions of V-REP, as the PyRep wrapper does.

Cheers

Post Reply