Function cwipc_from_pcl
Defined in File api_pcl.h
Function Documentation
-
cwipc_pointcloud *cwipc_from_pcl(cwipc_pcl_pointcloud pc, uint64_t timestamp, char **errorMessage, uint64_t apiVersion)
Create cwipc pointcloud from PCL pointcloud.
If an error occurs and errorMessage is non-NULL it will receive a pointer to a string with the message.
- Parameters:
pc – PCL pointcloud.
timestamp – The timestamp to record in the cwipc object.
apiVersion – Pass in CWIPC_API_VERSION to ensure dll compatibility.
errorMessage – Address of a char* where any error message is saved (or NULL).
- Returns:
the abstract point cloud, or NULL in case of errors.