I want to ask a related question, and found out this thread.
>From what I understand in the discussion, if I have
struct Vector3d {
x @0 :Float64;
y @1 :Float64;
z @2 :Float64;
}
and then
struct Point3Array {
data @0 :List(Vector3d);
}
Will i get a perfectly packed array of Vector3d in memory
Another comment, I would also agree probably using raw data as the type is
more appropriate, with a metadata information to encode the endianess.
This would be similiar
to http://docs.ros.org/en/melodic/api/sensor_msgs/html/msg/PointCloud2.html
On Thursday, 15 August 2019 at 3:25:09 pm UTC+8 Ph
On Wed, Sep 21, 2022 at 9:42 AM Hui min wrote:
> I want to ask a related question, and found out this thread.
>
> From what I understand in the discussion, if I have
>
> struct Vector3d {
> x @0 :Float64;
> y @1 :Float64;
> z @2 :Float64;
> }
>
> and then
>
> struct Point3Array {
> data @0 :List(