Operation of XR-Series Cameras¶
Our XR-series cameras are the first device generation to offer on-board computation. Therefore there are some fundamental differences in the underlying hardware and software concepts compared to other devices. In general XR-series cameras are operated in the same way as all other Ensenso devices, but some differences in usage exist which are listed and explained in this topic.
Software Concept¶
XR-series cameras run Ubuntu Linux with an EnsensoSDK. The SDK version on the camera should be the same as on the host PC using the camera. cmdOpen on the PC will refuse to open an XR camera when it detects differing SDK versions between host and camera.
Commands¶
The main difference during operation is that the execution of cmdComputeDisparityMap will internally be executed on the camera’s FPGA accelerator. This offloading is performed within EnsensoSDK and the user does not need to take care of this. The computed disparity map will be sent to the host PC where most post processing filters are being executed. The reprojection of points in cmdComputePointMap is also done on the host PC to save transfer time.
Image Acquisition¶
XR cameras perform undistortion and rectification of images on the fly while receiving the image data, therefore during normal depth measurement operation only rectified images are available from the camera. In order to collect calibration patterns for pose estimation or camera calibration the rectification module needs to be disabled by setting the capture mode parameter Mode to “Raw”. This disables on the fly rectification and writes raw images into the camera’s Raw image nodes. The Rectified image nodes will not be updated in “Raw” mode and therefore the camera cannot perform depth measurement until you switch back to “Rectified” capture mode.
Image Transfer Times¶
Transferring the acquired images to the host PC can take a considerable amount of time. Therefore you can control whether images are transferred via the DownloadImages and ImageDownloadLimit parameters. On XR-series cameras one image is downloaded by default for visualization purposes. If you do not need image data you can disable the image download entirely.
Debug Logging¶
As the operation of the camera involves two instances of EnsensoSDK, one on the device and one on the host PC, it might be necessary to export debug information from both instances to reproduce or diagnose some behavior. The easiest method to export debug information from the device is to connect to the device using NxTreeEdit and use the Debug tab to retrieve log data from the device itself. To generate log data on the host you can refer to this topic. An integrated process for retrieving debug data from both instances will be available in a later software release.
Functional Limitations¶
File cameras captured from XR-series devices are not supported.
The PatchMatch2 stereo matching Method is not supported.
Limitations of Patch Match¶
TiltedPatches and WindowRadius are fixed depending on the current FlexView setting.
ValidateAgainstRightView is always enabled.
CoupledPropagation is not supported.
Iterations is limited to at most 3.
EnforceDisparityRange is not supported yet.
Known Issues¶
After changing settings like FlexView and StereoMatching/Method the device has to swap the image on the FPGA. Since the network connection also uses the FPGA this can cause connection problems with the sensors for some time, which can result in capture timeouts. Depending on the exact order of operations, it might be necessary to delay capturing for ~1 s after changing these settings to ensure a reliable operation.
XR-series cameras with 5 MP sensors can show the error message
ParametersInvalid: Encoder's extended image width exceeds EncoderLineBuffer sizewhen switching the binning parameter from 1 to 2. To fix this simply capture another frame, which should then work normally again. (SDK-2667)Image retrieval can occasionally time out on the device when using PatchMatch together with continuous trigger mode, leading to timeouts on the host for image retrieval and the computation of disparity maps.
Changes to the area of interest are sometimes not synchronized correctly, leading to a distorted point cloud.