CameraSDK on GitHub
Development libraries, English documentation, examples and release notes.
Download SDK
Choose a tool
Development workflow
1
Verify the connection
Use LxCameraViewer to check the connection, images and point clouds.
2
Choose the SDK package
Select the package for your operating system and processor architecture, and read its documentation.
3
Run an example and integrate
Run a sample before integrating your application. Record the SDK and camera firmware versions used in deployment.
GitHub quickstart
These examples use the GitHub repository layout. Installed packages may use different directories; adjust paths to match your installation.Supported platforms
Get the source
/opt/MRDVS.
Run a C/C++ example
- Linux
- Windows
Python and C# examples
Python and C# examples
Before running Python examples, set the library path and camera IP. Windows applications must be able to load the DLLs for their target architecture.
API call sequence
API call sequence
ROS integration
Developer documentation
API and integration references
API and integration references
These online references retain detailed API, example and protocol information. Check installation paths and supported features against your SDK and firmware versions.
Error codes and troubleshooting
Error codes help locate SDK, connection, and data-stream problems. Record the error code, SDK version, camera model, and device log before troubleshooting.SDK error reference (−1 to −29)
SDK error reference (−1 to −29)
Error -25 or LxDataProcess fails to load
Error -25 or LxDataProcess fails to load
Possible cause On Linux, the library is not included in the environment path. Resolution Run
source install.sh.The captured image is divided into three sections
The captured image is divided into three sections
Possible cause The displayed image aspect ratio is incorrect.
ROS 2 conflicts with the SDK library
ROS 2 conflicts with the SDK library
Resolution Use the wrapper in the
util directory. It links the camera SDK indirectly and avoids a direct library conflict.How can I identify a Lite camera versus a standard camera with RGB?
How can I identify a Lite camera versus a standard camera with RGB?
Resolution Call
DcGetBoolValue(handle, LX_BOOL_ENABLE_2D_STREAM, &test_rgb). A Lite camera returns that the feature is not supported.How is time synchronization handled?
How is time synchronization handled?
Resolution The SDK synchronizes with PTP automatically on each interface call. No additional trigger is required.