Skip to content

Launch "dry run" to render to commands without running any #956

@emersonknapp

Description

@emersonknapp

Description

Render/print a launchfile with as much detail as possible given the context, without starting any processes

See https://github.com/ijnek/launch_graph which is trying to do a visualization side of this same consideration

Really this may be an extension of ros2 launch --print that just gets some more information, perhaps makes some more assumptions

Motivation

It can be unclear what the total outcome of a launchfile will be, and the logs that go by are too detailed to see what all the running nodes are.

This would allow for detailed inspection of what exactly launching a launchfile would do, without having to do it.
It also has the side effect of checking for file correctness.

Design / Implementation Considerations

I think it's a reasonable expectation that this does as much as it can given the current context - if an included file can't be found then that's all the info we get for example. But in a real environment, the leafs of the launch tree (nodes, commands) would be printed exactly as they would be run.

Additional Information

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions