Welcome to NUWA-HP60C Depth Camera repository
1. Environment Construction
1. Environment Construction
Note: The environment of the supporting virtual machine has been built, so there is no need to build it again. Here is the work that needs to be done on a new motherboard or a new virtual machine.
The configuration of the virtual machine environment is as follows:
Ubuntu20.04 + ROS-Noetic+ OpenCV 4.2+Python3.8
1.1. Install related dependencies
Terminal input,
sudo apt install libgflags-dev ros-$ROS_DISTRO-image-geometry ros-$ROS_DISTRO-camera-info-manager ros-$ROS_DISTRO-image-transport ros-$ROS_DISTRO-image-publisher libgoogle-glog-dev libusb-1.0-0-dev libeigen3-dev1.2. Create a ROS workspace
Take the creation of a workspace named orbbec_ws in the ~ directory as an example.
Input in terminal,
xxxxxxxxxxmkdir -p ~/ascam_ws/srcUnzip the source code folder, copy the folder in src to ~/ascam_ws/src, and then input the following command to compile,
xxxxxxxxxxcd ~/ascam_wscatkin_makeIf the following error appears during compilation, please run the compilation command several times. Until the compilation is successful.

After the compilation is complete, enter the following command to open and edit the ~/.bashrc file,
xxxxxxxxxxecho "source ~/ascam_ws/devel/setup.bash" >> ~/.bashrcRefresh the environment,
xxxxxxxxxxsource ~/.bashrc1.3, Install the camera udev rule file
Terminal input,