I am detecting Aruco code with:
rvec, tvec = aruco.estimatePoseSingleMarkers(corners, markersize, cam_mat, dist_coef)
what I get are rvec, tvec that are relative to the camera position.
Also i can easily get Word position of detected camera using:
(trans, rot) = listener.lookupTransform('odom', 'base_footprint', rospy.Time(0))
So my question is how to calculate the position of the aruco code relative to world positions? My goal is to use MoveBaseGoal() for navigation to this Marker.
I m new to this so I'd like to hear advice on how to do it right
I have calibrated camera for accuracy.