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

Transforming pose to be relative to map

asked 2018-04-22 22:02:15 -0500

AlecR gravatar image

Hello,

I'm currently trying to use April Tags to localization my robot, but I have run into trouble with the pose I'm getting when a tag is detected. When the robot sees a tag, I get back a pose from the camera relative to the tag on the wall. Using this pose, I need to transform it to be get a pose relative to the map (fixed frame).

In figuring out how to do this, I have run into two issues:

  1. The pose my camera frame is receiving is relative to the tag, and this needs to be transformed relative to the fixed frame.
  2. The pose is using the camera frame, which is not used to navigate. If I get a pose relative to the fixed frame using this camera frame, there will still be inaccuracies because the camera is not the frame used to navigate. This transform needs to be from the navigation frame and relative to the fixed frame.

Here is a visual of my tree (in black) and what is happening / the goal of this issue (in red). I have < 5 points so need to use a link: https://pasteboard.co/HhSRqvx.png

Note: The APRIL_TAG frame is being published via one of my nodes, and the position is measured and hardcoded in relative to the origin. All other frames are built in to the TurtleBot 2 I am using.

edit retag flag offensive close merge delete

Comments

I have < 5 points so need to use a link: https://pasteboard.co/HhSRqvx.png

please attach your image directly to the question. I've given you sufficient karma for that.

gvdhoorn gravatar image gvdhoorn  ( 2019-07-10 04:43:43 -0500 )edit

1 Answer

Sort by ยป oldest newest most voted
0

answered 2019-07-09 19:31:00 -0500

jclinton830 gravatar image

updated 2019-07-10 01:03:11 -0500

jayess gravatar image

To get the transform of the tag relative to the fixed frame(i.e: Base of the robot) will be

the transform fixedFrame_to_cameraFrame multiplied by the transform cameraFrame_to_target

edit flag offensive delete link more

Question Tools

2 followers

Stats

Asked: 2018-04-22 22:02:15 -0500

Seen: 917 times

Last updated: Jul 10 '19