Randy Mackay
d3fcfe669d
Copter Motors: increase MOT_SPIN_ARMED to int16
12 years ago
Randy Mackay
0a047ae1c1
Copter Motors: increased spin-when-armed to 70
...
Changed choices to be displayed in ground stations
12 years ago
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
12 years ago
Randy Mackay
f8a872f01e
AP_Motors: update notify
12 years ago
Randy Mackay
8d26fb5581
Copter Motors: by default spin motors at 65 when armed
12 years ago
Randy Mackay
fe412437c2
Copter: add flags for upper and lower throttle limits
...
Freeze desired altitude when motors hit a limit
12 years ago
Randy Mackay
43379f20c3
Copter Motors: replace limit bitmask with structure
12 years ago
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
12 years ago
Jonathan Challinger
2725f219cb
Copter: Warn user with motors while copter is arming
12 years ago
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
12 years ago
Randy Mackay
28f2f87b26
Copter Motors: minor formatting change
12 years ago
Andrew Tridgell
81f7ae9108
AP_Motors: fixed indent-tabs-mode
12 years ago
Randy Mackay
ec7ee47099
Copter: scaling stability patch
12 years ago
Randy Mackay
cd5795a4ac
ACMotors: make a few more functions non-virtual
...
Saves at least 22 bytes of RAM
12 years ago
Randy Mackay
bd07b1e57b
ACMotors: remove unused get_num_motors function
...
Saves about 4 bytes of RAM
12 years ago
Randy Mackay
5bb0582854
ACMotors: ESC Calibration only for enabled motors
12 years ago
Randy Mackay
33d1129904
Copter: remove unused TB_RATIO parameter
12 years ago
Randy Mackay
7a81c41689
AP_Motors: motor_enabled array to bool
...
Also increased the default MAX_THROTTLE from 850 to 1000 but this number
is always overwritten by the main code anyway so should have no
functional impact.
12 years ago
Randy Mackay
1cfd5900a8
Copter: add support for H-quad frame
...
H-quads are like X quads but the motors spin in the opposite direction.
Having the motors reversed seems to help with yaw authority because of
the slight flex in bodies
12 years ago
Randy Mackay
a656b619f5
AP_Motors: remove auto_armed
...
redundant flag that was already held in the main code which is where it
belongs.
12 years ago
Randy Mackay
e32cbd827b
Copter: replace quad trapezoid frame with V
...
Also update motor mixing
12 years ago
Randy Mackay
39ba406957
Copter: add trapezoid frame type
...
We still need to properly define the motor mixing for the trapezoid
frame in AP_MotorsQuad.cpp
12 years ago
Andrew Tridgell
f91ddf5df9
AP_Motors: removed board type define
12 years ago
Pat Hickey
3cc204321c
AP_Motors_Class: add Progmem typedef
12 years ago
Pat Hickey
c6fe5e5340
AP_Motors: ported to AP_HAL
12 years ago
rmackay9
0159d8bd35
AP_Motors: bug fix to reached_limits so by default it returns true if any limits have been breached
12 years ago
rmackay9
c0cf2d6f38
AP_Motors: added reached_limit method which returns bit mask indicating which control inputs could not be achieved
13 years ago
rmackay9
6ed59fba91
AP_Motors: enable throttle curve by default
13 years ago
rmackay9
93ae29a3e9
ArduCopter: added throttle curve (although disabled by default) for all multicopters
13 years ago
rmackay9
9e66b555cb
ArduCopter: removed INSTANT_PWM from ArduCopter and AP_Motors library
13 years ago
uncrustify
d773a9c43b
uncrustify libraries/AP_Motors/AP_Motors.h
13 years ago
rmackay9
f6e1509d05
AP_Motors - fixed last "shadowing" compiler warning caused by badly named parameter in auto_armed method.
13 years ago
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.
13 years ago
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.
13 years ago