Gazebo | Ignition | Community
Ask Your Question
0

Gazebo fortress won't load once I add Contact plugin

asked 2023-06-13 16:30:33 -0500

Lestes gravatar image

I have this sdf file:

<sdf version="1.5">

<world name="rl_world">
    <include>
        <uri>path/to/plane.sdf</uri>
    </include>
    <include>
        <uri>/path/to/robot.urdf</uri>
    </include>
    <plugin filename="libignition-gazebo6-contact-system" name="ignition::gazebo::systems::Contact"> </plugin>
</world>

</sdf>

When I try to load in in gazebo with ign gazebo world.sdf it shows a blank grey screen with no entities. It doesn't give an error to the console. If I remove the plugin line it loads fine. Is there something wrong with it?

plane.sdf has a contact sensor on its only link and the TouchPlugin.

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted
0

answered 2023-06-13 23:38:37 -0500

azeey gravatar image

updated 2023-06-14 21:58:41 -0500

This is a known issue (https://github.com/gazebosim/gz-sim/i...) where having any plugin in your world prevents default plugins from being loaded, so you'll have to add the Physics and ~SystemBroadcaster~ SceneBroadcaster plugins and any other plugins you might need to your world

edit flag offensive delete link more

Comments

Thanks! Working now. Though for anyone in the future it's SceneBroadcaster. I think 'SystemBroadcaster' was a typo.

Lestes gravatar imageLestes ( 2023-06-14 15:36:30 -0500 )edit

Question Tools

1 follower

Stats

Asked: 2023-06-13 16:30:33 -0500

Seen: 123 times

Last updated: Jun 14 '23