ros_gz_sim.actions.gz_spawn_model module

Module for the gz_spawn_model action.

ros_gz_sim.actions.gz_spawn_model.expose_action(*a, **k)
class ros_gz_sim.actions.gz_spawn_model.GzSpawnModel(*, world: SomeSubstitutionsType | None = None, file: SomeSubstitutionsType | None = None, model_string: SomeSubstitutionsType | None = None, topic: SomeSubstitutionsType | None = None, entity_name: SomeSubstitutionsType | None = None, allow_renaming: SomeSubstitutionsType | None = None, x: SomeSubstitutionsType | None = None, y: SomeSubstitutionsType | None = None, z: SomeSubstitutionsType | None = None, roll: SomeSubstitutionsType | None = None, pitch: SomeSubstitutionsType | None = None, yaw: SomeSubstitutionsType | None = None, **kwargs)[source]

Bases: Action

Action that executes a gz_spawn_model ROS node.

classmethod parse(entity: Entity, parser: Parser)[source]

Parse gz_spawn_model.

execute(context: LaunchContext) List[Action] | None[source]

Execute the action.