Skip to content

Commit

Permalink
Merge pull request #14 from ibrahimsel/enhancement-2
Browse files Browse the repository at this point in the history
Module setup and regular node launch issues
  • Loading branch information
nacidai authored Mar 15, 2024
2 parents 8f79e1e + a594aea commit c82a475
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
3 changes: 1 addition & 2 deletions composer/model/stack.py
Original file line number Diff line number Diff line change
Expand Up @@ -552,7 +552,7 @@ def handle_regular_nodes(self, nodes, launch_description, launcher):
launch_description (object): The launch description object.
"""
for n in nodes:
if n.action == STARTACTION:
if n.action == STARTACTION or (n.action == NOACTION and self.should_node_run(n)):
launch_description.add_action(Node(
package=n.pkg,
executable=n.exec,
Expand Down Expand Up @@ -678,4 +678,3 @@ def resolve_args(self, array=[]):
self.arg[name] = p

return result

4 changes: 3 additions & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,9 @@
setup(
name=package_name,
version='0.0.0',
packages=[package_name],
packages=[package_name,
f"{package_name}.introspection",
f"{package_name}.model"],
data_files=[
('share/ament_index/resource_index/packages',
['resource/' + package_name]),
Expand Down

0 comments on commit c82a475

Please sign in to comment.