pcg_gazebo.generators.item_pickers

pcg_gazebo.generators.item_pickers

create_picker

create_picker(tag, **kwargs)
Picker factory that returns the picker according to its LABEL definition. It returns None if the picker name is invalid.

Input parameters

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

_Picker

_Picker(self, items=None, max_num=None)

RandomPicker

RandomPicker(self, items=None, max_num=None)

RouletteWheelPicker

RouletteWheelPicker(self, items, max_num, fitness)

SizePicker

SizePicker(self, items=None, max_num=None)