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

Why Descartes found just ONE joint solution out of 50 iterations?

asked 2016-03-01 09:07:12 -0600

Yishin gravatar image

updated 2016-03-01 23:19:45 -0600

The following is my output while running Descartes:

[ INFO] [1456829278.022568503]: CartID: ID134 JointPoses count: 1
[ERROR] [1456829278.024742874]: Found 0 joint solutions out of 10 iterations
[ERROR] [1456829278.026359214]: Found 0 joint solutions out of 10 iterations
[ INFO] [1456829278.027336037]: Found 1 joint solutions out of 10 iterations
[ERROR] [1456829278.028985985]: Found 0 joint solutions out of 10 iterations
[ERROR] [1456829278.030645015]: Found 0 joint solutions out of 10 iterations
  1. My IK was generated by IKfast. Could that be why Descartes find just one solution out of 50 iterations?
  2. Is there a parameter to constrain the iteration numbers for searching joint solutions?

Thanks and Regards

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted
0

answered 2016-03-01 23:48:58 -0600

Yishin gravatar image

updated 2016-03-02 10:36:27 -0600

After enabling the DEBUG messages, I found most of the IKFast solutions are out of joint limit. Does this suggest the quality of my IK model is poor?

getPositionIK
Found 8 solutions from IKFast
Sol 0: 1.690987e+00   -2.232526e+00   -1.822946e+00   -1.513597e-01   9.193312e-01   1.663007e+00
Not in limits! 0 value 1.69099 has limit: 1  being  -4 to 1.3
... ... ...
Sol 7: -1.450605e+00   -1.029561e+00   1.810746e+00   -1.698869e-01   -7.883345e-01   -1.450452e+00
Not in limits! 1 value -1.02956 has limit: 1  being  -0.138 to 3.05
No solution whatsoever
Found 0 joint solutions out of 10 iterations

Yes, this is because the automatically generated IKFast does not deal with joint_limit correctly. After resolving the IKFast/joint_limit issue, joint solutions becames 19 solutions out of 50 iterations.

[ INFO] [1456935580.587935731]: Found 4 joint solutions out of 10 iterations
[ INFO] [1456935580.589146536]: Found 4 joint solutions out of 10 iterations
[ INFO] [1456935580.590355616]: Found 4 joint solutions out of 10 iterations
[ INFO] [1456935580.591487295]: Found 3 joint solutions out of 10 iterations
[ INFO] [1456935580.592600095]: Found 4 joint solutions out of 10 iterations
[ INFO] [1456935580.592628198]: CartID: ID201 JointPoses count: 19
edit flag offensive delete link more

Comments

Could you provide some more detail? What did you use to generate the IKFast plugin fi? How did you resolve the "joint_limit issue"?

gvdhoorn gravatar image gvdhoorn  ( 2016-03-02 10:41:25 -0600 )edit

For improving IKFast, I referred to Using IkFast on a UsarsimROS Robot by Teddy Weisman. My modification is here.

Yishin gravatar image Yishin  ( 2016-03-02 17:49:11 -0600 )edit

Question Tools

2 followers

Stats

Asked: 2016-03-01 09:07:12 -0600

Seen: 290 times

Last updated: Mar 02 '16