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

gazebo setting skybox #2

Closed
EricPedley opened this issue Sep 14, 2024 · 4 comments
Closed

gazebo setting skybox #2

EricPedley opened this issue Sep 14, 2024 · 4 comments

Comments

@EricPedley
Copy link
Member

EricPedley commented Sep 14, 2024

https://answers.gazebosim.org/question/28524/skybox-doesnt-render-on-camera-sensor/
https://app.gazebosim.org/OpenRobotics/fuel/worlds/Fortress%20demo
ign gazebo -r "https://fuel.ignitionrobotics.org/1.0/OpenRobotics/worlds/Fortress demo"
image

https://askubuntu.com/questions/1514352/ubuntu-24-04-with-nvidia-driver-libegl-warning-egl-failed-to-create-dri2-scre
sudo apt-get install libnvidia-egl-wayland1
reboot
same error :(

gazebosim/gz-rendering#587

Sike actually that error also prints out when I run working examples like the built-in sonoma raceway one. And like in that first forum post, the sky doesn't render in that example. The sonoma raceway example isn't even using a sky texture, it just sets the background.

@EricPedley
Copy link
Member Author

EricPedley commented Sep 14, 2024

The other error about setting param with empty string can be fixed by downloading the world and editing line 722 of fortress.sdf to
<model name="camera_model" element_id="base" action="add"> but it still hangs.

It's just super slow to load so it looks like it hangs. IDK if fixing that was actually necessary.

@EricPedley
Copy link
Member Author

Ugh this was a pain in the ass. Had to add another camera sensor under the semantic segmentation sensor and it takes 3 minutes each time I want to run it. Anyways, I reproduced the results in that forum post. Even though the sky renders perfectly fine for me in the GUI, in the image preview for the camera it doesn't render, and crashes a few seconds after running the simulation. I think this is because of the hydrodynamics physics. ArduPilot/ardupilot_gazebo#45

@EricPedley
Copy link
Member Author

More links here: https://answers.gazebosim.org/question/7474/how-do-you-render-a-realistic-outdoor-world-with-gazebo/

First answer is a 404,
Second answer doesn't error but doesn't

ACTUALLY, second answer works, I just didn't realize that the launch script I had copied in doesn't read my custom world file, it just puts the robot in a blank world.

@EricPedley
Copy link
Member Author

FINALLY!
image
ac01ddd

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

No branches or pull requests

1 participant