Boost Simulation Performance #50
Replies: 2 comments 5 replies
-
Nice table looks good. Since more people have the problem of the slow running simulation, and because I also encounter some problems during the dockers submitted for testing I made some fast worlds. I just made some new commits. In the world template I changed the step_size to 0.005 and in the virtual_maize_fields/scripts I added generators for fast worlds. These fast worlds have a step size of 0.005 and a reduced resolution of the ground_plane to 15cm. To make this work also the maximum height of the soil model had to be lowered to 5cm. I think this will help teams with less sufficient hardware, and will help for the event to run smoothly with a Realtime factor around 1. However, we do not know the exact parameters for the event yet, as we are still finetuning and because we want to expose the robots to a world with slightly different world parameters to test robustness of the robot algorithms. keep up the good work with testing the simulation speeds :)! |
Beta Was this translation helpful? Give feedback.
-
For our team changing the step size to a higher value resulted in a poorer robot performance. We suspect the problem is due to the fact that the robot now doesn't meet the expected rate, as rosrate only tries to reach the set value, but doesn't slow the simulation down if it can't reach the desired rate. The other option is that the higher stepsize actually makes the simulation less reliable, which is also likely, because loading a world with the bigger step size and waiting a bit shows that objects like the robot move a lot even when no commands to move are given. We think this is maybe due to the interaction with the ground_plane. So, for us the higher step size gives poorer results, but we believe that can't be blamed on us, so we would like to request to run the simulation on the competition with the original smaller step-size. |
Beta Was this translation helpful? Give feedback.
-
Gazebo Performance
Some people especially with lower hardware have problems with the simulation speed. This thread should help them to tweak there systems and gazebo to boost the performance of the simulation.
Physics Parameters
We found that the physics parameters specified in the gazebo world is the easiest to tweak and has big performance impacts.
The 3 parameters are found in the
generated.world
in line 21 - 25:Performance gains:
All reported real time factors and fps values are while driving without the first 30 seconds real time simulation. This means the start of the simulation is not reported, because it is not representative. The robot is started after the first 30 seconds and stopped after the first row is completed.
System 1:
I'll add other system to this table as soon as I have the numbers. Feel free to try this yourself.
Beta Was this translation helpful? Give feedback.
All reactions