APM2 Simulink Blockset

Simulink blockset for use with the ArduPilot Mega 2.0 hardware. Includes blocks to read external rad
9.9K Downloads
Updated 13 Nov 2012

View License

As part of developing a new graduate level Guidance, Navigation, and Control course at Embry-Riddle Aeronautical University, a Simulink blockset has been developed that will allow students to work solely in Matlab/Simulink for the development of GNC code. This code can be downloaded directly to the ArduPilot 2.0 integrated sensor and processing package allowing the students to easily develop small unmanned aerial vehicles. The blockset is useful in that it eliminates the requirement to have a knowledgeable programmer, and a knowledgeable electrical engineer to integrate hardware and software with the airframe. The included guide is intended to describe the functionality of the blockset, provide recommendations for how to implement control designs, and steps on how to embed the code onto the ArduPilot directly from Simulink. The blockset is in early development and there is room for improvement; it is expected that future students or the academic community as a whole will advance the capabilities going forward.

This blockset uses the new Run-On-Target-Hardware feature that first appeared in Matlab 2012a which allows Simulink users to auto-generate code from a Simulink model for select hardware targets. This feature was previously only available to owners of Simulink Coder and other similar toolboxes.

For more information, please see the HowTo document included in the .zip file. The authors of the blockset may be reached at:

apm2.simulink@gmail.com

Cite As

Robert Hartley (2024). APM2 Simulink Blockset (https://www.mathworks.com/matlabcentral/fileexchange/39037-apm2-simulink-blockset), MATLAB Central File Exchange. Retrieved .

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

Community Treasure Hunt

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

Start Hunting!

APM2/

APM2/blocks/

APM2/blocks/Analog_IO/

APM2/blocks/Baro/

APM2/blocks/DataTypeConversions/

APM2/blocks/Discrete_IO/

APM2/blocks/FlashMemory/

APM2/blocks/GPS/

APM2/blocks/IMU/

APM2/blocks/Magnetometer/

APM2/blocks/Pitot/

APM2/blocks/RCChannels/

APM2/blocks/Serial/

APM2/blocks/Timing/

Version Published Release Notes
1.0.0.0