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
Iampete1
152e2366f0
AP_Motors: Tri: dont check yaw servo on plane
4 years ago
Andrew Tridgell
ecd9e45568
AP_Motors: switched tricopter to use rc_write_angle()
...
simplies tricopter handling
5 years ago
IamPete1
3b9a35da27
AP_Motors: add reversed tricopter option
5 years ago
IamPete1
28884f60d5
AP_Motors: tricopter apply diffential thrust in forward flight
6 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
03e1f6967f
AP_Motors: removed enable() API
...
all output channels are already enabled by SRC_Channels::enable_aux_servos()
7 years ago
Andrew Tridgell
46d9a1dcb5
AP_Motors: fixed tricopter tail servo in fwd flight
...
in quadplane forward flight the with tilt-tricopter tail servo needs to
be at its trim position. Thanks to Marco for noticing this.
8 years ago
Andrew Tridgell
a6ecb94d24
AP_Motors: MotorsTri does not need its own var_info now
8 years ago
Andrew Tridgell
8e3bf71aa9
AP_Motors: allow single, tri and coax to be part of multicopter class
8 years ago
Andrew Tridgell
8799094278
AP_Motors: use SRV_Channel for tri tail servo
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
60b3625950
AP_Motors: added hook for vehicle based thrust compensation
...
allow vehicle code to compensate for thrust effectiveness changes due
to properties outside the scope of AP_Motors. This allows for
compensation in tiltrotors and tiltwings.
9 years ago
Randy Mackay
dc86e1472c
AP_MotorsTri: protect against div-by-zero if MOT_YAW_SV_ANGLE param was set to 90
9 years ago
Randy Mackay
8621774040
AP_MotorsTri: remove output_min
...
This is now implemented by parent AP_MotorsMulticopter
9 years ago
Leonard Hall
13d727c2c6
AP_MotorsTri: add YAW_SV_ANGLE parameter to capture yaw servo lean angle max
9 years ago
Randy Mackay
c939cc1551
AP_MotorsTri: clarify YAW_SV parameter descriptions and comments
9 years ago
Leonard Hall
45a16d6dad
AP_MotorsTri: implement output_to_motors for spool logic
9 years ago
Leonard Hall
d0a7579fa0
AP_MotorsTri: stability patch in 0 to 1 range
9 years ago
Leonard Hall
ba659be5cb
AP_MotorsTri: rename _yaw_servo_reverse to _yaw_reverse
9 years ago
Leonard Hall
8c4d6d6fbe
AP_MotorsTri: remove output_disarmed
9 years ago
Leonard Hall
a2fdcfaf3f
AP_MotorsTri: 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
4843be49de
AP_MotorsTri: 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
Randy Mackay
d777166c6f
AP_MotorsTri: revert tail servo to Ch7
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
6ae855c1cf
MotorsTri: implement get_motor_mask
11 years ago
Randy Mackay
2be99d7a92
TriCopter: output_test for individual motors
...
Based on original work by Nils Hogberg
11 years ago
Randy Mackay
415e48de19
TriCopter: use refs for all RC_Channels
11 years ago
Randy Mackay
ccedf98238
Tri: call output_min at end of motors test
...
Minor change to comments
11 years ago
Andrew Tridgell
81f7ae9108
AP_Motors: fixed indent-tabs-mode
12 years ago
Randy Mackay
bd07b1e57b
ACMotors: remove unused get_num_motors function
...
Saves about 4 bytes of RAM
12 years ago
Andrew Tridgell
f91ddf5df9
AP_Motors: removed board type define
12 years ago
Pat Hickey
c6fe5e5340
AP_Motors: ported to AP_HAL
12 years ago
rmackay9
9e66b555cb
ArduCopter: removed INSTANT_PWM from ArduCopter and AP_Motors library
13 years ago
uncrustify
4a44c6a1ba
uncrustify libraries/AP_Motors/AP_MotorsTri.h
13 years ago
rmackay9
357d6c2d9b
ArduCopter: bug fix for reversing tri servo
...
Extended AP_MotorsTri class to take in pointer to rc_tail servo (rc_7) and we use this servo's REV parameter to determine whether to reverse the output to the tail servo or not
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