Skip to content
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

[BUG] gazebo citadel fails to load sdf files that aren't a part of a <world> but doesn't throw an error. #1941

Closed
rydb opened this issue Mar 23, 2023 · 0 comments · Fixed by #1998
Labels
bug Something isn't working good first issue Good for newcomers help wanted We accept pull requests!

Comments

@rydb
Copy link

rydb commented Mar 23, 2023

Environment

  • OS Version: Ubuntu 20.04
    binary build
    Citadel v3.14.0

Description

  • Expected behavior: gazebo throws an error to state that sdfs must be part of a world to be loaded, then closes
  • Actual behavior: gazebo says that it load the file, then gazebo terminates it self with no error.

Steps to reproduce

  • generate an sdf from with the urdf -> sdf converter tool via `ign sdf -p"
  • attempt the load the sdf via `ign gazebo -v4 <path_to_sdf>

Output

[Msg] Ignition Gazebo GUI    v3.14.0
[Dbg] [ign.cc:160] Subscribing to [/gazebo/starting_world].
[Dbg] [ign.cc:162] Waiting for a world to be set from the GUI...
[Dbg] [Gui.cc:245] Waiting for subscribers to [/gazebo/starting_world]...
[Msg] Received world [<path_to_sdf>/diff_bot.sdf] from the GUI.
[Dbg] [ign.cc:166] Unsubscribing from [/gazebo/starting_world].
[Msg] Ignition Gazebo Server v3.14.0
[Msg] Loading SDF world file[<path_to_sdf>diff_bot.sdf].
[Msg] Serving world names on [/gazebo/worlds]
[Msg] Resource path add service on [/gazebo/resource_paths/add].
[Msg] Resource path get service on [/gazebo/resource_paths/get].
[Msg] Resource paths published on [/gazebo/resource_paths].
[Msg] Server control service on [/server_control].
[Dbg] [ign.cc:410] Shutting down ign-gazebo-server
@rydb rydb added the bug Something isn't working label Mar 23, 2023
@osrf-triage osrf-triage added this to Inbox in Core development Mar 23, 2023
@azeey azeey moved this from Inbox to To do in Core development Mar 30, 2023
@azeey azeey added help wanted We accept pull requests! good first issue Good for newcomers labels Mar 30, 2023
@quarkytale quarkytale moved this from To do to Done in Core development Jun 13, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working good first issue Good for newcomers help wanted We accept pull requests!
Projects
Archived in project
Development

Successfully merging a pull request may close this issue.

3 participants