pcg_gazebo.generators.rules

pcg_gazebo.generators.rules

create_rule

create_rule(tag=None, **kwargs)
Rule factory that returns the engine according to its LABEL definition. It returns None if the engine name is invalid.

Input parameters

  • tag (type: str): Name of the engine class
  • kwargs: Inputs for the engine class constructor

FixedValue

FixedValue(self, dofs=None, value=None, **kwargs)

FromSet

FromSet(self, dofs=None, values=None)

Random

Random(self, dofs=None, scaling_factor=1, offset=0)

Rule

Rule(self, dofs=None)

Uniform

Uniform(self, dofs=None, mean=None, min=None, max=None)

WithinWorkspace

WithinWorkspace(self, dofs=None, workspace=None)