Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add missing python bindings for MeshcatAnimation #22617

Open
yangwill opened this issue Feb 12, 2025 · 1 comment
Open

Add missing python bindings for MeshcatAnimation #22617

yangwill opened this issue Feb 12, 2025 · 1 comment
Labels
component: pydrake Python API and its supporting Starlark macros type: feature request

Comments

@yangwill
Copy link
Contributor

Is your feature request related to a problem? Please describe.
When I use the MeshcatVisualizer from pydrake and I want to only record a short segment of the visualizer to a MeshcatAnimation, the MeshcatAnimation starts at time = 0 instead of the Simulator time when I call StartRecording().

Describe the solution you'd like
I see that there's a set_start_time()function in MeshcatAnimation to configure the start time, but there is no corresponding python binding in pydrake. I would like the c++ function for MeshcatAnimation to have corresponding python bindings to have access to the features in MeshcatAnimation.

Describe alternatives you've considered

Additional context

@jwnimmer-tri
Copy link
Collaborator

It's probably worth doing both start_time() and set_start_time() at the same time. Both seem to have been overlooked in #15937.

@jwnimmer-tri jwnimmer-tri added the component: pydrake Python API and its supporting Starlark macros label Feb 12, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
component: pydrake Python API and its supporting Starlark macros type: feature request
Projects
None yet
Development

No branches or pull requests

2 participants