Commit Graph

48 Commits

Author SHA1 Message Date
Robert Lefebvre 739d31f06e Change to the "Stability Patch" in Motors_Matrix in order to make it cover both the upper throttle range and lower, and also to cause it to raise/lower all motors when a single motor goes out of ranges. 2012-09-19 20:43:58 -04:00
rmackay9 aaab3c08aa ArduCopter: added throttle curve (although disabled by default) for all multicopters 2012-09-18 23:05:08 +09:00
rmackay9 54d07f6d04 ArduCopter: removed INSTANT_PWM from ArduCopter and AP_Motors library 2012-09-13 21:31:13 +09:00
uncrustify e233e4d625 uncrustify libraries/AP_Motors/AP_MotorsHeli.h 2012-08-21 19:19:52 -07:00
uncrustify 24943e0ea7 uncrustify libraries/AP_Motors/AP_MotorsHeli.cpp 2012-08-21 19:19:52 -07:00
uncrustify e01d4576bd uncrustify libraries/AP_Motors/AP_MotorsOctaQuad.h 2012-08-21 19:04:07 -07:00
uncrustify 0fa67baf5c uncrustify libraries/AP_Motors/AP_MotorsOcta.h 2012-08-21 19:04:07 -07:00
uncrustify d6241b868f uncrustify libraries/AP_Motors/AP_MotorsTri.h 2012-08-21 19:04:07 -07:00
uncrustify 6bf09c9b48 uncrustify libraries/AP_Motors/AP_Motors.h 2012-08-21 19:04:07 -07:00
uncrustify 108cdcdeb0 uncrustify libraries/AP_Motors/AP_MotorsMatrix.h 2012-08-21 19:04:07 -07:00
uncrustify 4f92fd85ac uncrustify libraries/AP_Motors/AP_MotorsY6.h 2012-08-21 19:04:07 -07:00
uncrustify 29fd7e5c0a uncrustify libraries/AP_Motors/AP_MotorsHexa.h 2012-08-21 19:03:59 -07:00
uncrustify 2ac7f46dab uncrustify libraries/AP_Motors/AP_MotorsQuad.h 2012-08-21 19:03:59 -07:00
uncrustify d06aa9fe17 uncrustify libraries/AP_Motors/AP_MotorsHexa.cpp 2012-08-21 19:03:59 -07:00
uncrustify 2dda492e60 uncrustify libraries/AP_Motors/AP_Motors.cpp 2012-08-21 19:03:59 -07:00
uncrustify 3bc6a1598b uncrustify libraries/AP_Motors/AP_MotorsY6.cpp 2012-08-21 19:03:59 -07:00
uncrustify 5b6b38cf27 uncrustify libraries/AP_Motors/AP_MotorsOctaQuad.cpp 2012-08-21 19:03:59 -07:00
uncrustify 59d64e054a uncrustify libraries/AP_Motors/AP_MotorsMatrix.cpp 2012-08-21 19:03:59 -07:00
uncrustify 21c2609c61 uncrustify libraries/AP_Motors/AP_MotorsOcta.cpp 2012-08-21 19:03:59 -07:00
uncrustify d08c9a593e uncrustify libraries/AP_Motors/AP_MotorsQuad.cpp 2012-08-21 19:03:35 -07:00
uncrustify ecc88f6f8c uncrustify libraries/AP_Motors/AP_MotorsTri.cpp 2012-08-21 19:03:35 -07:00
uncrustify 2712e5357d uncrustify libraries/AP_Motors/examples/AP_Motors_test/AP_Motors_test.pde 2012-08-21 19:03:35 -07:00
Robert Lefebvre e1d6103045 TradHeli: Creating Flybar Acro mode. 2012-08-21 16:54:01 -04:00
Robert Lefebvre 3d0ef1b3e6 Changing TradHeli param motors.acro_mode to motors.flybar_mode to better reflect it's intent. 2012-08-20 23:13:50 -04:00
Robert Lefebvre ab0559359d Adding new Trad Heli parameters. 2012-08-20 16:45:19 -04:00
Jason Short d37ca9343b MOTORS Mixer: temp removal of Yaw Contrib code 2012-08-09 17:00:11 -07:00
Andrew Tridgell e9d0ae3e7f AP_Param: update remaining libraries for new constructor syntax 2012-08-08 12:11:57 +10:00
Robert Lefebvre 54b320a9a0 Fixing Trad Heli Ext ESC Controller
-Added ramp-down rate instead of instantly setting ramp to zero when throttle is dropped to bottom. This is to allow "warm-restart" if shutdown was unintentional.
-Actual ESC still goes to zero while throttle is dropped to the bottom, only the ramp counter winds down slowly behind the scenes.
2012-07-31 17:47:25 -04:00
rmackay9 bec5321b8b AP_MotorsMatrix: small bug fix to limit checking on remove_motor call. Fix thanks to Michael Peschel! 2012-07-16 00:38:58 +09:00
Robert Lefebvre 716ce6a5a7 Change to prevent Tricopter servos from going hard-over during Disarmed state.
Believe this was an oversight when the change to AP_Motors went in.
2012-07-13 23:12:26 -04:00
Robert Lefebvre ab1212d8d2 Instituting Yaw Differential on Multirotors. Intent is to stop "rise on yaw input".
Since motors with increasing speed due to yaw input seem to generate more thrust that motors that slow lose thrust, thus net thrust goes up, causing copter to climb.
Values are a guesstimate, proven out by test flying.  This could probably become a parameter.
2012-07-13 22:59:28 -04:00
rmackay9 be3d035a64 AP_Motors: clarified some doxygen descriptions for TradHeli 2012-07-05 08:46:50 +09:00
Robert Lefebvre f7be9a4b5d TradHeli adding ramp up time to Ch8 Throttle Pass-through. 2012-06-07 22:55:47 -04:00
Robert Lefebvre 0c8078c436 AP_MotorsHeli Syntax correction. 2012-06-04 15:53:07 -04:00
rmackay9 8f3169a200 AP_MotorsHeli: Added reference to "Arduino.h" to allow autotest builder to work.
Moved around initialisation of parmeters in AP_MotorHeli object to remove compiler warnings.
2012-06-02 16:13:23 +09:00
Robert Lefebvre bafb478924 TradHeli: Incorporating Ext ESC Control 2012-05-30 21:50:25 -04:00
Robert Lefebvre ffc04b7305 Fix TradHeli Collective Yaw Effect bug. 2012-05-25 15:25:21 -04:00
rmackay9 eaeaa3811a ArduCopter: bug fix for reversing tri servo
Extended AP_MotorsTri class to take in pointer to rc_tail servo (rc_7) and we use this servo's REV parameter to determine whether to reverse the output to the tail servo or not
2012-05-13 12:36:46 +09:00
Adam M Rivera 292f9699fa Parameters.pde/AP_MotorsHeli: Updated comments to leverage the new value aliases 2012-04-28 20:50:41 -05:00
Adam M Rivera 21886104a6 Parameters.pde/AP_MotorsHeli.cpp: Added comments from Roberts clone. 2012-04-26 18:26:14 -05:00
rmackay9 c62ce95768 AP_Motors - allow tail servo to be reversed. Closes ArduCopter issue #228 2012-04-21 23:07:57 +09:00
rmackay9 1b4ac37e66 AP_MotorsMatrix - fixed stability patch issue in which it would not limit a motor's output unless an opposite motor had been defined. This would only have affected Y6 frames. 2012-04-07 12:16:12 +09:00
rmackay9 e63e858b64 AP_MotorsOcta - V Frame - test order fix spotted by David Wiens 2012-04-07 08:11:28 +09:00
rmackay9 d0cbd577cd AP_Motors - fixed last "shadowing" compiler warning caused by badly named parameter in auto_armed method. 2012-04-05 00:28:04 +09:00
rmackay9 c27b83c8a8 AP_MotorsMatrix - fixed another compiler error regarding shadowing a variable. Fixed by removing those the angle and direction arrays which weren't even used 2012-04-05 00:24:56 +09:00
rmackay9 e9f0103063 AP_MotorsHeli - fixed compiler warning re move_swash function declared with int parameters in .h file but actually using int16_t in .cpp file. They're the same in arduino but perhaps the build checker is a little more strict that Arduino. 2012-04-05 00:06:33 +09:00
rmackay9 40e5a15452 AP_Motors - fix compiler warning re shadowing a variable caused by badly named parameter in armed function.
Another compiler warning fixed in AP_MotorsMatrix.cpp caused by declaring "i" twice.
2012-04-04 23:59:51 +09:00
rmackay9 71ad185238 ArduCopter - AP_Motors library - added new library which has few advantages over current code:
1. it's step towards rearchitecting the current code base ahead of a move to RTOS.
     2. internally it uses a MatrixTable for the Quad, Octa, OctaQuad, Y6 frames.
     3. it implements the missing stability patch for Octa and OctaQuads (still missing for Y6)

Later check-ins will incorporate into the main ArduCopter code.
2012-04-02 17:26:37 +09:00