Open robotsorcerer opened 8 years ago
Thanks very much for the questions Lekan. Looks to me that the problems or question you described are more related to the gazebo simulator than to the ROS wrapper instead. For attracting more gazebo users and developers I would recommend to post these same questions in http://answers.gazebosim.org/. The second question is perfectly well explained. In the first one I would recommend to attach a video showing the unexpected behavior.
Thanks for question. 1 parent link may have be 1 or more child, but 1 child mustn't have be 1 or more parent at urdf. Probably, your child link have many parents.
Hi,
Thank you for this example. My question is two-fold.
(i) I have a URDF which has parallel linkages and multijoint definitions. I noticed that having a
child link
with multipleparent links
gave unexpected behavior when using thejoint_state_publisher gui
to move the joints: I could only one joint to move the head I am trying to control. The xacro file is in this link.(ii) I tried to export my URDF model to gazebo and in light of this, I wrote a separate file as you did in the rrbot example that adds a
gazebo element
for each link and joint. So I include the superchick_gazebo file within my superchick.xacro file and when I try to load it in gazebo, I notice that all my links come out correctly but the joints are not well placed as an rVIZ simulation showed:Here's what the interpreted sdf looked like in Gazebo.
In my terminal, I noticed warnings such as
I checked my URDF over and over to be sure that no two joints have the same name but every time I do
I notice there are two joints automatically generated for certain joints.
As a workaround, I think if there is a way to call a clean sdf directly in gazebo, that would be nice. I looked online, there doesn't seem to be a nice tutorial on how this can be achieved.
Are there ways to mitigate this problem?