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] surface_vehicles.md workspace wget command not working #2329

Closed
PerFrivik opened this issue Mar 6, 2024 · 4 comments · Fixed by #2330
Closed

[Bug] surface_vehicles.md workspace wget command not working #2329

PerFrivik opened this issue Mar 6, 2024 · 4 comments · Fixed by #2330
Assignees
Labels
bug Something isn't working

Comments

@PerFrivik
Copy link

PerFrivik commented Mar 6, 2024

Environment

  • Ubuntu 22.04:
  • Source (gz-sim8, 2ca64d0)
per@per ~ $ mkdir ~/gazebo_maritime_ws
wget https://raw.githubusercontent.com/gazebosim/gz-sim/gz-sim8/tutorials/files/surface_vehicles/gazebo_maritime_ws -o ~/gazebo_maritime_ws -r
wget: /home/per/gazebo_maritime_ws: Is a directory

Description

  • Expected behavior: The command from the surface_vehicles.md page to work.
  • Actual behavior: The error above, under the details section.

Steps to reproduce

Run this command:

mkdir ~/gazebo_maritime_ws
wget https://raw.githubusercontent.com/gazebosim/gz-sim/gz-sim8/tutorials/files/surface_vehicles/gazebo_maritime_ws -o ~/gazebo_maritime_ws -r

Output

wget: /home/per/gazebo_maritime_ws: Is a directory

Thanks!

@PerFrivik PerFrivik added the bug Something isn't working label Mar 6, 2024
@caguero caguero self-assigned this Mar 6, 2024
@caguero
Copy link
Contributor

caguero commented Mar 6, 2024

Thanks for reporting it, there were problems with the wget commands. See #2330 .

@PerFrivik
Copy link
Author

Nice, thanks for the fast response!

@PerFrivik
Copy link
Author

I got around the wget issues, but now when trying to run the sydney_regatta, I get the following error:

[Err] [SystemLoader.cc:119] Failed to load system plugin: (Reason: Could not find shared library)

  • Requested plugin name: [maritime::PublisherPlugin]
  • Requested library name: [libPublisherPlugin.so]
  • Library search paths:
    • /home/per/.gz/sim/plugins/
    • /usr/lib/x86_64-linux-gnu/gz-sim-7/plugins/
    • /home/per/.ignition/gazebo/plugins/
      [Err] [SystemLoader.cc:119] Failed to load system plugin: (Reason: Could not find shared library)
  • Requested plugin name: [maritime::WaveVisual]
  • Requested library name: [libWaveVisual.so]
  • Library search paths:
    • /home/per/.gz/sim/plugins/
    • /usr/lib/x86_64-linux-gnu/gz-sim-7/plugins/
    • /home/per/.ignition/gazebo/plugins/

I tried exporting the gazebo plugin paths to the binaries, but it still did not work.

export GAZEBO_PLUGIN_PATH=/home/per/gz-sim/tutorials/files/surface_vehicles/gazebo_maritime_ws/install/lib:${GAZEBO_PLUGIN_PATH}

@caguero
Copy link
Contributor

caguero commented Mar 7, 2024

I can't reproduce it. It works for me.

  1. Did you compile the gazebo_maritime_ws?
  2. Can you see libPublisherPlugin.so under ~/gazebo_maritime_ws/install/lib/?

Make sure that you're setting these environment variables as the tutorial describes:

export GZ_SIM_RESOURCE_PATH=$GZ_SIM_RESOURCE_PATH:~/gazebo_maritime_ws/install/share/gazebo_maritime/models
export GZ_SIM_SYSTEM_PLUGIN_PATH=$GZ_SIM_SYSTEM_PLUGIN_PATH:~/gazebo_maritime_ws/install/lib
export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:~/gazebo_maritime_ws/install/lib

@azeey azeey moved this from Inbox to In progress in Core development Mar 11, 2024
@github-project-automation github-project-automation bot moved this from In progress to Done in Core development Mar 12, 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

Successfully merging a pull request may close this issue.

2 participants