Gazebo Gazebo

API Reference

3.15.1
Resource Struct Reference

Resource used to update the ResourceModel. More...

#include <ResourceSpawner.hh>

Public Attributes

bool isDownloaded = false
 Bool to indicate if this model has been downloaded or not, will always be false with local models as it is irrelevant in this case. More...
 
bool isFuel = false
 Bool to indicate if this model is fuel or not. More...
 
std::string name = ""
 The name of the resource. More...
 
std::string owner = ""
 The owner of the resource, if the resource is local, owner will be empty. More...
 
std::string sdfPath = ""
 The absolute path to the sdf corresponding to the local model. More...
 
std::string thumbnailPath = ""
 The absolute path to the thumbnail of the local model, will be empty if no thumbnail is found. More...
 

Detailed Description

Resource used to update the ResourceModel.

Member Data Documentation

◆ isDownloaded

bool isDownloaded = false

Bool to indicate if this model has been downloaded or not, will always be false with local models as it is irrelevant in this case.

◆ isFuel

bool isFuel = false

Bool to indicate if this model is fuel or not.

◆ name

std::string name = ""

The name of the resource.

◆ owner

std::string owner = ""

The owner of the resource, if the resource is local, owner will be empty.

◆ sdfPath

std::string sdfPath = ""

The absolute path to the sdf corresponding to the local model.

◆ thumbnailPath

std::string thumbnailPath = ""

The absolute path to the thumbnail of the local model, will be empty if no thumbnail is found.


The documentation for this struct was generated from the following file: