Skip to content

Commit 51d8261

Browse files
authored
Merge pull request #157 from dji-sdk/release/v3.8.1
NEW: release DJI Payload-SDK version 3.8.1
2 parents db9d05e + b96c87f commit 51d8261

File tree

53 files changed

+10484
-37317
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

53 files changed

+10484
-37317
lines changed

LICENSE.txt

Lines changed: 34 additions & 57 deletions
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,8 @@ The following portions of the DJI’s Payload SDK (“Software” referred to in
77
│   │   ├── dji_sdk_template.c
88
│   │   └── dji_sdk_template.h
99
│   ├── reference_designs
10-
├── E-Port Lite Schematic Reference.pdf
11-
│   │   └── Type-C Schematic Reference.pdf
10+
   │   ├── E-Port Lite Schematic Reference.pdf
11+
│   │   └── E-Port Schematic Reference.pdf
1212
│   └── simple_model
1313
│   ├── H20.stp
1414
│   ├── H20T.stp
@@ -80,37 +80,15 @@ The following portions of the DJI’s Payload SDK (“Software” referred to in
8080
│   │   ├── psdk_widget.h
8181
│   │   └── psdk_xport.h
8282
│   └── lib
83-
│   ├── aarch64-himix100-linux-gcc
84-
│   │   └── libpayloadsdk.a
85-
│   ├── aarch64-linux-android-gcc
86-
│   │   └── libpayloadsdk.a
8783
│   ├── aarch64-linux-gnu-gcc
8884
│   │   └── libpayloadsdk.a
8985
│   ├── armcc_cortex-m4
9086
│   │   └── libpayload.lib
91-
│   ├── arm-himix100-linux-gcc
92-
│   │   └── libpayloadsdk.a
93-
│   ├── arm-himix200-linux-gcc
94-
│   │   └── libpayloadsdk.a
95-
│   ├── arm-hisiv300-linux-gcc
96-
│   │   └── libpayloadsdk.a
97-
│   ├── arm-hisiv400-linux-gcc
98-
│   │   └── libpayloadsdk.a
99-
│   ├── arm-hisiv500-linux-gcc
100-
│   │   └── libpayloadsdk.a
101-
│   ├── arm-hisiv600-linux-gcc
102-
│   │   └── libpayloadsdk.a
103-
│   ├── arm-linux-androideabi-gcc
104-
│   │   └── libpayloadsdk.a
10587
│   ├── arm-linux-gnueabi-gcc
10688
│   │   └── libpayloadsdk.a
10789
│   ├── arm-linux-gnueabihf-gcc
10890
│   │   └── libpayloadsdk.a
109-
│   ├── arm-none-eabi-gcc
110-
│   │   └── libpayloadsdk.a
111-
│   ├── x86_64-linux-gnu-gcc
112-
│   │   └── libpayloadsdk.a
113-
│   └── xtensa-esp32-elf-gcc
91+
│   └── x86_64-linux-gnu-gcc
11492
│   └── libpayloadsdk.a
11593
├── README.md
11694
├── samples
@@ -154,8 +132,7 @@ The following portions of the DJI’s Payload SDK (“Software” referred to in
154132
│   │   │   │   └── test_gimbal_manager.h
155133
│   │   │   ├── hms
156134
│   │   │   │   ├── data
157-
│   │   │   │   │   ├── hms_2023_05_18.json
158-
│   │   │   │   │   └── hms_2023_08_22.json
135+
│   │   │   │   │   └── hms.json
159136
│   │   │   │   ├── hms_text
160137
│   │   │   │   │   ├── cn
161138
│   │   │   │   │   │   └── hms_text_config.json
@@ -202,6 +179,8 @@ The following portions of the DJI’s Payload SDK (“Software” referred to in
202179
│   │   │   ├── utils
203180
│   │   │   │   ├── cJSON.c
204181
│   │   │   │   ├── cJSON.h
182+
│   │   │   │   ├── dji_config_manager.c
183+
│   │   │   │   ├── dji_config_manager.h
205184
│   │   │   │   ├── util_buffer.c
206185
│   │   │   │   ├── util_buffer.h
207186
│   │   │   │   ├── util_file.c
@@ -330,19 +309,19 @@ The following portions of the DJI’s Payload SDK (“Software” referred to in
330309
│   │   │   │   ├── hal_uart.h
331310
│   │   │   │   ├── hal_usb_bulk.c
332311
│   │   │   │   └── hal_usb_bulk.h
333-
│   │   │   ── nvidia_jetson
334-
│   │   │   │   ├── application
335-
│   │   │   │   │   ├── dji_sdk_app_info.h
336-
│   │   │   │   │   ├── dji_sdk_config.h
337-
│   │   │   │   │   └── main.c
338-
│   │   │   │   ├── CMakeLists.txt
339-
│   │   │   │   └── hal
340-
│   │   │   │   ├── hal_network.c
341-
│   │   │   │   ├── hal_network.h
342-
│   │   │   │   ├── hal_uart.c
343-
│   │   │   │   ├── hal_uart.h
344-
│   │   │   │   ├── hal_usb_bulk.c
345-
│   │   │   │   └── hal_usb_bulk.h
312+
│   │   │   ── nvidia_jetson
313+
│   │   │   ├── application
314+
│   │   │   │   ├── dji_sdk_app_info.h
315+
│   │   │   │   ├── dji_sdk_config.h
316+
│   │   │   │   └── main.c
317+
│   │   │   ├── CMakeLists.txt
318+
│   │   │   └── hal
319+
│   │   │   ├── hal_network.c
320+
│   │   │   ├── hal_network.h
321+
│   │   │   ├── hal_uart.c
322+
│   │   │   ├── hal_uart.h
323+
│   │   │   ├── hal_usb_bulk.c
324+
│   │   │   └── hal_usb_bulk.h
346325
│   │   └── rtos_freertos
347326
│   │   ├── common
348327
│   │   │   └── osal
@@ -750,8 +729,6 @@ The following portions of the DJI’s Payload SDK (“Software” referred to in
750729
│   │   ├── application
751730
│   │   │   ├── application.cpp
752731
│   │   │   ├── application.hpp
753-
│   │   │   ├── dji_config_manager.c
754-
│   │   │   ├── dji_config_manager.h
755732
│   │   │   ├── dji_sdk_app_info.h
756733
│   │   │   ├── dji_sdk_config.h
757734
│   │   │   ├── dji_sdk_config.json
@@ -764,21 +741,21 @@ The following portions of the DJI’s Payload SDK (“Software” referred to in
764741
│   │   ├── hal_uart.h
765742
│   │   ├── hal_usb_bulk.c
766743
│   │   └── hal_usb_bulk.h
767-
│   ── nvidia_jetson
768-
│   │   ├── application
769-
│   │   │   ├── application.cpp
770-
│   │   │   ├── application.hpp
771-
│   │   │   ├── dji_sdk_app_info.h
772-
│   │   │   ├── dji_sdk_config.h
773-
│   │   │   └── main.cpp
774-
│   │   ├── CMakeLists.txt
775-
│   │   └── hal
776-
│   │   ├── hal_network.c
777-
│   │   ├── hal_network.h
778-
│   │   ├── hal_uart.c
779-
│   │   ├── hal_uart.h
780-
│   │   ├── hal_usb_bulk.c
781-
│   │   └── hal_usb_bulk.h
744+
│   ── nvidia_jetson
745+
│   ├── application
746+
│   │   ├── application.cpp
747+
│   │   ├── application.hpp
748+
│   │   ├── dji_sdk_app_info.h
749+
│   │   ├── dji_sdk_config.h
750+
│   │   └── main.cpp
751+
│   ├── CMakeLists.txt
752+
│   └── hal
753+
│   ├── hal_network.c
754+
│   ├── hal_network.h
755+
│   ├── hal_uart.c
756+
│   ├── hal_uart.h
757+
│   ├── hal_usb_bulk.c
758+
│   └── hal_usb_bulk.h
782759
└── tools
783760
└── file2c
784761
├── file2c.exe

README.md

Lines changed: 16 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
# DJI Payload SDK (PSDK)
22

3-
![](https://img.shields.io/badge/version-V3.8.0-cyan.svg)
4-
![](https://img.shields.io/badge/platform-linux_|_rtos-cyan.svg)
3+
![](https://img.shields.io/badge/version-V3.8.1-purple.svg)
4+
![](https://img.shields.io/badge/platform-linux_|_rtos-green.svg)
55
![](https://img.shields.io/badge/license-MIT-blue.svg)
66

77
## What is the DJI Payload SDK?
@@ -23,20 +23,22 @@ to get the latest version information.
2323

2424
## Latest Release
2525

26-
The latest release version of PSDK is 3.8.0. This version of Payload SDK mainly add some new features support and fixed some
26+
The latest release version of PSDK is 3.8.1. This version of Payload SDK mainly add some new features support and fixed some
2727
bugs. Please refer to the release notes for detailed changes list.
2828

29-
* Added support for the M3D series models
30-
* Fixed memory leak in the HMS Sample
31-
* Resolved compilation errors of Sample header files in certain environments
32-
* Fixed unexpected crashes in C++ Sample when attempting to use unsupported features
33-
* Enhanced prompts for camera Sample file downloads
34-
* Optimized some improper uses of CMake in samples
35-
* Change firmware version numbers in the PSDK Sample now align across DJI Assistant 2 and Pilot 2.
36-
> Note: DJI Assistant 2 prevents firmware downgrading during payload upgrades. Ensure your upgrade package's name (the version number) is higher than the payload's reported firmware version.
37-
> To comply with DJI Assistant 2 verification: You can simply rename your payload firmware upgrade package to make it valid, or maintain the previous practice of independently setting a version number to be checked during upgrades.
38-
* In the STM32 FreeRTOS Sample, the heap size has been increased to 90,000 bytes.
39-
> This may cause startup or build failures on some devices. You can adjust the stack size according to the business requirements of your hardware.
29+
* Removed the camera management module interface DjiCameraManager_GetPhotoBurstCount.
30+
* Removed the AEB photography function in the camera management module.
31+
* Fixed the issue where subscribing to real-time point cloud data was not byte-aligned on some platforms.
32+
* Fixed the discrepancy between flight speed units and annotations in the motion planning WP 2.0 feature.
33+
* Fixed issues with obtaining the camera shooting mode and zoom magnification on the Mavic 3 series drones.
34+
* Optimized the startup time for PSDK initialization.
35+
* Complemented the flight control topic CONTROL_DEVICE data structure definition and added related enumeration ranges.
36+
* Fixed the incorrect zoom multiplier retrieval for the H20N camera.
37+
* Fixed the issue where custom media file suffix names were not taking effect.
38+
* Fixed the occasional subscription errors for single battery data in the M300 RTK and M350 RTK.
39+
* Fixed anomalous Pilot widget values for the M30 series, M300 RTK, and M350 RTK remote controllers.
40+
* Note: Streamlined the toolchain for compiling PSDK, removing low-usage toolchain libraries.
41+
> We have stopped offering some toolchains on GitHub. If you have trouble building your project, reach out to the SDK Support Team for help.
4042
4143
## License
4244

doc/simple_model/Readme.txt

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
Dear Developers, for subsequent new models, the model files will be updated on the designated page of our official website, and will no longer be maintained in the GitHub software package.
2+
For more details, please visit: https://developer.dji.com/doc/payload-sdk-tutorial/en/model-instruction/payload-develop-criterion.html#structural-design-standards
3+

0 commit comments

Comments
 (0)