Peter Barker
ad57141a85
AP_Motors: tidy includes of SRV_Channel.h
2023-01-25 22:30:55 +11:00
Leonard Hall
67205f8114
AP_Motors: Support changing update period
2022-12-13 17:10:06 +11:00
Iampete1
e72e5a2751
AP_Motors: add pre-arm check
2022-09-07 17:54:16 +10:00
Iampete1
43832649ec
AP_Motors: convert to 32 bit motor mask
2022-05-22 12:07:37 +10:00
Iampete1
5181003228
AP_Motors: always check armed and interlocked in motor test
2022-02-10 07:43:40 +09:00
Iampete1
70897b5e38
AP_Motors: allow custom frame string from scripting
2022-01-05 19:51:19 +11: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
Peter Barker
f2070da335
AP_Motors: add override keyword where required
2018-11-08 11:30:12 +11:00
Randy Mackay
f85e84cc89
AP_Motors: add override keyword to get_motor_mask
2018-08-27 10:35:02 +09:00
Jacob Walser
abcb845af5
AP_Motors: refactor output_test -> output_test_seq
2018-07-02 11:31:58 -04:00
Jacob Walser
9ce9f95692
AP_Motors: make output_test signatures consistent and ensure override
...
specifier on derived classes
2018-07-02 11:31:58 -04:00
Andrew Tridgell
4e414c02f5
AP_Motors: use scaled actuators for single and coax frames
...
this allows for multiple servos with the same motor function
2018-05-21 13:04:13 +10:00
Andrew Tridgell
03e1f6967f
AP_Motors: removed enable() API
...
all output channels are already enabled by SRC_Channels::enable_aux_servos()
2017-10-22 15:52:50 +11:00
Andrew Tridgell
8e3bf71aa9
AP_Motors: allow single, tri and coax to be part of multicopter class
2017-01-12 17:39:37 +11:00
Andrew Tridgell
638f1364be
AP_Motors: adapt to new RC_Channel API
2017-01-12 17:39:37 +11:00
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
2016-12-31 10:55:23 +09:00
Mathieu OTHACEHE
152edf7189
Global: remove mode line from headers
...
Using a global .dir-locals.el file is a better alternative than
reincluding the same emacs header in every file of the project.
2016-10-24 09:42:01 -02:00
Andrew Tridgell
6855899cbf
AP_Motors: fixed servo constructor for coax
2016-05-26 16:41:16 +10:00
Randy Mackay
3ee88fd8c7
AP_MotorsCoax: remove output_min
...
This is now implemented by parent AP_MotorsMulticopter
2016-04-01 11:59:30 +09:00
Randy Mackay
63fefae7cf
AP_MotorsCoax: use calc_pwm_output_1ot1 instead of local calc_pivot_radio_output
2016-04-01 11:59:30 +09:00
Leonard Hall
40c18891cf
AP_MotorsCoax: remove reverse parameters
...
No longer necessary because we can use individual servo reverse params
2016-04-01 11:59:30 +09:00
Leonard Hall
260006dcb3
AP_MotorsCoax: move servo objects into Coax class
2016-04-01 11:59:30 +09:00
Leonard Hall
8d8f52b22f
AP_MotorsCoax: output_to_motors implements spool logic
2016-04-01 11:59:30 +09:00
Leonard Hall
b85c20bb65
AP_MotorsCoax: stability patch in 0 to 1 range
...
Also removes setting of limits in stability patch
sets outputs for additional 2 servos
2016-04-01 11:59:30 +09:00
Leonard Hall
7df9b2eb8c
AP_MotorsCoax: support 4 servo outputs
2016-04-01 11:59:30 +09:00
Leonard Hall
7d6c6b5556
AP_MotorsCoax: rename _rev_roll to _roll_reverse
...
Also rename _rev_pitch to _pitch_reverse and _rev_yaw to _yaw_reverse
2016-04-01 11:59:30 +09:00
Leonard Hall
5cb44901ff
AP_MotorsCoax: remove output_disarmed
2016-04-01 11:59:30 +09:00
Leonard Hall
3df52aad5f
AP_MotorsCoax: remove output_armed_not_stabilizing
2016-04-01 11:59:30 +09:00
Lucas De Marchi
7d9153feb8
AP_Motors: replace header guard with pragma once
2016-03-16 18:40:42 +11:00
Gustavo Jose de Sousa
1e619c6c59
AP_Motors: standardize inclusion of libaries headers
...
This commit changes the way libraries headers are included in source files:
- If the header is in the same directory the source belongs to, so the
notation '#include ""' is used with the path relative to the directory
containing the source.
- If the header is outside the directory containing the source, then we use
the notation '#include <>' with the path relative to libraries folder.
Some of the advantages of such approach:
- Only one search path for libraries headers.
- OSs like Windows may have a better lookup time.
2015-08-11 16:38:19 +10:00
Randy Mackay
b1a4a6bf0a
AP_Motors_Coax: remove call to empty parent Init
...
Also rename uses of Multirotor to Multicopter
2015-07-21 16:25:40 +09:00
Robert Lefebvre
61d6c5aa1d
AP_Motors: Creation of AP_Motors_Multirotor class
2015-07-21 16:24:38 +09:00
Robert Lefebvre
b8181b6b90
AP_Motors: RCMAP fix
...
Remove all RC Input channels passed as reference into AP_Motors. All input handling self-contained inside AP_Motors.
Rework Tricopter to use internal servo calcs.
2015-05-25 22:13:32 +09:00
Jonathan Challinger
8e442675a7
AP_Motors: introduce set_stabilize(bool), specifies whether torque demands should be output
2015-04-16 20:59:40 +09:00
Randy Mackay
7ab76dbd0e
Motors: add loop_rate to constructor for all frames
2015-03-03 15:48:34 +09:00
Randy Mackay
d73605ece8
MotorsCoax: implement get_motor_mask
2014-07-26 16:33:22 +09:00
Randy Mackay
8f74f5b3b0
CoaxCopter: output_test for individual motors
...
Based on original work by Nils Hogberg
2014-04-29 11:41:12 +09:00
Randy Mackay
1bee56877c
CoaxCopter: motor_to_channel_map moved to progmem
2014-02-15 05:27:50 +11:00
Randy Mackay
f60d94c4ab
Coax: remove unused servo3, servo4
...
Removed commented out code
2014-02-07 12:36:06 +09:00
Dneault
f48e106271
Copter: add coax heli support
...
Motors should be attached to RCOutputs 1 and 2, Flaps should be connected
to RC outputs 3 and 4
2014-02-07 12:36:04 +09:00