# gazebo_models_worlds_collection **Repository Path**: mfary/gazebo_models_worlds_collection ## Basic Information - **Project Name**: gazebo_models_worlds_collection - **Description**: No description available - **Primary Language**: Unknown - **License**: GPL-3.0 - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2021-05-19 - **Last Updated**: 2024-07-16 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README # Gazebo models and worlds collection [![License](https://img.shields.io/badge/license-GPLv3-blue)](https://opensource.org/licenses/GPL-3.0) This repository contains models and worlds files for [Gazebo](http://gazebosim.org/), which are collected from several public projects. ## Usage To use the models, the `models` directory needs to be added to the `GAZEBO_MODEL_PATH` environment variable. To do so, add the following line to the end of `~/.bashrc`: ``` export GAZEBO_MODEL_PATH=$GAZEBO_MODEL_PATH:/models ``` It is also possible to add model path in the Gazebo Client GUI. Adding `worlds` directory to the `GAZEBO_RESOURCE_PATH` environment variable allows you to specify the world without absolute path. To do so, add the following line to `~/.bashrc`: ``` export GAZEBO_RESOURCE_PATH=$GAZEBO_RESOURCE_PATH:/worlds ``` ## Preview Gazebo screenshots are provided in `screenshots` to preview the worlds. ## Exporting sketchup to Gazebo Exporting sketchup (`*.skp`) to Gazebo is not straightforward, it is often necessary to fix the collada file to make the model render correctly. This is an overview of the most common fixes that were used to create the models in this repository: ##### Textures appear dark The default ambient color is too dark, this can be fixed by explicitly setting it to white. In the `.dae` file, replace `` by `1 1 1 1`. ##### Emissive textures appear gray The default ambient color is not black but dark gray. Set the emissive color to white using `1 1 1 1` and set the ambient color to black: `0 0 0 1`. ##### Transparency is ignored or causes depth sorting issues Separately export the transparent object. Use an [OGRE material script](https://ogrecave.github.io/ogre/api/1.10/_material-_scripts.html) to set up the transparency: ``` material Cyberzoo/Poles { technique { pass { alpha_rejection greater 128 texture_unit { texture pole.png } } } } ``` The material script needs to be included in the model's `.sdf` file: ```xml ``` See the cyberzoo model as an example. ##### Incorrect smooth shading Incorrect smoothing can sometimes be fixed by removing the `` lines from the `.dae` file. ## Source - [3DGEMS](http://data.nvision2.eecs.yorku.ca/3DGEMS/) - [RotorS](https://github.com/ethz-asl/rotors_simulator) - [TU Delft](https://github.com/tudelft/gazebo_models) - [ARTI-Robots](https://github.com/ARTI-Robots/gazebo_worlds) - [Clearpath Robotics](https://github.com/clearpathrobotics/cpr_gazebo) - [Fetch Robotics](https://github.com/fetchrobotics/fetch_gazebo)