Welcome to AI View Depth camera repository
Instructions for using camera
1. Camera usage instructions
1. Error when using opencv and usb_cam to drive the camera
After using the launch command in the Orbbec_SDK function package to drive the camera, you will find that the camera cannot be driven by usb_cam, and the error shown in the figure below will be reported.

Solution: Re-plug the camera, and then use usb_cam to open the camera normally, including using opencv to open the camera. If the above error occurs, re-plug it. As long as the camera is driven by launch in Orbbec_SDK first and before using opencv to drive the camera, you need to re-plug it.
2. Virtual machine case demonstration
The case in the virtual machine contains SDKs for multiple cameras. Therefore, when matching the case in the virtual machine experiment tutorial, you need to set the car camera file through the ~/.bashrc file. You need to set [CAMERA_TYPE] to the purchased camera model. Assuming that the camera purchased is astraproplus, you need to change the value of [CAMERA_TYPE] to astraproplus. Terminal input,
xxxxxxxxxxsudo gedit ~/.bashrc[CAMERA_TYPE] is set to gemoni.
Save and exit, restart a terminal, and the terminal will print out the set camera type,

3. Source code description
We provide two sets of source code, one is the source code of the camera SDK only, and the other is the code of the camera SDK and some demos in the tutorial.
OrbbecSDK_ROS2.tar.xz contains only the function package for driving the camera.
orbbec_ws_src.tar.xz contains the function package for driving the camera and the function package for running the demo with the virtual machine.
yahboomcar_ros2_ws.zip is the basic function package of ros2.