-
Notifications
You must be signed in to change notification settings - Fork 283
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
Conveyor
& TrackedVehicle
example worlds are not working
#1662
Comments
Hi @jasmeet0915, You need to install this dart from
because you need a specific header which is not available in ubuntu 20.04. Anyhow I was testing this feature on Garden and I found some issues with the conveyor, can you test it too? |
Hi @ahcorde, Thank you for your answer. I installed the Also, those examples seem to work on the Garden source build but still don't work on the Fortress Binary install as well as the Edifice source install I had. Any ideas about what might be the issue there? |
I reproduced this issue on 22.04+Fortress/Garden and Ubuntu20.04+Fortress/Dome. The examples worked on Ubuntu 18.04+Dome. How can i get these examples working under Ubuntu 22.04? I tried building Library [/home/azazdeaz/repos/temp/dart/build/lib/libdart.so] does not export any plugins. The symbol [IgnitionPluginHook] is missing, or it is not externally visible.
[Err] [Physics.cc:771] Unable to load the [/home/azazdeaz/repos/temp/dart/build/lib/libdart.so] library. Is there any documentationtutorial i can follow to get this working? (I found things like this, but they didn't get me closer) |
I am having the same issue on Ubuntu 22.04 + Garden. I noticed that gazebo uses DART by default and $ gz sim -h
--physics-engine [arg] Gazebo Physics engine plugin to load.
Gazebo will use DART by default.
(gz-physics-dartsim-plugin)
Make sure custom plugins are in
GZ_SIM_PHYSICS_ENGINE_PATH. However, nothing is happening with the example. Do we need to define all the System Parameters as described in TrackController Class Reference The example in this repo only set the link parameter: gz-sim/examples/worlds/conveyor.sdf Lines 147 to 151 in 3592c20
Can anyone provide a working example? |
To prevent anyone else from loosing a lot of time on this:
I wrongly interpreted this as "You need So once I realized this, I got it working by:
What issues? If I start the simulation, the cube drops onto the conveyor and if I press 'w' it starts moving. The only thing I assume is that belt velocities are instantaneously set, whereas the acceleration of the object on the belt is probably limited by the maximum friction force between belt and object. |
I also tried to get it working without knowing that you replied but my steps are similar to yours. I used Ignition Fortress instead of Gazebo Garden on Ubuntu 22.04. However, these are my findings you didn't mentioned:
sudo apt -y install \
$(sort -u $(find . -iname 'packages-'`lsb_release -cs`'.apt' -o -iname 'packages.apt' | grep -v '/\.git/') | sed '/ignition\|sdf/d' | tr '\n' ' ')
For me it works fine. |
Indeed, I had installed Garden from source first, and then lateron removed libdart, installed dart 6.13 and recompiled Garden. So I didn't run the
I tried the |
After I tested it again, it also worked perfectly for me. Anyhow, I think this shows some major issues:
|
Is there a recommanded install procedure for the new dart lib? I'm trying to install the new dart from the PPA with the ros release of gazebo fortress ros-humble-ros-gz however, when I try to install ros-humble-ros-gz with apt (after installing dart-dev from the PPA), I seem to create a conflict and basically brick apt... A colleague managed to make it work building gazebo from source in a docker but it'd be nice to have a easier way to do it in the future with apt |
gz-harmonic is shipped with DART 6.13, so the Conveyer and TrackedVehicle work without compiling DART from source. |
This issue is not solved on 20.04/Fortress. The system DART does not support tracked vehicles at all (it has even many more missing features as it is DART 6.9 and not the 6.10 relied upon during SubT when the tracked vehicles support was added). For reference, this is a short guide to what I did to get it working without breaking Gazebo 11 and keeping most of Fortress installed from binary (except physics-dartsim-plugin):
To disable the ugly hack and use stock ign-physics, do:
@azeey If there's a better way to run a custom build of ign-physics without building ign-gazebo from source, please tell me. |
Hi, as of today the example does not work using Gazebo Fortress. Do I really need to build from source Gazebo to make the example work? |
I'd recommend moving to a later version of gazebo, the solution we ended up with was to use harmonic and build ros_gz from source with the correct version flag |
Yes, with Gazebo Harmonic works. However, I have now broken everything related to ros2_control with Gazebo since I cannot find the related plugins. Do any of you guys have experience with this? Do I need to compile from source also ros2 control? |
Environment
Tested on multiple builds as mentioned below:
Binary: Fortress v6.10
Source: Edifice v5.3 & Garden v7.0~pre1
Description
conveyor.sdf
andtracked_vehicle_simple.sdf
examples should work using the TrackController plugin.<debug>
as true does not print any debug messages nor any other error messages are observed. Tested the same on multiple systems and builds but the result is the same.Output
The text was updated successfully, but these errors were encountered: