UrbanLoco icon indicating copy to clipboard operation
UrbanLoco copied to clipboard

How can I parse RS-LiDAR32 data?

Open yuhui-xie opened this issue 2 years ago • 1 comments

Hi, thank you for your great dataset. I have a question, how can I parse RS-LiDAR32 data? Could please you provide a sample code like this?

struct PointXYZIT {
    float x;
    float y;
    float z;
    unsigned char intensity;
    double timestamp;
    EIGEN_MAKE_ALIGNED_OPERATOR_NEW 
} EIGEN_ALIGN16;

POINT_CLOUD_REGISTER_POINT_STRUCT (PointXYZIT,
                                    (float, x, x)
                                    (float, y, y)
                                    (float, z, z)
                                    (uint8_t, intensity, intensity)
                                    (double, timestamp, timestamp)
                                    )

yuhui-xie avatar Mar 23 '22 05:03 yuhui-xie

Hi @yuhui-xie , this LiDAR data is provided with the ROS PointCloud2 format which is easy to access (should be).

Best, Weisong,

weisongwen avatar May 30 '22 08:05 weisongwen