How to find relative vector between two ARUCO markers?
Hi, I have three ARUCO Markers here (let's say, A,B and C). For instance, I want to know relative vector between these two vectors, this means, to get A(x,y,z) - B(x,y,z). My current try was to put an "If " condition and get the msg.pose.position information to a code vector, but it happens that msg.pose.position states for all three markers seen on camera at the same time. This means if I create a vector and put the coordinates on it, the relative vector between them all would be always a null vector. Is there a way to isolate the msg.pose.position from a specific marker? I am using the .cpp file located at ROS in order to use it with rosrun. The idea can be illustrated by this screenshot (https://imgur.com/a/hveLR7g). Any help would be great,
Lucas.