how to export measurements
how to export measurements
How can i export measurements in V-rep?
Re: how to export measurements
Hello,
you have several possibilities. You can record values via graphs, then export the graph 2D curves via a popup menu in a 2D graph view.
But for more flexibility, I would suggest you simply write a file with your values via a child script. This is an example for a text file:
and here an example for a binary file:
Cheers
you have several possibilities. You can record values via graphs, then export the graph 2D curves via a popup menu in a 2D graph view.
But for more flexibility, I would suggest you simply write a file with your values via a child script. This is an example for a text file:
Code: Select all
local file=io.open("example.txt","w")
file:write("Hello. ")
file:write("How are you?")
file:close()
and here an example for a binary file:
Code: Select all
local file=io.open("example2.txt","w")
file:write(string.char(42))
file:close()