cookie_description 1.2.0__tar.gz → 1.3.0__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.
- cookie_description-1.3.0/BUILD +13 -0
- {cookie_description-1.2.0 → cookie_description-1.3.0}/CHANGELOG.md +23 -4
- {cookie_description-1.2.0 → cookie_description-1.3.0}/PKG-INFO +5 -5
- {cookie_description-1.2.0 → cookie_description-1.3.0}/README.md +1 -1
- {cookie_description-1.2.0 → cookie_description-1.3.0}/cookie_description/__init__.py +1 -4
- {cookie_description-1.2.0 → cookie_description-1.3.0}/cookie_description/__main__.py +0 -3
- {cookie_description-1.2.0 → cookie_description-1.3.0}/cookie_description/collision_viser_visualizer.py +7 -10
- cookie_description-1.3.0/cookie_description/meshes/ankle_stator.stl +0 -0
- cookie_description-1.3.0/cookie_description/meshes/knee_bumper.stl +0 -0
- cookie_description-1.3.0/cookie_description/meshes/knee_stator.stl +0 -0
- cookie_description-1.3.0/cookie_description/meshes/mj5208_rotor.stl +0 -0
- cookie_description-1.3.0/cookie_description/meshes/mj5208_stator.stl +0 -0
- cookie_description-1.3.0/cookie_description/meshes/oak_d_lite.stl +0 -0
- cookie_description-1.3.0/cookie_description/meshes/power_connector.stl +0 -0
- cookie_description-1.3.0/cookie_description/meshes/qdd100_rotor.stl +0 -0
- cookie_description-1.3.0/cookie_description/meshes/qdd100_stator.stl +0 -0
- cookie_description-1.3.0/cookie_description/meshes/rotor_connector.stl +0 -0
- cookie_description-1.3.0/cookie_description/meshes/torso.stl +0 -0
- cookie_description-1.3.0/cookie_description/meshes/wheel_hub.stl +0 -0
- cookie_description-1.3.0/cookie_description/meshes/wheel_tire.stl +0 -0
- {cookie_description-1.2.0 → cookie_description-1.3.0}/cookie_description/paths.py +0 -3
- {cookie_description-1.2.0 → cookie_description-1.3.0}/cookie_description/pybullet_simulation.py +0 -3
- cookie_description-1.3.0/cookie_description/urdf/cookie.urdf +1533 -0
- {cookie_description-1.2.0 → cookie_description-1.3.0}/cookie_description/visualizer.py +55 -51
- cookie_description-1.3.0/cookie_description/xacro/cookie.xacro +19 -0
- cookie_description-1.3.0/cookie_description/xacro/leg.xacro +248 -0
- cookie_description-1.3.0/cookie_description/xacro/materials.xacro +28 -0
- cookie_description-1.3.0/cookie_description/xacro/torso.xacro +209 -0
- cookie_description-1.3.0/cookie_description/xacro/utils/box_collision_inertial.xacro +17 -0
- cookie_description-1.3.0/cookie_description/xacro/utils/box_inertial.xacro +18 -0
- cookie_description-1.3.0/cookie_description/xacro/utils/bumper_segment.xacro +26 -0
- cookie_description-1.3.0/cookie_description/xacro/utils/cylinder_collision_inertial.xacro +18 -0
- cookie_description-1.3.0/cookie_description/xacro/utils/cylinder_inertial.xacro +18 -0
- cookie_description-1.3.0/cookie_description/xacro/utils/mj5208_joint.xacro +54 -0
- cookie_description-1.3.0/cookie_description/xacro/utils/qdd100_joint.xacro +51 -0
- cookie_description-1.3.0/cookie_description/xacro/utils/virtual_link.xacro +19 -0
- {cookie_description-1.2.0 → cookie_description-1.3.0}/pyproject.toml +27 -17
- {cookie_description-1.2.0 → cookie_description-1.3.0}/LICENSE +0 -0
- {cookie_description-1.2.0 → cookie_description-1.3.0}/NOTICE +0 -0
|
@@ -7,6 +7,24 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
|
|
7
7
|
|
|
8
8
|
## [Unreleased]
|
|
9
9
|
|
|
10
|
+
## [1.3.0] - 2026-06-27
|
|
11
|
+
|
|
12
|
+
### Changed
|
|
13
|
+
|
|
14
|
+
- pixi: Rename `setup-dev` task to `local-setup`
|
|
15
|
+
- visualizer: Clamp infinite joint limits to [-pi, pi] for each bound separately
|
|
16
|
+
- visualizer: Use the Viser visualizer from Pinker
|
|
17
|
+
|
|
18
|
+
### Fixed
|
|
19
|
+
|
|
20
|
+
- Fix IMU frame orientation to match the physical mounting on Cookie
|
|
21
|
+
|
|
22
|
+
## [1.2.1] - 2026-06-27
|
|
23
|
+
|
|
24
|
+
### Added
|
|
25
|
+
|
|
26
|
+
- Add `BUILD` file to use the model in Bazel projects
|
|
27
|
+
|
|
10
28
|
## [1.2.0] - 2026-04-22
|
|
11
29
|
|
|
12
30
|
### Added
|
|
@@ -48,7 +66,8 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
|
|
48
66
|
|
|
49
67
|
Start this changelog.
|
|
50
68
|
|
|
51
|
-
[unreleased]: https://codeberg.org/
|
|
52
|
-
[1.2.
|
|
53
|
-
[1.
|
|
54
|
-
[1.
|
|
69
|
+
[unreleased]: https://codeberg.org/upkie/cookie_description/compare/v1.2.1...main
|
|
70
|
+
[1.2.1]: https://codeberg.org/upkie/cookie_description/releases/tag/v1.2.1
|
|
71
|
+
[1.2.0]: https://codeberg.org/upkie/cookie_description/releases/tag/v1.2.0
|
|
72
|
+
[1.1.0]: https://codeberg.org/upkie/cookie_description/releases/tag/v1.1.0
|
|
73
|
+
[1.0.0]: https://codeberg.org/upkie/cookie_description/releases/tag/v1.0.0
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: cookie_description
|
|
3
|
-
Version: 1.
|
|
3
|
+
Version: 1.3.0
|
|
4
4
|
Summary: Robot description for Cookie.
|
|
5
5
|
Author-email: Stéphane Caron <stephane.caron@normalesup.org>
|
|
6
6
|
Maintainer-email: Stéphane Caron <stephane.caron@normalesup.org>
|
|
@@ -18,9 +18,9 @@ Classifier: Programming Language :: Python :: 3.13
|
|
|
18
18
|
Classifier: Topic :: Scientific/Engineering :: Mathematics
|
|
19
19
|
Classifier: Topic :: Scientific/Engineering :: Physics
|
|
20
20
|
License-File: LICENSE
|
|
21
|
-
Project-URL: Changelog, https://codeberg.org/
|
|
22
|
-
Project-URL: Source, https://codeberg.org/
|
|
23
|
-
Project-URL: Tracker, https://codeberg.org/
|
|
21
|
+
Project-URL: Changelog, https://codeberg.org/upkie/cookie_description/src/branch/main/CHANGELOG.md
|
|
22
|
+
Project-URL: Source, https://codeberg.org/upkie/cookie_description
|
|
23
|
+
Project-URL: Tracker, https://codeberg.org/upkie/cookie_description/issues
|
|
24
24
|
|
|
25
25
|
# Cookie wheeled biped robot
|
|
26
26
|
|
|
@@ -48,7 +48,7 @@ Or similarly with [uv](https://docs.astral.sh/uv/):
|
|
|
48
48
|
|
|
49
49
|
```shell
|
|
50
50
|
# Display a Cookie in Viser
|
|
51
|
-
uvx --with numpy --with
|
|
51
|
+
uvx --with numpy --with pinker --with viser --with watchdog --with xacrodoc cookie_description visualize
|
|
52
52
|
|
|
53
53
|
# Simulate a Cookie in PyBullet
|
|
54
54
|
uvx --with loop-rate-limiters --with pybullet cookie_description load-in-pybullet
|
|
@@ -24,7 +24,7 @@ Or similarly with [uv](https://docs.astral.sh/uv/):
|
|
|
24
24
|
|
|
25
25
|
```shell
|
|
26
26
|
# Display a Cookie in Viser
|
|
27
|
-
uvx --with numpy --with
|
|
27
|
+
uvx --with numpy --with pinker --with viser --with watchdog --with xacrodoc cookie_description visualize
|
|
28
28
|
|
|
29
29
|
# Simulate a Cookie in PyBullet
|
|
30
30
|
uvx --with loop-rate-limiters --with pybullet cookie_description load-in-pybullet
|
|
@@ -1,13 +1,10 @@
|
|
|
1
|
-
#!/usr/bin/env python3
|
|
2
|
-
# -*- coding: utf-8 -*-
|
|
3
|
-
#
|
|
4
1
|
# SPDX-License-Identifier: Apache-2.0
|
|
5
2
|
|
|
6
3
|
"""Robot description for Cookie."""
|
|
7
4
|
|
|
8
5
|
from .paths import MESHES_PATH, PATH, URDF_PATH, XACRO_PATH
|
|
9
6
|
|
|
10
|
-
__version__ = "1.
|
|
7
|
+
__version__ = "1.3.0"
|
|
11
8
|
|
|
12
9
|
__all__ = [
|
|
13
10
|
"MESHES_PATH",
|
|
@@ -1,14 +1,11 @@
|
|
|
1
|
-
#!/usr/bin/env python3
|
|
2
|
-
# -*- coding: utf-8 -*-
|
|
3
|
-
#
|
|
4
1
|
# SPDX-License-Identifier: Apache-2.0
|
|
5
2
|
|
|
6
3
|
"""ViserVisualizer that renders collision geometries as wireframes."""
|
|
7
4
|
|
|
8
|
-
from
|
|
5
|
+
from pinker.visualizer import ViserVisualizer
|
|
9
6
|
|
|
10
7
|
|
|
11
|
-
class CollisionViserVisualizer(
|
|
8
|
+
class CollisionViserVisualizer(ViserVisualizer):
|
|
12
9
|
"""ViserVisualizer that renders collision geometries as wireframes.
|
|
13
10
|
|
|
14
11
|
While making Cookie's URDF, it is useful to overlay collision meshes on top
|
|
@@ -22,13 +19,13 @@ class CollisionViserVisualizer(visualize.ViserVisualizer):
|
|
|
22
19
|
_visual_handles: list # list of (handle, parent_frame_id) pairs
|
|
23
20
|
_collision_handles: list # list of (handle, parent_frame_id) pairs
|
|
24
21
|
|
|
25
|
-
def
|
|
22
|
+
def load_viewer_model(self, *args, **kwargs):
|
|
26
23
|
"""Reset tracked handles before (re)loading the model."""
|
|
27
24
|
self._visual_handles = []
|
|
28
25
|
self._collision_handles = []
|
|
29
|
-
super().
|
|
26
|
+
super().load_viewer_model(*args, **kwargs)
|
|
30
27
|
|
|
31
|
-
def
|
|
28
|
+
def load_viewer_geometry_object(self, geometry_object, prefix, color=None):
|
|
32
29
|
"""Load geometry object with wireframe rendering for collision meshes.
|
|
33
30
|
|
|
34
31
|
Temporarily patches the Viser scene creation methods to inject
|
|
@@ -40,7 +37,7 @@ class CollisionViserVisualizer(visualize.ViserVisualizer):
|
|
|
40
37
|
_METHODS = ("add_box", "add_icosphere", "add_mesh_simple")
|
|
41
38
|
|
|
42
39
|
is_collision = "collision" in prefix
|
|
43
|
-
parent_frame = int(geometry_object.
|
|
40
|
+
parent_frame = int(geometry_object.parent_frame)
|
|
44
41
|
|
|
45
42
|
for method_name in _METHODS:
|
|
46
43
|
original = getattr(scene, method_name)
|
|
@@ -67,7 +64,7 @@ class CollisionViserVisualizer(visualize.ViserVisualizer):
|
|
|
67
64
|
setattr(scene, method_name, patched)
|
|
68
65
|
|
|
69
66
|
try:
|
|
70
|
-
super().
|
|
67
|
+
super().load_viewer_geometry_object(geometry_object, prefix, color)
|
|
71
68
|
finally:
|
|
72
69
|
for method_name in _METHODS:
|
|
73
70
|
delattr(scene, method_name)
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|