ros_gz_sim.actions package

Submodules

Module contents

Actions module.

class ros_gz_sim.actions.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.

class ros_gz_sim.actions.GzServer(*, world_sdf_file: SomeSubstitutionsType = '', world_sdf_string: SomeSubstitutionsType = '', container_name: SomeSubstitutionsType = 'ros_gz_container', create_own_container: bool | SomeSubstitutionsType = False, use_composition: bool | SomeSubstitutionsType = False, initial_sim_time: float | SomeSubstitutionsType = 0.0, verbosity_level: int | SomeSubstitutionsType = 4, **kwargs)[source]

Bases: Action

Action that executes a gz_server ROS [composable] node.

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

Parse gz_server.

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

Execute the action.