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
f9fb098222
AP_Motors: fixed channel output for SingleCopter
2016-05-26 16:26:43 +10:00
Randy Mackay
8566a61660
AP_MotorsSingle: remove output_min
...
This is now implemented by parent AP_MotorsMulticopter
2016-04-01 11:59:30 +09:00
Randy Mackay
af9b18329c
AP_MotorsSingle: use calc_pwm_output_1to1 instead of local calc_pivot_radio_output
2016-04-01 11:59:30 +09:00
Leonard Hall
5cd4b78918
AP_MotorsSingle: remove reverse parameters
...
No longer necessary because we can use individual servo reverse params
2016-04-01 11:59:30 +09:00
Leonard Hall
6264159f4d
AP_MotorsSingle: move servo objects into Single class
2016-04-01 11:59:30 +09:00
Leonard Hall
21d304b86d
AP_MotorsSingle: output_to_motors implements spool logic
2016-04-01 11:59:30 +09:00
Leonard Hall
24a100e429
AP_MotorsSingle: stability patch uses 0 to 1 range
2016-04-01 11:59:30 +09:00
Leonard Hall
cffdced838
AP_MotorsSingle: support 4 servo outputs
2016-04-01 11:59:30 +09:00
Leonard Hall
f53d6e95e8
AP_MotorsSingle: 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
4db73d86af
AP_MotorsSingle: remove output_disarmed
2016-04-01 11:59:30 +09:00
Leonard Hall
46ab198ebc
AP_MotorsSingle: 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
f906934dfa
AP_MotorsSingle: remove call to empty parent Init
...
Also rename uses of Multirotor to Multicopter
2015-07-21 16:25:45 +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
6d99524e56
MotorsSingle: implement get_motor_mask
2014-07-26 16:33:18 +09:00
Randy Mackay
07766e55f9
SingleCopter: output_test for individual motors
...
Based on original work by Nils Hogberg
2014-04-29 11:41:14 +09:00
Randy Mackay
01d30271d8
SingleCopter: use refs for all RC_Channels
2014-02-15 05:27:49 +11:00
Randy Mackay
7c25247c87
Copter: disable aux channel 7 for SingleCopter
...
Move servo range setup to AP_MotorsSingle
2014-02-07 22:04:26 +09:00
Randy Mackay
652b4b4fe5
SingleCopter: motor test flaps servos in order
2013-11-27 22:33:00 +09:00
Randy Mackay
81d83f1c55
SingleCopter: formatting changes
...
replace tab with 4-spaces
remove blank lines
2013-11-12 23:40:29 +09:00
ssq870424
07d3f2a3c5
Copter: add support for singlecopter airframe
...
this is the newest singlecopter airframe programme.
This kind of aerial vehicles include Honeywell T-hawk and Goldeneye.
2013-11-12 23:40:27 +09:00