Function cwipc_realsense2_playback

Function Documentation

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

Capture pointclouds from realsense2 recordings (.bag files).

This function returns a cwipc_source that captures pointclouds from realsense .bag prerecorded streams. The cameraconfig file should contain the references to the file used for each camera (plus the usual transformation matrices and other parameters).

Parameters:
  • configFilename – An option string with the filename of the camera-recording 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.