Function cwipc_pointcloud_copy_packet
Defined in File api.h
Function Documentation
-
size_t cwipc_pointcloud_copy_packet(cwipc_pointcloud *pc, uint8_t *packet, size_t size)
Get pointcloud in external representation format (C interface).
Call with packet=NULL to obtain packet buffer size. Then allocate a buffer and call with buffer and size to copy the packet data.
- Parameters:
pc – The cwipc_pointcloud object.
packet – A databuffer pointer.
size – The size of the databuffer (in bytes).
- Returns:
The size of the databuffer