Skip to content

Commit 8ba498f

Browse files
committed
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 <[email protected]>
1 parent e64f39a commit 8ba498f

File tree

1 file changed

+5
-2
lines changed
  • launch_ros/launch_ros/descriptions

1 file changed

+5
-2
lines changed

launch_ros/launch_ros/descriptions/node.py

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -89,7 +89,7 @@ def __init__(self):
8989
super(NodeActionExtension, self).__init__()
9090
plugin_support.satisfies_version(self.EXTENSION_POINT_VERSION, '^0.1')
9191

92-
def prepare_for_execute(self, context, ros_specific_arguments, node_action):
92+
def prepare_for_execute(self, context, ros_specific_arguments, ros_executable, node_description):
9393
"""
9494
Perform any actions prior to the node's process being launched.
9595
@@ -100,7 +100,10 @@ def prepare_for_execute(self, context, ros_specific_arguments, node_action):
100100
`ros_specific_arguments` is a dictionary of command line arguments that
101101
will be passed to the executable and are specific to ROS.
102102
103-
`node_action` is the Node action instance that is calling the
103+
`ros_executable` is the RosExecutable description instance that the node
104+
is a part of.
105+
106+
`node_description` is the Node description instance that is calling the
104107
extension.
105108
106109
This method must return a tuple of command line additions as a list of

0 commit comments

Comments
 (0)