GithubPackageMeshLoader
- class compas_robots.resources.GithubPackageMeshLoader[source]
Bases:
AbstractMeshLoader
Loads resources stored in Github.
- Attributes:
- repositorystr
Repository name including organization, e.g.
ros-industrial/abb
.- support_packagestr
Name of the support package containing URDF, Meshes and additional assets, e.g. ‘abb_irb4400_support’
- branchstr
Branch name, defaults to
main
.- relative_pathstr
Relative path of the support package within the repository. If the repository itself is the support package, set
relative_path
to'.'
. Defaults tosupport_package
Methods
Returns the corresponding url of the file.
Determine whether this loader can load a given mesh URL.
Load meshes from the given URL.
Load a URDF file from a Github support package repository.