Skip to content

[ROS2] compressed_subscriber may create an unintelligible parameter for mode_param_name #81

@jfinken

Description

@jfinken

What happens if the namespace of a subscriber node (node->get_effective_namespace()) has nothing to do with the base_topic to which it is subscribing?

More specifically, if the namespace from base_topic does not equal node->get_effective_namespace() then mode_param_name may be unintelligible.

Example:

base_topic: /ab_sync_out_ns/camera/sync/image
node->get_effective_namespace(): /efgh_viz_ns/
ns_len: 13
base_topic.substr(ns_len): ns/camera/sync/image
mode_param_name: ns.camera.sync.image.mode

I suspect the code wants to create the value: camera.sync.image.mode.

Thoughts?

Metadata

Metadata

Assignees

No one assigned

    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