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

How can I parse RS-LiDAR32 data? #19

Open
yuhui-xie opened this issue Mar 23, 2022 · 1 comment
Open

How can I parse RS-LiDAR32 data? #19

yuhui-xie opened this issue Mar 23, 2022 · 1 comment

Comments

@yuhui-xie
Copy link

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)
                                    )
@weisongwen
Copy link
Owner

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

Best,
Weisong,

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants