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 support for point clouds over flatbuffers #193

Merged
merged 54 commits into from
Oct 24, 2022

Conversation

jarkenau
Copy link
Member

This PR adds support for point clouds over Flatbuffers (Closes #88).

Currently, supported data fields are:

  • x,y,z
  • r,g,b
  • r,gb,a

Left to implement (via separate PRs):

@jarkenau jarkenau added pointclouds flatbuffer hdf5 Something related to the hdf5 files labels Oct 11, 2022
@jarkenau jarkenau self-assigned this Oct 11, 2022
@jarkenau
Copy link
Member Author

I will make it "real" PR after I'm finished with further testing

@jarkenau jarkenau marked this pull request as ready for review October 11, 2022 13:58
@jarkenau
Copy link
Member Author

jarkenau commented Oct 11, 2022

@mhoellmann I think the easiest way to review is, if you check if the queries from the python script work as expected. Also, please have a look at hdf5-fb-pointcloud for improvements. The rest of the code should be pretty straight forward.

Copy link
Member

@Mark-Niemeyer Mark-Niemeyer left a comment

Choose a reason for hiding this comment

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

This is a really huge PR. For the next feature we should aim for smaller PRs.

I had a quick look at the code without running it. The remarks are just my first thought based purely on the code.

seerep-srv/seerep-core-fb/src/core-fb-conversion.cpp Outdated Show resolved Hide resolved
seerep-srv/seerep-core-fb/src/core-fb-conversion.cpp Outdated Show resolved Hide resolved
seerep-hdf5/seerep-hdf5-fb/src/hdf5-fb-general.cpp Outdated Show resolved Hide resolved
seerep-hdf5/seerep-hdf5-fb/src/hdf5-fb-general.cpp Outdated Show resolved Hide resolved
seerep-hdf5/seerep-hdf5-fb/src/hdf5-fb-general.cpp Outdated Show resolved Hide resolved
seerep-hdf5/seerep-hdf5-fb/src/hdf5-fb-general.cpp Outdated Show resolved Hide resolved
@jarkenau jarkenau force-pushed the feat/fb-point-cloud-cleaned-up branch 2 times, most recently from ee17ea5 to 254529f Compare October 13, 2022 07:06
This is currently the only way to get the bounding box into the indecies without looping over the x,y,z data twice
stop using references here so that the arguments can be null and checked inside the function
@jarkenau jarkenau force-pushed the feat/fb-point-cloud-cleaned-up branch from c752884 to c44fd92 Compare October 20, 2022 12:53
Copy link
Member Author

@jarkenau jarkenau left a comment

Choose a reason for hiding this comment

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

One way that I could improve the API of the Hdf5FbPointCloud Class would be to extend the CloudInfo struct with more information like height, width etc. and then use it in function parameters. But it's just another abstraction. @mhoellmann do you think it should be included in this PR?

@Mark-Niemeyer Mark-Niemeyer merged commit e9c0642 into main Oct 24, 2022
@Mark-Niemeyer Mark-Niemeyer deleted the feat/fb-point-cloud-cleaned-up branch October 24, 2022 11:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
flatbuffer hdf5 Something related to the hdf5 files pointclouds
Projects
None yet
Development

Successfully merging this pull request may close these issues.

pointcloud fb interface
2 participants