ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange
Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

You could create a node handle with a namespace for each one:

Capture::Capture([....]) :
    node_(node),
    node_left_(node, "left"),
    node_right_(node, "right"),
    [...],
    frame_id_(frame_id),
    info_managerLeft_( node_left_,   frame_id),
    info_managerRight_(node__right_, frame_id)
    {
    }

You could create a node handle with a namespace for each one:

Capture::Capture([....]) :
    node_(node),
    node_left_(node, "left"),
    node_right_(node, "right"),
    [...],
    frame_id_(frame_id),
    info_managerLeft_( node_left_,   frame_id),
    info_managerRight_(node__right_, info_managerRight_(node_right_, frame_id)
    {
    }