This package aims to centralize 3D simulation assets used by the Biomass Group at LARIS (Laboratory of Autonomous Robots & Intelligent Systems), UFSCar.
The main goal is to provide reusable, research-oriented 3D models and worlds that better represent real forest environments, with special focus on the Brazilian Cerrado.
Important
This branch is the solution for ROS 2.
If you are using ROS Noetic, go to the ros-noetic branch:
https://github.com/dederomagnolo/biomass-simulation-resources/tree/ros-noetic
- Ubuntu: 24.04 (Noble)
- ROS 2: Jazzy
- Gazebo Sim: Harmonic (via
ros_gz_sim)
models/: main model librarymodels/forest-gen-models/: additional forest assets, originally from kubja/gazebo-vegetationworlds/: Gazebo world filesworlds/world_template_empty.world: empty template to create new worldsrun-world: generic bash entrypoint to open worlds in Gazebo Sim
This flow assumes you already have a working ROS 2 + Gazebo Sim setup on your machine.
- Build from the repository root:
colcon build --symlink-install --packages-select biomass_simulation_resources- Source your workspace:
source install/setup.bash- Run a world:
rosrun biomass_simulation_resources run-world.sh world_jeanYou can also pass:
- world name with extension:
ros2 run biomass_simulation_resources run-world world_template_empty.world- absolute path to a
.worldfile:
ros2 run biomass_simulation_resources run-world /absolute/path/to/world_jean.worldrun-world automatically exports the required resource paths for models/, models/forest-gen-models/, and worlds/.
- Copy the template:
cp worlds/world_template_empty.world worlds/my_new_world.world- Edit
worlds/my_new_world.worldand add yourmodel://...includes. - Run it:
ros2 run biomass_simulation_resources run-world my_new_worldIf you are using Windows or prefer not to use your local ROS 2 installation, an optional Docker-based setup is available:
docker compose -f docker-compose.ros2.yml build --no-cache
docker compose -f docker-compose.ros2.yml run --rm ros2Inside the container:
cd /simulation-ws
source /opt/ros/jazzy/setup.bash
colcon build --symlink-install --packages-select biomass_simulation_resources
source /simulation-ws/install/setup.bash
ros2 run biomass_simulation_resources run-world world_jean