Skip to content

[pydrake] Use nanobind's stubgen for nanobind bindings - #24883

Open
jwnimmer-tri wants to merge 1 commit into
RobotLocomotion:masterfrom
jwnimmer-tri:nanobind-stubgen
Open

[pydrake] Use nanobind's stubgen for nanobind bindings#24883
jwnimmer-tri wants to merge 1 commit into
RobotLocomotion:masterfrom
jwnimmer-tri:nanobind-stubgen

Conversation

@jwnimmer-tri

@jwnimmer-tri jwnimmer-tri commented Aug 15, 2026

Copy link
Copy Markdown
Collaborator

Tweak a few bindings to be compatible with the new stubgen, most importantly the dtype=object for AutoDiffXd and Expression.

Towards #21572.


This change is Reviewable

@jwnimmer-tri jwnimmer-tri added priority: medium release notes: none This pull request should not be mentioned in the release notes labels Aug 15, 2026

@jwnimmer-tri jwnimmer-tri left a comment

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

+a:@rpoyner-tri for feature review, plesae.

@jwnimmer-tri reviewed 5 files and all commit messages, and made 1 comment.
Reviewable status: LGTM missing from assignee rpoyner-tri(platform), needs at least two assigned reviewers (waiting on rpoyner-tri).

@rpoyner-tri rpoyner-tri left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

:lgtm:

@rpoyner-tri reviewed 5 files and all commit messages, and made 1 comment.
Reviewable status: needs at least two assigned reviewers (waiting on jwnimmer-tri).

@jwnimmer-tri jwnimmer-tri left a comment

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

+a:@xuchen-han for platform review, please.

@jwnimmer-tri made 1 comment.
Reviewable status: LGTM missing from assignee xuchen-han(platform) (waiting on xuchen-han).

Tweak a few bindings to be compatible with the new stubgen, most
importantly the dtype=object for AutoDiffXd and Expression.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

priority: medium release notes: none This pull request should not be mentioned in the release notes

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants