Ask Your Question

Using CHOMP in arm_navigation

asked 2012-07-10 16:44:14 -0500

bit-pirate gravatar image

Hi there!

I'm currently trying to get the CHOMP motion planner working for my robot arm using arm_navigation. So far with no luck, because the planner crashes here at line 795 (@chomp_motion_planner/src/chomp_optimizer.cpp):

00791       const string& jointName = joint_names_[joint];
00792       const KinematicModel::JointModel* jointModel = modelGroup->getJointModel(jointName);
00793       const KinematicModel::RevoluteJointModel* revoluteJoint = dynamic_cast<const KinematicModel::RevoluteJointModel*>(jointModel);
00795       if(revoluteJoint->continuous_)
00796       {
00797         continue;
00798       }

Crashing here makes sense, since my arm contains prismatic joints.

Before I start modifying the code, I would like to ask:

  • Is anybody currently using this planner with arm_navigation?
  • Did someone successfully apply this planner to arms containing joints other than revolute ones?
  • Is there any reason, why the planner is limited to revolute joints? E.g. Is the planner itself not capable of handling joints other than revolute ones?


edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted

answered 2012-07-17 08:32:41 -0500

egiljones gravatar image

I've used CHOMP with many arms with all revolute joints, and it should work with such arms. I've never used it with prismatic joints, but don't know of any reason why it shouldn't work. I bet you can at least get to point where the code doesn't crash with not much effort - it should be clear pretty quickly if things are working or not. I'm happy to accept a patch if you get things functional.

edit flag offensive delete link more


I filed a ticket plus patch: Apparently, there was just one missing check. I have been using CHOMP with this patch for a while now and couldn't find other bugs related to prismatic joints.

bit-pirate gravatar image bit-pirate  ( 2012-07-29 19:01:18 -0500 )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


Asked: 2012-07-10 16:44:14 -0500

Seen: 140 times

Last updated: Jul 17 '12