SimOneStreamingAPI module

SimOneStreamingAPI.SoGetStreamingImage(ip, port, imageData)[源代码]

获取图像数据

Get image streaming data

参数:
ip : string

UDP ip, the machine which SimOneAPI running on

port : int

UDP port

imageData : streaming

image streaming data

返回:

executive outcome: success/faile

返回类型:

bool

SimOneStreamingAPI.SoApiSetStreamingImageUpdateCB(ip, port, cb)[源代码]

获取图像数据回调

Register the callback func for applying image streaming data

参数:
ip : string

UDP ip, the machine which SimOneAPI running on

port : int

UDP port

cb : function

callback func for applying image streaming data: cb(imageData)

返回:

executive outcome: success/faile

返回类型:

bool

SimOneStreamingAPI.SoGetStreamingPointCloud(ip, port, infoPort, pointCloudData)[源代码]

获取点云数据

Get point cloud streaming data

参数:
ip : string

UDP ip, the machine which SimOneAPI running on

port : int

UDP port

infoPort : int

UDP info port

pointCloudData : streaming

point cloud streaming data

返回:

executive outcome: success/faile

返回类型:

bool

SimOneStreamingAPI.SoApiSetStreamingPointCloudUpdateCB(ip, port, infoPort, cb)[源代码]

获取点云数据回调

Register the callback func for applying point cloud streaming data

参数:
ip : string

UDP ip, the machine which SimOneAPI running on

port : int

UDP port

infoPort : int

UDP info port

cb : function

callback func for applying point cloud streaming data: cb(point_cloudData)

返回:

executive outcome: success/faile

返回类型:

bool

SimOneStreamingAPI.SoApiGetStreamingRadar4DPointCloud(ip, port, pointCloudData)[源代码]

获取4D激光雷达点云数据

Get point cloud streaming data

参数:
ip : string

UDP ip, the machine which SimOneAPI running on

port : int

UDP port

infoPort : int

UDP info port

pointCloudData : streaming

point cloud streaming data

返回:

executive outcome: success/faile

返回类型:

bool

SimOneStreamingAPI.SoApiSetStreamingRadar4DPointCloudUpdateCB(ip, port, cb)[源代码]

获取4D激光雷达点云数据回调

Register the callback func for applying point cloud streaming data

参数:
ip : string

UDP ip, the machine which SimOneAPI running on

port : int

UDP port

infoPort : int

UDP info port

cb : function

callback func for applying point cloud streaming data: cb(point_cloudData)

返回:

executive outcome: success/faile

返回类型:

bool