Apm2 simulink blockset

The following Matlab project contains the source code and Matlab examples used for apm2 simulink blockset. 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.

The source code and files included in this project are listed in the project files section, please make sure whether the listed source code meet your needs there.

Project Files: 

File NameSize
Communicator.m 2572
ConnectivityConfig.m 4539
Launcher.m 1061
Prefs.m 10241
runAvrDude.m 2444
TargetApplicationFramework.m 3400
Timer.m 1668
TimerOldStyle.m 1743
arduino.tlc 1361
arduino.tmf 10390
arduino_file_process.tlc 846
arduino_make_rtw_hook.m 6749
arduino_select_callback_handler.m 990
arduino_srmain.tlc 1791
Contents.m 783
info.xml 1787
rtiostream_arduino_test.m 3000
rtiostream_serial.cpp 2101
rtiostream_serial_test.c 1210
rtiostream_serial_test.mk 3891
sl_customization.m 598
target_tools.mk 1873
ArduinoBuildMexFiles.m 1367
ArduinoConfigueScript.m 3209
Analog_IO_Library.slx 12557
block_common_includes.tlc 938
sfunar_analogInput.c 9372
sfunar_analogInput.tlc 2371
sfunar_analogOutput.c 9234
sfunar_analogOutput.tlc 1734
ArduPilot2_lib.slx 12398
Arduino_Baro_sfcn.c 8716
Arduino_Baro_sfcn.tlc 1988
Baro_Library.slx 11726
block_common_includes.tlc 937
DataTypeConv_Library.slx 12158
s2b.c 7263
s2b.tlc 1905
s2b_wrapper.c 2598
block_common_includes.tlc 937
Discrete_IO_Library.slx 14405
sfunar_digitalInput.c 9524
sfunar_digitalInput.tlc 2978
sfunar_digitalOutput.c 9639
sfunar_digitalOutput.tlc 1950
Arduino_DataFlash_WriteByte.c 8849
Arduino_DataFlash_WriteByte.tlc 2465
Arduino_DataFlash_WriteBytes.c 10994
Arduino_DataFlash_WriteBytes.tlc 2955
Arduino_DataFlash_WriteBytes_wrapper.c 2420
Arduino_DataFlash_WriteFloats.c 11001
Arduino_DataFlash_WriteFloats.tlc 3085
block_common_includes.tlc 937
FlashMemory_Library.slx 12861
Arduino_GPS_sfcn.c 22518
Arduino_GPS_sfcn.tlc 2713
block_common_includes.tlc 937
GPS_Library.slx 16100
Arduino_IMU_sfcn.c 21659
Arduino_IMU_sfcn.tlc 3327
block_common_includes.tlc 937
IMU_Library.slx 15991
Arduino_Mag_sfcn.c 16161
Arduino_Mag_sfcn.tlc 3077
block_common_includes.tlc 937
Mag_Library.slx 12156
Arduino_Pitot_sfcn.c 7006
Arduino_Pitot_sfcn.tlc 1970
block_common_includes.tlc 938
Pitot_Library.slx 11811
Arduino_RCRead_sfcn.c 18759
Arduino_RCRead_sfcn.tlc 2437
Arduino_RCWrite_sfcn.c 19028
Arduino_RCWrite_sfcn.tlc 2642
block_common_includes.tlc 938
RC_Library.slx 15172
rtwmakecfg.m 1041
block_common_includes.tlc 938
Serial_Library.slx 13740
sfunar_serialPrintFloats.c 10172
sfunar_serialPrintFloats.tlc 3206
sfunar_serialRead.c 9503
sfunar_serialRead.tlc 2542
sfunar_serialWrite.c 10153
sfunar_serialWrite.tlc 2651
slblocks.m 682
Arduino_Clock_sfcn.c 8487
Arduino_Clock_sfcn.tlc 1848
Arduino_RealTimeMonitor_sfcn.c 8519
Arduino_RealTimeMonitor_sfcn.tlc 2241
block_common_includes.tlc 938
Timing_Library.slx 13058
APM_RC.h 1141
APM_RC_APM1.cpp 9894
APM_RC_APM1.h 929
APM_RC_APM2.cpp 8745
APM_RC_APM2.h 975
AP_ADC.cpp 394
AP_ADC.h 1374
AP_ADC_ADS7844.cpp 6909
AP_ADC_ADS7844.h 991
AP_ADC_HIL.cpp 2051
AP_ADC_HIL.h 2511
AP_Baro.cpp 3770
AP_Baro.h 1885
AP_Baro_BMP085.cpp 6313
AP_Baro_BMP085.h 1102
AP_Baro_BMP085_hil.cpp 1642
AP_Baro_BMP085_hil.h 649
AP_Baro_MS5611.cpp 8324
AP_Baro_MS5611.h 1321
AP_Common.cpp 581
AP_Common.h 7861
AP_Compass.h 232
AP_Compass_HIL.cpp 876
AP_Compass_HIL.h 351
AP_Compass_HMC5843.cpp 7366
AP_Compass_HMC5843.h 3204
AP_Declination.cpp 16088
AP_Declination.h 532
AP_GPS.h 526
AP_GPS_406.cpp 3025
AP_GPS_406.h 851
AP_GPS_Auto.cpp 6933
AP_GPS_Auto.h 1350
AP_GPS_HIL.cpp 1636
AP_GPS_HIL.h 1301
AP_GPS_IMU.cpp 8205
AP_GPS_IMU.h 1208
AP_GPS_MTK.cpp 4802
AP_GPS_MTK.h 1860
AP_GPS_MTK16.cpp 5489
AP_GPS_MTK16.h 1836
AP_GPS_MTK_Common.h 1163
AP_GPS_NMEA.cpp 11786
AP_GPS_NMEA.h 6019
AP_GPS_None.h 369
AP_GPS_Shim.h 1487
AP_GPS_SIRF.cpp 6209
AP_GPS_SIRF.h 2511
AP_GPS_UBLOX.cpp 10653
AP_GPS_UBLOX.h 5181
AP_IMU.h 241
AP_IMU_INS.cpp 7166
AP_IMU_INS.h 3557
AP_IMU_Shim.h 2061
AP_InertialSensor.h 2192
AP_InertialSensor_MPU6000.cpp 13374
AP_InertialSensor_MPU6000.h 1863
AP_InertialSensor_Oilpan.cpp 4439
AP_InertialSensor_Oilpan.h 1416
AP_InertialSensor_Stub.cpp 1172
AP_InertialSensor_Stub.h 851
AP_Math.cpp 1669
AP_Math.h 1774
AP_Param.cpp 30523
AP_Param.h 15162
AP_PeriodicProcess.h 201
AP_PeriodicProcessStub.cpp 455
AP_PeriodicProcessStub.h 691
AP_TimerProcess.cpp 3314
AP_TimerProcess.h 906
Arduino.h 5694
Arduino_Mega_ISR_Registry.cpp 1315
Arduino_Mega_ISR_Registry.h 528
AverageFilter.h 4007
BetterStream.cpp 1278
BetterStream.h 1254
binary.h 10379
c++.cpp 1708
c++.h 77
CDC.cpp 4479
Client.h 697
Compass.cpp 7392
Compass.h 4147
DataFlash.cpp 12169
DataFlash.h 2811
DataFlash_APM1.cpp 9728
DataFlash_APM1.h 1036
DataFlash_APM2.cpp 10411
DataFlash_APM2.h 1095
DataLogger.cpp 6258
DataLogger.h 2324
DerivativeFilter.cpp 3640
DerivativeFilter.h 1621
FastSerial.cpp 8443
FastSerial.h 13057
Filter.h 1038
FilterWithBuffer.h 3797
ftoa_engine.h 2015
GPS.cpp 2885
GPS.h 6931
HardwareSerial.cpp 11417
HardwareSerial.h 2433
HID.cpp 11493
I2C.cpp 13380
I2C.h 3643
IMU.cpp 1284
IMU.h 3468
IPAddress.cpp 1185
IPAddress.h 3013
keywords.txt 46
main.cpp 196
matrix3.cpp 7893
matrix3.h 4107
menu.h 5386
new.cpp 358
new.h 595
ntz.h 2365
PeriodicProcess.h 570
pins_arduino.h 11781
Pitot.cpp 921
Pitot.h 613
Platform.h 401
polygon.cpp 2919
polygon.h 906
Print.cpp 5210
Print.h 2462
Printable.h 1332
quaternion.cpp 2627
quaternion.h 1455
rotations.h 1571
s2b_wrapper.c 2238
Server.h 111
Simulink_APM2_Wrapper.cpp 14773
Simulink_APM2_Wrapper.h 5325
SPI.cpp 1503
SPI.h 1611
startup_menu.cpp 3021
startup_menu.h 1036
Stream.cpp 6914
Stream.h 3939
TimeStats.cpp 785
TimeStats.h 559
Tone.cpp 14345
Udp.h 4180
USBAPI.h 4532
USBCore.cpp 12746
USBCore.h 7855
USBDesc.h 2014
vector2.h 3732
vector3.cpp 3596
vector3.h 5070
vprintf.cpp 22763
WCharacter.h 4576
WInterrupts.c 6686
wiring.c 8281
wiring_analog.c 7117
wiring_digital.c 4633
wiring_private.h 1682
wiring_pulse.c 2643
wiring_shift.c 1601
WMath.cpp 1649
WString.cpp 14246
WString.h 8470
xtoa_fast.h 2066
IMU_Serial_Example.slx 14926
HowToReport.pdf 1463831
license.txt 1540

SocialTags: 

Technology: