Performance: Gazebo world creation
This affects the simulation load time and rendering performance of the Gazebo environment.
Jump into concepts and practice - no test required
<world name="optimized_world"> <include> <uri>model://simple_building</uri> </include> <include> <uri>model://low_poly_tree</uri> </include> <include> <uri>model://basic_car</uri> </include> <!-- Fewer and simpler models --> </world>
<world name="complex_world">
<include>
<uri>model://large_building</uri>
</include>
<include>
<uri>model://detailed_tree</uri>
</include>
<include>
<uri>model://car_with_high_poly</uri>
</include>
<!-- Many more complex models -->
</world>| Pattern | Model Complexity | Load Time | Rendering Cost | Verdict |
|---|---|---|---|---|
| High-poly models with many textures | High | Long (>5s) | High GPU usage | [X] Bad |
| Low-poly models with fewer textures | Low | Short (<2s) | Low GPU usage | [OK] Good |
<model name="box"> <pose>1 2 0 0 0 0</pose> </model>
<pose> tag specify?<world name="default">
<model name="robot">
<pose>0 0 0 0 0</pose>
</model>
</world>