Environment Configuration of Tuyang Network Depth Camera

        Since there are few introductions to Tuyang camera on the Internet, I will introduce the configuration process of Tuyang network camera.

My installation environment is: ubuntu18.04, FM851-E1.

Official sdk download link: downloadcenter › Tuyang Technology丨3D Camera

1. First, install a 24V power supply according to the wiring method on the official website;

2. SDK download and compile

   The process of building a development environment for the Percipio depth camera on the Linux platform:

  Download Campport3 SDK

Choose any of the following methods to download the Campport3 SDK:

  • Use your browser to visit http://github.com/percipioxyz/ and download the Campor3 SDK.

  • Use the git command to obtain a local copy: open the terminal, switch to the working directory where the SDK needs to be stored, and enter the git clone command to clone the remote warehouse.

git clone https://github.com/percipioxyz/camport3.git

install dependencies

           cmake install

sudo apt-get install cmake

            OpenCV

sudo apt-get install libopencv-dev

compile

Enter the camport3 directory, execute the following command to compile the sample code

sudo cp lib/linux/lib_x64/libtycam.so* /usr/lib/
cd sample
mkdir build
cd build
cmake ..
make

3. Local ip and camera ip configuration

      local ip configuration  

             Ethernet settings -> ipv4 -> set ip address and subnet mask

             For example: my ip address: 192.168.1.15 255.255.255.0

     camera ip configuration    

             Open the camport3 directory ./camport3/sample/build/bin

             ./ForceDeviceIP -static 68:f7:56:36:90:a3 192.168.1.160 255.255.255.0 192.168.1.1

           Introduction: 68:f7:56:36:90:a3 is the mac address of your own camera

            192.168.1.160 255.255.255.0 192.168.1.1 Set the IP address of the camera

           Note: The IP address of the camera should be set to be the same   as the local IP address

4. Perform a simple test on the camera.

       Download tool Percipio Viewer(Linux) : downloadcenter › Tuyang Technology丨3D Camera

        Instructions:

sudo chmod +x percipio-viewer.2.3.8
./percipio-viewer.2.3.8

         You can open the software to see if it is available.

         For software introduction, please refer to the official introduction Percipio Viewer User Guide — PercipioDC V 2.4.0 documentation

5. SDK sample test

camport3/sample/build/binSeveral compiled executable files are generated under the directory   .

sudo ./SimpleView_FetchFrame
sudo ./ListDevices

6. If there is a problem with the above configuration, the solution

    First test whether the camera ip is configured correctly

           See if the setting of ping 192.168.1.160 is successful. If the ping is successful, but the setting is still not found after running the example, as shown below.

  

 

 Solution: ListDevices or PercipioViewer both use the udp broadcast protocol, you can check the following local firewalls and there is no limit, just close it

systemctl stop firewalld

If the following information is displayed, the installation is successful

Guess you like

Origin blog.csdn.net/m0_48919875/article/details/128573824