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
112e934072
AP_MotorsMatrix: 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
Jonathan Challinger
bc2afb31dd
AP_Motors: virtual not necessary in child class
10 years ago
Randy Mackay
7ab76dbd0e
Motors: add loop_rate to constructor for all frames
10 years ago
Leonard Hall
5b0bd49ff2
Motors: configurable yaw headroom for matrix frames
10 years ago
NullVoxPopuli
c672b3e324
Copter: Added support for V-Shaped and A-Shaped VTail Quadcopter frames
...
Signed-off-by: NullVoxPopuli <LPSego3+dev@gmail.com>
11 years ago
Randy Mackay
b665ebd7a0
MotorsMatrix: implement get_motor_mask
11 years ago
Randy Mackay
d63d82ec17
MotorMatrix: output_test for individual motors
...
Based on original work by Nils Hogberg
11 years ago
Randy Mackay
cf1d6854b9
AP_MotorsMatrix: use ref for roll, pitch, yaw, thr channels
11 years ago
Randy Mackay
2c6470f87b
AP_MotorsMatrix: remove unused _num_motors
...
Saves 1 byte of RAM
11 years ago
Randy Mackay
851a538692
Copter: motor matrix comment change
11 years ago
Randy Mackay
f3a2db195e
Copter Motors: remove old style stability patch
12 years ago
Randy Mackay
6477c746cd
Copter: renamed MOT_UNSAFE_THR to MOT_SPIN_ARMED
...
Removed special purpose spin_unsafe function
renamed _throttle_unsafe to _spin_when_armed and changed to an AP_Int8
12 years ago
Jonathan Challinger
2725f219cb
Copter: Warn user with motors while copter is arming
12 years ago
Andrew Tridgell
81f7ae9108
AP_Motors: fixed indent-tabs-mode
12 years ago
Randy Mackay
ec7ee47099
Copter: scaling stability patch
12 years ago
Randy Mackay
ad00e0ee1e
ACMotors: make test_order uint_8
12 years ago
Randy Mackay
88893f4209
ACMotors: make a few functions non-virtual
12 years ago
Randy Mackay
bd07b1e57b
ACMotors: remove unused get_num_motors function
...
Saves about 4 bytes of RAM
12 years ago
Randy Mackay
cb5f8826f8
Copter: Leonard's fix for trapezoidal frame
...
We need to allow yaw_factors to be floats in the add_motor method
12 years ago
Andrew Tridgell
f91ddf5df9
AP_Motors: removed board type define
12 years ago
rmackay9
3aca61cefb
AP_Motors: remove unnecessary opposite_motor array (no longer needed with new stability patch)
12 years ago
Pat Hickey
c6fe5e5340
AP_Motors: ported to AP_HAL
12 years ago
rmackay9
c320938ff2
AP_MotorsMatrix: modified stability patch to sacrifice yaw first if necessary to ensure stability.
...
Resolves climb-on-yaw problem.
13 years ago
rmackay9
9e66b555cb
ArduCopter: removed INSTANT_PWM from ArduCopter and AP_Motors library
13 years ago
uncrustify
4fe97c1e7b
uncrustify libraries/AP_Motors/AP_MotorsMatrix.h
13 years ago
rmackay9
1e20d7de88
AP_MotorsMatrix - fixed another compiler error regarding shadowing a variable. Fixed by removing those the angle and direction arrays which weren't even used
13 years ago
rmackay9
b71877366e
ArduCopter - AP_Motors library - added new library which has few advantages over current code:
...
1. it's step towards rearchitecting the current code base ahead of a move to RTOS.
2. internally it uses a MatrixTable for the Quad, Octa, OctaQuad, Y6 frames.
3. it implements the missing stability patch for Octa and OctaQuads (still missing for Y6)
Later check-ins will incorporate into the main ArduCopter code.
13 years ago