Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add ANYmal D description #97

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open

Conversation

stephane-caron
Copy link
Member

@stephane-caron stephane-caron commented Jul 24, 2024

There is an issue loading this description in yourdfpy:

  ======================================================================
  ERROR: test_anymal_d_description (test_yourdfpy.TestYourdfpy)
  ----------------------------------------------------------------------
  Traceback (most recent call last):
    File "/home/runner/work/robot_descriptions.py/robot_descriptions.py/tests/loaders/test_yourdfpy.py", line 32, in test
      load_robot_description(description)
    File "/home/runner/work/robot_descriptions.py/robot_descriptions.py/.tox/loader-yourdfpy/lib/python3.9/site-packages/robot_descriptions/loaders/yourdfpy.py", line 45, in load_robot_description
      return yourdfpy.URDF.load(module.URDF_PATH, mesh_dir=module.PACKAGE_PATH)
    File "/home/runner/work/robot_descriptions.py/robot_descriptions.py/.tox/loader-yourdfpy/lib/python3.9/site-packages/yourdfpy/urdf.py", line 989, in load
      return URDF(robot=URDF._parse_robot(xml_element=xml_root), **kwargs)
    File "/home/runner/work/robot_descriptions.py/robot_descriptions.py/.tox/loader-yourdfpy/lib/python3.9/site-packages/yourdfpy/urdf.py", line 641, in __init__
      self._scene = self._create_scene(
    File "/home/runner/work/robot_descriptions.py/robot_descriptions.py/.tox/loader-yourdfpy/lib/python3.9/site-packages/yourdfpy/urdf.py", line 1335, in _create_scene
      self._add_geometries_to_scene(
    File "/home/runner/work/robot_descriptions.py/robot_descriptions.py/.tox/loader-yourdfpy/lib/python3.9/site-packages/yourdfpy/urdf.py", line 1269, in _add_geometries_to_scene
      new_s = self._geometry2trimeshscene(
    File "/home/runner/work/robot_descriptions.py/robot_descriptions.py/.tox/loader-yourdfpy/lib/python3.9/site-packages/yourdfpy/urdf.py", line 1240, in _geometry2trimeshscene
      new_s = new_s.scaled(geometry.mesh.scale)
    File "/home/runner/work/robot_descriptions.py/robot_descriptions.py/.tox/loader-yourdfpy/lib/python3.9/site-packages/trimesh/scene/scene.py", line 1084, in scaled
      geometry = geometries[group[0]]
  IndexError: index 0 is out of bounds for axis 0 with size 0

@coveralls
Copy link

Pull Request Test Coverage Report for Build 10078481974

Details

  • 6 of 6 (100.0%) changed or added relevant lines in 1 file are covered.
  • No unchanged relevant lines lost coverage.
  • Overall coverage increased (+0.02%) to 97.556%

Totals Coverage Status
Change from base Build 10078467442: 0.02%
Covered Lines: 918
Relevant Lines: 941

💛 - Coveralls

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

2 participants