Robert Lefebvre
a0932d1d0b
AP_MotorsHeli: Fix RSC Mode 3
2015-10-10 15:12:24 +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
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
24244ba576
AP_MotorsHeli: Create RSC_IDLE param
2015-10-10 15:11:30 +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
Fredrik Hedberg
d1fbf739c0
AP_Motors: Fix param indices in AP_MotorsHeli.
2015-10-10 15:11:16 +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
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
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
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
Robert Lefebvre
61d6c5aa1d
AP_Motors: Creation of AP_Motors_Multirotor class
2015-07-21 16:24:38 +09:00
Robert Lefebvre
11214b3414
AP_Motors: move constraints to set_throttle
2015-06-22 13:52:59 +09:00
Robert Lefebvre
0c92565d23
AP_MotorsHeli: add Critical Rotor Speed param, use to switch off runup_complete
2015-06-19 15:10:53 +09:00
Robert Lefebvre
8b917b82ee
AP_MotorsHeli: Simplify set_desired_rotor_speed function definition
2015-06-19 15:10:50 +09:00
Robert Lefebvre
79e8c8f7f7
AP_MotorsHeli: whitespace fixes
2015-06-19 15:10:47 +09:00
Robert Lefebvre
d24664ccf9
AP_MotorsHeli: Semantic change. Motor Runup to Rotor Runup
2015-05-29 17:46:18 +09:00
Robert Lefebvre
65ca09600c
AP_Motors: Heli eliminate _dt member and fix rsc_runup calculation
2015-05-29 17:46:09 +09:00
Randy Mackay
1a1fa7ca4b
AP_MotorsHeli: add comment to avoid param conflict
2015-05-25 22:13:49 +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
Robert Lefebvre
73bafa131e
AP_MotorsHeli: Overload output()
...
To protect it from future interference from Multirotor code.
2015-05-22 09:38:23 +09:00
Robert Lefebvre
d3ce68a8ca
AP_MotorsHeli: Overload update_throttle_filter()
...
Do not reset filter to zero when disarmed to allow collective pitch servo movement.
2015-05-22 09:38:20 +09:00
Randy Mackay
3d9a6a69e2
MotorsHeli: COLYAW to float
2015-05-08 14:14:36 +09:00
Randy Mackay
edfa206bb8
Motors_Heli: nest heli params
2015-05-08 14:14:35 +09:00
Robert Lefebvre
1a482de5e2
AP_MotorsHeli: Overload output_armed_zero_throttle
2015-05-01 14:30:25 +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
72c3e9cc72
TradHeli: implement get_motor_mask
2014-07-26 16:33:20 +09:00
Robert Lefebvre
92bdf24dba
AP_MotorsHeli: Add To-Do. Swash setup hasn't seemed to work right for a while, this might be why. Confirm later.
2014-07-13 17:11:22 +09:00
Robert Lefebvre
789b1018fc
AP_MotorsHeli: Change set_delta_phase_angle so that it forces recalculation of collective factors.
2014-07-08 20:18:39 +09:00
Robert Lefebvre
fd542e99d8
AP_MotorsHeli: Create Delta Phase Angle variable and method to set. Will be used by CCComp code.
2014-07-08 20:18:34 +09:00
Robert Lefebvre
0680b88abd
AP_MotorsHeli: Add main loop rate time variable and method. Change RSC increment calc to account for loop rate time.
2014-07-08 20:18:20 +09:00
Robert Lefebvre
979abb9fbd
TradHeli: Cause DDVP Tail Motor to stop immediately when Ch8 is 0.
2014-07-08 20:18:02 +09:00
Randy Mackay
3610cfe24c
TradHeli: output_test for individual motors
...
Based on original work by Nils Hogberg
2014-04-29 11:41:13 +09:00
Randy Mackay
134289af38
TradHeli: motor_to_channel_map moved to progmem
2014-02-15 05:27:50 +11:00
Randy Mackay
18d3907928
TradHeli: use refs for all RC_Channels
2014-02-15 05:27:49 +11:00
Randy Mackay
80ec61f217
TradHeli: make accessor methods const
2014-02-15 05:27:43 +11:00
Randy Mackay
1426078cdb
TradHeli: disable aux channels 7 and 8
2014-02-07 22:04:23 +09:00
Robert Lefebvre
d441354961
TradHeli: Minor change to two param defaults
...
Also one param name in the code clarified.
2014-01-10 10:52:17 +09:00
Robert Lefebvre
782ce54a5c
TradHeli: Fix for yaw offset switching. Yaw Offset should switch on and off with the main motor, not waiting until the rotor has reached full speed.
2013-12-15 11:24:09 +09:00