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
Andrzej Zaborowski
132cdc4916
Motors: Use _motor_to_channel_map in tricopter consistently.
...
In AP_MotorsTri.cpp the AP_MOTORS_MOT_1, _2 and _4 constants are
always mapped to actual output channels through _motor_to_channel_map
while the _CH_TRI_YAW is not, but there were a few inconsistencies
in this that could lead to things like PWM min and max values being
set on wrong channels.
It looks like all in all _motor_to_channel_map being in PROGMEM
probably doesn't help save memory and I'm not sure how useful it is
in the first place but regardless the usage should be consistent.
10 years ago
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