Closed jonzamora closed 2 months ago
Hi @jonzamora, while I think one shouldn't reinvent the wheel, creating a function that takes in an RGB-D pair and outputs a point cloud without any external dependencies should be pretty straightforward. That being said, Open3D is probably faster, well tested and has some additional useful features (e.g outlier removal, tsdf-fusion, etc.) so might be worth using as well.
Made a tutorial script for you! We only use open3d for visualization, everything else is mujoco / python only.
https://github.com/user-attachments/assets/db5ccee3-fddb-4dcf-8ddc-ab00bd3e2541
This is awesome, thanks for your help Kevin! @kevinzakka 🔥🙏
Hi,
I'm a Master's Student at USC, and i'm using MuJoCo for Simulating Robot Manipulation tasks.
I'm looking for help with the Best Way to Create Point Clouds in MuJoCo.
Currently, I understand how to extract
rgb
anddepth
using code like below:I'm mostly wondering what is the most "free" way to create Point Clouds in MuJoCo (e.g. with built-in sensors), or if we need to use an external package like Open3D to construct Point Clouds from
rgbd
?For reference, I came across this discussion https://github.com/google-deepmind/mujoco/discussions/688, which seems relevant to this question.