-
Notifications
You must be signed in to change notification settings - Fork 5
The joint comes off. #1
Comments
Hey @Gou-T I have also used the same strategy with a 1R2T and a 3R3T cable robot without any issues. I encountered some stability issues with the Gazebo solver though where the simulation would literally blow up for certain configurations. I fixed it by adjusting my physics solver settings. Weirdly enough Bullet would also handle it a lot better than ODE. In any case the basic working principle of my example is that you can also use SDF to describe a system to Gazebo while ROS is only able to handle URDF-files. I break up the parallel robot into serial chains and connect the additional "redundant" joints that make it parallel with SDF joints. I add the additional joints as SDF code into the URDF that will be recognised by Gazebo only while they will be invisible to ROS. This way I can read the geometry parameters of the URDF in ROS and adjust my ROS nodes (e.g. for forward or inverse kinematics) accordingly but I am still able to simulate the full parallel system in Gazebo. |
Thanks for replying. |
Hey @Guo-T First of all there seems to be an issue with your model: If you remove links Furthermore in your initial file (i named it So what I did was tried to fix it by connecting Here are your modified URDF-files without the transmissions/motors I have also played around with the initial model and while it works with the SDF between the base link (worked both for fixed and floating to world) and the last child, it seems it does not work between two children of the base link. So there might be restrictions to this trick. So far is has worked quite well for my applications which are these simple examples and several cable-driven parallel robots. |
Thank you for your answer. |
Hey again @Gou-T P.S.: If I was you, I would use Xacro instead of URDF directly. It is way easier if you have to change parameters and you can always generate an URDF by typing |
I'm programming a closed-loop robot.
So this code helped me a lot.
But when I added a new link to a square closed loop, the joint described in the SDF came off.
I can't see how the joints described in the SDF are connected in any way.
It seems that adding a joint described by SDF to URDF is not enough.
Please let me know.
The text was updated successfully, but these errors were encountered: