Skip to content

Commit

Permalink
Updated function signature and accompanying documentation.
Browse files Browse the repository at this point in the history
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]>
  • Loading branch information
mlanting committed Nov 22, 2021
1 parent f2cd162 commit 1cff138
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions launch_ros/launch_ros/descriptions/node.py
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand All @@ -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
Expand Down

0 comments on commit 1cff138

Please sign in to comment.