Skip to content

JulV94/Onboard-SDK

 
 

Repository files navigation

DJI Onboard SDK (OSDK) 3.6

Changes from the original DJI Repository

Modifying the Onboard SDK to be able to listen to the drone broadcast without any sending. This allows to connect a second device on the UART_CAN2 port that is just logging what the drone is broadcasting.

File changed

  • sample/linux/common/dji_linux_helpers.cpp
  • osdk-core/api/src/dji_vehicle.cpp
  • osdk-core/api/inc/dji_vehicle.hpp

Usage

  1. The code needs to be launched in sniffing mode first to create the ackBypass file. This is done by leaving the line #define SNIF_DATA_MODE uncommented in osdk-core/api/inc/dji_vehicle.hpp
  2. Compile the SDK and your code and run it. The file should be generated.
  3. Deactivate the sniffing mode by commenting the line #define SNIF_DATA_MODE in osdk-core/api/inc/dji_vehicle.hpp.
  4. Compile the SDK and your code again and it should use the ackBypass file to fake acknowledgement.

Remarks

The code was only tested to get the vehicle object through the Linux environement class.

Here starts the original README file

Join the chat at https://gitter.im/dji-sdk/Onboard-SDK

What is the DJI Onboard SDK?

The DJI Onboard SDK allows you to connect your own Onboard Computer to a supported DJI vehicle or flight controller using a serial port (TTL UART). For full documentation, please visit the DJI Developer Site. Documentation regarding the code can be found in the OSDK API Reference section of the developer website.

Latest Release

OSDK 3.6 was released on 02 Feb 2018. This release adds powerful features on top of the stereo vision stack for M210/M210 RTK, and brings a number of bugfixes and performance improvements. Please see the release notes for more information.

Last Major Release

OSDK 3.5 was released on 15 Dec 2017. This release brings new features for the Matrice 210 and 210 RTK aircraft. Developers will now have access to the live streams of the main (Zenmuse X4 and X5S) and FPV cameras. Additionally, more complete license information is added to the repository.

Firmware Compatibility

Aircraft/FC Firmware Package Version Flight Controller Version OSDK Branch Notes
M210/M210 RTK 1.1.0410+ 3.2.39.12+ OSDK 3.4+ Requires DJI Assistant 2 version 1.1.8
M600/M600 Pro 1.0.1.65 3.2.41.9 OSDK 3.4+
1.0.1.65 3.2.41.9 OSDK 3.3 Firmware released 10/24/17
1.0.1.60 3.2.41.5 Not Supported Firmware pulled due to instability
1.0.1.20 3.2.15.62 OSDK 3.3 3.3 backward compatiblity released 10/18
1.0.0.80 3.2.15.00 OSDK 3.2
A3/A3 Pro 1.7.1.5 3.2.36.8 OSDK 3.4+
1.7.1.5 3.2.36.8 OSDK 3.3
1.7.0.5 3.2.15.50 OSDK 3.2
1.7.0.0 3.2.15.37 OSDK 3.2
N3 1.7.1.5 3.2.36.8 OSDK 3.4+
1.7.1.5 3.2.36.8 OSDK 3.3
1.7.0.0 3.2.15.37 OSDK 3.2
M100 1.3.1.0 3.1.10.0 OSDK 3.4

Support

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

About

Fork of DJI Onboard SDK Official Repository

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • C++ 51.9%
  • C 45.3%
  • CMake 2.8%