Ask Your Question

ar_kinect marker coordinates

asked 2015-03-09 07:10:12 -0500

MSYazeed gravatar image

updated 2015-03-09 09:13:26 -0500

Hi guys,

I'm using ar_kinect for marker detection on ros hydro, as far it works perfectly and can visualize it on Rviz. But How would I get the coordinates (x,y,z) of the marker and the distant between the marker and the camera

Thanks for your help

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted

answered 2015-05-01 10:45:47 -0500

From the ar_kinect wiki page:

ar_pose_markers (ar_pose/ARMarkers) An array of markers, each marker describe the current pose relative to the camera.

visualization_marker (visualization_msgs/Marker) Visualization marker for rviz

So you should be able to get the positions from the ar_pose_markers messages. These poses will be in camera space, so you will need to define the transformation from camera space to world frame if you want the ar marker coordinates in world space. You could do this by making publishing a transform from your camera to the world space.

edit flag offensive delete link more

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools

1 follower


Asked: 2015-03-09 07:10:12 -0500

Seen: 108 times

Last updated: May 01 '15