Environment Preparation

2023-12-11
No Rating

Development Device

  • Set up the DJI Dock and aircraft. For details, visit DJI Enterprise Dockopen in new window.
  • Prepare an edge computing box, such as an x86_64 architecture Linux server or an aarch64 architecture AI computing box, like the Jetson Xavier NX or Atlas 200I DK A2.

Hardware Connect

Please refer to Hardware Portopen in new window.

Network Environment

A router, to establish local network communication between the dock and the edge computing box.

Edge computing and DJI dock communicate using static IP addresses, and it is necessary to correctly configure the address pool allocation range for the LAN ports of the router. Using the Pilot on the remote controller, set the static IP address for DJI dock to 192.168.200.100, and configure the IP address for the edge computing device as 192.168.200.55.

Router IP Configuration

Since edge computing and the DJI dock communicate using fixed IP addresses, the LAN port's IP address pool is configured as 192.168.200.xx/24 (configuration may vary with different routers):


Dock IP Configuration

Connect to the dock and remote controller via USB to access the local debugging interface of the dock in the DJI pilot, and then click on 'Network Configuration'.

Close IP address auto access, and use static IP configuration.

Set the DJI dock IP address to 192.168.200.100 (mandatory), with a subnet mask of 255.255.255.0. You can configure the default gateway, DNS server address, and backup DNS server address according to your network environment. if unsure, you can confirm through auto get IP. After configuring, click 'Save' to complete the setup.

Edge Device IP Configuration

Configure the communication network interface of the edge computing device with an IP address of 192.168.200.55 and a subnet mask of 255.255.255.0. An Ubuntu example is shown below:

Software Installation

ESDK provides static libraries built for x86_64/aarch64 based on the Linux platform with the Ubuntu distribution operating system. Before running the demo, make sure to correctly install the required dependencies. It is recommended to use the method of "make install" to avoid potential compatibility issues.

Compilation Environment

ArchitectureOperating SystemGNU gcc/g++ CompilercmakeReference Device
x86_64Ubuntu 22.04.1 LTSgcc version 5.5.0 10171010Version 3.9 and aboveIntel CPU Laptop
aarch64Ubuntu 20.04.5 LTSgcc version 9.4.0Version 3.9 and aboveJetson Xavier NX
aarch64Ubuntu 22.04LTSgcc version 11.3.0Version 3.9 and aboveAtlas 200I DK A2

Dependency Libraries

LibraryVersionCompilation Installation MethodInstallation Method
openssl1.1.1fBuilt in distribution version of the Linux systemsudo apt-get install openssl libssl-dev
libssh21.10.0mkdir build && cd build && cmake -DCMAKE_BUILD_TYPE=Release .. && make -j4 && make installsudo apt-get install libssh2-1-dev
opencv3.4.16/4.2.0 mkdir build && cd build && cmake -DCMAKE_BUILD_TYPE=Release .. && make -j4 && make installsudo apt-get install libopencv-dev
ffmpeg4.1.3git checkout n4.1.7 mkdir build && cd build && ../configure --disable-static --enable-shared --disable-doc && make -j4 && make installsudo apt-get install ffmpeg
If you have any comments or confusion about our documentation, you can click here to give feedback and we will get back to you as soon as possible.