MikroKopter.de
Wiki
SHOP
Datenschutz
Impressum
FlightCtrl
BL-Ctrl
MK3Mag
NaviCtrl
Projects
Català-Valencià – Catalan
中文 – Chinese (Simplified)
中文 – Chinese (Traditional)
Česky – Czech
Dansk – Danish
Nederlands – Dutch
English – English
Suomi – Finnish
Français – French
Deutsch – German
עברית – Hebrew
हिंदी – Hindi
Magyar – Hungarian
Bahasa Indonesia – Indonesian
Italiano – Italian
日本語 – Japanese
한국어 – Korean
Македонски – Macedonian
मराठी – Marathi
Norsk – Norwegian
Polski – Polish
Português – Portuguese
Português – Portuguese (Brazil)
Русский – Russian
Slovenčina – Slovak
Slovenščina – Slovenian
Español – Spanish
Svenska – Swedish
Türkçe – Turkish
Українська – Ukrainian
Oëzbekcha – Uzbek
Subversion Repositories
FlightCtrl
(root)
/
branches
/
dongfang_FC_rewrite
/
attitude.c
@ 1844
- Rev 0
Rev
Hide changed files
|
Details
|
Compare with Previous
|
Blame
|
RSS feed
Filtering Options
From rev
To rev
Max revs
Search history for
Show All
Rev
Age
Author
Path
Log message
Diff
Changes
1821
5054 d 14 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
1805
5084 d 12 h
/branches/dongfang_FC_rewrite/
/branches/dongfang_FC_rewrite/attitude.c
/branches/dongfang_FC_rewrite/attitude.h
/branches/dongfang_FC_rewrite/configuration.c
/branches/dongfang_FC_rewrite/flight.c
/branches/dongfang_FC_rewrite/gps.c
/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/output.c
/branches/dongfang_FC_rewrite/output.h
/branches/dongfang_FC_rewrite/spi.c
/branches/dongfang_FC_rewrite/timer0.c
1775
5128 d 3 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
1646
5289 d 11 h
/branches/dongfang_FC_rewrite/
Gyro and acc. offsetting rewritten. Now it is jolt-free. Offsets are unsigned.
New defaults for drift compensation.
Bug in acc. and gyro fusion fixed.
All gyro types tested (a standard FC1.3, a standard FC2.0 and a nonstandard InvenSense FC)
/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/ENC-03_FC1.3.h
/branches/dongfang_FC_rewrite/analog.c
/branches/dongfang_FC_rewrite/analog.h
/branches/dongfang_FC_rewrite/attitude.c
/branches/dongfang_FC_rewrite/configuration.h
/branches/dongfang_FC_rewrite/eeprom.c
/branches/dongfang_FC_rewrite/eeprom.h
/branches/dongfang_FC_rewrite/flight.c
/branches/dongfang_FC_rewrite/invenSense.c
/branches/dongfang_FC_rewrite/invenSense.h
/branches/dongfang_FC_rewrite/makefile
/branches/dongfang_FC_rewrite/sensors.h
/branches/dongfang_FC_rewrite/uart0.c
1645
5291 d 4 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
1634
5299 d 19 h
/branches/dongfang_FC_rewrite/
Bug in stick calibration fixed.
/branches/dongfang_FC_rewrite/analog.c
/branches/dongfang_FC_rewrite/analog.h
/branches/dongfang_FC_rewrite/attitude.c
/branches/dongfang_FC_rewrite/controlMixer.c
/branches/dongfang_FC_rewrite/flight.c
/branches/dongfang_FC_rewrite/main.c
/branches/dongfang_FC_rewrite/makefile
/branches/dongfang_FC_rewrite/rc.c
/branches/dongfang_FC_rewrite/timer0.c
/branches/dongfang_FC_rewrite/uart0.c
1617
5303 d 17 h
dongfang
/branches/dongfang_FC_rewrite/
Axis correction was returned to right handed coordinate system (it was not left handed after all...)
Bug in external signal quality detection fixed.
/branches/dongfang_FC_rewrite
/branches/dongfang_FC_rewrite/analog.h
/branches/dongfang_FC_rewrite/attitude.c
/branches/dongfang_FC_rewrite/externalControl.c
/branches/dongfang_FC_rewrite/makefile
1616
5305 d 3 h
dongfang
/branches/dongfang_FC_rewrite/
Beauty changes. More readme. TODO list.
/branches/dongfang_FC_rewrite/TODO-list.txt
/branches/dongfang_FC_rewrite/attitude.c
/branches/dongfang_FC_rewrite/control.h
/branches/dongfang_FC_rewrite/flight.h
/branches/dongfang_FC_rewrite/readme.txt
1612
5306 d 4 h
dongfang
/branches/dongfang_FC_rewrite/
Initial import.
/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/ENC-03_FC1.3.h
/branches/dongfang_FC_rewrite/GPSControl.c
/branches/dongfang_FC_rewrite/GPSControl.h
/branches/dongfang_FC_rewrite/H_and_I_AxisCoupling.txt
/branches/dongfang_FC_rewrite/License.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.c
/branches/dongfang_FC_rewrite/control.h
/branches/dongfang_FC_rewrite/controlMixer.c
/branches/dongfang_FC_rewrite/controlMixer.h
/branches/dongfang_FC_rewrite/dongfangMath.c
/branches/dongfang_FC_rewrite/dongfangMath.h
/branches/dongfang_FC_rewrite/dsl.c
/branches/dongfang_FC_rewrite/dsl.h
/branches/dongfang_FC_rewrite/dynamic_calibration_scrap.txt
/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/fc-0.74_bugs.txt
/branches/dongfang_FC_rewrite/fc.lst
/branches/dongfang_FC_rewrite/flexcontrol.h
/branches/dongfang_FC_rewrite/flight.c
/branches/dongfang_FC_rewrite/flight.h
/branches/dongfang_FC_rewrite/flight2.c
/branches/dongfang_FC_rewrite/gps.c
/branches/dongfang_FC_rewrite/gps.h
/branches/dongfang_FC_rewrite/gyro.h
/branches/dongfang_FC_rewrite/invenSense.c
/branches/dongfang_FC_rewrite/invenSense.h
/branches/dongfang_FC_rewrite/main.c
/branches/dongfang_FC_rewrite/main.h
/branches/dongfang_FC_rewrite/makefile
/branches/dongfang_FC_rewrite/menu.c
/branches/dongfang_FC_rewrite/menu.h
/branches/dongfang_FC_rewrite/mk3mag.c
/branches/dongfang_FC_rewrite/mk3mag.h
/branches/dongfang_FC_rewrite/mm3.c
/branches/dongfang_FC_rewrite/mm3.h
/branches/dongfang_FC_rewrite/old_macros.h
/branches/dongfang_FC_rewrite/output.c
/branches/dongfang_FC_rewrite/output.h
/branches/dongfang_FC_rewrite/ports.txt
/branches/dongfang_FC_rewrite/printf_P.c
/branches/dongfang_FC_rewrite/printf_P.h
/branches/dongfang_FC_rewrite/rate-notes
/branches/dongfang_FC_rewrite/rc.c
/branches/dongfang_FC_rewrite/rc.h
/branches/dongfang_FC_rewrite/rc2.c
/branches/dongfang_FC_rewrite/rc2.h
/branches/dongfang_FC_rewrite/sensors.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/timer2.h
/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
/branches/dongfang_FC_rewrite/ubx.c
/branches/dongfang_FC_rewrite/ubx.h
/branches/dongfang_FC_rewrite/userparams.txt
/branches/dongfang_FC_rewrite/version.txt