Iampete1
5181003228
AP_Motors: always check armed and interlocked in motor test
3 years ago
Shiv Tyagi
4483b9d6fe
AP_Motors: add matrix for deca-cwx frame
...
This adds a missing matrix for deca-cwx frame
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
Hwurzburg
47028f136e
AP_Motors: change build option name to new standard
3 years ago
Hwurzburg
0b5123b194
AP_Motors: add Y4 Frame type to Quadcopters
3 years ago
Hwurzburg
9349abfe48
AP_Motors: add build options for each frame class
3 years ago
Iampete1
1a2ea893b6
AP_MotorsMatrix: correct octo I testing order
4 years ago
Peter Barker
380d962648
AP_Motors: do not use int version to define motors
4 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...
4 years ago
Peter Barker
a152ad70a9
AP_Motors: use structures to save flash when initialising motors (raw motors)
4 years ago
Peter Barker
26385009ca
AP_Motors: use structures to save flash when initialising motors
4 years ago
Peter Barker
5f980929d9
AP_Motors: use add_motors to save flash
4 years ago
Peter Hall
42538c7083
AP_Motors: add throttle factor to Matrix
4 years ago
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
5 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