SimOneStreamingAPI module

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. 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. 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. 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