Function cwipc_realsense2

Function Documentation

cwipc_activesource *cwipc_realsense2(const char *configFilename, char **errorMessage, uint64_t apiVersion)

Capture pointclouds from realsense2 cameras.

This function returns a cwipc_source that captures pointclouds from realsense cameras. If no camera is connected it will return “watermelon” pointclouds similar to the cwipc_synthetic() source.

Parameters:
  • configFilename – An option string with the filename of the camera configuration file.

  • errorMessage – An optional pointer to a string where any error message will be stored.

  • apiVersion – Pass in CWIPC_API_VERSION to ensure DLL compatibility.

Returns:

A cwipc_source object.