Robert Lefebvre
a0932d1d0b
AP_MotorsHeli: Fix RSC Mode 3
2015-10-10 15:12:24 +09:00
Robert Lefebvre
7fe90e7a34
AP_MotorsHeli_RSC: Fix tail_type control
2015-10-10 15:12:22 +09:00
Robert Lefebvre
b6e869400c
AP_MotorsHeli_Single: DDVPT to use it's own ramp and runup times
2015-10-10 15:12:17 +09:00
Robert Lefebvre
ec8afbec53
AP_MotorsHeli: Move Output functions into parent class
2015-10-10 15:12:14 +09:00
Robert Lefebvre
e23e57cc16
AP_MotorsHeli: Rework how servo setup is done.
2015-10-10 15:12:12 +09:00
Robert Lefebvre
bac559d5af
AP_MotorsHeli: Simplify servo init/reset
2015-10-10 15:12:10 +09:00
Robert Lefebvre
c00fd86b45
AP_MotorsHeli: Move set_delta_phase_angle into _Single class
2015-10-10 15:12:07 +09:00
Robert Lefebvre
88be4425ac
AP_MotorsHeli: Create RSC Throttle Curve mode for controlling gas engines.
2015-10-10 15:12:03 +09:00
Robert Lefebvre
b1c7ec9aac
AP_MotorsHeli: run RSC Control function in Output Min function
...
Move Output_Min() function into Heli_Single class as it will eventually be overloaded by other helicopter class types.
2015-10-10 15:12:00 +09:00
Robert Lefebvre
19536c1c11
AP_MotorsHeli: RSC controller to use speed ramp as simple float scalar
2015-10-10 15:11:51 +09:00
Robert Lefebvre
904fa7f8b9
AP_MotorsHeli: Set range of new RSC Servo object.
2015-10-10 15:11:49 +09:00
Robert Lefebvre
e3df0ec7fb
AP_MotorsHeli: RSC Mode 0 no longer a valid mode
2015-10-10 15:11:44 +09:00
Robert Lefebvre
f4ddedbffc
AP_MotorsHeli: Add more parameter checks
2015-10-10 15:11:42 +09:00
Robert Lefebvre
fa24107a2a
AP_MotorsHeli_RSC: Split out rotor speed estimate into it's own function
2015-10-10 15:11:40 +09:00
Robert Lefebvre
9e8f5a42f4
AP_MotorsHeli: Colyaw function to check if rotor speed control is above idle
2015-10-10 15:11:37 +09:00
Robert Lefebvre
d788f0307d
AP_MotorsHeli: rework RSC output() function to implement idle speed function
...
Also, split out speed_ramp function
2015-10-10 15:11:35 +09:00
Robert Lefebvre
b879b312e9
AP_MotorsHeli_Single: Fix recalc_scalars function
2015-10-10 15:11:32 +09:00
Robert Lefebvre
24244ba576
AP_MotorsHeli: Create RSC_IDLE param
2015-10-10 15:11:30 +09:00
Robert Lefebvre
718397c772
AP_MotorsHeli: Change RSC output() function into a state machine.
2015-10-10 15:11:27 +09:00
Robert Lefebvre
bf0fd3b3f2
AP_MotorsHeli: Fully detail tradheli output functions and move manual servo handling
2015-10-10 15:11:25 +09:00
Robert Lefebvre
ec400e06d8
AP_MotorsHeli: Rename tradheli servo objects for clarity
2015-10-10 15:11:22 +09:00
Robert Lefebvre
6a7996d367
AP_MotorsHeli: Update includes so that it builds
2015-10-10 15:11:19 +09:00
Fredrik Hedberg
d1fbf739c0
AP_Motors: Fix param indices in AP_MotorsHeli.
2015-10-10 15:11:16 +09:00
Fredrik Hedberg
260d018db9
AP_Motors: Rename output_yaw to move_yaw in AP_MotorsHeli_Single.
2015-10-10 15:11:13 +09:00
Fredrik Hedberg
7ac02922e9
AP_Motors: Fix formatting in AP_MotorsHeli_RSC.
2015-10-10 15:11:10 +09:00
Fredrik Hedberg
fae1dcc42b
AP_Motors: Fix param range comment in AP_MotorsHeli.
2015-10-10 15:11:08 +09:00
Fredrik Hedberg
cde94078b7
AP_Motors: Move traditional helicopter controls into AP_MotorsHeli_Single.
...
Original commit by fhedberg, had to fix merge conflicts and now it appears I did the commit?
2015-10-10 15:11:03 +09:00
Fredrik Hedberg
af1eee44ee
AP_Motors: Break out yaw output in AP_MotorsHeli.
2015-10-10 15:11:00 +09:00
Fredrik Hedberg
ded265dbe1
AP_Motors: Break out servo init and reset in AP_MotorsHeli.
2015-10-10 15:10:57 +09:00
Fredrik Hedberg
54452e2a74
AP_Motors: Move rotor speed control into AP_MotorsHeli_RSC.
2015-10-10 15:10:53 +09:00
Fredrik Hedberg
e360b21b2a
AP_Motors: Use C++11 initializers in AP_MotorsHeli.
2015-10-10 15:10:50 +09:00
Leonard Hall
9dfe30f514
Copter: increase default thrust expo to 0.65
2015-08-28 12:04:21 +09:00
Gustavo Jose de Sousa
2aba5319ed
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-19 20:42:54 +09:00
Randy Mackay
53ed6c8f05
Motors_Multicopter: add MOT_THR_MIX_MAX parameter
...
Allows controlling the prioritisation of throttle vs attitude control
during active flight
2015-08-19 20:04:15 +09:00
Leonard Hall
5b133934db
AP_Motors: calc_roll_pwm based on throttle pwm range
2015-08-19 20:03:55 +09:00
Randy Mackay
5032cf9fbc
Copter: init multicopter flags
...
Resolves coverity warning
Also fixed indentation
2015-07-25 14:00:29 +09:00
Randy Mackay
e31f2d26c4
MotorsMulticopter: move get_hover_throttle_as_pwm to protected
...
No functional change
2015-07-21 16:27:04 +09:00
Randy Mackay
c7c6228b5d
MotorsMulticopter: remove virtual from set_yaw_headroom
2015-07-21 16:27:01 +09:00
Randy Mackay
4843be49de
AP_MotorsTri: remove call to empty parent Init
...
Also rename uses of Multirotor to Multicopter
2015-07-21 16:25:48 +09: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
Randy Mackay
112e934072
AP_MotorsMatrix: remove call to empty parent Init
...
Also rename uses of Multirotor to Multicopter
2015-07-21 16:25:43 +09: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
Randy Mackay
4d1dfd94f5
AP_MotorsMulticopter: multicopter features moved in from parent
...
Also rename from multirotor to multicopter
2015-07-21 16:25:37 +09:00
Randy Mackay
7355ac9cb8
AP_MotorsHeli: implement empty slow start method
2015-07-21 16:25:34 +09:00
Randy Mackay
a3fab10ef4
AP_MotorsHeli: init roll_radio_passthrough
2015-07-21 16:25:31 +09:00
Randy Mackay
c9dedbd3b2
AP_Motors: remove multicopter only features
...
Also rename uses of Multirotor to Multicopter
2015-07-21 16:25:28 +09:00
Robert Lefebvre
abb6eba291
AP_MotorsHeli: Change allow_arming check to use _rotor_speed_estimate
...
In future, this will be used to check actual rotor speed (measured) if available, to prevent trying to arm with the rotor spinning.
2015-07-21 16:25:21 +09:00
Robert Lefebvre
9fcbc77ce0
AP_MotorsHeli: Create rotor_speed_above_critical accessor
2015-07-21 16:25:11 +09:00
Robert Lefebvre
992c9c75bb
AP_MotorsHeli: Create parameter_check method.
2015-07-21 16:25:04 +09:00
Robert Lefebvre
e2fe640e6c
Copter: Clean up helicopter allow_arming() function
2015-07-21 16:24:58 +09:00