Andrew Tridgell
b2e43d1dee
AP_Motors: fixed override of MOT_PWM_MIN/MAX in defaults.parm
...
need to check configured() not configured_in_storage()
3 years ago
Iampete1
43832649ec
AP_Motors: convert to 32 bit motor mask
3 years ago
Tatsuya Yamaguchi
dbae31fb15
AP_Motors: Add Tricopter only to the description of YAW_SV_ANGLE
3 years ago
Iampete1
8af5f5b2d7
AP_MotorsMulticopter: check interlock state in output_motor_mask
3 years ago
Peter Barker
bd4aed80dc
AP_Motors: tweak logging structure construction
...
const and avoid assignment rather just do initialisation
allows for static checking of narrowing conversions
3 years ago
Iampete1
86578d5cec
AP_Motors: add local loging of MOTB
3 years ago
Iampete1
d16be50e57
AP_Motors: add PWM min and max param conversion function
3 years ago
Iampete1
14dfac42e7
AP_Motors: remove use of external PWM min and max
3 years ago
Iampete1
1371499022
AP_Motors: add note about test to new inverse functions
3 years ago
Iampete1
0c1fe0b373
AP_MotorsMulticopter: add inverse thrust_to_actuator and thrust curve functions
3 years ago
Andrew Tridgell
4b9311d87d
AP_Motors: added new MOT_PWM_TYPE=8 for PWM range
...
this allows multirotors to set individual PWM ranges per motor. This
is needed for heliquads flying as multirotors
4 years ago
Leonard Hall
ac41bb50ee
AP_Motors: correct expo parameter description and internal limits
4 years ago
Dr.-Ing. Amilcar do Carmo Lucas
2393097417
AP_Motors: Use the same limits described in the wiki
...
According to Leonard Hall's tuning instructions at:
https://ardupilot.org/copter/docs/tuning-process-instructions.html
Fix a typo
4 years ago
Andy Piper
d70b8425f7
AP_Motors: trigger digital throttle range with digital outputs
4 years ago
murata
9228925bea
AP_Motors: Battery voltage compensation maximum voltage
4 years ago
Iampete1
0c2037438b
AP_Motors: output mask: do not apply copter sin params and epxo
4 years ago
Peter Barker
41ab59dcdb
AP_Motors: eliminate flags structure
...
Saves about 44 bytes
4 years ago
Randy Mackay
2d8c5a7bc4
AP_Motors: remove names from cpp files
5 years ago
Peter Hall
2f036c65f3
AP_Motors: MotorsMulticopter fix floating boost output
5 years ago
Peter Barker
c4ed6d0e96
AP_Motors: ensure _pwm_min and _pwm_max are not equal
...
AP_Motors: adjust check_mot_pwm_params for clarity
5 years ago
Randy Mackay
bff978570f
AP_MotorsMulticopter: fixup check_mot_pwm_params
...
fix _pwm_max is positive check
returns true if params are valid
constify method
5 years ago
Randy Mackay
f00bf77af7
AP_MotorsMulticopter: minor formatting fix
5 years ago
ashvath
d97fdcac31
Copter: function for mot_pwm checks
5 years ago
Peter Hall
d08b395224
AP_Motors: only ouput throttle to mask if armed
5 years ago
Peter Hall
4aa0dfa2aa
AP_Motors: output_motor_mask update
5 years ago
Andrew Tridgell
37566d079f
AP_Motors: support direct rate outputs for multicopters
5 years ago
Michael du Breuil
a80ff80061
AP_Motors: Fix safe disarm
5 years ago
Leonard Hall
6e8413f122
AP_Motors: Use safety timer to enable pwm before spool up
5 years ago
murata
371f11b7f4
AP_Motors: Change to description(NFC)
5 years ago
Andrew Tridgell
39182e70e4
AP_Motors: enable docs for hover thr learning in plane
5 years ago
Leonard Hall
036b47ec56
AP_Motors: Add seperate roll and pitch limits
6 years ago
Michael du Breuil
e3f1ef0c5e
AP_Motors: Refactor battery current interface
6 years ago
Leonard Hall
77f8ec9f43
AP_Motors: formatting fixes
6 years ago
Peter Barker
1e606cdc5b
AP_Motors: make desired spool state and spool state enum-classes
...
This will help avoid getting the enumerations mixed up
6 years ago
Mark Whitehorn
35928a8d05
AP_Motors: fix regression for tiltrotors
6 years ago
Randy Mackay
1fa335a77b
AP_Motors: actuator_spin_up renamed to include _to_ground_idle
6 years ago
Randy Mackay
e2bd502b83
AP_Motors: minor format fixes
6 years ago
Matt
3d3f06cacb
AP_Motors: Add actuator output slew time to multicopters
...
Adds slew time limiting for throttling up and throttling down to multicopters. New parameters MOT_SLEW_UP_TIME and MOT_SLEW_DN_TIME added. 0 = disabled, no slew limiting. Valid values are 0 to 0.5 seconds. Also reworked functions related to linearization and PWM conversion to make more flexible throughout the code.
6 years ago
bnsgeyer
ac87b3e1e5
AP_Motors: spool state moved from multi to parent
...
Also rename SPIN_WHEN_ARMED to GROUND_IDLE
6 years ago
IamPete1
c26948ef59
AP_Motors: multicopter apply diffential thrust in forward flight
6 years ago
expntly
790f609373
AP_Motors: document Hover_learn as copter only
6 years ago
Randy Mackay
a5699c7d5a
AP_Motors: boost-scale param desc update
6 years ago
Randy Mackay
db9ce0064b
AP_Motors: esc calibration outputs to throttleRight and throttleLeft
6 years ago
Andrew Tridgell
f71013928a
AP_Motors: force PWM range for DShot to 1000 to 2000
6 years ago
Leonard Hall
2f87d8808f
AP_Motors: handle boost in spool up and down the same way
6 years ago
Leonard Hall
4774cb8daf
AP_Motors: improved motor loss redundancy
...
This detects a failed motor on copters with at least 6 motors
and recalculates the mixer to compensate
6 years ago
Randy Mackay
a5c59ce36e
AP_Motors: include boost_throttle in get_motor_mask
7 years ago
Peter Barker
937d8dac97
AP_Motors: remove unneeded initialisations
7 years ago
Andrew Tridgell
bd9df6d0ec
AP_Motors: added DShot to parameter docs
7 years ago
Michael du Breuil
050b8ebb32
AP_Motors: Allow specifying which battery is used for compensation
7 years ago