Function SimOneAPI::GetStreamingPointCloud
Defined in File SimOneStreamingAPI.h
Function Documentation
-
bool SimOneAPI::GetStreamingPointCloud(const char *ip, unsigned short port, unsigned short infoPort, SimOne_Streaming_Point_Cloud *pPointCloud)
获得物理级激光雷达点云数据.
Retrieve point cloud data from streaming based lidar.
此函数用于获取物理级激光雷达仿真点云数据
This function is used to get the 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
pPointCloud -- [out]
仿真点云数据
Point cloud data
- 返回:
如果成功获取到仿真点云数据,则返回true,否则返回false
Returns true if the point cloud data is successfully retrieved, false otherwise