Simulation slow problem

Typically: "How do I... ", "How can I... " questions
Post Reply
SitStudent
Posts: 23
Joined: 05 May 2020, 12:07

Simulation slow problem

Post by SitStudent »

Hi, there.

I use the 100 spring-damper system on the one scene, and I get the force value on all springs by using sim.getJointForce.

I need to export them to csv data so, I represent them as a graph but it has a problem. It use many pc processing and simulation get very slow.(simulation time gradually get far from real time)

I know It caused by low pc performance but, if there is any solution for that, please teach me.

Sincerely,

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

Re: Simulation slow problem

Post by coppelia »

Hello,

I am not sure I understand what is causing the slowdown... is it the number of joints and the simulation in general, or is it because you are visualizing all values inside of graphs, which can be slow in some siutations?

I recommend for that kind of situations not to use graphs. But rather, collect the data in your script and write them as CVS file at the end of a simulation. Then import that CSV file.

Cheers

Post Reply