1821 |
5055 d 6 h |
|
/branches/dongfang_FC_rewrite/ |
reformatted. |
|
/branches/dongfang_FC_rewrite/- Copy (2).cproject /branches/dongfang_FC_rewrite/Flight-Ctrl_MEGA644p_MK3MAG__invenSense_V0_74df_SVN0001.hex /branches/dongfang_FC_rewrite/Flight-Ctrl_MEGA644p_NAVICTRL__ADXRS610_FC2.0_V0_74df_SVN0001.hex /branches/dongfang_FC_rewrite/sod2
/branches/dongfang_FC_rewrite/sendOutData.c
/branches/dongfang_FC_rewrite /branches/dongfang_FC_rewrite/ADXRS610_FC2.0.c /branches/dongfang_FC_rewrite/ENC-03_FC1.3.c /branches/dongfang_FC_rewrite/ENC-03_FC1.3.h /branches/dongfang_FC_rewrite/GPSControl.c /branches/dongfang_FC_rewrite/analog.c /branches/dongfang_FC_rewrite/analog.h /branches/dongfang_FC_rewrite/attitude.c /branches/dongfang_FC_rewrite/attitudeControl.c /branches/dongfang_FC_rewrite/commands.c /branches/dongfang_FC_rewrite/configuration.h /branches/dongfang_FC_rewrite/controlMixer.c /branches/dongfang_FC_rewrite/controlMixer.h /branches/dongfang_FC_rewrite/dongfangMath.c /branches/dongfang_FC_rewrite/dsl.c /branches/dongfang_FC_rewrite/dsl.h /branches/dongfang_FC_rewrite/eeprom.c /branches/dongfang_FC_rewrite/eeprom.h /branches/dongfang_FC_rewrite/externalControl.c /branches/dongfang_FC_rewrite/externalControl.h /branches/dongfang_FC_rewrite/flexcontrol.h /branches/dongfang_FC_rewrite/flight.c /branches/dongfang_FC_rewrite/gps.c /branches/dongfang_FC_rewrite/gps.h /branches/dongfang_FC_rewrite/heightControl.c /branches/dongfang_FC_rewrite/heightControl.h /branches/dongfang_FC_rewrite/invenSense.c /branches/dongfang_FC_rewrite/invenSense.h /branches/dongfang_FC_rewrite/main.c /branches/dongfang_FC_rewrite/menu.c /branches/dongfang_FC_rewrite/mk3mag.c /branches/dongfang_FC_rewrite/mk3mag.h /branches/dongfang_FC_rewrite/output.c /branches/dongfang_FC_rewrite/rc.c /branches/dongfang_FC_rewrite/rc.h /branches/dongfang_FC_rewrite/spectrum.c /branches/dongfang_FC_rewrite/spectrum.h /branches/dongfang_FC_rewrite/spi.c /branches/dongfang_FC_rewrite/spi.h /branches/dongfang_FC_rewrite/timer0.c /branches/dongfang_FC_rewrite/timer0.h /branches/dongfang_FC_rewrite/timer2.c /branches/dongfang_FC_rewrite/twimaster.c /branches/dongfang_FC_rewrite/twimaster.h /branches/dongfang_FC_rewrite/uart0.c /branches/dongfang_FC_rewrite/uart0.h /branches/dongfang_FC_rewrite/uart1.c /branches/dongfang_FC_rewrite/uart1.h
|
1775 |
5128 d 19 h |
|
/branches/dongfang_FC_rewrite/ |
|
|
/branches/dongfang_FC_rewrite/.settings /branches/dongfang_FC_rewrite/.settings/org.eclipse.core.resources.prefs /branches/dongfang_FC_rewrite/Flight-Ctrl_MEGA644p_NAVICTRL__ADXRS610_FC2.0_V0_74df_SVN0001.hex /branches/dongfang_FC_rewrite/attitudeControl.c /branches/dongfang_FC_rewrite/attitudeControl.h /branches/dongfang_FC_rewrite/backup /branches/dongfang_FC_rewrite/backup/ADXRS610_FC2.0.c /branches/dongfang_FC_rewrite/backup/ADXRS610_FC2.0.h /branches/dongfang_FC_rewrite/backup/ENC-03_FC1.3.c /branches/dongfang_FC_rewrite/backup/ENC-03_FC1.3.h /branches/dongfang_FC_rewrite/backup/GPSControl.c /branches/dongfang_FC_rewrite/backup/GPSControl.h /branches/dongfang_FC_rewrite/backup/H_and_I_AxisCoupling.txt /branches/dongfang_FC_rewrite/backup/License.txt /branches/dongfang_FC_rewrite/backup/TODO-list.txt /branches/dongfang_FC_rewrite/backup/analog.c /branches/dongfang_FC_rewrite/backup/analog.h /branches/dongfang_FC_rewrite/backup/attitude.c /branches/dongfang_FC_rewrite/backup/attitude.h /branches/dongfang_FC_rewrite/backup/attitudeControl.c /branches/dongfang_FC_rewrite/backup/attitudeControl.h /branches/dongfang_FC_rewrite/backup/bugs.txt /branches/dongfang_FC_rewrite/backup/commands.c /branches/dongfang_FC_rewrite/backup/commands.h /branches/dongfang_FC_rewrite/backup/commands.txt /branches/dongfang_FC_rewrite/backup/configuration.c /branches/dongfang_FC_rewrite/backup/configuration.h /branches/dongfang_FC_rewrite/backup/control.c /branches/dongfang_FC_rewrite/backup/control.h /branches/dongfang_FC_rewrite/backup/controlMixer.c /branches/dongfang_FC_rewrite/backup/controlMixer.h /branches/dongfang_FC_rewrite/backup/displays.txt /branches/dongfang_FC_rewrite/backup/dongfangMath.c /branches/dongfang_FC_rewrite/backup/dongfangMath.h /branches/dongfang_FC_rewrite/backup/dsl.c /branches/dongfang_FC_rewrite/backup/dsl.h /branches/dongfang_FC_rewrite/backup/dynamic_calibration_scrap.txt /branches/dongfang_FC_rewrite/backup/eeprom.c /branches/dongfang_FC_rewrite/backup/eeprom.h /branches/dongfang_FC_rewrite/backup/encoding-tester.txt /branches/dongfang_FC_rewrite/backup/externalControl.c /branches/dongfang_FC_rewrite/backup/externalControl.h /branches/dongfang_FC_rewrite/backup/fc-0.74_bugs.txt /branches/dongfang_FC_rewrite/backup/flexcontrol.h /branches/dongfang_FC_rewrite/backup/flight.c /branches/dongfang_FC_rewrite/backup/flight.h /branches/dongfang_FC_rewrite/backup/gps.c /branches/dongfang_FC_rewrite/backup/gps.h /branches/dongfang_FC_rewrite/backup/gyro.h /branches/dongfang_FC_rewrite/backup/heightControl.c /branches/dongfang_FC_rewrite/backup/heightControl.h /branches/dongfang_FC_rewrite/backup/invenSense.c /branches/dongfang_FC_rewrite/backup/invenSense.h /branches/dongfang_FC_rewrite/backup/main.c /branches/dongfang_FC_rewrite/backup/main.h /branches/dongfang_FC_rewrite/backup/makefile /branches/dongfang_FC_rewrite/backup/menu.c /branches/dongfang_FC_rewrite/backup/menu.h /branches/dongfang_FC_rewrite/backup/mk3mag.c /branches/dongfang_FC_rewrite/backup/mk3mag.h /branches/dongfang_FC_rewrite/backup/mm3.c /branches/dongfang_FC_rewrite/backup/mm3.h /branches/dongfang_FC_rewrite/backup/navi-lang.txt /branches/dongfang_FC_rewrite/backup/naviControl.c /branches/dongfang_FC_rewrite/backup/naviControl.h /branches/dongfang_FC_rewrite/backup/old_macros.h /branches/dongfang_FC_rewrite/backup/output.c /branches/dongfang_FC_rewrite/backup/output.h /branches/dongfang_FC_rewrite/backup/ports.txt /branches/dongfang_FC_rewrite/backup/printf_P.c /branches/dongfang_FC_rewrite/backup/printf_P.h /branches/dongfang_FC_rewrite/backup/rc.c /branches/dongfang_FC_rewrite/backup/rc.h /branches/dongfang_FC_rewrite/backup/readme.txt /branches/dongfang_FC_rewrite/backup/sendOutData.c /branches/dongfang_FC_rewrite/backup/sensors.h /branches/dongfang_FC_rewrite/backup/spectrum.c /branches/dongfang_FC_rewrite/backup/spectrum.h /branches/dongfang_FC_rewrite/backup/spi.c /branches/dongfang_FC_rewrite/backup/spi.h /branches/dongfang_FC_rewrite/backup/timer0.c /branches/dongfang_FC_rewrite/backup/timer0.h /branches/dongfang_FC_rewrite/backup/timer2.c /branches/dongfang_FC_rewrite/backup/timer2.h /branches/dongfang_FC_rewrite/backup/twimaster.c /branches/dongfang_FC_rewrite/backup/twimaster.h /branches/dongfang_FC_rewrite/backup/uart0.c /branches/dongfang_FC_rewrite/backup/uart0.h /branches/dongfang_FC_rewrite/backup/uart1.c /branches/dongfang_FC_rewrite/backup/uart1.h /branches/dongfang_FC_rewrite/backup/ubx.c /branches/dongfang_FC_rewrite/backup/ubx.h /branches/dongfang_FC_rewrite/backup/userparams.txt /branches/dongfang_FC_rewrite/backup/yaw-analysis.txt /branches/dongfang_FC_rewrite/bugs.txt /branches/dongfang_FC_rewrite/commands.c /branches/dongfang_FC_rewrite/commands.h /branches/dongfang_FC_rewrite/commands.txt /branches/dongfang_FC_rewrite/displays.txt /branches/dongfang_FC_rewrite/heightControl.c /branches/dongfang_FC_rewrite/heightControl.h /branches/dongfang_FC_rewrite/navi-lang.txt /branches/dongfang_FC_rewrite/naviControl.c /branches/dongfang_FC_rewrite/naviControl.h /branches/dongfang_FC_rewrite/sendOutData.c /branches/dongfang_FC_rewrite/temp /branches/dongfang_FC_rewrite/yaw-analysis.txt
/branches/dongfang_FC_rewrite/ADXRS610_FC2.0.h /branches/dongfang_FC_rewrite/ENC-03_FC1.3.c /branches/dongfang_FC_rewrite/ENC-03_FC1.3.h /branches/dongfang_FC_rewrite/TODO-list.txt /branches/dongfang_FC_rewrite/analog.c /branches/dongfang_FC_rewrite/analog.h /branches/dongfang_FC_rewrite/attitude.c /branches/dongfang_FC_rewrite/attitude.h /branches/dongfang_FC_rewrite/configuration.c /branches/dongfang_FC_rewrite/configuration.h /branches/dongfang_FC_rewrite/control.h /branches/dongfang_FC_rewrite/controlMixer.c /branches/dongfang_FC_rewrite/controlMixer.h /branches/dongfang_FC_rewrite/dongfangMath.h /branches/dongfang_FC_rewrite/eeprom.c /branches/dongfang_FC_rewrite/externalControl.c /branches/dongfang_FC_rewrite/externalControl.h /branches/dongfang_FC_rewrite/flight.c /branches/dongfang_FC_rewrite/flight.h /branches/dongfang_FC_rewrite/gps.c /branches/dongfang_FC_rewrite/invenSense.h /branches/dongfang_FC_rewrite/main.c /branches/dongfang_FC_rewrite/makefile /branches/dongfang_FC_rewrite/menu.c /branches/dongfang_FC_rewrite/mk3mag.c /branches/dongfang_FC_rewrite/mm3.c /branches/dongfang_FC_rewrite/output.c /branches/dongfang_FC_rewrite/output.h /branches/dongfang_FC_rewrite/rc.c /branches/dongfang_FC_rewrite/rc.h /branches/dongfang_FC_rewrite/spi.c /branches/dongfang_FC_rewrite/spi.h /branches/dongfang_FC_rewrite/timer0.c /branches/dongfang_FC_rewrite/timer2.c /branches/dongfang_FC_rewrite/twimaster.c /branches/dongfang_FC_rewrite/twimaster.h /branches/dongfang_FC_rewrite/uart0.c /branches/dongfang_FC_rewrite/userparams.txt
|
1645 |
5291 d 20 h |
|
/branches/dongfang_FC_rewrite/ |
Gyro measurement, gypo signal processing, attitude calculation and flight calculation were almost identical for pitch and roll. Therefore, arrays are now used for pitch and roll stuff + common code for both.
Gyro saturation prevention added.
Filtering and other processing of gyro signals modified. |
|
/branches/dongfang_FC_rewrite/flight2.c
/branches/dongfang_FC_rewrite/ADXRS610_FC2.0.c /branches/dongfang_FC_rewrite/ADXRS610_FC2.0.h /branches/dongfang_FC_rewrite/ENC-03_FC1.3.c /branches/dongfang_FC_rewrite/H_and_I_AxisCoupling.txt /branches/dongfang_FC_rewrite/analog.c /branches/dongfang_FC_rewrite/analog.h /branches/dongfang_FC_rewrite/attitude.c /branches/dongfang_FC_rewrite/attitude.h /branches/dongfang_FC_rewrite/control.c /branches/dongfang_FC_rewrite/control.h /branches/dongfang_FC_rewrite/controlMixer.c /branches/dongfang_FC_rewrite/controlMixer.h /branches/dongfang_FC_rewrite/eeprom.h /branches/dongfang_FC_rewrite/flight.c /branches/dongfang_FC_rewrite/flight.h /branches/dongfang_FC_rewrite/invenSense.c /branches/dongfang_FC_rewrite/main.c /branches/dongfang_FC_rewrite/menu.c /branches/dongfang_FC_rewrite/rc.c /branches/dongfang_FC_rewrite/sensors.h /branches/dongfang_FC_rewrite/spi.c /branches/dongfang_FC_rewrite/spi.h /branches/dongfang_FC_rewrite/uart0.c /branches/dongfang_FC_rewrite/uart0.h /branches/dongfang_FC_rewrite/uart1.c /branches/dongfang_FC_rewrite/uart1.h /branches/dongfang_FC_rewrite/userparams.txt
|