Skip to content

Commit 33f6967

Browse files
committed
update for composable nodes
1 parent a632dd7 commit 33f6967

File tree

1 file changed

+2
-7
lines changed

1 file changed

+2
-7
lines changed

launch_ros/launch_ros/actions/load_composable_nodes.py

Lines changed: 2 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -251,14 +251,9 @@ def execute(
251251
autostart_actions.append(
252252
LifecycleTransition(
253253
lifecycle_node_names=[complete_node_name],
254-
transition_ids=[lifecycle_msgs.msg.Transition.TRANSITION_CONFIGURE]
254+
transition_ids=[lifecycle_msgs.msg.Transition.TRANSITION_CONFIGURE,
255+
lifecycle_msgs.msg.Transition.TRANSITION_ACTIVATE]
255256
))
256-
autostart_actions.append(
257-
LifecycleTransition(
258-
lifecycle_node_names=[complete_node_name],
259-
transition_ids=[lifecycle_msgs.msg.Transition.TRANSITION_ACTIVATE]
260-
),
261-
)
262257

263258
if load_node_requests:
264259
context.add_completion_future(

0 commit comments

Comments
 (0)