Skip to content

provide option to not create logging publisher #510

@wjwwood

Description

@wjwwood

Feature request

Feature description

Currently the node unconditionally creates a publisher for logging:

ret = rcl_logging_rosout_init_publisher_for_node(node);

This is potentially undesirable in systems which do not need this and have an rmw layer that aggressively preallocates storage for publishers and subscriptions.

There should be some way to control whether or not this occurs when creating the node, or possibly globally.

Implementation considerations

We should look for places where we assume this publisher exists for each node and ensure it falls back gracefully when it is disabled.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or requesthelp wantedExtra attention is needed

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions