-
Notifications
You must be signed in to change notification settings - Fork 2
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
Point clouds #100
Point clouds #100
Conversation
@Victorlouisdg, I'm afraid my refactor of #105 has caused some merge conflicts |
Should be easy to fix, I'll have a look next Monday. |
from airo_typing import PointCloud | ||
|
||
|
||
def point_cloud_to_open3d(point_cloud: PointCloud) -> Any: # TODO: change Any back to o3d.t.geometry.PointCloud |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
why is the o3d type not used here?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I don't remember the exact reason, but I guess mypy didn't like it.
airo-camera-toolkit/airo_camera_toolkit/point_clouds/operations.py
Outdated
Show resolved
Hide resolved
""" a dictionary of numpy arrays that represent additional attributes of a point cloud, e.g. normals, confidence, etc. """ | ||
|
||
|
||
@dataclass |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
makes me wonder if we should rename this package to airo-core
to facilitate putting both types, interfaces and some data containers here. This would be quite the breaking change though
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I see your point, but moving e.g. the Camera interfaces or SE3Container here feels a bit weird.
ColoredPointCloudType
replaced byPointCloud
dataclass