Jonathan Challinger
1828515b3b
AP_Motors: bug fix to _batt_voltage_filt
10 years ago
Jonathan Challinger
89cdd02f58
AP_Motors: remove duplicate get_throttle function
10 years ago
Jonathan Challinger
0e53c0a892
AP_Motors: make output_armed() and output_disarmed() pure virtual
10 years ago
Randy Mackay
385b3744ea
MotorTri: check servo_out above min_throttle
10 years ago
Randy Mackay
f9e29a7f77
MotorSingle: check servo_out above min_throttle
...
We need to recalc radio_out or the motors could fall below min throttle
10 years ago
Randy Mackay
8de5d16f96
MotorCoax: check servo_out above min_throttle
...
We need to recalc radio_out or the motors could fall below min throttle
10 years ago
Leonard Hall
31a55b2bd6
MotorsMatrix: fix div by zero by ensuring throttle is above min
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
Leonard Hall
3ad9b1a06b
AP_MotorsMatrix: remove incorrect throttle limit flag
10 years ago
Jonathan Challinger
d148039f65
AP_Motors: stricter batt_voltage misconfiguration check
10 years ago
Leonard Hall
11a19803e0
Motors: add accessors for motor logging
...
accessor include get_roll, get_pitch, get_yaw, throttle input
10 years ago
Randy Mackay
f5f7cd540f
Motors: fix example sketches
10 years ago
Leonard Hall
cf8c211c35
Motors: fix thrust curve and add constraint
10 years ago
Leonard Hall
3e960dfc3b
Motors: add get_voltage_comp_gain
...
This clarifies that lift_max is the inverse of the battery voltage gain
compensation
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
812473fd9a
MotorsMatrix: use get_hover_throttle_as_pwm
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
c549b58eb7
MotorsMatrix: remove check of throttle_curve_enabled
10 years ago
Randy Mackay
5fb3de48ee
MotorsTri, Single, Coax: use new thrust curve
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
80b498f598
Motors: add loop_rate to test sketch
10 years ago
Randy Mackay
7ab76dbd0e
Motors: add loop_rate to constructor for all 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
3550e52560
MotorsTri: add 80% throttle limit
...
This limit was moved from the main copter flight code to the motors
library in order that the throttle_upper flag could be set properly.
10 years ago
Randy Mackay
38702a7e23
Motors: fix example sketch
10 years ago
Robert Lefebvre
a2958e2ffd
AP_MotorsSingle: Fix parameter comments.
10 years ago
Randy Mackay
677f6cce7f
AP_Motors: reduce slow-start increment for fast CPUs
10 years ago
Randy Mackay
6690aff305
AC_Motors: param description addition
10 years ago
Randy Mackay
793ed20534
CoaxCopter: set throttle upper and lower flags
10 years ago
Randy Mackay
57f6d0ff60
SingleCopter: set throttle upper and lower flags
10 years ago
Randy Mackay
85fb4b122a
MotorsMatrix: _min_throttle interpreted as 0 ~ 1000 range for throttle_lower flag
...
Also trigger throttle_upper flag when throttle in reaches 1000
10 years ago
Randy Mackay
91e5201439
Tri: _min_throttle interpreted as 0~1000 range for throttle_lower flag
...
limit.throttle_lower flag becomes true when the throttle passed into the
motors lib (which is in the 0 ~ 1000 range) is below _min throttle.
This makes the interpretation of the THR_MIN parameter consistent
between the main code (which uses 0 ~ 1000 range) and the motors lib
(which previously used the RC3_MIN ~ RC3_MAX range).
The remaining problem however is that the output of the motors continues
to use THR_MIN as if it were a pwm. I don't believe this is a dangerous
problem however.
10 years ago
Jason Short
b57539a9ad
AP_Motors: throttle_pass_through accepts pwm
11 years ago
NullVoxPopuli
c672b3e324
Copter: Added support for V-Shaped and A-Shaped VTail Quadcopter frames
...
Signed-off-by: NullVoxPopuli <LPSego3+dev@gmail.com>
11 years ago
Randy Mackay
9b9f6cd47a
AC_MotorsHeli: init member to resolve compiler warning
11 years ago
Andrew Tridgell
2e83555892
AP_Motors: fixed example build
11 years ago
Randy Mackay
5596001d39
AC_Motors: make get_throttle_out const
11 years ago
Randy Mackay
b665ebd7a0
MotorsMatrix: implement get_motor_mask
11 years ago
Randy Mackay
d73605ece8
MotorsCoax: implement get_motor_mask
11 years ago