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

How to do motion planing with closed loop chain/graph robot structure?

asked 2016-12-20 07:55:25 -0600

jake123 gravatar image

updated 2016-12-20 09:58:30 -0600

gvdhoorn gravatar image

URDF supports only tree structure. SDF support graph structure but it is only for simulation. Moveit supports only URDF so I think I cant use it for motion planing (except if I close it with maths, witch is difficult). I think collada files supports closed loop chain but can I use it on ROS Moveit? Collada is working well with OpenRave but can it communicate with ROS so I can link it with my robot? This is the robot structure:

image

Is there any way to suggest me how I can do motion planing with closed loop chain?

edit retag flag offensive close merge delete

Comments

Can I know how did you model a closed chain in collada (.dae) files?!

mohamad mahdavian gravatar image mohamad mahdavian  ( 2019-01-23 19:02:49 -0600 )edit
1

urdf not support closed kinematic loops, the closed_loop_plugin can solve the issue that URDF not support Closed loop chains/graph. more details, please refer to:https://github.com/wojiaojiao/pegasus_gazebo_plugins or http://wiki.ros.org/Angel_jj/closed_l...

Angel-J gravatar image Angel-J  ( 2019-05-06 22:31:21 -0600 )edit

1 Answer

Sort by » oldest newest most voted
3

answered 2016-12-20 09:49:49 -0600

gvdhoorn gravatar image

updated 2016-12-20 10:06:51 -0600

Not sure I can answer all of your questions fully, but:

URDF supports only tree structure. SDF support graph structure but it is only for simulation.

SDF is not "only for simulation" per se, but it's true that right now it's really only used by Gazebo and nothing else.

Moveit supports only URDF so I think I cant use it for motion planing (except if I close it with maths, witch is difficult)

If you mean: "MoveIt supports only URDF and I can't model my robot in URDF, so ..", then yes, that is basically true. It's not really only URDF that is a problem: there is no support for IK/FK with closed chains in the components that are typically used in ROS (anything using KDL fi), so even if you could model your robot, there are no solvers (easily) available.

I think collada files supports closed loop chain but can I use it on ROS Moveit?

You can use Collada, but it is only used as a format to store robot geometry in (ie: meshes). None of the other features of Collada are supported (directly).

Collada is working well with OpenRave but can it communicate with ROS so I can link it with my robot?

The people over at github.com/personalrobotics have quite a few packages that let you integrate ROS and OpenRAVE. I'm not sure as to which level that integration works, but I seem to remember they at least have packages for loading URDFs, SRDFs, ROS kinematics plugins, various planners used in MoveIt, etc. You might want to look there for some inspiration.

Is there any way to suggest me how I can do motion planing with closed loop chain?

This is not going to be a satisfactory answer, but I think it would depend a bit on whether the closed-loop nature of your robot is really a property that you want to exploit, or if it's something that is there, but is not really used/usable:

  • if you really need to plan for the closed loop: I'm not sure that is possible right now (see comment above about there not being any solvers available fi). I do remember a potentially relevant discussion on moveit-users on ways to work-around the current limitations -- with MoveIt at least, there are many other frameworks that could probably plan for closed loops. See Planning for dual arm manipulation in object space.

  • if you have a robot that includes a closed loop to increase its max payload (and connects counterweights using the closed loop), or to reduce weight in the links (so it can place all actuators at the base fi), then you could either use mimic joints to model the parallel structure, or you could ignore it entirely. Most industrial robots fi that include parallel structures implicitly take care of the kinematics, reducing your planning problem to that of a regular serial chain.


A bit of context (slightly off-topic): Collada has also come ... (more)

edit flag offensive delete link more

Comments

When ROS2 will be released officially and why we don't use it now?

jake123 gravatar image jake123  ( 2016-12-20 10:46:12 -0600 )edit

That is really a completely different question, and I don't know the answer. Note that the discussion about a "next generation robot description format" is really just that: a discussion. Nothing has been decided or implemented. Using ROS2 will not help you with your problem at this point.

gvdhoorn gravatar image gvdhoorn  ( 2016-12-20 11:02:40 -0600 )edit

Ok. When I use mimic tag on t_joint_1 and check the urdf with check _urdf "name.urdf" it gives error about the tag. Maybe should I use this tag on SRDF that is officially supported or not?

jake123 gravatar image jake123  ( 2016-12-20 11:46:37 -0600 )edit

This is a bit of a different question to your original one, and might be better handled by you opening a new question. In general (and without seeing your urdf): mimic joints should work in URDF and are supported by MoveIt.

gvdhoorn gravatar image gvdhoorn  ( 2016-12-20 12:03:44 -0600 )edit

thanks for all that info. it was reassuring

danish-answers gravatar image danish-answers  ( 2017-01-20 10:10:22 -0600 )edit

Question Tools

4 followers

Stats

Asked: 2016-12-20 07:51:21 -0600

Seen: 2,360 times

Last updated: Jan 20 '17