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

gz-physics: Plugin Loading #1415

Closed
azeey-test opened this issue Aug 29, 2024 · 5 comments
Closed

gz-physics: Plugin Loading #1415

azeey-test opened this issue Aug 29, 2024 · 5 comments

Comments

@azeey-test
Copy link
Collaborator

Configuration

  • os: Ubuntu Noble

Links

Process

Step 1 - Instructions work

Step 2 - Images (if there are any) match the result

@shameekganguly
Copy link

I'd like to test this one!

@Combuster54
Copy link

Ubuntu 24.04 Noble

Compile the loader

combuster@combuster54:~/test/gazebo-ionic-physics/hello_world_loader/build$ cmake ..
-- The C compiler identification is GNU 13.2.0
-- The CXX compiler identification is GNU 13.2.0
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working C compiler: /usr/bin/cc - skipped
-- Detecting C compile features
-- Detecting C compile features - done
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Check for working CXX compiler: /usr/bin/c++ - skipped
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Looking for gz-plugin3 -- found version 3.0.0~pre1
-- Searching for dependencies of gz-plugin3
-- Looking for gz-utils3 -- found version 3.0.0~pre3
-- Searching for dependencies of gz-utils3
-- Searching for <gz-utils3> component [cli]
-- Looking for gz-utils3-cli -- found version 3.0.0~pre3
-- Searching for dependencies of gz-utils3-cli
-- Searching for <gz-plugin3> component [all]
-- Looking for all libraries of gz-plugin3 -- found version 3.0.0~pre1
-- Looking for gz-plugin3 -- found version 3.0.0~pre1
-- Looking for gz-plugin3-loader -- found version 3.0.0~pre1
-- Searching for dependencies of gz-plugin3-loader
-- Looking for gz-plugin3-register -- found version 3.0.0~pre1
-- Searching for dependencies of gz-plugin3-register
-- Looking for gz-physics8 -- found version 8.0.0~pre2
-- Searching for dependencies of gz-physics8
-- Looking for gz-common6 -- found version 6.0.0~pre2
-- Searching for dependencies of gz-common6
-- Looking for gz-utils3 -- found version 3.0.0~pre3
-- Searching for dependencies of gz-utils3
-- Searching for <gz-utils3> component [log]
-- Looking for gz-utils3-log -- found version 3.0.0~pre3
-- Searching for dependencies of gz-utils3-log
-- Performing Test CMAKE_HAVE_LIBC_PTHREAD
-- Performing Test CMAKE_HAVE_LIBC_PTHREAD - Success
-- Found Threads: TRUE  
-- Checking for module 'uuid'
--   Found uuid, version 2.39.3
-- Found UUID: TRUE  
-- Searching for <gz-common6> component [testing]
-- Looking for gz-common6-testing -- found version 6.0.0~pre2
-- Searching for dependencies of gz-common6-testing
-- Looking for gz-math8 -- found version 8.0.0~pre1
-- Searching for dependencies of gz-math8
-- Looking for gz-utils3 -- found version 3.0.0~pre3
-- Searching for <gz-math8> component [eigen3]
-- Looking for gz-math8-eigen3 -- found version 8.0.0~pre1
-- Searching for dependencies of gz-math8-eigen3
-- Looking for gz-plugin3 -- found version 3.0.0~pre1
-- Looking for gz-utils3 -- found version 3.0.0~pre3
-- Configuring done (0.4s)
-- Generating done (0.0s)
-- Build files have been written to: /home/combuster/test/gazebo-ionic-physics/hello_world_loader/build
combuster@combuster54:~/test/gazebo-ionic-physics/hello_world_loader/build$ make
[ 50%] Building CXX object CMakeFiles/hello_world_loader.dir/hello_world_loader.cc.o
[100%] Linking CXX executable hello_world_loader
[100%] Built target hello_world_loader

Load existing plugins

combuster@combuster54:~/test/gazebo-ionic-physics/hello_world_loader/build$ ./hello_world_loader /usr/lib/x86_64-linux-gnu/gz-physics-8/engine-plugins/libgz-physics-dartsim-plugin.so
Testing plugin: gz::physics::dartsim::Plugin
  engine name: dartsim-6.13.2

Works as expected, but it's another version of dartsim. The tutorial shows dartsim-6.10.0

@azeey
Copy link
Contributor

azeey commented Sep 13, 2024

Mind creating a PR for the dartsim version? I'll close this since a fairly minor issue.

@azeey azeey assigned Combuster54 and unassigned shameekganguly Sep 13, 2024
@azeey azeey closed this as completed Sep 13, 2024
@Combuster54
Copy link

Sure @azeey. I'm going to read the contribute guide

@Combuster54
Copy link

PR gazebosim/gz-physics#686

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants