Ask Your Question
0

Unit for the bounds of the IK call in trac_ik_python

asked 2018-06-06 10:18:55 -0600

Ravi Joshi gravatar image

I am using the get_ik function provided by trac_ik_python in the following way-

sol = ik_solver.get_ik(qinit,
                       x, y, z,
                       rx, ry, rz, rw,
                       bx, by, bz,
                       brx, bry, brz)

Regarding the above IK call, I have following two questions-

  1. What is the meaning of bound here? Is it allowed error/ tolerance?
  2. What is the unit for the bounds? I assume that for the position it is in meter, and for orientation, it is in degree.

PS: I am operating Baxter robot in ROS Indigo on Ubuntu 14.04 LTS 64 Bit PC.

edit retag flag offensive close merge delete

Comments

1

I assume that for the position it is in meter, and for orientation, it is in degree.

Why? 'degree' is not an SI unit.

gvdhoorn gravatar imagegvdhoorn ( 2018-06-06 16:11:48 -0600 )edit

1 Answer

Sort by ยป oldest newest most voted
2

answered 2018-06-07 01:24:40 -0600

Hello, I'm the author of trac_ik_python. In the Python wrapper we are just exposing the C++ interface. As far as I know, there is no documentation on what exactly the boundaries are, but, commonsense (and a bit of testing when I made the wrapper) makes me think it's the error/tolerance as you name them. Also the units should be the inherent units of the position/orientation.

So, in short, bx, by, bz should be in meters and brx, bry, brz should be radians (as it's the standard unit), and yes, the boundaries are the allowed errors.

Also brx should be boundary on rotation on X, so roll. In the same case bry, pitch and brz yaw.

.

edit flag offensive delete link more

Comments

Thank you very much! I got it.

Ravi Joshi gravatar imageRavi Joshi ( 2018-06-07 06:19:32 -0600 )edit

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

Stats

Asked: 2018-06-06 10:18:55 -0600

Seen: 67 times

Last updated: Jun 07 '18