Skip to content

Commit

Permalink
Merge pull request #157 from dji-sdk/release/v3.8.1
Browse files Browse the repository at this point in the history
NEW: release DJI Payload-SDK version 3.8.1
  • Loading branch information
dji-dev committed Apr 7, 2024
2 parents db9d05e + b96c87f commit 51d8261
Show file tree
Hide file tree
Showing 53 changed files with 10,484 additions and 37,317 deletions.
91 changes: 34 additions & 57 deletions LICENSE.txt
Expand Up @@ -7,8 +7,8 @@ The following portions of the DJI’s Payload SDK (“Software” referred to in
│   │   ├── dji_sdk_template.c
│   │   └── dji_sdk_template.h
│   ├── reference_designs
├── E-Port Lite Schematic Reference.pdf
│   │   └── Type-C Schematic Reference.pdf
   │   ├── E-Port Lite Schematic Reference.pdf
│   │   └── E-Port Schematic Reference.pdf
│   └── simple_model
│   ├── H20.stp
│   ├── H20T.stp
Expand Down Expand Up @@ -80,37 +80,15 @@ The following portions of the DJI’s Payload SDK (“Software” referred to in
│   │   ├── psdk_widget.h
│   │   └── psdk_xport.h
│   └── lib
│   ├── aarch64-himix100-linux-gcc
│   │   └── libpayloadsdk.a
│   ├── aarch64-linux-android-gcc
│   │   └── libpayloadsdk.a
│   ├── aarch64-linux-gnu-gcc
│   │   └── libpayloadsdk.a
│   ├── armcc_cortex-m4
│   │   └── libpayload.lib
│   ├── arm-himix100-linux-gcc
│   │   └── libpayloadsdk.a
│   ├── arm-himix200-linux-gcc
│   │   └── libpayloadsdk.a
│   ├── arm-hisiv300-linux-gcc
│   │   └── libpayloadsdk.a
│   ├── arm-hisiv400-linux-gcc
│   │   └── libpayloadsdk.a
│   ├── arm-hisiv500-linux-gcc
│   │   └── libpayloadsdk.a
│   ├── arm-hisiv600-linux-gcc
│   │   └── libpayloadsdk.a
│   ├── arm-linux-androideabi-gcc
│   │   └── libpayloadsdk.a
│   ├── arm-linux-gnueabi-gcc
│   │   └── libpayloadsdk.a
│   ├── arm-linux-gnueabihf-gcc
│   │   └── libpayloadsdk.a
│   ├── arm-none-eabi-gcc
│   │   └── libpayloadsdk.a
│   ├── x86_64-linux-gnu-gcc
│   │   └── libpayloadsdk.a
│   └── xtensa-esp32-elf-gcc
│   └── x86_64-linux-gnu-gcc
│   └── libpayloadsdk.a
├── README.md
├── samples
Expand Down Expand Up @@ -154,8 +132,7 @@ The following portions of the DJI’s Payload SDK (“Software” referred to in
│   │   │   │   └── test_gimbal_manager.h
│   │   │   ├── hms
│   │   │   │   ├── data
│   │   │   │   │   ├── hms_2023_05_18.json
│   │   │   │   │   └── hms_2023_08_22.json
│   │   │   │   │   └── hms.json
│   │   │   │   ├── hms_text
│   │   │   │   │   ├── cn
│   │   │   │   │   │   └── hms_text_config.json
Expand Down Expand Up @@ -202,6 +179,8 @@ The following portions of the DJI’s Payload SDK (“Software” referred to in
│   │   │   ├── utils
│   │   │   │   ├── cJSON.c
│   │   │   │   ├── cJSON.h
│   │   │   │   ├── dji_config_manager.c
│   │   │   │   ├── dji_config_manager.h
│   │   │   │   ├── util_buffer.c
│   │   │   │   ├── util_buffer.h
│   │   │   │   ├── util_file.c
Expand Down Expand Up @@ -330,19 +309,19 @@ The following portions of the DJI’s Payload SDK (“Software” referred to in
│   │   │   │   ├── hal_uart.h
│   │   │   │   ├── hal_usb_bulk.c
│   │   │   │   └── hal_usb_bulk.h
│   │   │   ── nvidia_jetson
│   │   │   │   ├── application
│   │   │   │   │   ├── dji_sdk_app_info.h
│   │   │   │   │   ├── dji_sdk_config.h
│   │   │   │   │   └── main.c
│   │   │   │   ├── CMakeLists.txt
│   │   │   │   └── hal
│   │   │   │   ├── hal_network.c
│   │   │   │   ├── hal_network.h
│   │   │   │   ├── hal_uart.c
│   │   │   │   ├── hal_uart.h
│   │   │   │   ├── hal_usb_bulk.c
│   │   │   │   └── hal_usb_bulk.h
│   │   │   ── nvidia_jetson
│   │   │   ├── application
│   │   │   │   ├── dji_sdk_app_info.h
│   │   │   │   ├── dji_sdk_config.h
│   │   │   │   └── main.c
│   │   │   ├── CMakeLists.txt
│   │   │   └── hal
│   │   │   ├── hal_network.c
│   │   │   ├── hal_network.h
│   │   │   ├── hal_uart.c
│   │   │   ├── hal_uart.h
│   │   │   ├── hal_usb_bulk.c
│   │   │   └── hal_usb_bulk.h
│   │   └── rtos_freertos
│   │   ├── common
│   │   │   └── osal
Expand Down Expand Up @@ -750,8 +729,6 @@ The following portions of the DJI’s Payload SDK (“Software” referred to in
│   │   ├── application
│   │   │   ├── application.cpp
│   │   │   ├── application.hpp
│   │   │   ├── dji_config_manager.c
│   │   │   ├── dji_config_manager.h
│   │   │   ├── dji_sdk_app_info.h
│   │   │   ├── dji_sdk_config.h
│   │   │   ├── dji_sdk_config.json
Expand All @@ -764,21 +741,21 @@ The following portions of the DJI’s Payload SDK (“Software” referred to in
│   │   ├── hal_uart.h
│   │   ├── hal_usb_bulk.c
│   │   └── hal_usb_bulk.h
│   ── nvidia_jetson
│   │   ├── application
│   │   │   ├── application.cpp
│   │   │   ├── application.hpp
│   │   │   ├── dji_sdk_app_info.h
│   │   │   ├── dji_sdk_config.h
│   │   │   └── main.cpp
│   │   ├── CMakeLists.txt
│   │   └── hal
│   │   ├── hal_network.c
│   │   ├── hal_network.h
│   │   ├── hal_uart.c
│   │   ├── hal_uart.h
│   │   ├── hal_usb_bulk.c
│   │   └── hal_usb_bulk.h
│   ── nvidia_jetson
│   ├── application
│   │   ├── application.cpp
│   │   ├── application.hpp
│   │   ├── dji_sdk_app_info.h
│   │   ├── dji_sdk_config.h
│   │   └── main.cpp
│   ├── CMakeLists.txt
│   └── hal
│   ├── hal_network.c
│   ├── hal_network.h
│   ├── hal_uart.c
│   ├── hal_uart.h
│   ├── hal_usb_bulk.c
│   └── hal_usb_bulk.h
└── tools
└── file2c
├── file2c.exe
Expand Down
30 changes: 16 additions & 14 deletions README.md
@@ -1,7 +1,7 @@
# DJI Payload SDK (PSDK)

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

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

## Latest Release

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

* Added support for the M3D series models
* Fixed memory leak in the HMS Sample
* Resolved compilation errors of Sample header files in certain environments
* Fixed unexpected crashes in C++ Sample when attempting to use unsupported features
* Enhanced prompts for camera Sample file downloads
* Optimized some improper uses of CMake in samples
* Change firmware version numbers in the PSDK Sample now align across DJI Assistant 2 and Pilot 2.
> 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.
> 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.
* In the STM32 FreeRTOS Sample, the heap size has been increased to 90,000 bytes.
> This may cause startup or build failures on some devices. You can adjust the stack size according to the business requirements of your hardware.
* Removed the camera management module interface DjiCameraManager_GetPhotoBurstCount.
* Removed the AEB photography function in the camera management module.
* Fixed the issue where subscribing to real-time point cloud data was not byte-aligned on some platforms.
* Fixed the discrepancy between flight speed units and annotations in the motion planning WP 2.0 feature.
* Fixed issues with obtaining the camera shooting mode and zoom magnification on the Mavic 3 series drones.
* Optimized the startup time for PSDK initialization.
* Complemented the flight control topic CONTROL_DEVICE data structure definition and added related enumeration ranges.
* Fixed the incorrect zoom multiplier retrieval for the H20N camera.
* Fixed the issue where custom media file suffix names were not taking effect.
* Fixed the occasional subscription errors for single battery data in the M300 RTK and M350 RTK.
* Fixed anomalous Pilot widget values for the M30 series, M300 RTK, and M350 RTK remote controllers.
* Note: Streamlined the toolchain for compiling PSDK, removing low-usage toolchain libraries.
> We have stopped offering some toolchains on GitHub. If you have trouble building your project, reach out to the SDK Support Team for help.
## License

Expand Down
3 changes: 3 additions & 0 deletions doc/simple_model/Readme.txt
@@ -0,0 +1,3 @@
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.
For more details, please visit: https://developer.dji.com/doc/payload-sdk-tutorial/en/model-instruction/payload-develop-criterion.html#structural-design-standards

0 comments on commit 51d8261

Please sign in to comment.