Hwurzburg
9349abfe48
AP_Motors: add build options for each frame class
2021-10-27 07:59:52 +09:00
Iampete1
1a2ea893b6
AP_MotorsMatrix: correct octo I testing order
2021-09-13 13:39:03 +09:00
Peter Barker
380d962648
AP_Motors: do not use int version to define motors
2021-09-08 18:20:44 +10:00
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...
2021-09-08 18:20:44 +10:00
Peter Barker
a152ad70a9
AP_Motors: use structures to save flash when initialising motors (raw motors)
2021-09-08 18:20:44 +10:00
Peter Barker
26385009ca
AP_Motors: use structures to save flash when initialising motors
2021-09-08 18:20:44 +10:00
Peter Barker
5f980929d9
AP_Motors: use add_motors to save flash
2021-08-31 20:23:58 +10:00
Peter Hall
42538c7083
AP_Motors: add throttle factor to Matrix
2021-05-25 09:01:06 +09:00
murata
8e8f2b93a7
AP_Motors: Add DECA frame class and type string
2021-03-09 19:59:10 +09:00
Randy Mackay
0c9559db6d
AP_Motors: fixup octaquad CW_X motor directions
2021-02-22 11:00:44 +09:00
Peter Hall
cc26a520bc
AP_MotorsMatrix: init to virtual and remove duplicate set initalised
2021-02-09 12:43:54 +09:00
Mark Whitehorn
9bc8a8c912
AP_Motors: make frame*string getters more const
2021-02-09 12:43:53 +11:00
Mark Whitehorn
6b2184a53a
AP_Motors: add frame_class and frame_type strings
...
move frame_class/type string assignments down into subclasses
2021-02-09 12:43:53 +11:00
Iampete1
fca6f7027b
AP_Motors: allow Matrix config from scripting
2021-01-26 11:07:36 +09:00
Peter Hall
d0e1e85b9e
AP_Motors: add get_frame_mav_type
2021-01-26 11:07:36 +09:00
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
2021-01-05 10:19:32 +11:00
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
2020-12-16 08:45:11 +11:00
murata
159a6c7ed6
AP_Motors: Support for decacopters
2020-12-08 11:59:10 +11:00
Peter Barker
41ab59dcdb
AP_Motors: eliminate flags structure
...
Saves about 44 bytes
2020-09-22 20:26:24 +10:00
Mark Whitehorn
d3c1838fbe
AP_Motors: remove AP_MotorsMatrixTS
2020-09-08 10:50:31 +10:00
Randy Mackay
2d8c5a7bc4
AP_Motors: remove names from cpp files
2020-07-14 13:27:07 +10:00
Rishabh
aec65ed6ff
AP_Motors: Added cwx motor setup for hexa, octa and octaquad
2020-02-19 11:28:25 +09:00
Rishabh
38533b2f09
AP_Motors: Added DJI_X motor setup for hexacopter and octacopter
2020-01-29 16:57:23 +09:00
Andrew Tridgell
134d8b941b
AP_Motors: added betaflight-x-reversed frame type
2020-01-16 19:13:13 +11:00
Leonard Hall
5979c750f9
AP_Motors: yaw headroom fix
2019-10-31 16:12:11 +09:00
Leonard Hall
a8913d0df5
AP_Motors: Add full yaw range calculation back
2019-10-31 11:04:40 +08:00
Leonard Hall
f840f96276
AP_Motors: Freeze motor lost index on enabling thrust boost
2019-10-31 10:49:45 +08:00
Leonard Hall
d4b922336b
Copter: add voltage compensation to _throttle_thrust_max
2019-10-15 10:45:36 +09:00
Leonard Hall
4a1a5e81ea
AP_Motors: Add variable to record the final thrust value
...
Add Throttle_Out for other frames
2019-10-10 20:26:02 +09:00
Leonard Hall
036b47ec56
AP_Motors: Add seperate roll and pitch limits
2019-08-03 12:06:32 +09:00
Leonard Hall
0bb9db5139
AP_Motors: add feedforward input to mixers
2019-07-25 17:38:15 +09:00
Randy Mackay
10da6d553c
Copter: improve OctaV roll factors
2019-07-18 11:19:28 +09:00
Leonard Hall
77f8ec9f43
AP_Motors: formatting fixes
2019-07-12 09:29:40 +09:00
1iggy2
7323a5da9d
AP_Motors: Added Octo I frame
2019-06-04 09:49:44 +09:00
Peter Barker
1e606cdc5b
AP_Motors: make desired spool state and spool state enum-classes
...
This will help avoid getting the enumerations mixed up
2019-04-14 12:18:03 +09:00
Randy Mackay
54fe1dad82
AP_Motors: add missing break to Hexa-H
2019-04-13 10:36:36 +09:00
murata
df85409a4c
AP_Motors: Integrate processing result setting true
2019-04-13 10:29:49 +09:00
Randy Mackay
a2373ebca2
AP_Motors: add support for Hexa-H frame
...
same as X frame except that middle motors are closer to center
2019-04-12 09:32:12 +09:00
Andrew Tridgell
cf8b059531
AP_Motors: added 3 more motor orders for X quads
...
- betaflight X
- DJI X
- clockwise X
2019-02-06 11:17:35 +11:00
Randy Mackay
1fa335a77b
AP_Motors: actuator_spin_up renamed to include _to_ground_idle
2019-01-21 20:55:07 +09:00
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.
2019-01-21 20:07:58 +09:00
bnsgeyer
ac87b3e1e5
AP_Motors: spool state moved from multi to parent
...
Also rename SPIN_WHEN_ARMED to GROUND_IDLE
2019-01-15 11:41:44 +09:00
Andrew Tridgell
d907c5757d
AP_Motors: added PlusRev motors type
...
this is a plus frame with reversed motor direction, needed for quad in
Morse simulator
2018-12-04 09:44:50 +11:00
Randy Mackay
853a56dc9b
AP_MotorsMatrix: formatting fixes
2018-10-16 00:44:50 +09:00
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
2018-10-16 00:44:50 +09:00
Randy Mackay
a5c59ce36e
AP_Motors: include boost_throttle in get_motor_mask
2018-08-27 10:35:02 +09:00
Jacob Walser
24e21b57ca
AP_Motors: add output_test_num api for motor testing
2018-07-02 11:31:58 -04:00
Jacob Walser
abcb845af5
AP_Motors: refactor output_test -> output_test_seq
2018-07-02 11:31:58 -04:00
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
2018-04-07 09:10:29 +10:00
night-ghost
3165d72647
AP_Motors: reduce unnecessary multiple call of get_compensation_gain()
2018-01-24 19:26:15 +09:00