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.
PlatformExpDefGenerator
: Init the object.PlatformExpRunDefUniqueGenerator
: Generate XML changes unique to a experimental runs for ROS experiments.
- 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
- __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.