VmUbuntu
About 234 wordsLess than 1 minute
2024-06-06
Caution
- Running the SDK under Linux requires root privileges
Acquiring the Corresponding SDK Based on System Architecture
Virtual machines are typically x86 architecture; obtaining the ubuntux86 SDK will suffice.
Virtual Machine Configuration
Ensure USB is version 3.0 or higher.
Network settings should be consistent with the host machine.
Other configurations should be adjusted according to the actual situation for the virtual machine.
Running SDK Without a UI Window
Unzip the SDK, open a terminal, and navigate to the bin directory. Execute the following command in the terminal:
sudo ./run.sh
The appearance of "Get Depth Success FPS:xx" indicates successful operation.
Running SDK With a UI Window
Unzip the SDK, open a terminal, and navigate to the bin directory.
Modify the run.sh file to:
export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:../../lib:../thirdpart/opencv440/lib
./SDKTest
Recompile opencv 4.4.0.
Replace the so libraries in the SDK directory /thirdpart/opencv440/lib/ with the freshly compiled opencv 4.4.0 so libraries.
Navigate to the bin directory in the terminal and execute the command:
sudo ./run.sh
Common Issues and Solutions When Running
Unable to Find the Device
CS20, CS30 may have insufficient power supply issues. Please refer to the external independent power supply. Or try reducing the integration time.
For CS20-P, CS40, CS40Pro, please check if the network 192.168.1.150 can be pinged.