ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange |
1 | initial version |
By having two frames that are different, but both named "tag_2", you are violating the TF assumption that the tree is a simple branching structure. You need to somehow create unique names for the tag objects identified by each camera e.g. "tag_2a" and "tag_2b".
That solution also answers the question you asked: do a lookup for the (now unique) child_frame_id.