Function SimOneAPI::SetStreamingPointCloudUpdateCB
Defined in File SimOneStreamingAPI.h
Function Documentation
-
bool SimOneAPI::SetStreamingPointCloudUpdateCB(const char *ip, unsigned short port, unsigned short infoPort, void (*cb)(SimOne_Streaming_Point_Cloud *pPointCloud))
获得物理级激光雷达点云数据更新回调.
Callback for Updates on point cloud data from streaming based lidar.
此函数用于注册获取物理级激光雷达仿真点云数据的回调函数.
This function is used to register a callback function for getting point cloud data from streaming based lidar.
- 参数:
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
infoPort -- [in]
物理级激光雷达UDP输出设备信息端口号
UDP Port which the device information send to
cb -- [in]
获取物理级激光雷达仿真点云数据的回调,函数签名为:
void callback(SimOne_Streaming_Point_Cloud *pPointCloud)
pPointCloud: 仿真点云数据 / Point cloud data
- 返回:
如果注册回调函数成功,则返回true,否则返回false
Returns true if the callback registration is successful, false otherwise.