Too slow simulation

Typically: "How do I... ", "How can I... " questions
Post Reply
edney
Posts: 6
Joined: 11 Apr 2014, 15:38

Too slow simulation

Post by edney »

Hello my friends,

I try to simulate a set of 10 epucks, but the simulation seems too slow, maybe a little lag.
How can i improve the simulation ? i try to use threaded rendering but dont solve. Try to use bullet, very fast and dt=10ms but nothing.

Thank you and sorry about my english, i m still learn write correctly.

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

Re: Too slow simulation

Post by coppelia »

Hello,

try to find out why the simulation is running that slow. Check the timing at the top of the screen:
  • is it the vision sensor handling?
  • is it the proximity sensor handling?
  • is it the dynamics handling?
  • is it the overall rendering (displayed at the top of the main window)?
  • is it something else? Remember that script execution includes the calculation time for vision sensor handling, proximity sensor handling, collision checking handling, etc.
I suspect it is the vision sensors. You can either disable them, or reduce their resolution (there are 2 vision sensors on the e-puck). You can also check the Ignore depth info checkbox in the vision sensor properties, that will also accelerate their operation.

Cheers

Post Reply