Function SimOneAPI::SetStreamingRadar4DPointCloudUpdateCB
Defined in File SimOneStreamingAPI.h
Function Documentation
-
bool SimOneAPI::SetStreamingRadar4DPointCloudUpdateCB(const char *ip, unsigned short port, void (*cb)(SimOne_Streaming_Point_Cloud *pPointCloud))
毫米波雷达4D点云数据更新回调
Streaming Radar 4D PointCloud Data update callback.
此函数用于注册获取毫米波雷达4D点云数据的回调函数
This function is used to register a callback function for getting 4D point cloud data from streaming based radar.
- 参数:
ip -- [in]
毫米波雷达UDP输出IP地址
UDP IP which the streaming point cloud send to.
port -- [in]
毫米波雷达UDP输出端口号
UDP Port which the streaming point cloud send to.
cb -- [in]
获取毫米波雷达4D点云数据的回调函数,函数签名为:
void callback(SimOne_Streaming_Point_Cloud *pPointCloud)
pPointCloud: 仿真点云数据,pointCloudData结构由SimOne_Streaming_Radar4D_Point组成 / PointCloud data, pointCloudData struct by SimOne_Streaming_Radar4D_Point
- 返回:
如果注册回调函数成功,则返回true,否则返回false
Returns true if the callback registration is successful, false otherwise.