launch.actions.emit_event module

Module for the EmitEvent action.

class launch.actions.emit_event.EmitEvent[source]

Bases: Action

Action that emits an event when executed.

__init__(*, event: Event, **kwargs: Any) None[source]

Create an EmitEvent action.

property event: Event

Getter for self.__event.

execute(context: LaunchContext) None[source]

Execute the action.