https://github.com/ami-iit/resolve-robotics-uri-py
Resolve a package:// or model:// URI to an absolute filename in Python.
Science Score: 26.0%
This score indicates how likely this project is to be science-related based on various indicators:
-
○CITATION.cff file
-
✓codemeta.json file
Found codemeta.json file -
✓.zenodo.json file
Found .zenodo.json file -
○DOI references
-
○Academic publication links
-
○Academic email domains
-
○Institutional organization owner
-
○JOSS paper metadata
-
○Scientific vocabulary similarity
Low similarity (11.2%) to scientific vocabulary
Keywords
Repository
Resolve a package:// or model:// URI to an absolute filename in Python.
Basic Info
Statistics
- Stars: 10
- Watchers: 2
- Forks: 2
- Open Issues: 1
- Releases: 6
Topics
Metadata Files
README.md
resolve-robotics-uri-py
Pure Python package (that only depends on Python stdlib) to resolve a package:// (ROS-style) or model:// (Gazebo-style) URI to an absolute filename.
Installation
Install using onle one of the following commands to install in an existing environment:
Installation from conda-forge
bash
mamba install -c conda-forge resolve-robotics-uri-py
Installation from PyPI
bash
python -m pip install resolve-robotics-uri-py
Usage in Python
Add import resolve_robotics_uri_py to your Python file, then take inspiration from the following examples.
If you want to get the location of the iCubGazeboV2_7 iCub model installed from icub-models:
~~~python absolutepath = resolveroboticsuripy.resolveroboticsuri("package://iCub/robots/iCubGazeboV2_7/model.urdf") ~~~
If you want to get the location of the ergoCubSN00 model installed from ergocub-software:
~~~python absolutepath = resolveroboticsuripy.resolveroboticsuri("package://ergoCub/robots/ergoCubSN000/model.urdf") ~~~
If you want to get the location of the panda model installed by moveit_resources_panda_description:
~~~python absolutepath = resolveroboticsuripy.resolveroboticsuri("package://moveitresourcespanda_description/urdf/panda.urdf") ~~~
Command Line usage
resolve_robotics_uri_py also install a command line tool called resolve-robotics-uri-py for use in scripts, that can be used as:
~~~ resolve-robotics-uri-py package://iCub/robots/iCubGazeboV2_7/model.urdf ~~~
For example, on bash this can be used to easily convert the a urdf specified via package:// to an sdf (assuming you have Gazebo installed), using the backtick operator:
~~~
gz sdf -p resolve-robotics-uri-py package://iCub/robots/iCubGazeboV2_7/model.urdf
~~~
Contributing
Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.
Please make sure to update tests as appropriate.
License
Owner
- Name: Artificial and Mechanical Intelligence
- Login: ami-iit
- Kind: organization
- Location: Italy
- Website: https://ami.iit.it/
- Repositories: 111
- Profile: https://github.com/ami-iit
GitHub Events
Total
- Release event: 1
- Watch event: 2
- Delete event: 1
- Issue comment event: 4
- Push event: 6
- Pull request event: 3
- Create event: 2
Last Year
- Release event: 1
- Watch event: 2
- Delete event: 1
- Issue comment event: 4
- Push event: 6
- Pull request event: 3
- Create event: 2
Issues and Pull Requests
Last synced: 6 months ago
All Time
- Total issues: 3
- Total pull requests: 12
- Average time to close issues: 3 months
- Average time to close pull requests: 3 days
- Total issue authors: 2
- Total pull request authors: 3
- Average comments per issue: 2.33
- Average comments per pull request: 2.67
- Merged pull requests: 9
- Bot issues: 0
- Bot pull requests: 0
Past Year
- Issues: 0
- Pull requests: 2
- Average time to close issues: N/A
- Average time to close pull requests: 15 minutes
- Issue authors: 0
- Pull request authors: 2
- Average comments per issue: 0
- Average comments per pull request: 2.5
- Merged pull requests: 1
- Bot issues: 0
- Bot pull requests: 0
Top Authors
Issue Authors
- flferretti (2)
- traversaro (1)
Pull Request Authors
- traversaro (7)
- flferretti (5)
- diegoferigo (4)
Top Labels
Issue Labels
Pull Request Labels
Packages
- Total packages: 1
-
Total downloads:
- pypi 5,130 last-month
- Total dependent packages: 1
- Total dependent repositories: 0
- Total versions: 4
- Total maintainers: 2
pypi.org: resolve-robotics-uri-py
Pure python package to solve ROS-style package:// and Gazebo-style model:// URIs in absolute paths.
- Homepage: https://github.com/ami-iit/resolve-robotics-uri-py
- Documentation: https://resolve-robotics-uri-py.readthedocs.io/
- License: BSD
-
Latest release: 0.3.1
published 12 months ago
Rankings
Maintainers (2)
Dependencies
- actions/checkout v3 composite
- mamba-org/setup-micromamba v1 composite
- actions/checkout v3 composite
- actions/setup-python v4 composite
- pypa/gh-action-pypi-publish release/v1 composite