Commit Graph

16 Commits

Author SHA1 Message Date
Tom Pittenger
2e191e5a3d Copter: replace fabs() with fabsf() 2015-05-09 09:57:25 +10:00
Tom Pittenger
3f614534b3 Copter: compiler warnings: unnecessary float promotion 2015-05-05 13:26:57 +10:00
Robert Lefebvre
9b15ea6f5c Copter: Change throttle_zero to check interlock and E-stop status 2015-05-01 14:30:30 +09:00
Jonathan Challinger
91a03ae0e7 Copter: add PILOT_THR_FILT and call set_throttle_out functions with that value 2015-04-16 21:00:11 +09:00
Jonathan Challinger
b27b9dd86e Copter: use new throttle interface 2015-04-16 20:59:48 +09:00
Robert Lefebvre
97cd3614eb Copter: Change Aux Switch function list to enum. 2015-03-17 21:18:46 +09:00
Robert Lefebvre
a5af151a91 Copter: Initial expansion of Aux Switch to Ch7-12 2015-03-17 21:18:41 +09:00
Randy Mackay
65ed77e803 Copter: ensure motors don't stop during flip 2014-08-23 23:40:13 +09:00
Randy Mackay
e1e010c504 Copter: remove unused flip_stop 2014-08-23 23:40:11 +09:00
Randy Mackay
4184c1d6e5 Copter: flip minor comments and formatting 2014-08-23 23:40:09 +09:00
Jason Short
882edaf787 Copter: add pitch axis flipping
Added Pitch axis flipping. You must be pushing forward or back 3° to make it flip in Pitch axis or it will flip in the default roll axis.
Added some extra throttle control to maintain altitude
removed the CH7 ability to exit Flip mode. It will exit only if completing flip or user aborts with control sticks.
2014-08-23 23:40:07 +09:00
Randy Mackay
d386ac6f85 Copter: remove unused local var from Flip 2014-08-01 15:14:42 +09:00
Randy Mackay
4221833028 Copter: flip records starting attitude
Previously flip relied on the attitude controller not updating the earth
frame target during the flip which can't be guaranteed.  Safer for flip
to maintain it's own copy of the original attitude .
2014-06-10 20:02:32 +09:00
Randy Mackay
3ccd1ad170 Copter: integrate AttControl method name changes 2014-02-15 06:09:08 +11:00
Randy Mackay
d3a126d078 Copter: integrate slew_yaw into control_auto 2014-02-15 05:27:45 +11:00
Randy Mackay
47deb795bd Copter: add control_flip 2014-02-15 05:27:44 +11:00