sierra.plugins.platform.ros1robot.generators.platform_generators

Classes for generating common XML modifications to ROS1 input files.

I.e., changes which are platform-specific, but applicable to all projects using ROS with a real robot execution environment.

class sierra.plugins.platform.ros1robot.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        cmdopts: Dictionary of parsed cmdline parameters.\n    '
__init__(exp_spec: ExperimentSpec, controller: str, cmdopts: Dict[str, Any], **kwargs) None[source]
__module__ = 'sierra.plugins.platform.ros1robot.generators.platform_generators'
generate() XMLExpDef[source]
class sierra.plugins.platform.ros1robot.generators.platform_generators.PlatformExpRunDefUniqueGenerator(*args, **kwargs)[source]

Inheritance

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