Iampete1
8af5f5b2d7
AP_MotorsMulticopter: check interlock state in output_motor_mask
2022-02-10 07:43:40 +09:00
Peter Barker
bd4aed80dc
AP_Motors: tweak logging structure construction
...
const and avoid assignment rather just do initialisation
allows for static checking of narrowing conversions
2022-01-21 21:34:57 +11:00
Iampete1
86578d5cec
AP_Motors: add local loging of MOTB
2022-01-18 10:18:10 +11:00
Iampete1
d16be50e57
AP_Motors: add PWM min and max param conversion function
2021-10-11 22:19:17 -04:00
Iampete1
14dfac42e7
AP_Motors: remove use of external PWM min and max
2021-10-11 22:19:17 -04:00
Iampete1
1371499022
AP_Motors: add note about test to new inverse functions
2021-10-01 22:04:51 +01:00
Iampete1
0c1fe0b373
AP_MotorsMulticopter: add inverse thrust_to_actuator and thrust curve functions
2021-10-01 22:04:51 +01:00
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
2021-07-28 17:40:40 +10:00
Leonard Hall
ac41bb50ee
AP_Motors: correct expo parameter description and internal limits
2021-06-21 08:41:31 +09:00
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
2021-05-18 09:54:23 +10:00
Andy Piper
d70b8425f7
AP_Motors: trigger digital throttle range with digital outputs
2021-05-12 21:02:42 +10:00
murata
9228925bea
AP_Motors: Battery voltage compensation maximum voltage
2021-03-05 08:48:20 +09:00
Iampete1
0c2037438b
AP_Motors: output mask: do not apply copter sin params and epxo
2020-11-10 11:09:56 +11:00
Peter Barker
41ab59dcdb
AP_Motors: eliminate flags structure
...
Saves about 44 bytes
2020-09-22 20:26:24 +10:00
Randy Mackay
2d8c5a7bc4
AP_Motors: remove names from cpp files
2020-07-14 13:27:07 +10:00
Peter Hall
2f036c65f3
AP_Motors: MotorsMulticopter fix floating boost output
2020-03-02 18:22:30 +09:00
Peter Barker
c4ed6d0e96
AP_Motors: ensure _pwm_min and _pwm_max are not equal
...
AP_Motors: adjust check_mot_pwm_params for clarity
2020-01-30 14:49:16 +09:00
Randy Mackay
bff978570f
AP_MotorsMulticopter: fixup check_mot_pwm_params
...
fix _pwm_max is positive check
returns true if params are valid
constify method
2020-01-30 10:01:54 +09:00
Randy Mackay
f00bf77af7
AP_MotorsMulticopter: minor formatting fix
2020-01-30 08:33:00 +09:00
ashvath
d97fdcac31
Copter: function for mot_pwm checks
2020-01-30 08:29:56 +09:00
Peter Hall
d08b395224
AP_Motors: only ouput throttle to mask if armed
2020-01-21 10:11:16 +11:00
Peter Hall
4aa0dfa2aa
AP_Motors: output_motor_mask update
2020-01-07 10:40:22 +11:00
Andrew Tridgell
37566d079f
AP_Motors: support direct rate outputs for multicopters
2019-10-25 17:11:56 +11:00
Michael du Breuil
a80ff80061
AP_Motors: Fix safe disarm
2019-10-16 08:46:49 +11:00
Leonard Hall
6e8413f122
AP_Motors: Use safety timer to enable pwm before spool up
2019-10-16 08:46:49 +11:00
murata
371f11b7f4
AP_Motors: Change to description(NFC)
2019-10-08 08:26:17 +09:00
Andrew Tridgell
39182e70e4
AP_Motors: enable docs for hover thr learning in plane
2019-10-04 14:01:08 +10:00
Leonard Hall
036b47ec56
AP_Motors: Add seperate roll and pitch limits
2019-08-03 12:06:32 +09:00
Michael du Breuil
e3f1ef0c5e
AP_Motors: Refactor battery current interface
2019-07-14 00:28:00 -07:00
Leonard Hall
77f8ec9f43
AP_Motors: formatting fixes
2019-07-12 09:29:40 +09:00
Peter Barker
1e606cdc5b
AP_Motors: make desired spool state and spool state enum-classes
...
This will help avoid getting the enumerations mixed up
2019-04-14 12:18:03 +09:00
Mark Whitehorn
35928a8d05
AP_Motors: fix regression for tiltrotors
2019-01-29 08:10:27 +09:00
Randy Mackay
1fa335a77b
AP_Motors: actuator_spin_up renamed to include _to_ground_idle
2019-01-21 20:55:07 +09:00
Randy Mackay
e2bd502b83
AP_Motors: minor format fixes
2019-01-21 20:13:43 +09:00
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.
2019-01-21 20:07:58 +09:00
bnsgeyer
ac87b3e1e5
AP_Motors: spool state moved from multi to parent
...
Also rename SPIN_WHEN_ARMED to GROUND_IDLE
2019-01-15 11:41:44 +09:00
IamPete1
c26948ef59
AP_Motors: multicopter apply diffential thrust in forward flight
2019-01-15 10:19:19 +11:00
expntly
790f609373
AP_Motors: document Hover_learn as copter only
2019-01-03 09:50:22 +09:00
Randy Mackay
a5699c7d5a
AP_Motors: boost-scale param desc update
2018-12-27 10:08:14 +09:00
Randy Mackay
db9ce0064b
AP_Motors: esc calibration outputs to throttleRight and throttleLeft
2018-12-21 11:19:18 +09:00
Andrew Tridgell
f71013928a
AP_Motors: force PWM range for DShot to 1000 to 2000
2018-11-16 08:33:35 +11:00
Leonard Hall
2f87d8808f
AP_Motors: handle boost in spool up and down the same way
2018-10-16 00:44:50 +09:00
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
2018-10-16 00:44:50 +09:00
Randy Mackay
a5c59ce36e
AP_Motors: include boost_throttle in get_motor_mask
2018-08-27 10:35:02 +09:00
Peter Barker
937d8dac97
AP_Motors: remove unneeded initialisations
2018-07-23 16:30:40 +09:00
Andrew Tridgell
bd9df6d0ec
AP_Motors: added DShot to parameter docs
2018-04-07 09:10:29 +10:00
Michael du Breuil
050b8ebb32
AP_Motors: Allow specifying which battery is used for compensation
2018-03-27 22:12:21 +01:00
Michael du Breuil
98e327640d
AP_Motors: Use battery singleton
2018-03-27 22:12:21 +01:00
Andrew Tridgell
e340fac2e0
AP_Motors: avoid float exception for small expo
...
very small values of the thrust expo cause a floating point
exception. As zero is a documented value meaning linear we need to
handle this.
2017-10-25 21:15:58 +11:00
Leonard Hall
d28182435e
AP_Motors: allow for negative thrust expo
...
This allows for motors with a thrust curve that decreases with demand.
2017-10-05 13:40:36 +11:00