Iampete1
43832649ec
AP_Motors: convert to 32 bit motor mask
3 years ago
Iampete1
5181003228
AP_Motors: always check armed and interlocked in motor test
3 years ago
Iampete1
70897b5e38
AP_Motors: allow custom frame string from scripting
3 years ago
Peter Barker
55cdbd208d
AP_Motors: move from ENABLE_SCRIPTING to AP_SCRIPTING_ENABLED
3 years ago
Peter Barker
9e8126d07c
AP_Motors: ensure ENABLE_SCRIPTING is always defined
3 years ago
Peter Barker
380d962648
AP_Motors: do not use int version to define motors
3 years ago
Peter Barker
dbb43a5746
AP_Motors: remove motor_num from motor definition structures
...
Every structure simply used the defines in sequence, meaning 0, 1, 2, 3
etc. Handily we have a loop counter where we use these structures...
3 years ago
Peter Barker
a152ad70a9
AP_Motors: use structures to save flash when initialising motors (raw motors)
3 years ago
Peter Barker
26385009ca
AP_Motors: use structures to save flash when initialising motors
3 years ago
Peter Barker
5f980929d9
AP_Motors: use add_motors to save flash
4 years ago
Andy Piper
513aa592e4
AP_Motors: add accessors for turtle mode
4 years ago
Iampete1
6848cbc241
AP_Motors: add scripting dynamic mixer, allowing varable geometry vehicles
4 years ago
Peter Hall
42538c7083
AP_Motors: add throttle factor to Matrix
4 years ago
Peter Hall
cc26a520bc
AP_MotorsMatrix: init to virtual and remove duplicate set initalised
4 years ago
Mark Whitehorn
9bc8a8c912
AP_Motors: make frame*string getters more const
4 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
Iampete1
fca6f7027b
AP_Motors: allow Matrix config from scripting
4 years ago
Andrew Tridgell
c504e2db04
AP_Motors: added disable_yaw_torque() method
...
this is used for tilt-vectored quadplanes to use only vectoring for
yaw control. This avoids some nasty transition issues
4 years ago
IamPete1
c82f158b56
AP_Motors: add get roll factor
6 years ago
Peter Barker
f2070da335
AP_Motors: add override keyword where required
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
f85e84cc89
AP_Motors: add override keyword to get_motor_mask
7 years ago
Randy Mackay
f536c53fa6
AP_MotorsMatrix: minor format fix
7 years ago
Jacob Walser
24e21b57ca
AP_Motors: add output_test_num api for motor testing
7 years ago
Jacob Walser
abcb845af5
AP_Motors: refactor output_test -> output_test_seq
7 years ago
Jacob Walser
9ce9f95692
AP_Motors: make output_test signatures consistent and ensure override
...
specifier on derived classes
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
Rustom Jehangir
237ba87ca4
AP_Motors: New AP_Motors6DOF used by Sub
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
Randy Mackay
41189758b8
AP_Motors: move some functions to protected
...
Also minor formatting fix
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
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
Randy Mackay
f4d94806e5
AP_MotorsMatrix: remove output_min
...
This is now implemented by parent AP_MotorsMulticopter
9 years ago
Leonard Hall
8f8eb7e214
AP_MotorsMatrix: add normalise_rpy_factors
9 years ago
Randy Mackay
8057d2fc58
AP_MotorsMatrix: remove unnecessary virtual declarations
9 years ago
Leonard Hall
397940a9a4
AP_MotorsMatrix: implement output_to_motors
9 years ago
Leonard Hall
cdec8f3387
AP_MotorsMatrix: remove output_disarmed
9 years ago
Leonard Hall
b965857229
AP_MotorsMatrix: remove output_armed_not_stabilizing
9 years ago
Leonard Hall
3fef60da45
AP_MotorsMatrix: stability patch in 0 to 1 range
...
Includes storing motor level thrusts to _thrust_rpyt_out
rename _throttle_thr_mix_desired to _throttle_rpy_mix_desired
rename _throttle_thr_mix to _throttle_rpy_mix
use get_hover_throttle_as_high_end_pct
use throttle_thrust_max updated by multicopter spool logic
do not set limits in stability patch
9 years ago
Lucas De Marchi
7d9153feb8
AP_Motors: replace header guard with pragma once
9 years ago
Gustavo Jose de Sousa
1e619c6c59
AP_Motors: standardize inclusion of libaries headers
...
This commit changes the way libraries headers are included in source files:
- If the header is in the same directory the source belongs to, so the
notation '#include ""' is used with the path relative to the directory
containing the source.
- If the header is outside the directory containing the source, then we use
the notation '#include <>' with the path relative to libraries folder.
Some of the advantages of such approach:
- Only one search path for libraries headers.
- OSs like Windows may have a better lookup time.
10 years ago
Randy Mackay
112e934072
AP_MotorsMatrix: remove call to empty parent Init
...
Also rename uses of Multirotor to Multicopter
10 years ago
Robert Lefebvre
61d6c5aa1d
AP_Motors: Creation of AP_Motors_Multirotor class
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
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
Randy Mackay
7ab76dbd0e
Motors: add loop_rate to constructor for all frames
10 years ago
Leonard Hall
5b0bd49ff2
Motors: configurable yaw headroom for matrix frames
10 years ago
NullVoxPopuli
c672b3e324
Copter: Added support for V-Shaped and A-Shaped VTail Quadcopter frames
...
Signed-off-by: NullVoxPopuli <LPSego3+dev@gmail.com>
11 years ago
Randy Mackay
b665ebd7a0
MotorsMatrix: implement get_motor_mask
11 years ago