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

Can't start new worlds #2438

Closed
rfpg1 opened this issue Jun 7, 2024 · 3 comments
Closed

Can't start new worlds #2438

rfpg1 opened this issue Jun 7, 2024 · 3 comments
Labels
bug Something isn't working

Comments

@rfpg1
Copy link

rfpg1 commented Jun 7, 2024

Environment

OS Version: Ubuntu 24.04
Binary install: Gazebo Harmonic LTS

Details

Im new to gazebo and still trying to understand how it works

Just installed gazebo harmonic on a fresh install of Ubuntu 24.04, also have ros2 jazzy if it matter

However i can't do gz sim shapes.sdf

Get this error:

The 'gz' command provides a command line interface to the Gazebo Tools.

 gz <command> [options]

List of available commands:

  help:          Print this help text.
  log:           Record or playback topics.
  msg:           Print information about messages.
  param:         List, get or set parameters.
  service:       Print information about services.
  topic:         Print information about topics.

Options:

  --force-version <VERSION>  Use a specific library version.
  --versions                 Show the available versions.
  --commands                 Show the available commands.
Use 'gz help <command>' to print help for a command.

Description

Expected behavior: Shouldn't a world open?
Actual behavior: Nothing happens

Steps to reproduce

  1. Install Gazebo Harmonic TLS from source
  2. Try to do gz sim

Help

If you need more information let me know

Thanks for your help

@rfpg1 rfpg1 added the bug Something isn't working label Jun 7, 2024
@rfpg1
Copy link
Author

rfpg1 commented Jun 8, 2024

Updates
Found the actual problem, I have ros2 jazzy when i installed: sudo apt install ros-jazzy-ros-gz-bridge lost access to gz sim and some others

Previous output of gz:

The 'gz' command provides a command line interface to the Gazebo Tools.

  gz <command> [options]

List of available commands:

  help:          Print this help text.
  fuel:          Manage simulation resources.
  gui:           Launch graphical interfaces.
  launch:        Run and manage executables and plugins.
  log:           Record or playback topics.
  model:         Print information about models.
  msg:           Print information about messages.
  param:         List, get or set parameters.
  plugin:        Print information about plugins.
  sdf:           Utilities for SDF files.
  service:       Print information about services.
  sim:           Run and manage the Gazebo Simulator.
  topic:         Print information about topics.

Options:

  --force-version <VERSION>  Use a specific library version.
  --versions                 Show the available versions.
  --commands                 Show the available commands.
Use 'gz help <command>' to print help for a command.

Current output of gz:

The 'gz' command provides a command line interface to the Gazebo Tools.

  gz <command> [options]

List of available commands:

  help:          Print this help text.
  log:           Record or playback topics.
  msg:           Print information about messages.
  param:         List, get or set parameters.
  service:       Print information about services.
  topic:         Print information about topics.

Options:

  --force-version <VERSION>  Use a specific library version.
  --versions                 Show the available versions.
  --commands                 Show the available commands.
Use 'gz help <command>' to print help for a command.

Any ideas?

Edit:

Typo

@rfpg1
Copy link
Author

rfpg1 commented Jun 8, 2024

Tried to uninstall but didn't solve and i need that bridge so wouldn't be a solution anyway

@rfpg1
Copy link
Author

rfpg1 commented Jun 10, 2024

Managed to fix this

All I had to do was: ros-jazzy-gz-sim-vendor as mencioned here: https://community.gazebosim.org/t/gazebo-harmonic-packages-available-on-ubuntu-noble/2772/8

@rfpg1 rfpg1 closed this as completed Jun 10, 2024
@github-project-automation github-project-automation bot moved this from Inbox to Done in Core development Jun 10, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
Archived in project
Development

No branches or pull requests

1 participant