rod 0.3.5.dev16__tar.gz → 0.3.5.dev20__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- {rod-0.3.5.dev16 → rod-0.3.5.dev20}/.pre-commit-config.yaml +3 -3
- {rod-0.3.5.dev16 → rod-0.3.5.dev20}/PKG-INFO +1 -1
- {rod-0.3.5.dev16 → rod-0.3.5.dev20}/src/rod/utils/resolve_frames.py +7 -5
- {rod-0.3.5.dev16 → rod-0.3.5.dev20}/src/rod.egg-info/PKG-INFO +1 -1
- {rod-0.3.5.dev16 → rod-0.3.5.dev20}/.gitattributes +0 -0
- {rod-0.3.5.dev16 → rod-0.3.5.dev20}/.github/CODEOWNERS +0 -0
- {rod-0.3.5.dev16 → rod-0.3.5.dev20}/.github/workflows/ci_cd.yml +0 -0
- {rod-0.3.5.dev16 → rod-0.3.5.dev20}/.gitignore +0 -0
- {rod-0.3.5.dev16 → rod-0.3.5.dev20}/LICENSE +0 -0
- {rod-0.3.5.dev16 → rod-0.3.5.dev20}/README.md +0 -0
- {rod-0.3.5.dev16 → rod-0.3.5.dev20}/pixi.lock +0 -0
- {rod-0.3.5.dev16 → rod-0.3.5.dev20}/pyproject.toml +0 -0
- {rod-0.3.5.dev16 → rod-0.3.5.dev20}/setup.cfg +0 -0
- {rod-0.3.5.dev16 → rod-0.3.5.dev20}/setup.py +0 -0
- {rod-0.3.5.dev16 → rod-0.3.5.dev20}/src/rod/__init__.py +0 -0
- {rod-0.3.5.dev16 → rod-0.3.5.dev20}/src/rod/__main__.py +0 -0
- {rod-0.3.5.dev16 → rod-0.3.5.dev20}/src/rod/builder/__init__.py +0 -0
- {rod-0.3.5.dev16 → rod-0.3.5.dev20}/src/rod/builder/primitive_builder.py +0 -0
- {rod-0.3.5.dev16 → rod-0.3.5.dev20}/src/rod/builder/primitives.py +0 -0
- {rod-0.3.5.dev16 → rod-0.3.5.dev20}/src/rod/kinematics/__init__.py +0 -0
- {rod-0.3.5.dev16 → rod-0.3.5.dev20}/src/rod/kinematics/kinematic_tree.py +0 -0
- {rod-0.3.5.dev16 → rod-0.3.5.dev20}/src/rod/kinematics/tree_transforms.py +0 -0
- {rod-0.3.5.dev16 → rod-0.3.5.dev20}/src/rod/logging.py +0 -0
- {rod-0.3.5.dev16 → rod-0.3.5.dev20}/src/rod/pretty_printer.py +0 -0
- {rod-0.3.5.dev16 → rod-0.3.5.dev20}/src/rod/sdf/__init__.py +0 -0
- {rod-0.3.5.dev16 → rod-0.3.5.dev20}/src/rod/sdf/collision.py +0 -0
- {rod-0.3.5.dev16 → rod-0.3.5.dev20}/src/rod/sdf/common.py +0 -0
- {rod-0.3.5.dev16 → rod-0.3.5.dev20}/src/rod/sdf/element.py +0 -0
- {rod-0.3.5.dev16 → rod-0.3.5.dev20}/src/rod/sdf/geometry.py +0 -0
- {rod-0.3.5.dev16 → rod-0.3.5.dev20}/src/rod/sdf/joint.py +0 -0
- {rod-0.3.5.dev16 → rod-0.3.5.dev20}/src/rod/sdf/link.py +0 -0
- {rod-0.3.5.dev16 → rod-0.3.5.dev20}/src/rod/sdf/material.py +0 -0
- {rod-0.3.5.dev16 → rod-0.3.5.dev20}/src/rod/sdf/model.py +0 -0
- {rod-0.3.5.dev16 → rod-0.3.5.dev20}/src/rod/sdf/physics.py +0 -0
- {rod-0.3.5.dev16 → rod-0.3.5.dev20}/src/rod/sdf/scene.py +0 -0
- {rod-0.3.5.dev16 → rod-0.3.5.dev20}/src/rod/sdf/sdf.py +0 -0
- {rod-0.3.5.dev16 → rod-0.3.5.dev20}/src/rod/sdf/visual.py +0 -0
- {rod-0.3.5.dev16 → rod-0.3.5.dev20}/src/rod/sdf/world.py +0 -0
- {rod-0.3.5.dev16 → rod-0.3.5.dev20}/src/rod/tree/__init__.py +0 -0
- {rod-0.3.5.dev16 → rod-0.3.5.dev20}/src/rod/tree/directed_tree.py +0 -0
- {rod-0.3.5.dev16 → rod-0.3.5.dev20}/src/rod/tree/tree_elements.py +0 -0
- {rod-0.3.5.dev16 → rod-0.3.5.dev20}/src/rod/urdf/__init__.py +0 -0
- {rod-0.3.5.dev16 → rod-0.3.5.dev20}/src/rod/urdf/exporter.py +0 -0
- {rod-0.3.5.dev16 → rod-0.3.5.dev20}/src/rod/utils/__init__.py +0 -0
- {rod-0.3.5.dev16 → rod-0.3.5.dev20}/src/rod/utils/frame_convention.py +0 -0
- {rod-0.3.5.dev16 → rod-0.3.5.dev20}/src/rod/utils/gazebo.py +0 -0
- {rod-0.3.5.dev16 → rod-0.3.5.dev20}/src/rod/utils/resolve_uris.py +0 -0
- {rod-0.3.5.dev16 → rod-0.3.5.dev20}/src/rod.egg-info/SOURCES.txt +0 -0
- {rod-0.3.5.dev16 → rod-0.3.5.dev20}/src/rod.egg-info/dependency_links.txt +0 -0
- {rod-0.3.5.dev16 → rod-0.3.5.dev20}/src/rod.egg-info/requires.txt +0 -0
- {rod-0.3.5.dev16 → rod-0.3.5.dev20}/src/rod.egg-info/top_level.txt +0 -0
- {rod-0.3.5.dev16 → rod-0.3.5.dev20}/tests/test_meshbuilder.py +0 -0
- {rod-0.3.5.dev16 → rod-0.3.5.dev20}/tests/test_urdf_exporter.py +0 -0
- {rod-0.3.5.dev16 → rod-0.3.5.dev20}/tests/test_urdf_parsing.py +0 -0
- {rod-0.3.5.dev16 → rod-0.3.5.dev20}/tests/utils_models.py +0 -0
|
@@ -17,18 +17,18 @@ repos:
|
|
|
17
17
|
- id: trailing-whitespace
|
|
18
18
|
|
|
19
19
|
- repo: https://github.com/psf/black-pre-commit-mirror
|
|
20
|
-
rev:
|
|
20
|
+
rev: 25.1.0
|
|
21
21
|
hooks:
|
|
22
22
|
- id: black
|
|
23
23
|
args: ["--check", "--diff"]
|
|
24
24
|
|
|
25
25
|
- repo: https://github.com/pycqa/isort
|
|
26
|
-
rev:
|
|
26
|
+
rev: 6.0.1
|
|
27
27
|
hooks:
|
|
28
28
|
- id: isort
|
|
29
29
|
args: ["--check", "--diff"]
|
|
30
30
|
|
|
31
31
|
- repo: https://github.com/astral-sh/ruff-pre-commit
|
|
32
|
-
rev: v0.
|
|
32
|
+
rev: v0.11.4
|
|
33
33
|
hooks:
|
|
34
34
|
- id: ruff
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: rod
|
|
3
|
-
Version: 0.3.5.
|
|
3
|
+
Version: 0.3.5.dev20
|
|
4
4
|
Summary: The ultimate Python tool for RObot Descriptions processing.
|
|
5
5
|
Author-email: Diego Ferigo <dgferigo@gmail.com>
|
|
6
6
|
Maintainer-email: Filippo Luca Ferretti <filippo.ferretti@iit.it>, Carlotta Sartore <carlotta.sartore@iit.it>
|
|
@@ -16,11 +16,13 @@ def update_element_with_pose(
|
|
|
16
16
|
|
|
17
17
|
# If there are multiple defaults to detect (e.g. __model__ and <model_name>),
|
|
18
18
|
# we select the first entry of the list as real default
|
|
19
|
-
default_relative_to
|
|
20
|
-
[default_relative_to]
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
19
|
+
if isinstance(default_relative_to, str):
|
|
20
|
+
default_relative_to = [default_relative_to]
|
|
21
|
+
elif not (
|
|
22
|
+
isinstance(default_relative_to, list)
|
|
23
|
+
and all(isinstance(x, str) for x in default_relative_to)
|
|
24
|
+
):
|
|
25
|
+
raise TypeError("`default_relative_to must` be a string or a list of strings")
|
|
24
26
|
|
|
25
27
|
if len(default_relative_to) < 1:
|
|
26
28
|
raise ValueError(default_relative_to)
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: rod
|
|
3
|
-
Version: 0.3.5.
|
|
3
|
+
Version: 0.3.5.dev20
|
|
4
4
|
Summary: The ultimate Python tool for RObot Descriptions processing.
|
|
5
5
|
Author-email: Diego Ferigo <dgferigo@gmail.com>
|
|
6
6
|
Maintainer-email: Filippo Luca Ferretti <filippo.ferretti@iit.it>, Carlotta Sartore <carlotta.sartore@iit.it>
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|