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 to Collect XYZIRT Type Point Datasets Using PandarXT-16 #60

Open
ParkerChan opened this issue Dec 21, 2022 · 6 comments
Open

How to Collect XYZIRT Type Point Datasets Using PandarXT-16 #60

ParkerChan opened this issue Dec 21, 2022 · 6 comments

Comments

@ParkerChan
Copy link

We want to use PandarXT-16 to collect XYZIRT type point cloud data. We wonder if this radar can support this kind of point cloud data information?
Hope to get your reply! thank you

@yangfanFred
Copy link
Contributor

src/HesaiLidar_General_SDK/src/PandarGeneralRaw/include/pandarGeneral/point_types.h

We want to use PandarXT-16 to collect XYZIRT type point cloud data. We wonder if this radar can support this kind of point cloud data information? Hope to get your reply! thank you

Yeah, it's supported, you can find data type defination here in source code: src/HesaiLidar_General_SDK/src/PandarGeneralRaw/include/pandarGeneral/point_types.h

@ParkerChan
Copy link
Author

src/HesaiLidar_General_SDK/src/PandarGeneralRaw/include/pandarGeneral/point_types.h

We want to use PandarXT-16 to collect XYZIRT type point cloud data. We wonder if this radar can support this kind of point cloud data information? Hope to get your reply! thank you

Yeah, it's supported, you can find data type defination here in source code: src/HesaiLidar_General_SDK/src/PandarGeneralRaw/include/pandarGeneral/point_types.h

src/HesaiLidar_General_SDK/src/PandarGeneralRaw/include/pandarGeneral/point_types.h

We want to use PandarXT-16 to collect XYZIRT type point cloud data. We wonder if this radar can support this kind of point cloud data information? Hope to get your reply! thank you

Yeah, it's supported, you can find data type defination here in source code: src/HesaiLidar_General_SDK/src/PandarGeneralRaw/include/pandarGeneral/point_types.h

嗯嗯,后续工作中我也发现了点云数据格式支持,但现在又发现了一个问题,由于我的算法需要将雷达与惯性传感单元做时钟同步,我在阅读Pandar-xt16的底层代码时,发现代码中对点云的timestamp使用的不是ros::Time::now,而是另外一种时间戳,我想问的是,如果我在这个地方手动改为ros::time::now的话,会对点云数据有影响吗?感谢

@Asagi-Lily
Copy link

你好,我使用的是XT32雷达,在/HesaiLidar_General_SDK/src/PandarGeneralRaw/include/pandarGeneral/point_types.h中也找到了格式,但目前输出的点云是XYZI格式,请问该如何修改以获得输出XYZIR格式的点云呢?感谢

@yangfanFred
Copy link
Contributor

Hi Parker,

ROS driver默认使用的时间戳为从雷达获取的雷达内部时间,反应的是精确的雷达采集到点的时间;
如果使用ros time,反应的是系统收到网络包的时间,没有本身的雷达时间精确;其他没有影响

Thanks,
Fred

@yangfanFred
Copy link
Contributor

Hi Lily,

目前输出的点云格式实际上是XYZITR格式,请再确认下,要修改也可以在这个头文件中修改的

Thanks,
Fred

@Asagi-Lily
Copy link

非常感谢,我已经查看并确认输出的点云格式是XYZITR格式了

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

3 participants