Closed Sebastian-Schroder closed 1 year ago
I further tested this by trying out downloading gazebo garden and following the same steps on the gz-sim7 branch, resulting in the same errors. I also tried building all of the example plugins in gazebo garden, of which the only ones that didn't work were:
custom component all of the above hung with a blank simulation as shown above.
rendering_plugins this just couldn't find the shared library, which is probably my fault but i still want to raise it, in case it means anythings.
If you are loading a custom world plugin, none of the default world plugins will be loaded. You'll have to tell Gazebo to load them yourself. Is that what's happening? Also see https://gazebosim.org/api/sim/7/server_config.html
@azeey thanks, I'll test that when I've got some free time. btw would you happen to know which plugins are loaded by default? thank you for the insight
@azeey thanks, I'll test that when I've got some free time. btw would you happen to know which plugins are loaded by default? thank you for the insight
You should be able to find the default plugins in the default config created in $HOME/.gz/sim/<#>/server.config
yep works, thank you for the solution
I have created a forum post with relevant information. but I've put the most pressing info here.
Environment
Description
Steps to reproduce
git clone https://github.com/gazebosim/gz-sim.git -b ign-gazebo-5
cd gz-sim/examples/plugin/system_plugin
<include><uri>https://fuel.ignitionrobotics.org/1.0/OpenRobotics/models/Ground Plane</uri></include>
mkdir build && cd build && cmake .. && make
IGN_GAZEBO_SYSTEM_PLUGIN_PATH
cd .. && ign gazebo sample_system.sdf
notes:
Output
When the plugins are commented out of the world, loading the world results in the following simulation
when the plugins are included. the world looks like this:
gazebo versions:
Verbose output when running with plugins:
it continues running the sample system PreUpdate and PostUpdate methods until the simulation is closed