murata
8e8f2b93a7
AP_Motors: Add DECA frame class and type string
4 years ago
Randy Mackay
0c9559db6d
AP_Motors: fixup octaquad CW_X motor directions
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
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
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
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
Mark Whitehorn
d3c1838fbe
AP_Motors: remove AP_MotorsMatrixTS
4 years ago
Randy Mackay
2d8c5a7bc4
AP_Motors: remove names from cpp files
5 years ago
Rishabh
aec65ed6ff
AP_Motors: Added cwx motor setup for hexa, octa and octaquad
5 years ago
Rishabh
38533b2f09
AP_Motors: Added DJI_X motor setup for hexacopter and octacopter
5 years ago
Andrew Tridgell
134d8b941b
AP_Motors: added betaflight-x-reversed frame type
5 years ago
Leonard Hall
5979c750f9
AP_Motors: yaw headroom fix
5 years ago
Leonard Hall
a8913d0df5
AP_Motors: Add full yaw range calculation back
5 years ago
Leonard Hall
f840f96276
AP_Motors: Freeze motor lost index on enabling thrust boost
5 years ago
Leonard Hall
d4b922336b
Copter: add voltage compensation to _throttle_thrust_max
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
Randy Mackay
10da6d553c
Copter: improve OctaV roll factors
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
Randy Mackay
54fe1dad82
AP_Motors: add missing break to Hexa-H
6 years ago
murata
df85409a4c
AP_Motors: Integrate processing result setting true
6 years ago
Randy Mackay
a2373ebca2
AP_Motors: add support for Hexa-H frame
...
same as X frame except that middle motors are closer to center
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
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
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
Randy Mackay
853a56dc9b
AP_MotorsMatrix: formatting fixes
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
a5c59ce36e
AP_Motors: include boost_throttle in get_motor_mask
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
Andrew Tridgell
e55d3a0834
AP_Motors: fix mask passed to rc_set_freq
...
the full motor mask must be supplied to work correctly for oneshot and
dshot
7 years ago
night-ghost
3165d72647
AP_Motors: reduce unnecessary multiple call of get_compensation_gain()
7 years ago
Leonard Hall
eb6ab53f6c
AP_Motors: fix optimum thrust calcs
7 years ago
Andrew Tridgell
efea83e424
AP_Motors: fixed MotorsMatrix set_update_rate()
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
murata
66fc49889b
AP_Motors: add dodeca-hexa
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
Randy Mackay
8b5aae37e0
AP_Motors: remove Hexa-H, change Octa-H factors
...
Octa-H is like an Quad-X but with each side having two additional motors placed between the front an back motors.
Octa-H is quite different from Quad-H.
8 years ago
Randy Mackay
872e0567be
AP_Motors: add H frame support for hexa and octa
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