ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange |
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)
{
}
2 | No.2 Revision |
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)
{
}