Thanks to visit codestin.com
Credit goes to github.com

Skip to content
Discussion options

You must be logged in to vote

The way to get the URDF path currently is to import the robot description as a submodule and get the path from it, for example:

$ python
Python 3.12.3 | packaged by conda-forge | (main, Apr 15 2024, 18:38:13) [GCC 12.3.0] on linux
Type "help", "copyright", "credits" or "license" for more information.
>>> from robot_descriptions import jvrc_description
>>> jvrc_description.URDF_PATH
'/home/your_user/.cache/robot_descriptions/jvrc_description/urdf/jvrc1.urdf'

Unlike example-robot-data where all descriptions are packaged and installed to site-packages, in robot_descriptions the descriptions are cloned to a local cache at runtime. You can set the location of this cache via the ROBOT_DESCRIPTI…

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by stephane-caron
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
2 participants
Converted from issue

This discussion was converted from issue #88 on June 17, 2024 09:11.