Class that automatically populates an environment with multiple objects based on several parameters to define the number of objects, shape of the object distribution or type of distribution. More...
#include <physics/physics.hh>
Public Member Functions | |
| Population (sdf::ElementPtr _sdf, boost::shared_ptr< World > _world) | |
| Constructor. More... | |
| virtual | ~Population () |
| Destructor. More... | |
| bool | PopulateAll () |
| Generate and spawn multiple populations into the world. More... | |
Class that automatically populates an environment with multiple objects based on several parameters to define the number of objects, shape of the object distribution or type of distribution.
| gazebo::physics::Population::Population | ( | sdf::ElementPtr | _sdf, |
| boost::shared_ptr< World > | _world | ||
| ) |
Constructor.
Load an sdf file containing a population element.
| [in] | _sdf | SDF parameters. |
| [in] | _world | Pointer to the world. |
|
virtual |
Destructor.
| bool gazebo::physics::Population::PopulateAll | ( | ) |
Generate and spawn multiple populations into the world.