-
Notifications
You must be signed in to change notification settings - Fork 801
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Error about nested models regarding gps0_joint #536
Comments
You are using Gazebo 11 right? |
Yes. |
Then I would say that a solution needs to be find in the OSRF side to fix the fact |
@julianoes that was the initial issue I had posted till I changed the issue to be about the R1 since it evolved more into an R1 issue for us. |
@julianoes @TSC21 Note The current version of libsdformat's DOM API does not support models defined directly inside parent models. As a workaround, such models can be accessed using the Element API. http://sdformat.org/tutorials?tut=composition @TSC21 do we even need a nest GPS model, what previous problem does it exactly solve (just curious for background understanding)? Side note going forward it appears this might be an issue no matter what for any future gazebo or ignition sims with v1.7 so figuring out what works best for current versions (v1.7 SDF) I think is critical. If we don't need the GPS nested the way it was changed recently to be then maybe roll it back to previous method. |
Also looks like work on it is added as a milestone for SDF v1.8, not sure if it will be released ever to v1.7. gazebosim/sdformat#283 |
I can reproduce this on Ubuntu Focal, Gazebo 11.0.0 |
Seems like gazebosim/gazebo-classic#2824 is relent to the discussion here |
@TSC21 Is there a reason why we are using nested models verses normal tags for multiple gps models? |
What do you mean with normal tags? |
@TSC21 Instead of
we can do
This way we don't need to deal with the problems arising from nested models not being supported. |
That's true, but what exactly is not supported? The |
The problem with the above is that you need to repeat it to each sensor you add, which is really painful and starts to grow in a crazy way. |
The include is supported, but nested models are not, as written in the error:
|
Since we removed the need for Xacro and replaced with jinja, we can now use |
With discussion with @TSC21 this issue should have been fixed when transitioning to sdf templates. @julianoes Please reopen if the issue persists |
I get the following error on
gzserver
startup withiris
:FYI @TSC21 @Jaeyoung-Lim
The text was updated successfully, but these errors were encountered: