v16.world.World.Population

Warning

This class is autogenerated. More detailed documentation can be found in the SDFormat spec.

class v16.world.World.Population(model_count=1, distribution=None, box=None, cylinder=None, frame=<factory>, pose=None, model=None, name=None)

The population element defines how and where a set of models will be automatically populated in Gazebo.

Parameters
model_count: The number of models to place.
distribution: Specifies the type of object distribution and its

optional parameters.

box: Box shape
cylinder: Cylinder shape
frame: A frame of reference to which a pose is relative.
pose: A position(x,y,z) and orientation(roll, pitch yaw) with

respect to the specified frame.

model: The model element defines a complete robot or any other

physical object.

name: A unique name for the population. This name must not match

another population in the world.

Nested Elements

Note that only complex elements are listed here. Elements that resolve to simple types (int, str, bool) are inlined.

v16.world.World.Population.Box([size])

Box shape.

v16.world.World.Population.Cylinder([...])

Cylinder shape.

v16.world.World.Population.Distribution([...])

Specifies the type of object distribution and its optional parameters.

v16.world.World.Population.Frame([pose, name])

A frame of reference to which a pose is relative.

v16.world.World.Population.Pose([value, frame])

Parameters