In ergocub_gazebo_simulations we always expected some <gazebo> tags at the end of the URDF. This resulted in several bugs when using a URDF with no such tags.
This PR solves these bugs, and makes the library work with and without <gazebo> tags. Plus, they don't need to be at the end of the URDF (they will be written at the end in the output file however).
In
ergocub_gazebo_simulations
we always expected some<gazebo>
tags at the end of the URDF. This resulted in several bugs when using a URDF with no such tags.This PR solves these bugs, and makes the library work with and without
<gazebo>
tags. Plus, they don't need to be at the end of the URDF (they will be written at the end in the output file however).cc @traversaro