Randy Mackay
14409ee20f
Copter: disable aux channels used for motors
2014-02-07 22:04:27 +09:00
Randy Mackay
851a538692
Copter: motor matrix comment change
2013-11-27 22:33:01 +09:00
Randy Mackay
943d7374f6
Copter: slow start motors from 0 to min throttle
2013-10-20 14:51:35 +09:00
Randy Mackay
62cb5c172b
Copter Motors: add slow start feature
...
Combined armed, frame orientation and slow_start into flags bitmask
Removed ability to set max throttle because it was never used
Re-ordered class variables
2013-09-12 22:27:44 +09:00
Andrew Tridgell
97b7130bb9
libraries: update license header to GPLv3
...
we switched to GPLv3 a long time ago, but neglected to update the
per-file license headers
2013-08-30 13:01:39 +10:00
Randy Mackay
fe412437c2
Copter: add flags for upper and lower throttle limits
...
Freeze desired altitude when motors hit a limit
2013-07-28 18:18:39 +09:00
Randy Mackay
f3a2db195e
Copter Motors: remove old style stability patch
2013-07-25 15:34:04 +09:00
Randy Mackay
43379f20c3
Copter Motors: replace limit bitmask with structure
2013-07-21 13:58:24 +09:00
Randy Mackay
336357fbaf
Copter: ensure _spin_when_armed is not higher than _min_throttle
2013-07-16 15:25:57 +09:00
Randy Mackay
6477c746cd
Copter: renamed MOT_UNSAFE_THR to MOT_SPIN_ARMED
...
Removed special purpose spin_unsafe function
renamed _throttle_unsafe to _spin_when_armed and changed to an AP_Int8
2013-07-16 12:47:59 +09:00
Jonathan Challinger
2725f219cb
Copter: Warn user with motors while copter is arming
2013-07-16 12:47:51 +09:00
Jonathan Challinger
ae2b1e3b7e
AP_Motors: Added MOT_UNSAFE_THR parameter - Throttle setting used to signal that the copter is armed or otherwise unsafe to approach
2013-07-16 12:47:49 +09:00
rmackay9
073e2c9f15
ACMotors: bug fix to yaw limit
2013-07-05 13:51:59 -10:00
Randy Mackay
76028fc9d3
Copter Motors: use _min_throttle in output_test
2013-05-31 15:16:04 +09:00
Andrew Tridgell
81f7ae9108
AP_Motors: fixed indent-tabs-mode
2013-05-30 09:51:34 +10:00
Randy Mackay
ec7ee47099
Copter: scaling stability patch
2013-05-27 11:21:31 +09:00
Randy Mackay
6a65a32de2
CopterMotors: add formatting info to top of files
2013-05-20 10:48:42 +09:00
Randy Mackay
ad00e0ee1e
ACMotors: make test_order uint_8
2013-05-14 18:03:34 +09:00
Randy Mackay
cb5f8826f8
Copter: Leonard's fix for trapezoidal frame
...
We need to allow yaw_factors to be floats in the add_motor method
2013-04-25 17:52:19 +09:00
Andrew Tridgell
2c05030fb1
AP_Motors: use the right constrain() function
2013-04-22 13:26:49 +10:00
Randy Mackay
a656b619f5
AP_Motors: remove auto_armed
...
redundant flag that was already held in the main code which is where it
belongs.
2013-04-17 21:28:42 +09:00
James Bielman
5631f865b2
Update floating point calculations to use floats instead of doubles.
...
- Allows use of hardware floating point on the Cortex-M4.
- Added "f" suffix to floating point literals.
- Call floating point versions of stdlib math functions.
2013-01-16 13:52:01 +11:00
Andrew Tridgell
03b26c7d6d
AP_Motors: fixed setup of ESC update speeds
2013-01-10 15:52:46 +11:00
rmackay9
3aca61cefb
AP_Motors: remove unnecessary opposite_motor array (no longer needed with new stability patch)
2013-01-02 09:19:17 +11:00
Pat Hickey
c6fe5e5340
AP_Motors: ported to AP_HAL
2012-12-20 14:51:26 +11:00
rmackay9
c0cf2d6f38
AP_Motors: added reached_limit method which returns bit mask indicating which control inputs could not be achieved
2012-10-11 17:19:54 +09:00
rmackay9
c320938ff2
AP_MotorsMatrix: modified stability patch to sacrifice yaw first if necessary to ensure stability.
...
Resolves climb-on-yaw problem.
2012-10-09 15:48:15 +09:00
Robert Lefebvre
9e32d45d7b
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
93ae29a3e9
ArduCopter: added throttle curve (although disabled by default) for all multicopters
2012-09-18 23:05:08 +09:00
rmackay9
9e66b555cb
ArduCopter: removed INSTANT_PWM from ArduCopter and AP_Motors library
2012-09-13 21:31:13 +09:00
uncrustify
c7f8c4dfa7
uncrustify libraries/AP_Motors/AP_MotorsMatrix.cpp
2012-08-21 19:03:59 -07:00
Jason Short
e12ce1d5a7
MOTORS Mixer: temp removal of Yaw Contrib code
2012-08-09 17:00:11 -07:00
rmackay9
acef75319c
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
8ce9aae2f7
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
53827f2e92
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
926211f0f0
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
b71877366e
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