sierra.plugins.platform.ros1gazebo.generators.platform_generators

Classes for generating common XML modifications for ROS1+Gazebo.

I.e., changes which are platform-specific, but applicable to all projects using the platform.

class sierra.plugins.platform.ros1gazebo.generators.platform_generators.PlatformExpDefGenerator(exp_spec: ExperimentSpec, controller: str, cmdopts: Dict[str, Any], **kwargs)[source]

Init the object.

controller

The controller used for the experiment.

cmdopts

Dictionary of parsed cmdline parameters.

Inheritance

Inheritance diagram of PlatformExpDefGenerator
__doc__ = '\n    Init the object.\n\n    Attributes:\n\n        controller: The controller used for the experiment.\n\n        cmdopts: Dictionary of parsed cmdline parameters.\n    '
__init__(exp_spec: ExperimentSpec, controller: str, cmdopts: Dict[str, Any], **kwargs) None[source]
__module__ = 'sierra.plugins.platform.ros1gazebo.generators.platform_generators'
_generate_gazebo_core(exp_def: XMLExpDef) None[source]

Generate XML tag changes to setup Gazebo core experiment parameters.

Does not write generated changes to the run definition pickle file.

_generate_gazebo_vis(exp_def: XMLExpDef) None[source]

Generate XML changes to configure Gazebo visualizations.

Does not write generated changes to the simulation definition pickle file.

generate() XMLExpDef[source]
class sierra.plugins.platform.ros1gazebo.generators.platform_generators.PlatformExpRunDefUniqueGenerator(*args, **kwargs)[source]

Inheritance

Inheritance diagram of PlatformExpRunDefUniqueGenerator
__doc__ = None
__init__(*args, **kwargs) None[source]
__module__ = 'sierra.plugins.platform.ros1gazebo.generators.platform_generators'
generate(exp_def: XMLExpDef)[source]