Skip to content

floxrobotics/Payload-SDK

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

97 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

DJI Payload SDK (PSDK)

What is the DJI Payload SDK?

The DJI Payload SDK(PSDK), is a development kit provided by DJI to support developers to develop payload that can be mounted on DJI drones. Combined with the X-Port, SkyPort or extension port adapter, developers can obtain the information or other resource from the drone. According to the software logic and algorithm framework designed by the developer, users could develop payload that can be mounted on DJI Drone, to perform actions they need, such as Automated Flight Controller, Payload Controller, Video Image Analysis Platform, Mapping Camera, Megaphone And Searchlight, etc.

Documentation

For full documentation, please visit the DJI Developer Documentation. Documentation regarding the code can be found in the PSDK API Reference section of the developer's website. Please visit the Latest Version Information 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 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.

License

Payload SDK codebase is MIT-licensed. Please refer to the LICENSE file for detailed information.

Support

You can get official support from DJI and the community with the following methods:

You can also communicate with other developers by the following methods:

About Pull Request

As always, the DJI Dev Team is committed to improving your developer experience, and we also welcome your contribution, but the code review of any pull request maybe not timely, when you have any questionplease send an email to dev@dji.com.

Packages

No packages published

Languages

  • C 99.8%
  • CMake 0.2%