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

Typically: "How do I... ", "How can I... " questions
Post Reply
zhenli
Posts: 5
Joined: 13 Dec 2014, 14:16

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

Post by zhenli » 14 Dec 2014, 03:47

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

Eric
Posts: 186
Joined: 11 Feb 2013, 16:39

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

Post by Eric » 14 Dec 2014, 05:24

Hi

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

Cheers,

Eric

Post Reply