Skip to content

Create option for automatic bringup of lifecycle nodes in launch_ros API #418

@SteveMacenski

Description

@SteveMacenski

Feature request

Feature description

Currently, transitioning up a lifecycle node can be done via an external node, lifecycle manager, or using Opaque functions with some rather nasty looking boilerplate with events. The event-based solution only works for LifecycleNode as that has the implementations for getting the states required. However, a ComponentNode can also be a lifecycle node and there is no way to my knowledge to perform lifecycle operations in launch_ros directly on the ComponentNode object.

It would be nice if there was a LifecycleNode and ComponentNode field for active_on_bringup (or eq.) that incorporated this boilerplate to make this easier as many users of lifecycle nodes don't truly care to transition up and control the lifecycle of all their programs with such granularity. Default false is good not to do it automatically unless specified, but this is a very common need that has alot of hacky solutions across the ecosystem.

Implementation considerations

I don't think there are any unique implementation considerations.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions