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
Iampete1
6848cbc241
AP_Motors: add scripting dynamic mixer, allowing varable geometry vehicles
4 years ago
Peter Barker
c28a03728d
AP_Motors: tidy frame description strings
...
Before: AP: Frame: TRI/
After: AP: Frame: TRI
4 years ago
Andy Piper
7c213a8bbf
AP_Motors: move AP_MotorsUGV here
...
add singleton and motor_mask to AP_MotorsUGV
4 years ago
Andrew Tridgell
ea3657e941
AP_Motors: added accessors for ff output to motors
...
needed for tailsitters
4 years ago
Iampete1
5c3725d899
AP_Motors: add 6DoF scripting matrix mixer
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
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
bnsgeyer
6c8a85ee04
AP_Motors: updates to new integrator and make selectable
4 years ago
murata
159a6c7ed6
AP_Motors: Support for decacopters
4 years ago
Peter Barker
41ab59dcdb
AP_Motors: eliminate flags structure
...
Saves about 44 bytes
4 years ago
Andrew Tridgell
134d8b941b
AP_Motors: added betaflight-x-reversed frame type
5 years ago
Mark Whitehorn
68dcab3edb
AP_Motors: add copter tailsitter differential torque frames
5 years ago
Gone4Dirt
98a4335af4
AP_Motors: Added support for autorotation
5 years ago
Bill Geyer
63d9b47530
AP_Motors: make init_targets_on_arming global
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
1iggy2
7323a5da9d
AP_Motors: Added Octo I frame
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
Tom Pittenger
3bbd80a5de
AP_Mount: unify singleton naming to _singleton and get_singleton()
6 years ago
Andrew Tridgell
cf8b059531
AP_Motors: added 3 more motor orders for X quads
...
- betaflight X
- DJI X
- clockwise X
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
c82f158b56
AP_Motors: add get roll factor
6 years ago
Andrew Tridgell
d907c5757d
AP_Motors: added PlusRev motors type
...
this is a plus frame with reversed motor direction, needed for quad in
Morse simulator
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
bnsgeyer
dec8c5de77
AP_Motors: convert heli code to use SRV_Channels
...
this converts the heli code to use the SRV_Channels output
functions. It does not change behaviour, but removes the last vehicle
type that did its own servo output calculations. This change also
fixed servo initialization conflicts.
Note that this also allows helis to be setup with more than one
channel for a particular output (eg. two separate channels for tail
servo if they are wanted). This isn't likely to be used much, but does
make heli consistent with other vehicle types
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
80a1688361
AP_Motors: make a singleton
...
this is used by AP_ESCSerial
7 years ago
Andrew Tridgell
2c84d77306
AP_Motors: setup for DShot output modes
7 years ago
Michael du Breuil
98e327640d
AP_Motors: Use battery singleton
7 years ago
Andrew Tridgell
1e62b5d5c7
AP_Motors: many to one mapping of motors
...
this allows multiple outputs for one motor number
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
Andrew Tridgell
55d5fe843e
AP_Motors: added Heli_Quad backend
...
supporting collective pitch quadcopters
7 years ago
Andrew Tridgell
abd0831239
AP_Motors: changed BRUSHED16kHz to BRUSHED
8 years ago
Leonard Hall
9e86732edc
AP_Motors: accept external battery resistance estimate
8 years ago
murata
66fc49889b
AP_Motors: add dodeca-hexa
8 years ago
Andrew Tridgell
1ad5e1db4e
AP_Motors: integrate AP_MotorsHeli_Dual
...
fixed issues with combining with Heli_Single
8 years ago
Rustom Jehangir
237ba87ca4
AP_Motors: New AP_Motors6DOF used by Sub
8 years ago
Andrew Tridgell
1a74b7fc0c
AP_Motors: started on tailsitter support
8 years ago
Andrew Tridgell
af44e9fdbd
AP_Motors: added frame type 11 for Y6 to match FireFly6
...
using same motor output mapping as AvA
8 years ago
Andrew Tridgell
638f1364be
AP_Motors: adapt to new RC_Channel API
8 years ago
Randy Mackay
bdfb12123f
AP_Motors: fix frame-type enum for Y6B
...
Also remove unused NEW_PLUS
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