Iampete1
43832649ec
AP_Motors: convert to 32 bit motor mask
3 years ago
Iampete1
5181003228
AP_Motors: always check armed and interlocked in motor test
3 years ago
Iampete1
70897b5e38
AP_Motors: allow custom frame string from scripting
3 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
Peter Barker
f2070da335
AP_Motors: add override keyword where required
6 years ago
Randy Mackay
f85e84cc89
AP_Motors: add override keyword to get_motor_mask
7 years ago
Jacob Walser
abcb845af5
AP_Motors: refactor output_test -> output_test_seq
7 years ago
Jacob Walser
9ce9f95692
AP_Motors: make output_test signatures consistent and ensure override
...
specifier on derived classes
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
03e1f6967f
AP_Motors: removed enable() API
...
all output channels are already enabled by SRC_Channels::enable_aux_servos()
7 years ago
Andrew Tridgell
8e3bf71aa9
AP_Motors: allow single, tri and coax to be part of multicopter class
8 years ago
Andrew Tridgell
638f1364be
AP_Motors: adapt to new RC_Channel API
8 years ago
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
8 years ago
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.
8 years ago
Andrew Tridgell
f9fb098222
AP_Motors: fixed channel output for SingleCopter
9 years ago
Randy Mackay
8566a61660
AP_MotorsSingle: remove output_min
...
This is now implemented by parent AP_MotorsMulticopter
9 years ago
Randy Mackay
af9b18329c
AP_MotorsSingle: use calc_pwm_output_1to1 instead of local calc_pivot_radio_output
9 years ago
Leonard Hall
5cd4b78918
AP_MotorsSingle: remove reverse parameters
...
No longer necessary because we can use individual servo reverse params
9 years ago
Leonard Hall
6264159f4d
AP_MotorsSingle: move servo objects into Single class
9 years ago
Leonard Hall
21d304b86d
AP_MotorsSingle: output_to_motors implements spool logic
9 years ago
Leonard Hall
24a100e429
AP_MotorsSingle: stability patch uses 0 to 1 range
9 years ago
Leonard Hall
cffdced838
AP_MotorsSingle: support 4 servo outputs
9 years ago
Leonard Hall
f53d6e95e8
AP_MotorsSingle: rename _rev_roll to _roll_reverse
...
Also rename _rev_pitch to _pitch_reverse and _rev_yaw to _yaw_reverse
9 years ago
Leonard Hall
4db73d86af
AP_MotorsSingle: remove output_disarmed
9 years ago
Leonard Hall
46ab198ebc
AP_MotorsSingle: remove output_armed_not_stabilizing
9 years ago
Lucas De Marchi
7d9153feb8
AP_Motors: replace header guard with pragma once
9 years ago
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.
10 years ago
Randy Mackay
f906934dfa
AP_MotorsSingle: remove call to empty parent Init
...
Also rename uses of Multirotor to Multicopter
10 years ago
Robert Lefebvre
61d6c5aa1d
AP_Motors: Creation of AP_Motors_Multirotor class
10 years ago
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.
10 years ago
Jonathan Challinger
8e442675a7
AP_Motors: introduce set_stabilize(bool), specifies whether torque demands should be output
10 years ago
Randy Mackay
7ab76dbd0e
Motors: add loop_rate to constructor for all frames
10 years ago
Randy Mackay
6d99524e56
MotorsSingle: implement get_motor_mask
11 years ago
Randy Mackay
07766e55f9
SingleCopter: output_test for individual motors
...
Based on original work by Nils Hogberg
11 years ago
Randy Mackay
01d30271d8
SingleCopter: use refs for all RC_Channels
11 years ago
Randy Mackay
7c25247c87
Copter: disable aux channel 7 for SingleCopter
...
Move servo range setup to AP_MotorsSingle
11 years ago
Randy Mackay
652b4b4fe5
SingleCopter: motor test flaps servos in order
11 years ago
Randy Mackay
81d83f1c55
SingleCopter: formatting changes
...
replace tab with 4-spaces
remove blank lines
11 years ago
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.
11 years ago