RobotLocomotion / drake

Model-based design and verification for robotics.
https://drake.mit.edu
Other
3.35k stars 1.27k forks source link

[py perception] Add bindings for PointCloud copy #22148

Closed jwnimmer-tri closed 1 week ago

jwnimmer-tri commented 1 week ago

This fixes the problem reported in SO #79142422.

FYI r2 has a test case that attempts to reproduce the user's problem. They did not provide an actual fully-worked repro, so this is my best guess.


This change is Reviewable

jwnimmer-tri commented 1 week ago

+@RussTedrake for both reviews, please.

jwnimmer-tri commented 1 week ago

bindings/pydrake/test/perception_test.py line 150 at r2 (raw file):

Previously, RussTedrake (Russ Tedrake) wrote…
r2 looks good. ty. i guess you don't think it's appropriate for the PR -- i'm happy to defer to your preference on that.

Right, it's not relevant for this missing binding. Something like it maybe could go into tutorial at some point, but it's value is really only as an example, not a regression test.