Commit Graph

10726 Commits

Author SHA1 Message Date
Randy Mackay
6380a39d3a Copter: remote update_trig from main code 2014-02-15 05:27:48 +11:00
Randy Mackay
75b20bde7c Copter: control_acro, drift use trig from ahrs 2014-02-15 05:27:48 +11:00
Randy Mackay
d76180d605 AC_AttControl: use trig values from ahrs 2014-02-15 05:27:48 +11:00
Randy Mackay
8b8d6a8e01 AC_PosControl: use trig values from ahrs 2014-02-15 05:27:48 +11:00
Randy Mackay
598a1b1f43 AC_Circle: use trig values from ahrs 2014-02-15 05:27:48 +11:00
Randy Mackay
64cfcb2308 AC_WPNav: use trig values from ahrs 2014-02-15 05:27:48 +11:00
Randy Mackay
aa4c3eaffe Copter: resolve RTL state compiler warnings 2014-02-15 05:27:48 +11:00
Randy Mackay
12a4ce70fd Copter: remove control_roll, pitch, yaw variables 2014-02-15 05:27:47 +11:00
Randy Mackay
2c1ec9d0c0 Copter: remove control_roll, pitch, yaw from control files 2014-02-15 05:27:47 +11:00
Randy Mackay
e8c4e8a472 Copter: integrate get_angle_target_for_reporting
Used for logging and sending to GCS
2014-02-15 05:27:47 +11:00
Randy Mackay
d579325e2a Copter: add get_angle_targets_for_reporting
This returns the current earth frame roll, pitch and yaw targets which
can depend upon the flight mode
2014-02-15 05:27:47 +11:00
Randy Mackay
1acd33e290 Copter: do_yaw takes yaw target from AttControl 2014-02-15 05:27:47 +11:00
Randy Mackay
ea1158a9d5 Copter: remove unused config 2014-02-15 05:27:47 +11:00
Randy Mackay
9ef3fd850f Copter: remove use of SUPER_SIMPLE definition 2014-02-15 05:27:47 +11:00
Randy Mackay
b37b0c5061 TradHeli: remove use of throttle_mode 2014-02-15 05:27:47 +11:00
Randy Mackay
082c5021ee AC_AttControlHeli: add comments 2014-02-15 05:27:47 +11:00
Randy Mackay
b0673d693b Copter: move set_mode, to flight_mode.pde 2014-02-15 05:27:47 +11:00
Randy Mackay
b8bb477731 Copter: add flight_mode.pde 2014-02-15 05:27:47 +11:00
Randy Mackay
38d5148b99 Copter: remove reset_I_all
Each controller should reset the I terms as needed
2014-02-15 05:27:47 +11:00
Randy Mackay
72a3f14561 Copter: move reset_optflow_I to control_ofloiter 2014-02-15 05:27:46 +11:00
Randy Mackay
17177adccf AC_Circle: remove debug comment 2014-02-15 05:27:46 +11:00
Randy Mackay
7afa0a767c Copter: correct circle rate tuning to use circle_nav 2014-02-15 05:27:46 +11:00
Randy Mackay
3e399fd830 Copter: remove unused parameters 2014-02-15 05:27:46 +11:00
Randy Mackay
81c7df7678 Copter: comment fix 2014-02-15 05:27:46 +11:00
Randy Mackay
0e0d02cd6d Copter: remove unused init from sport mode 2014-02-15 05:27:46 +11:00
Randy Mackay
3d926a6943 Copter: GCS_Mavlink gets gyro direct from imu 2014-02-15 05:27:46 +11:00
Randy Mackay
f46ff2b44e Copter: remove unused defines 2014-02-15 05:27:46 +11:00
Randy Mackay
fe26af86de Copter: crash check works with flip flight mode 2014-02-15 05:27:46 +11:00
Randy Mackay
22280e1c57 Copter: integrate surface_tracking to control_althold 2014-02-15 05:27:46 +11:00
Randy Mackay
3824f528ea Copter: get angle_boost direct from pos_control 2014-02-15 05:27:46 +11:00
Randy Mackay
90c5fe4be4 Copter: surface_tracking takes current_alt_target param 2014-02-15 05:27:46 +11:00
Randy Mackay
989a03a643 Copter: remove unused flags and variables 2014-02-15 05:27:45 +11:00
Randy Mackay
174318a2a9 Copter: remove set_nav_mode 2014-02-15 05:27:45 +11:00
Randy Mackay
aedb4136de Copter: update_thr_cruise removed from control_stabilize 2014-02-15 05:27:45 +11:00
Randy Mackay
223c6fd4de Copter: remove deadwood, update_thr_cruise always runs 2014-02-15 05:27:45 +11:00
Randy Mackay
2870d043f8 Copter: remove unused drift.pde
moved to control_drift.pde
2014-02-15 05:27:45 +11:00
Randy Mackay
1cd678f684 Copter: compiler warning for control_autotune 2014-02-15 05:27:45 +11:00
Randy Mackay
d3a126d078 Copter: integrate slew_yaw into control_auto 2014-02-15 05:27:45 +11:00
Randy Mackay
37cfbc9ad5 AP_Math: float versions of wrap_360 and wrap_180 2014-02-15 05:27:45 +11:00
Randy Mackay
364946cb7f Copter: AttControl param prefix shortened to ATC 2014-02-15 05:27:45 +11:00
Randy Mackay
814157324d Copter: APM_Config AUTOTUNE_ENABLED 2014-02-15 05:27:45 +11:00
Randy Mackay
89a50ed445 Copter: comment fix for control_stabilize 2014-02-15 05:27:45 +11:00
Randy Mackay
0107b2a95d Copter: remove unused auto_tune.pde 2014-02-15 05:27:44 +11:00
Randy Mackay
aec67cd3df Copter: integrate control_autotune 2014-02-15 05:27:44 +11:00
Randy Mackay
823485f763 Copter: add control_autotune.pde 2014-02-15 05:27:44 +11:00
Randy Mackay
b87852ee2e Copter: remove unused flip.pde 2014-02-15 05:27:44 +11:00
Randy Mackay
d90d3d8dca Copter: integrate control_flip 2014-02-15 05:27:44 +11:00
Randy Mackay
47deb795bd Copter: add control_flip 2014-02-15 05:27:44 +11:00
Randy Mackay
a7504faa7d TradHeli: empty angle_boost for trad heli 2014-02-15 05:27:44 +11:00
Randy Mackay
1648ecc6e5 Copter: bug fix for heli_control_acro throttle 2014-02-15 05:27:44 +11:00