PopulationParams Class Reference

Stores all the posible parameters that define a population. More...

#include <Population.hh>

Public Attributes

int cols
 Number of columns used when models are distributed as a grid. More...
 
std::string distribution
 Object distribution. E.g.: random, grid. More...
 
double length
 Length of the cylinder containing the models. More...
 
int modelCount
 Number of models to spawn. More...
 
std::string modelName
 Name of the model. More...
 
std::string modelSdf
 Contains the sdf representation of the model. More...
 
ignition::math::Pose3d pose
 The reference frame of the population's region. More...
 
double radius
 Radius of the cylinder's base containing the models. More...
 
std::string region
 Type region in which the objects will be spawned. E.g.: box. More...
 
int rows
 Number of rows used when models are distributed as a grid. More...
 
ignition::math::Vector3d size
 The three side lengths of the box. More...
 
ignition::math::Vector3d step
 Distance between models when they are distributed as a grid. More...
 

Detailed Description

Stores all the posible parameters that define a population.

Member Data Documentation

◆ cols

int cols

Number of columns used when models are distributed as a grid.

◆ distribution

std::string distribution

Object distribution. E.g.: random, grid.

◆ length

double length

Length of the cylinder containing the models.

◆ modelCount

int modelCount

Number of models to spawn.

◆ modelName

std::string modelName

Name of the model.

◆ modelSdf

std::string modelSdf

Contains the sdf representation of the model.

◆ pose

ignition::math::Pose3d pose

The reference frame of the population's region.

◆ radius

double radius

Radius of the cylinder's base containing the models.

◆ region

std::string region

Type region in which the objects will be spawned. E.g.: box.

◆ rows

int rows

Number of rows used when models are distributed as a grid.

◆ size

ignition::math::Vector3d size

The three side lengths of the box.

◆ step

ignition::math::Vector3d step

Distance between models when they are distributed as a grid.


The documentation for this class was generated from the following file: