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 spires_cpp package with octomap utility for reconstruction filtering #2

Merged
merged 54 commits into from
Sep 17, 2024

Conversation

YifuTao
Copy link
Collaborator

@YifuTao YifuTao commented Sep 17, 2024

spires_cpp

This pull request primarily adds the spires_cpp package which include pybinded cpp script to run Octomap and PCL. The Pybind functions are

  1. processPCDFolder: build an octomap from a folder of pcd files with viewpoints. The output is a .bt file
  2. removeUnknownPoints: take in a pcd and octomap, and filter points in pcd that is unkown in the octomap. This is used before evaluating the reconstruction to remove outliers
  3. convertOctreeToPointCloud: visualise an octomap with a occupied cloud and a free-space cloud

TODO

we can package it so that one pip install is sufficient. A good example is transformer_grammars. Also need to add a dockerfile

Other improvements

  • add function to convert e57 cloud to pcd
  • add function to modify pcd files' viewpoint with both open3d or pypcd4
  • add more se3 functions and checks
  • add initial reconstruction benchmark script that does the cloud filtering

open3d doesn't support custom viewpoint
in case it's from pathlib
It will be moved to a pre-processing script
@YifuTao YifuTao merged commit dac0f10 into main Sep 17, 2024
2 checks passed
@YifuTao YifuTao deleted the et-octomap branch September 17, 2024 10:17
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.

1 participant