skbot.ignition.download_fuel_model¶
- skbot.ignition.download_fuel_model(url)[source]¶
Download a model from the Fuel server.
- Parameters
- urlstr
The URL of the model. This is the same as the URL used for include elements in SDF files.
- Returns
- blobbytes
A gzip compressed blob containing the model files.
Notes
The function caches the most recent 5 calls in an effort to ease the burden on the Fuel servers and to improve performance. To manually reset this cache call
skbot.ignition.fuel.download_cache.clear()
. You can further also this behavior by changingskbot.ignition.fuel.download_cache
to a different cache instance. Check the cachetools docs for more information.- Return type
bytes