Skip to content

Handling namespace for multiple CameraInfoManagers in ROS2 jazzy #341

@PfeifferMicha

Description

@PfeifferMicha

Hi,

I'm trying to set up the driver for a stereo camera, so I need two CameraInfoManager instances.
The hope was that I could set up the classes in such a way that they advertise:

/stereo/node_name/left/set_camera_info and 
/stereo/node_name/right/set_camera_info

However, they always seem to end up advertising the exact same service name...?

/stereo/node_name/set_camera_info

Is there a workaround?

I saw that on the rolling branch, there is a "namespace" (ns) parameter that one can pass to the CameraInfoManager constructor, however it's missing on the jazzy branch. Is there a workaround? Or could this be backported?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions