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

Typically: "How do I... ", "How can I... " questions
Post Reply
zhangm365
Posts: 46
Joined: 19 Jun 2021, 12:58

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

Post 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!

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

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

Post by coppelia »

Hello,

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

Cheers

zhangm365
Posts: 46
Joined: 19 Jun 2021, 12:58

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

Post 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.

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

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

Post by coppelia »

Try with sim.getUserVariables(). You can also inspect really all variables via the _G table.

Cheers

Post Reply