4D 雷达点云流 4D Radar¶
GetStreamingRadar4DPointCloud¶
bool GetStreamingRadar4DPointCloud(const char *ip, unsigned short port, SimOne_Streaming_Point_Cloud *pPointCloud)
获得4D毫米波雷达点云数据.
Retrieve point cloud data from streaming based 4D radar.
参数:
| 名称 | 类型 | 说明 |
|---|---|---|
ip |
const char * |
4D毫米波雷达UDP输出IP地址 UDP IP which the streaming point cloud send to |
port |
unsigned short |
4D毫米波雷达UDP输出端口号 UDP Port which the streaming point cloud send to |
pPointCloud |
SimOne_Streaming_Point_Cloud * |
仿真点云数据, SimOne_Streaming_Radar4D_Point点格式 Point cloud data structured by SimOne_Streaming_Radar4D_Point |
返回值:
| 类型 | 说明 |
|---|---|
bool |
如果成功获取到仿真点云数据,则返回true,否则返回false Returns true if the point cloud data is successfully retrieved, false otherwise |
SetStreamingRadar4DPointCloudUpdateCB¶
bool SetStreamingRadar4DPointCloudUpdateCB(const char *ip, unsigned short port, void(*cb)(SimOne_Streaming_Point_Cloud *pPointCloud))
获得4D毫米波雷达点云数据更新回调.
Callback for Updates on point cloud data from streaming based 4D radar.
参数:
| 名称 | 类型 | 说明 |
|---|---|---|
ip |
const char * |
4D毫米波雷达UDP输出IP地址 UDP IP which the streaming point cloud send to |
port |
unsigned short |
4D毫米波雷达UDP输出端口号 UDP Port which the streaming point cloud send to |
cb |
void(*)(SimOne_Streaming_Point_Cloud *pPointCloud) |
获取4D毫米波雷达仿真点云数据的回调 Callback function for getting point cloud data from streaming based 4D radar. |
返回值:
| 类型 | 说明 |
|---|---|
bool |
如果注册回调函数成功,则返回true,否则返回false Returns true if the callback registration is successful, false otherwise. |