Iampete1
43832649ec
AP_Motors: convert to 32 bit motor mask
3 years ago
murata
6d4a923cce
AP_Motors: Change from division to multiplication
3 years ago
Iampete1
5181003228
AP_Motors: always check armed and interlocked in motor test
3 years ago
Mark Whitehorn
6b2184a53a
AP_Motors: add frame_class and frame_type strings
...
move frame_class/type string assignments down into subclasses
4 years ago
Peter Hall
d0e1e85b9e
AP_Motors: add get_frame_mav_type
4 years ago
Peter Barker
8f8283e0f0
AP_Motors: rc_map_mask -> motor_mask_to_srv_channel_mask
...
the naming of this function precedes our rc/srv-channel split
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
Leonard Hall
4a1a5e81ea
AP_Motors: Add variable to record the final thrust value
...
Add Throttle_Out for other frames
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
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
Andrew Tridgell
4e414c02f5
AP_Motors: use scaled actuators for single and coax frames
...
this allows for multiple servos with the same motor function
7 years ago
Andrew Tridgell
216bab4de4
AP_Motors: fixed default motor functions for single and coax copter
...
should be enabling motors 5 and 6 to match docs and SITL
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
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
8e3bf71aa9
AP_Motors: allow single, tri and coax to be part of multicopter class
8 years ago
Andrew Tridgell
638f1364be
AP_Motors: adapt to new RC_Channel API
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
Leonard Hall
fe68fe65e2
AP_Motors: Single and Coax fix flap gains
9 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
8fff32bde3
AP_MotorsSingle: fix stability patch use of throttle_hover
9 years ago
Leonard Hall
e0f9fc8e40
AP_MotorsSingle: rename rpy_scale, thrust_min_rpy variables
...
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
Leonard Hall
a16018f9fe
AP_Motors: Missed Single fix
9 years ago
Leonard Hall
d67f83559c
AP_Motors: Single and Coax Fixes
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
f2c63e24c5
AP_Motors: allow tricopter motor 7 to be moved to any output
9 years ago
Randy Mackay
8566a61660
AP_MotorsSingle: remove output_min
...
This is now implemented by parent AP_MotorsMulticopter
9 years ago
Leonard Hall
840e60c930
AP_MotorsSingle: fixes to stab patch
...
Fixes throttle_lower flag
Also some formatting changes
9 years ago
Randy Mackay
af9b18329c
AP_MotorsSingle: use calc_pwm_output_1to1 instead of local calc_pivot_radio_output
9 years ago
Leonard Hall
b701c109cf
AP_MotorsSingle: roll, pitch, yaw input in -1 to +1 range
9 years ago
Leonard Hall
5cd4b78918
AP_MotorsSingle: remove reverse parameters
...
No longer necessary because we can use individual servo reverse params
9 years ago
Leonard Hall
6264159f4d
AP_MotorsSingle: move servo objects into Single class
9 years ago
Leonard Hall
21d304b86d
AP_MotorsSingle: output_to_motors implements spool logic
9 years ago
Leonard Hall
24a100e429
AP_MotorsSingle: stability patch uses 0 to 1 range
9 years ago
Leonard Hall
cffdced838
AP_MotorsSingle: support 4 servo outputs
9 years ago