Andrew Tridgell
f00a227b33
AP_Motors: more changes for 32 bit servo mask
3 years ago
Iampete1
43832649ec
AP_Motors: convert to 32 bit motor mask
3 years ago
Peter Barker
8930b5f6f5
AP_Motors: tidy includes
3 years ago
Iampete1
5181003228
AP_Motors: always check armed and interlocked in motor test
3 years ago
Peter Barker
06c61070dc
AP_Motors: add and use AP_MOTORS_FRAME_DEFAULT_ENABLED
3 years ago
Iampete1
86578d5cec
AP_Motors: add local loging of MOTB
3 years ago
Iampete1
70897b5e38
AP_Motors: allow custom frame string from scripting
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
bc29735cb2
AP_Motors: make pwm_type protected and add helpers
3 years ago
Andy Piper
513aa592e4
AP_Motors: add accessors for turtle mode
4 years ago
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