Skip to content

feat: generate python bindings#938

Merged
sebcrozet merged 4 commits into
masterfrom
python-bindings
Jun 4, 2026
Merged

feat: generate python bindings#938
sebcrozet merged 4 commits into
masterfrom
python-bindings

Conversation

@sebcrozet

Copy link
Copy Markdown
Member

This adds python bindings for Rapier. The bindings have been mostly AI-generated (writing bindings is very boring, and AI seems to excel at it).

sebcrozet and others added 3 commits May 31, 2026 22:54
The `test` job failed on ubuntu/windows (x86_64) while passing on macOS
(arm64): rapier is not bit-reproducible across architectures, and two
vehicle tests encoded arm64-specific results.

- test_vehicle_brakes_decelerate: measure `current_vehicle_speed` (chassis
  forward axis) instead of `linvel.x`. The vehicle's heading drifts and the
  drift differs per arch, so the world-x component is not forward speed.
- test_example_runs[vehicle/drive.py]: assert output shape + direction via
  regex instead of an exact speed snapshot.
- typos: reword `mis-decode`/`rapierNd`/"PNGs"; allowlist the `ba` and
  `typ` identifiers in .typos.toml.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
@sebcrozet sebcrozet marked this pull request as draft May 31, 2026 22:51
@sebcrozet sebcrozet force-pushed the python-bindings branch 2 times, most recently from 21c1484 to c9d727f Compare June 4, 2026 10:08
@sebcrozet sebcrozet marked this pull request as ready for review June 4, 2026 12:22
@sebcrozet sebcrozet merged commit 0e3c5b3 into master Jun 4, 2026
38 checks passed
@sebcrozet sebcrozet deleted the python-bindings branch June 4, 2026 12:23
@sebcrozet sebcrozet mentioned this pull request Jun 5, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant