Page 1 of 1

How can I read data from /write to a txt file in V-rep

Posted: 14 Dec 2014, 03:47
by zhenli
How can I read data from /write to a txt file in V-rep
I am new hand of v-rep.
I want to read joint position sequence in a txt file and move a robot joint in V-rep, and write feedback to a new txt file.
How can I realize this function in V-rep, it is better I can use fread,fwrite function, or cin,cout (c,C**).
Best regards.
Zhenli

Re: How can I read data from /write to a txt file in V-rep

Posted: 14 Dec 2014, 05:24
by Eric
Hi

From a non threaded or threaded script in V-REP: check here

Cheers,

Eric