Skip to content

RSDK-857 - add pcd docs #202

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

Merged
merged 1 commit into from
Jan 17, 2023
Merged

RSDK-857 - add pcd docs #202

merged 1 commit into from
Jan 17, 2023

Conversation

cheukt
Copy link
Member

@cheukt cheukt commented Jan 13, 2023

Adds an example to vision.get_object_point_clouds() and camera.get_point_clouds() so users can more easily use the returned point clouds

@cheukt cheukt requested a review from a team as a code owner January 13, 2023 23:14

data, _ = await camera.get_point_cloud()

# write the point cloud into a temporary file
Copy link
Member

Choose a reason for hiding this comment

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

You can probably use a BytesIO buffer rather than writing out to a file in case there are permissions issues with writing to disk

Copy link
Member Author

Choose a reason for hiding this comment

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

unfortunately the api only takes file name as input arg isl-org/Open3D#1146

@cheukt cheukt merged commit 846237a into viamrobotics:main Jan 17, 2023
@cheukt cheukt deleted the add_pcd_docs branch July 24, 2023 19:12
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.

2 participants