Skip to content

fix(tests): pin walker mobility against pylinkage 1.2.1 - #11

Merged
HugoFara merged 1 commit into
mainfrom
chore/pylinkage-1.2.1
Sep 12, 2026
Merged

HugoFara merged 1 commit into
mainfrom
chore/pylinkage-1.2.1

Conversation

@HugoFara

Copy link
Copy Markdown
Owner

pylinkage 1.2.1 (HugoFara/pylinkage#55) makes compute_mobility count rigid bodies, so Walker.dof is finally 1 for Jansen / Chebyshev / Klann / TrotBot / Strider (it was 17 / 5 / 11 / 34 / 41). This pins that with a test, replaces test_triangle_dof_is_three — which documented the old miscount; three bars pinned to the frame at one node are a rigid body with 1 DOF — and raises the floor to pylinkage>=1.2.1.

CI resolves pylinkage from PyPI; 1.2.1 is published.

pylinkage 1.2.1 counts rigid bodies in compute_mobility, so Walker.dof is
1 for every shipped mechanism; test that, and replace the test that
pinned the old miscount (a triangle pinned once is 1 DOF, not 3). The
dependency floor moves to 1.2.1.
@HugoFara HugoFara added the enhancement New feature or request label Sep 12, 2026
@HugoFara
HugoFara merged commit 6569927 into main Sep 12, 2026
8 of 10 checks passed
@HugoFara HugoFara mentioned this pull request Sep 12, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant