Peter Barker
41ab59dcdb
AP_Motors: eliminate flags structure
...
Saves about 44 bytes
4 years ago
Iampete1
152e2366f0
AP_Motors: Tri: dont check yaw servo on plane
4 years ago
Randy Mackay
2d8c5a7bc4
AP_Motors: remove names from cpp files
5 years ago
Andrew Tridgell
ecd9e45568
AP_Motors: switched tricopter to use rc_write_angle()
...
simplies tricopter handling
5 years ago
Leonard Hall
4a1a5e81ea
AP_Motors: Add variable to record the final thrust value
...
Add Throttle_Out for other frames
5 years ago
IamPete1
3b9a35da27
AP_Motors: add reversed tricopter option
5 years ago
Leonard Hall
036b47ec56
AP_Motors: Add seperate roll and pitch limits
6 years ago
Leonard Hall
0bb9db5139
AP_Motors: add feedforward input to mixers
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
Randy Mackay
1fa335a77b
AP_Motors: actuator_spin_up renamed to include _to_ground_idle
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
28884f60d5
AP_Motors: tricopter apply diffential thrust in forward flight
6 years ago
Randy Mackay
a5c59ce36e
AP_Motors: include boost_throttle in get_motor_mask
7 years ago
Jacob Walser
abcb845af5
AP_Motors: refactor output_test -> output_test_seq
7 years ago
night-ghost
3165d72647
AP_Motors: reduce unnecessary multiple call of get_compensation_gain()
7 years ago
Leonard Hall
0a10deb3f7
AP_Motors: Fix gain scaling on Throttle Average Max and reduce additional gain on low throttle for Single and Coax.
7 years ago
Andrew Tridgell
03e1f6967f
AP_Motors: removed enable() API
...
all output channels are already enabled by SRC_Channels::enable_aux_servos()
7 years ago
Peter Barker
35d8f11e46
AP_Motors: eliminate GCS_MAVLINK::send_statustext_all
8 years ago
Andrew Tridgell
46d9a1dcb5
AP_Motors: fixed tricopter tail servo in fwd flight
...
in quadplane forward flight the with tilt-tricopter tail servo needs to
be at its trim position. Thanks to Marco for noticing this.
8 years ago
Andrew Tridgell
2c4975ba31
AP_Motors: removed cork/push from AP_Motors
...
should be done by vehicle code if needed, so that AUX servos are sent
at the same time
8 years ago
Andrew Tridgell
a6ecb94d24
AP_Motors: MotorsTri does not need its own var_info now
8 years ago
Andrew Tridgell
8e3bf71aa9
AP_Motors: allow single, tri and coax to be part of multicopter class
8 years ago
Andrew Tridgell
8799094278
AP_Motors: use SRV_Channel for tri tail servo
8 years ago
Randy Mackay
7be0f437a9
AP_Motors: consolidate matrix multicopters
...
AP_MOTORS_x_FRAME definitions moved to motor_frame_type enum
init function and now accepts frame-class and type to perform initial motor setup
set_frame_class_and_type allows real-time changing of motor setup
initialised_ok flag and accessor records whether setup was successful
8 years ago
Mathieu OTHACEHE
152edf7189
Global: remove mode line from headers
...
Using a global .dir-locals.el file is a better alternative than
reincluding the same emacs header in every file of the project.
8 years ago
Randy Mackay
a1b573ed0a
AP_Motors: rename throttle_ave_max to throttle_avg_max
9 years ago
Randy Mackay
ef106e4b0f
AP_Motors: spool_mode moved out of flags struction
...
No functional change
9 years ago
Leonard Hall
488f90b39d
AP_Motors: add calc_spin_up_to_pwm to reduce repeated code
9 years ago
Leonard Hall
5a8fc6283e
AP_Motors: replace throttle_rpy_mix with throttle_avg
...
AC_AttitudeControl now calculates throttle vs attitude control
prioritisation and simply provides overall maximum throttle (aka
throttle_avg) to the motors library
9 years ago
Randy Mackay
8d1f50e78f
AP_Motors: rename get_pwm_min to get_pwm_output_min
9 years ago
Randy Mackay
49b14b3cb6
AP_Motors: add PWM_MIN, MAX
...
These parameters allow the motor PWM output range to be different from receiver's throttle input range
Also renamed throttle_pass_through to set_throttle_passthrough_for_esc_calibration and change the method's input to the 0 to 1 range instead of direct PWM value
9 years ago
Andrew Tridgell
60b3625950
AP_Motors: added hook for vehicle based thrust compensation
...
allow vehicle code to compensate for thrust effectiveness changes due
to properties outside the scope of AP_Motors. This allows for
compensation in tiltrotors and tiltwings.
9 years ago
Andrew Tridgell
ff96085bd3
AP_Motors: allow arbitrary motor mapping with tricopters
9 years ago
Andrew Tridgell
f2c63e24c5
AP_Motors: allow tricopter motor 7 to be moved to any output
9 years ago
Randy Mackay
dc86e1472c
AP_MotorsTri: protect against div-by-zero if MOT_YAW_SV_ANGLE param was set to 90
9 years ago
Leonard Hall
fce426409e
AP_MotorsTri: fix stab patch
9 years ago
Randy Mackay
8621774040
AP_MotorsTri: remove output_min
...
This is now implemented by parent AP_MotorsMulticopter
9 years ago
Randy Mackay
41c55ffbe7
AP_MotorsTri: use YAW_SV_REV to reverse yaw output
9 years ago
Leonard Hall
13d727c2c6
AP_MotorsTri: add YAW_SV_ANGLE parameter to capture yaw servo lean angle max
9 years ago
Randy Mackay
c939cc1551
AP_MotorsTri: clarify YAW_SV parameter descriptions and comments
9 years ago
Leonard Hall
267513d864
AP_MotorsTri: fixes to output_armed_stabilizing
...
Also minor comment fixes
9 years ago
Leonard Hall
4d208fcd47
AP_MotorsTri: roll, pitch, yaw input in -1 to +1 range
9 years ago
Leonard Hall
45a16d6dad
AP_MotorsTri: implement output_to_motors for spool logic
9 years ago
Leonard Hall
d0a7579fa0
AP_MotorsTri: stability patch in 0 to 1 range
9 years ago
Leonard Hall
80f77bc30b
AP_MotorsTri: output_min does not set limits
9 years ago
Leonard Hall
ba659be5cb
AP_MotorsTri: rename _yaw_servo_reverse to _yaw_reverse
9 years ago
Leonard Hall
8c4d6d6fbe
AP_MotorsTri: remove output_disarmed
9 years ago
Leonard Hall
a2fdcfaf3f
AP_MotorsTri: remove output_armed_not_stabilizing
9 years ago