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

get_current_pose

asked 2022-01-18 03:04:54 -0500

kensuk gravatar image

I get the pose from get_current_pose().pose of ur5e.

In the robotic arm panel : the position is : x: 152.26mm , y:280.68mm, z:114.20

But i get the pose from moveit, i got the result as follow: the position is : x: -0.1522626663639305, y: -0.2806858454952423, z: 0.11420906789126273

I would like to know how to get the correct pose position. Thanks.

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted
1

answered 2022-01-18 12:06:49 -0500

aarsh_t gravatar image

Both are correct positions. one is in millimeters and other is in meters.

edit flag offensive delete link more

Comments

This is the correct answer. For more information, check out ROS REP 103, which describes the standard units of measurement used within ROS.

cst0 gravatar image cst0  ( 2022-01-18 13:07:31 -0500 )edit

Thx you for your reply first.

But why one set of x y is position and another set xy is negative ? Thank

kensuk gravatar image kensuk  ( 2022-01-18 17:48:50 -0500 )edit

it might be due to the axis of reference. But I can not conclude more with the limited information available in the question.

aarsh_t gravatar image aarsh_t  ( 2022-01-19 00:37:37 -0500 )edit

Question Tools

2 followers

Stats

Asked: 2022-01-18 03:04:54 -0500

Seen: 250 times

Last updated: Jan 18 '22