From 1cff138fc60180828757cb94c662c7e432371d6e Mon Sep 17 00:00:00 2001 From: "matthew.lanting" Date: Mon, 22 Nov 2021 13:44:53 -0500 Subject: [PATCH] Updated function signature and accompanying documentation. Distro A, OPSEC #4584. You may have additional rights; please see https://rosmilitary.org/faq/?category=ros-2-license Signed-off-by: matthew.lanting --- launch_ros/launch_ros/descriptions/node.py | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/launch_ros/launch_ros/descriptions/node.py b/launch_ros/launch_ros/descriptions/node.py index 4be9855c..6c13d1d2 100644 --- a/launch_ros/launch_ros/descriptions/node.py +++ b/launch_ros/launch_ros/descriptions/node.py @@ -89,7 +89,7 @@ def __init__(self): super(NodeActionExtension, self).__init__() plugin_support.satisfies_version(self.EXTENSION_POINT_VERSION, '^0.1') - def prepare_for_execute(self, context, ros_specific_arguments, node_action): + def prepare_for_execute(self, context, ros_specific_arguments, ros_executable, node_description): """ Perform any actions prior to the node's process being launched. @@ -100,7 +100,10 @@ def prepare_for_execute(self, context, ros_specific_arguments, node_action): `ros_specific_arguments` is a dictionary of command line arguments that will be passed to the executable and are specific to ROS. - `node_action` is the Node action instance that is calling the + `ros_executable` is the RosExecutable description instance that the node + is a part of. + + `node_description` is the Node description instance that is calling the extension. This method must return a tuple of command line additions as a list of