Add writeBinary to ostream for PCDWriter#5598
Add writeBinary to ostream for PCDWriter#5598mvieth merged 7 commits intoPointCloudLibrary:masterfrom
Conversation
Add method writeBinary to serialize point clouds in memory uncompressed.
|
Hi, thanks for the PR. I think, in the interest of keeping the existing |
This reverts commit 55f3f80.
Add method writeBinary to serialize point clouds in memory uncompressed.
Yes, I see your point and adapted the code accordingly. Regarding testing: I copied and adapted the test I guess I need to dig a bit deeper here to understand what's going on. Maybe you have some ideas? |
I guess following change in Maybe you can have a look if I'm on the right track here? You probably don't want to have such changes in this PR, but rather separated? |
Fix the sequence order in POINT_CLOUD_REGISTER macros to match structs
|
Interesting, thanks for investigating. To my knowledge, this was never noticed before. Intuitively, I would agree that the fields should be ordered to match the order in the memory, but I would like to think about whether correcting it for the three point types can break something. |
This reverts commit b522e74.
Sort cloud.fields by their offset value to generate correct fake fields

Add method writeBinary to serialize point clouds in memory uncompressed.
Solves #5539