Open Dave-van-der-Meer opened 9 months ago
Hi @Dave-van-der-Meer, The 2021 and 2022 marsyard terrain models use TIF heightmaps which are only supported since Gazebo Garden. They won't work unfortunately if you are using Gazebo Fortress edition.
To use these packages with Gazebo Garden (assuming you are using Ubuntu):
gz-garden
metapackage and ros_gz
ROS package (compiled for Gazebo Garden):
sudo apt install gz-garden ros-humble-ros-gzgarden
GZ_VERSION
variable to garden
Now you should be able to run the simulation using Garden distribution:
ros2 launch leo_gz_bringup leo_gz.launch.py sim_world:=marsyard2022.sdf
Awesome.
After installing the packages mentioned in the last comment:
sudo apt install gz-garden ros-humble-ros-gzgarden
And launching:
ros2 launch leo_gz_bringup leo_gz.launch.py sim_world:=marsyard2022.sdf
I initially got only a black screen.
But then I launched the simulation again without the sim_world:=marsyard2022.sdf
and the robot appeared.
Then I tried again the command with the world, and it finally worked.
ros2 launch leo_gz_bringup leo_gz.launch.py sim_world:=marsyard2022.sdf
But I'm also using gz (gazebo) garden
compiled from source.
The image you see above is running a local docker container.
The linux specifications:
No LSB modules are available.
Distributor ID: Ubuntu
Description: Ubuntu 22.04.3 LTS
Release: 22.04
Codename: jammy
Hi there,
First of all, very nice simulation. Unfortunatelly, I only get the Mars Yard 2020 working. For the other two worlds, I get error messages telling me that it cannot open some textures. The simulator opens, the robot model is loaded, but the terrain models are either missing or faulty.
Mars Yard 2022
Mars Yard 2021
My system specifications are as follows:
Ubuntu 22.04 running on an Intel i5 laptop, ROS2 Humble and Ignition Gazebo Fortress.
To replicate the issue, you have to follow the steps in the README and then run the command to launch the MarsYard worlds. I changed the path to the world file according to my workspace name (leosim_ws).
I hope these issues can be resolved soon.