version 1.0.0 (1 MB) by Abhishek GS
Design a Path Follower with a DJI® N3 Autopilot and NVIDIA® Jetson Nano using DJI Onboard ROS SDK


Updated 27 Oct 2020

From GitHub

View License on GitHub

This example shows how to use UAV Toolbox and ROS Toolbox to design a waypoint follower for a quadcopter that uses DJI N3 Autopilot. This example uses DJI Onboard SDK which provides a ROS wrapper that is used to interface with the ROS Toolbox. In this example, you will learn how to:

1. Configure a Simulink model which defines a quadcopter mission of a DJI N3 Flight Controller by using a set of waypoints, by using UAV Toolbox and ROS Toolbox
2. Start DJI Onboard ROS SDK on a Compute board
3. Set up the required custom messages using ROS Toolbox on the host computer
4. Simulate and deploy the Simulink model on the Compute board

Download and follow the steps mentioned in Setup Document.docx to set up the Host computer and your compute board.

After the above setup is done open the live script DJIROSWayPointFollowerExample.mlx from MATLAB and follow the steps.

Cite As

Abhishek GS (2022). DJI-ROS-Simulink (, GitHub. Retrieved .

MATLAB Release Compatibility
Created with R2020b
Compatible with R2020b and later releases
Platform Compatibility
Windows macOS Linux

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!
To view or report issues in this GitHub add-on, visit the GitHub Repository.
To view or report issues in this GitHub add-on, visit the GitHub Repository.