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

Got IK error 33 after generating IK solver using planning description configuration wizard

asked 2012-11-05 17:17:59 -0600

shuai gravatar image

Hi All,

I recently generated the ik solver for my own 6 dofs robot arm using planning description configuration wizard. But when I tried to calculate the ik solution for a definitely feasible pose, I got the error code 33. I checked the rxconsole and it says that ik initial checking fails. Does anyone know what causes the problem? Thank you!

edit retag flag offensive close merge delete

2 Answers

Sort by ยป oldest newest most voted

answered 2012-11-05 17:49:17 -0600

updated 2012-11-06 18:45:15 -0600

-33 means IK_LINK_IN_COLLISION. so make sure that at your goal pose your robot does not collide with other objects. To check the detailed collision information, use the following code:

assuming that you have a variable planning_environment::CollisionModels* cm_, then you can use:

std::vector<arm_navigation_msgs::ContactInformation> contacts;
for(int i=0;i<contacts.size();i++)
    std::cout<<contacts[i].contact_body_1<<" and "<<contacts[i].contact_body_2
            <<" in collision"<<std::endl;
edit flag offensive delete link more

answered 2012-11-06 03:16:56 -0600

shuai gravatar image

Hi, thank you for the reply. I just tried it in an empty gazebo world. So there should not be objects in collision. The arm is 6 dofs plus a four fingers hand. So I have four groups. Do you think that the groups may collide? Otherwise do you know where I can check where the collisions come from? Thank you!

edit flag offensive delete link more


see my edited answer.

yangyangcv gravatar image yangyangcv  ( 2012-11-06 18:46:38 -0600 )edit

Question Tools


Asked: 2012-11-05 17:17:59 -0600

Seen: 281 times

Last updated: Nov 06 '12