Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update Ensenso tutorial for Ensenso X devices #1933

Merged
merged 1 commit into from
Jul 10, 2017
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
30 changes: 30 additions & 0 deletions doc/tutorials/content/ensenso_cameras.rst
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,36 @@ Note that this program opens the TCP port of the nxLib tree, this allows you to
The capture parameters (exposure, gain etc..) are set to default values.
If you have performed and stored an extrinsic calibration it will be temporary reset.

If you are using an Ensenso X device you have to calibrate the device before trying to run the PCL driver. If you don't you will get an error like this:

.. code-block:: cpp
Initialising nxLib
Opening Ensenso stereo camera id = 0
openDevice: NxLib error ExecutionFailed (17) occurred while accessing item /Execute.

{
"ErrorSymbol": "InvalidCalibrationData",
"ErrorText": "Stereo camera calibration data is corrupted or not supported yet by the current software version.",
"Execute": {
"Command": "Open",
"Parameters": {
"AllowFirmwareUpload": null,
"Cameras": "171197",
"FirmwareUpload": {
"Camera": null,
"Projector": null
},
"LoadCalibration": null,
"Projector": null,
"Threads": null
}
},
"Time": 8902,
"TimeExecute": 8901,
"TimeFinalize": 0.03477,
"TimePrepare": 0.01185
}

.. code-block:: cpp

ensenso_ptr->enumDevices ();
Expand Down