-
Notifications
You must be signed in to change notification settings - Fork 277
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
System plugins (contact sensor) still not working when spawned #2223
Comments
I can confirm this:
|
I am able to reproduce this as well. I think the issue is that Contact uses I see three solutions, with increasing complexity:
|
I could fix 1 or 2, especially since 1523 did the same as 2, I believe. I cannot answer though if we are ok with 1 ¯_(ツ)_/¯ Thanks for taking a look though! |
@azeey I was just implementing your 2nd suggested version when I ran into runtime issues and started testing back and forth with the new and previous version. I suddenly wasn't able to reproduce the issue anymore. It turns out, if you put the plugin tag in the sdf for the This would suggest that it doesn't matter when the entities are created in the sequence. What's important is that the |
The |
Environment
Description
gz topic -l
regardless of spawning a model through the world file or through create serviceSteps to reproduce
I was using an xacro/urdf description, but converted manually to sdf for testing
Combined test world:
To avoid clutter, I leave it at that. Just separate model and world and spawn via
gz service -s /world/test_world/create --reqtype gz.msgs.EntityFactory --reptype gz.msgs.Boolean --timeout 200 --req 'sdf_filename: "[path_to_model_sdf]" '
The text was updated successfully, but these errors were encountered: