-
Notifications
You must be signed in to change notification settings - Fork 13.7k
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] GZ_BRIDGE Check GZ_SIM_RESOURCE_PATH is set correctly. #23705
Comments
I can fully replicate this as well, even though I am setting the sim resource path manually the error still persists |
It has to do with changes to the gz bridge adding a scene service and setting a default follow distance to the airframe. I am using this patch to get around it for now.
|
@dirksavage88 Which version of gazebo are you using? Can you check if the service exist? The fact that the error message only appears once seems that the service call succeeds in the end no? |
I see now, yes it does eventually create the scene. The px4 model follow view angle is offset though, which made me suspect something was wrong with the scene/view angle and the error was causing it...So the view angle was just jarring enough and coupled with the error was just confusing. |
Replicated this and it shows a new gz_bridge error |
In 24.04 I get the same error. I noticed that |
@Varchasvin10 @snDevX The problems you are experiencing is different with @dirksavage88 The problem is that gz is not being built or started. I would check whether you can run gz |
gz sim is running in my system but the terminal shows gz_bridge warning and when i run an offboard example to control the uav, the gazebo simulation does not respond and the odom values also were not published. with the offboard example, |
I have the same problem. Has anyone solved the problem? |
@Varchasvin10 The warning has nothing to do with your problems in offboard. Can you fly the vehicle using QGC? @stw124 What do you mean by the "same"? It is not clear what the problem is in this thread. |
Even with QGC i cannot arm the uav, it gets disarmed and the teleop doesnt work. |
@Varchasvin10 sounds like your problem is not related to the one reported here |
It is, the gz_bridge error is not letting the messages be published to the gazebo |
@Varchasvin10 I don't think the error is related to the message not being published. You need to elaborate on why you have come to this conclusion. |
I have the same problem when I download the latest version. But when I return to the old version which I downloaded on June 11 ,2024, it's OK! I can control the UAV in Gazebo. |
same issue |
what is the solution does any one know |
Same issue :( |
@Jaeyoung-Lim I think people are conflating problems here. The error messages about the |
tell us which files you changed |
@snDevX GZBridge.cpp To be clear though... this error is harmless. It just means the |
Did anyone find a solution? I have ubuntu 24.04 and did not have this issue until now. make` px4_sitl gz_advanced_plane | ___ \ \ \ / / / | px4 starting. INFO [px4] startup script: /bin/sh etc/init.d-posix/rcS 0 |
@NaShoval Is there something that didn't work? |
When I run "make" in the PX4's directory, my gazebo does not initialise automatically. |
The default camera view is a little jarring since it's at an offset angle to the vehicle body: @Jaeyoung-Lim is it possible to get this fixed (just the timeout) since it still results in a degraded user experience? I understand it is a red herring for other errors users are seeing and commenting on, but fixing the core issue is still pretty important. |
Same issue here on ubuntu 24.04 when running
And gazebo launches exactly like @dirksavage88 most recent comment I tried running the same command first in an ubuntu:22.04 docker container after running Update: the patch worked, hopefully this gets fixed eventually tho |
@benbaarber Please consider making a pull request for the fix |
Same issue here on ubuntu 24.04 when running PX4_GZ_WORLD=lawn make px4_sitl gz_x500: ERROR [gz_bridge] Service call timed out. Check GZ_SIM_RESOURCE_PATH is set correctly. The Patch by @dirksavage88 worked (I don't understand why). |
|
ss |
I also faced the error , I had tried solving the error with many ways but the GZBridge is not properly build in new versions of px4. |
@surajsurve4511 As mentioned above, this is not an error |
But as of I tried of fetching Lidar sensor data with ros I was unable to get the data in ros2 node ..! |
@surajsurve4511 Publishing ros2 topics are not related to the issue on this thread. Please either open a new issue or post your question on https://discuss.px4.io/ |
Guys! i have found a simple adhoc solution!
Or you can just start gazebo in one terminal: |
It's fixed in the PR #24164 |
I ran the gazebo sitl simulation model make px4_sitl gz_x500_depth and the gz-bridge doesnt seem to be working. I killed all gz servers running and still this issue persists.
Im using ROS2 Humble on Ubuntu 22.04
To Reproduce
No response
Expected behavior
No response
Screenshot / Media
No response
Flight Log
No response
Software Version
No response
Flight controller
No response
Vehicle type
None
How are the different components wired up (including port information)
No response
Additional context
No response
The text was updated successfully, but these errors were encountered: