Randy Mackay
8225e58454
AP_Motors: throttle_min method in 0 to 1000 range
...
Previously the pwm range value was returned. This value is only used by
the multicopter attitude controller's angle boost function.
10 years ago
Randy Mackay
6bf6442396
MotorsMatrix; protect against divide by zero
...
This should never happen but just to be safe
10 years ago
Randy Mackay
fa60c3dce8
MotorsCoax: fix output_armed_stabilized min thr limit
10 years ago
Randy Mackay
8a308205ce
MotorsSingle: fix output_armed_stabilized min thr limit
10 years ago
Randy Mackay
bd9a605086
MotorsTri: fix output_armed_stabilized min thr limit
...
_min_throttle is in the pwm range but was being used as if in the 0 to
1000 range
10 years ago
Randy Mackay
e53c46bd8f
MotorsMatrix: fix output_armed_stabilized min thr limit
...
_min_throttle was being used as if it were in the 0 to 1000 range when
in fact it is in the pwm range. This meant the lower limit was too low.
10 years ago
Robert Lefebvre
e1902e2289
AP_MotorsHeli: Remove unused _dt variable.
10 years ago
Robert Lefebvre
11214b3414
AP_Motors: move constraints to set_throttle
10 years ago
Robert Lefebvre
0c92565d23
AP_MotorsHeli: add Critical Rotor Speed param, use to switch off runup_complete
10 years ago
Robert Lefebvre
3ad6700c5d
AP_MotorsHeli: add getters for rotor speed
10 years ago
Robert Lefebvre
8b917b82ee
AP_MotorsHeli: Simplify set_desired_rotor_speed function definition
10 years ago
Robert Lefebvre
79e8c8f7f7
AP_MotorsHeli: whitespace fixes
10 years ago
Randy Mackay
2849430341
AP_Motors: init flags
...
resolves coverity issue
10 years ago
Andrew Tridgell
d746e8fa29
AP_Motors: mark examples as nobuild
...
waiting for fix from Rob
10 years ago
Andrew Tridgell
89baf2bdf1
AP_Motors: convert example from .pde to .cpp
10 years ago
Robert Lefebvre
1424b17a83
AP_Motors_Heli: Change default RSC_SETPOINT to 700
10 years ago
Robert Lefebvre
d24664ccf9
AP_MotorsHeli: Semantic change. Motor Runup to Rotor Runup
10 years ago
Robert Lefebvre
65ca09600c
AP_Motors: Heli eliminate _dt member and fix rsc_runup calculation
10 years ago
Randy Mackay
d777166c6f
AP_MotorsTri: revert tail servo to Ch7
10 years ago
Randy Mackay
1a1fa7ca4b
AP_MotorsHeli: add comment to avoid param conflict
10 years ago
Randy Mackay
4c94a69e33
AP_MotorsCoax: resolve param conflict with TradHeli
10 years ago
Randy Mackay
78b49fb4c6
AP_MotorsSingle: resolve param conflict with TradHeli
...
Also rename servo reverse parameters to be consistent with tricopter
10 years ago
Randy Mackay
8dc7cf7fa8
AP_MotorsTri: YAW_SV_REV values -1 or +1
...
Also resolve parameter conflict with TradHeli
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
Robert Lefebvre
73bafa131e
AP_MotorsHeli: Overload output()
...
To protect it from future interference from Multirotor code.
10 years ago
Robert Lefebvre
d3ce68a8ca
AP_MotorsHeli: Overload update_throttle_filter()
...
Do not reset filter to zero when disarmed to allow collective pitch servo movement.
10 years ago
Randy Mackay
3d9a6a69e2
MotorsHeli: COLYAW to float
10 years ago
Randy Mackay
edfa206bb8
Motors_Heli: nest heli params
10 years ago
Randy Mackay
68b05a4ca2
AP_Motors: is_throttle_mix_min returns bol
10 years ago
Leonard Hall
0f894ac1a8
AP_Motors: Rename and move Throttle Mix / Comp
10 years ago
Andrew Tridgell
2e57c62ebb
AP_Motors: fix for HAL_SITL rename
10 years ago
Randy Mackay
b223e90ef6
AP_Motors: fix example sketches
10 years ago
Randy Mackay
0acc06d713
AP_Motors: minor comment for interlock
10 years ago
Robert Lefebvre
1a482de5e2
AP_MotorsHeli: Overload output_armed_zero_throttle
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
Jonathan Challinger
348001e786
AP_Motors: add get_throttle_warn function
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
Jonathan Challinger
a07b322d31
AP_Motors: set_throttle takes a float
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
bc2afb31dd
AP_Motors: virtual not necessary in child class
10 years ago
Jonathan Challinger
a2c69fe90d
AP_Motors: add optional motor output throttle filter
10 years ago
Leonard Hall
88be3d67e7
AP_Motors: add get for throttle comp
10 years ago
Leonard Hall
791fbcf9b3
AP_Motors_Class: time constants of throttle comp
10 years ago