File Exchange

image thumbnail

AR.Drone 2.0 Support from Embedded Coder

version 2.0.0.0 (72.2 MB) by Daren Lee
Deploy MATLAB Simulink model automatically to Parrot AR Drone with Embedded Coder C code generation

36 Downloads

Updated 08 Feb 2017

GitHub view license on GitHub

The AR.Drone 2.0 Quadcopter Embedded Coder® target allows users to build customized controllers for the AR.Drone 2.0 in MATLAB®, and Simulink® and automatically build and deploy them onto the drone via Wi-Fi. Users can add to existing models and controllers to enhance the AR.Drone 2.0 design or start from scratch and build their own quadcopter controller.
Highlights include:
• Automatically deploy code generated from Simulink to the AR.Drone 2.0 via Wi-Fi
• Utilize External Mode to monitor and tune algorithms as the code is running
• Simulink template models and controllers can be used to get started prototyping your own design
• Step by step examples explain how to access the AR Drone 2.0 hardware in Simulink.
• Background information about the AR Drone 2.0 Target explaining automatic code generation.
• Support for camera interfacing for on-target image processing algorithms.
• Default firmware reinstalls when vehicle restarts so you do not have to worry about re-flashing

Note that this is only supported for R2016a and R2016b. To see previous releases please visit
https://github.com/darenlee/SimulinkARDroneTarget/releases

Comments and Ratings (16)

Hi everyone,

I am trying to implement Vicon tracking system with this model. I have tried using a UDP receive block but that does not seem to work. I cannot read any data.
By the way, I am running a separate simulink model to get the Vicon data and I am sending using UDP send block from Quanser.
I also tried sending the data using simulink's own UDP send block.

However, it does not seem to work.
Does anyone have suggestions?

Thanks,
Stefan

Hi, everyone,
Did someone get this working in later versions of Matlab? I'm using r2017b.
I also get the error "A configuration set reference does not allow writing to parameters in the source configuration set"

HAO WU

Eric Fricot

Hi all, evrything is ok until when i launch "build", i've got this message : "### Build procedure for model: 'Example_Streaming_Bottom_Video_In_External_Mode' aborted due to an error.
A configuration set reference does not allow writing to parameters in the source configuration set"
any idea?
Drone is connect, and i can reboot it, it's a 2017b release.
Thank's in advance

Kidus Guye

It doesnt work on matlab 2017a rather on matlab 2016b

Kidus Guye

Is this version works for 2017a???

Dozie

I keep getting the error "Error in S-function 'Example_Getting_Started/Version Check': S-Function 'Version_Check' does not exist"
Is there a step-by-step solution for this error?

can i use on matlab 2017a?

Bo Shang

This project needs MATLAB Coder, Simulink Coder and
Embedded Coder. My MATLAB is from the university which doesn't include them.

Bo

Hi, I also want to ask how to make it work for mac os?

BSN

Hi,

I can't find "Navigation_KF_Subsystem". What should I do?

Thank you.

Rocky Lu

The link to this repository is broken. Please use this one instead : https://github.com/darenlee/SimulinkARDroneTarget

André

Hi,

Is it possible to add a PID controller and fuzzy in this toolkit?

Thank you

Hi what changes are necessary to make it work for mac os x?

Updates

2.0.0.0

Updated title

2.0.0.0

Updated to R2016a

1.3.0.0

Updated text link

1.2.0.0

Added FileExchange Icon

1.1.0.0

-Updated name

MATLAB Release Compatibility
Created with R2016b
Compatible with any release
Platform Compatibility
Windows macOS Linux

AR_Drone_Models/Calibration/Accelerometer_calib

AR_Drone_Models/Calibration/GyrometerTemp_Offset_Calib

AR_Drone_Models/Calibration/Magnetometer_calib

AR_Drone_Models/Calibration_Models/GUI_Source

AR_Drone_Models/Flight_Models

AR_Drone_Models/Flight_Models/PIDTOOL

AR_Drone_Simulations/SL_3D_Sim/MomentOfInertia/BifilarPendulumRelease3.0/BifilarPendulumRelease3.0

AR_Drone_Simulations/SimMech

AR_Drone_Target

AR_Drone_Target/+codertarget/+arm_cortex_a_drone/+internal

AR_Drone_Target/blocks

AR_Drone_Target/blocks/LCT_Scripts

AR_Drone_Target/blocks/videolib

AR_Drone_Target/registry

AR_Drone_Target/scripts

AR_Drone_Models/Calibration/Accelerometer_calib

AR_Drone_Models/Calibration/GyrometerTemp_Offset_Calib

AR_Drone_Models/Calibration/IMU_observe

AR_Drone_Models/Calibration/Magnetometer_calib

AR_Drone_Models/Calibration_Models

AR_Drone_Models/Demo_Models

AR_Drone_Models/Example_Models

AR_Drone_Models/Flight_Models

AR_Drone_Models/Flight_Models/PIDTOOL

AR_Drone_Models/Hello_World

AR_Drone_Models/PIL_Test

AR_Drone_Simulations/SL_3D_Sim

AR_Drone_Simulations/SL_3D_Sim/MomentOfInertia/BifilarPendulumRelease3.0/BifilarPendulumRelease3.0

AR_Drone_Simulations/SimMech

AR_Drone_Target/blocks

AR_Drone_Target/blocks/videolib