Randy Mackay
4d1dfd94f5
AP_MotorsMulticopter: multicopter features moved in from parent
...
Also rename from multirotor to multicopter
10 years ago
Robert Lefebvre
61d6c5aa1d
AP_Motors: Creation of AP_Motors_Multirotor class
10 years ago
Robert Lefebvre
11214b3414
AP_Motors: move constraints to set_throttle
10 years ago
Randy Mackay
2849430341
AP_Motors: init flags
...
resolves coverity issue
10 years ago
Randy Mackay
71e4bccecb
AP_Motors: init members in constructor
...
Also add f to end of float constants
10 years ago
Robert Lefebvre
b8181b6b90
AP_Motors: RCMAP fix
...
Remove all RC Input channels passed as reference into AP_Motors. All input handling self-contained inside AP_Motors.
Rework Tricopter to use internal servo calcs.
10 years ago
Jonathan Challinger
28731d2bdc
AP_Motors: add throttle filter input constraint from -100 to 1100
10 years ago
Leonard Hall
0f894ac1a8
AP_Motors: Rename and move Throttle Mix / Comp
10 years ago
Robert Lefebvre
6bdace30d2
AP_Motors: Add throttle interlock functionality
...
AP_MotorsMatrix's output_armed_zero_throttle uses output_min default from base class
10 years ago
Randy Mackay
bae1722946
AP_Motors: get_compensation_gain gets div-by-zero check
10 years ago
Jonathan Challinger
41ae7207c7
AP_Motors: scale roll/pitch/yaw gain for air density
10 years ago
Jonathan Challinger
e2ba351149
AP_Motors: refactor apply_thrust_curve_and_volt_scaling
10 years ago
Tom Pittenger
a5ffadf201
AP_Motors: fix compile warnings re float constants
10 years ago
Jonathan Challinger
4993fd4d71
AP_Motors: use new lowpass filter
10 years ago
Jonathan Challinger
e80776f1f5
AP_Motors: remove MOT_THR_FILT parameter and add interface to configure filter
10 years ago
Jonathan Challinger
8e442675a7
AP_Motors: introduce set_stabilize(bool), specifies whether torque demands should be output
10 years ago
Jonathan Challinger
a2c69fe90d
AP_Motors: add optional motor output throttle filter
10 years ago
Leonard Hall
791fbcf9b3
AP_Motors_Class: time constants of throttle comp
10 years ago
Jonathan Challinger
1828515b3b
AP_Motors: bug fix to _batt_voltage_filt
10 years ago
Randy Mackay
5e26450a6f
AP_Motors: make THR_LOW_COMP a variable instead of param
10 years ago
Leonard Hall
007c96a3d8
AP_Motors: Low throttle compensation setters
10 years ago
Leonard Hall
6275ee0289
AP_Motors: Check for battery voltage reading fail
10 years ago
Jonathan Challinger
d148039f65
AP_Motors: stricter batt_voltage misconfiguration check
10 years ago
Leonard Hall
cf8c211c35
Motors: fix thrust curve and add constraint
10 years ago
Leonard Hall
997c6f0868
Motors: move battery resistance calcs to parent
...
Moving from MotorsMatrix to parent Motors class allows these to be used
from other frame types
Also initialise battery resistance
10 years ago
Randy Mackay
09d7cdbc23
Motors: batt_voltage_filt becomes filter object
10 years ago
Leonard Hall
529c6fed3a
Motors: move over current throttle limiting to parent
...
Moving from MotorsMatrix to parent Motors class allows this to be used
from other frame types
10 years ago
Randy Mackay
1a9d3125ef
Motors: _hover_out to pct * 10 instead of pwm
10 years ago
Leonard Hall
6b7bdf64bd
Motors: move batt voltage lift_max calcs to parent
...
Moving from MotorsMatrix to parent Motors class allows them to be used
by other frame types
Also added sanity check of batt_voltage_min
10 years ago
Randy Mackay
2eaa4a8445
Motors: remove old throttle curve
10 years ago
Leonard Hall
751dbb7df7
Motors: move thrust curve and volt scaling to parent
...
Moving from MotorsMatrix to Motors allows it to be used from other frames
10 years ago
Randy Mackay
77d4b3a2ae
Motors: add loop_rate to constructor
10 years ago
Leonard Hall
ec9d7dd99e
Motors: minor comment fixes
10 years ago
Leonard Hall
1d0ee68116
Motors: over current throttle limiting
10 years ago
Randy Mackay
f6523c0997
Motors: Add THR_LOW_CMP to adjust low throttle inputs affect on attitude control
10 years ago
Leonard Hall
83e3e2fec2
Motors: thrust curve and voltage scaling for matrix supported frames
10 years ago
Leonard Hall
5b0bd49ff2
Motors: configurable yaw headroom for matrix frames
10 years ago
Randy Mackay
6690aff305
AC_Motors: param description addition
10 years ago
Jason Short
b57539a9ad
AP_Motors: throttle_pass_through accepts pwm
11 years ago
Andrew Tridgell
866e32f059
AP_Motors: removed unused variable
11 years ago
Randy Mackay
96d433c63e
AP_Motors: motor_to_channel_map moved to progmem
11 years ago
Randy Mackay
2f4fe3e192
AP_Motors: accessors to set roll, pitch, yaw, throttle
...
This saves 16bytes of RAM and slightly reduces the dependence upon the
RC_Channel class as the interface.
11 years ago
Randy Mackay
83321b8786
AP_Motors: remove motor_out array
...
Saves 16bytes of RAM
11 years ago
Randy Mackay
14dc1a1c88
Copter: add @User and @Increment to motor params description
11 years ago
Randy Mackay
bb1664185f
Copter: correct @Range of MOT_TCRV_MAXPCT parameter
11 years ago
Randy Mackay
943d7374f6
Copter: slow start motors from 0 to min throttle
11 years ago
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
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
12 years ago