Trouble in making parallel joint

asked 2017-11-08 01:32:06 -0600

this post is marked as community wiki

This post is a wiki. Anyone with karma >75 is welcome to improve it.

Hi everyone! I am working on a URDF and trying to create a parallel joint. Don't have enough karma to post the picture but I will try my best to explain the situation. The joint should be some way like this; Two parents have the same child, each joint should work individually fine as it is working now. What I need is the effect of both joint on each other. For example, I have the first revolute joint it is rotated by an angle (theta) and the second revolute joint is also trying to move the same link as the first one with another angle (eta). Now, these two joints should have a combined effect on another angle which should be (phi) which is the combined effect of both these rotation either simultaneously or one after another. So here comes the list of problems I faced while trying to build this model.

  1. At first, I tried to make it in URDF but as I read that URDF doesn't support any parallel joint and I tested it by myself too. Found this ( https://bitbucket.org/osrf/gazebo_mod... ) which showed me that it can only possible in SDF, that you can have two parents of the same child. Since it's just an SDF file of the gripper, so I don't know, if anyone has already run it or it worked successfully?
  2. I moved to the SDF and converted my file into SDF in order to check whether it has the ability to give me the solution I want. If someone has seen any example of it? how does the parallel joint thing work in SDF?
  3. Now the problem is that how can I import my model in Rviz, since I am unable to use the robot state publisher with the SDF, I found this ( https://answers.ros.org/question/2048... ) but it's kind of bit confusing for me. How can I use two formats (URDF and SDF) at the same time in my launch to see my model and get the TF tree. Can anyone explain me this also? If anyone knows any better approach, kindly drop your comments and suggestions, Thank you all.
edit retag flag offensive close merge delete