synchros2.launch.actions module

class synchros2.launch.actions.DeclareBooleanLaunchArgument[source]

Bases: DeclareLaunchArgument

Thin wrapper on DeclareLaunchArgument to restrict the choices to boolean

__init__(*args: Any, **kwargs: Any) None[source]
class synchros2.launch.actions.DeclareEnumLaunchArgument[source]

Bases: DeclareLaunchArgument

Thin wrapper on DeclareLaunchArgument to restrict the choices to the values of an enum

__init__(enum_type: Type[Enum], *args: Any, optional: bool = False, **kwargs: Any) None[source]
synchros2.launch.actions.convert_to_bool(param_name: str, val: str) bool[source]

Converts a ros parameter to a bool

synchros2.launch.actions.update_sigterm_sigkill_timeout(ld: launch.LaunchDescription, *, sigterm_timeout_s: float = 60, sigkill_timeout_s: float = 60) None[source]

Increases the timeout for launch to escalate to SIGTERM and SIGKILL after you CTRL+C