Page 1 of 1

How to save all data after the child script code in scene runned?

Posted: 21 Jan 2022, 08:01
by zhangm365
Hello, admin

How to save all data after the child script code in scene runned?

Now, I want to save data after the child script code runs so as to check the code is correct.

Thanks a lot.

Best wishes!

Re: How to save all data after the child script code in scene runned?

Posted: 21 Jan 2022, 13:12
by coppelia
Hello,

what kind of data? Have a look at how to visualize and output data in CoppeliaSim.

Cheers

Re: How to save all data after the child script code in scene runned?

Posted: 21 Jan 2022, 15:28
by zhangm365
Hello,

I want to save the variable data, which is related with the child script code in scene when it is running.
There is convenient to debug the program for me.

That is like the all generated variable data as showed when the code in matlab is runned.

Best Wishes.

Re: How to save all data after the child script code in scene runned?

Posted: 25 Jan 2022, 09:59
by coppelia
Try with sim.getUserVariables(). You can also inspect really all variables via the _G table.

Cheers