gazebosim / gz-sim

Open source robotics simulator. The latest version of Gazebo.
https://gazebosim.org
Apache License 2.0
669 stars 262 forks source link

Worlds in quick start on Harmonic contains ignition plugins and crashes with ambiguous errors #2488

Closed martincerven closed 1 month ago

martincerven commented 1 month ago

Environment

Description

The worlds contains ignition:: plugins, hence why it probably crashes, but it isn't obvious from errors, it might be good idea to print some warning that the worlds contains ignition:: plugins, it's very confusing that first thing people try, results in not so obvious errors.

Steps to reproduce

  1. gz sim --verbose
  2. select worlds: Panda, Prius,...
  3. crash

Output

Warning [Utils.cc:132] [/sdf/world[@name="sonoma"]/model[@name="prius_hybrid"]/joint[@name="steering_joint"]/axis/use_parent_model_frame:/home/youtube/.gz/fuel/fuel.gazebosim.org/openrobotics/worlds/prius on sonoma raceway/1/sonoma.sdf:L647]: XML Element[use_parent_model_frame], child of element[axis], not defined in SDF. Copying[use_parent_model_frame] as children of [axis].

Part of sonoma world:

<?xml version="1.0" ?>
<sdf version='1.7'>
  <world name='sonoma'>
    <scene>
      <grid>false</grid>
    </scene>
    <plugin
      filename="ignition-gazebo-physics-system"
      name="ignition::gazebo::systems::Physics">
    </plugin>
    <plugin
      filename="ignition-gazebo-sensors-system"
      name="ignition::gazebo::systems::Sensors">
      <render_engine>ogre2</render_engine>
    </plugin>
    <plugin
      filename="ignition-gazebo-user-commands-system"
      name="ignition::gazebo::systems::UserCommands">
    </plugin>
    <plugin
      filename="ignition-gazebo-scene-broadcaster-system"
      name="ignition::gazebo::systems::SceneBroadcaster">
    </plugin>
azeey commented 1 month ago

I'm able to reproduce this. Here's the error I get

[Err] [Server.cc:203] Error Code 14: Msg: Parser configurations requested resolved uris, but uri [file://media/materials/scripts/gazebo.material] could not be resolved.
[Err] [Server.cc:203] Error Code 9: Msg: Failed to load a world.

I believe this is why it's failing and it's probably due to #2349 requiring all URIs to be resolved.

martincerven commented 1 month ago

How long does it take to get binaries with these merged fixes? Or is it better to pull & build from source?

azeey commented 1 month ago

We plan to make a release today or tomorrow.