Commit Graph

8689 Commits

Author SHA1 Message Date
Robert Lefebvre
da1638d72c AC_AttitudeControl_Heli: Add Hover Roll Trim Scalar 2015-11-03 17:01:15 +09:00
Robert Lefebvre
99212f71bf AP_MotorsHeli: Create Servo Test functionality 2015-11-03 17:01:14 +09:00
Robert Lefebvre
ae1fbdb68a AP_MotorsHeli: Create SV_MAN=5=Oscillate servo setup mode. 2015-11-03 17:01:13 +09:00
Robert Lefebvre
0228a99d4e AP_MotorsHeli: Yaw servo to move when using SV_MAN param for setup. 2015-11-03 17:01:12 +09:00
Robert Lefebvre
146c0319a7 AP_MotorsHeli: Change SV_MAN=2=Center to output _col_mid_pwm instead of 0 collective 2015-11-03 17:01:11 +09:00
Andrew Tridgell
246583dc06 AP_RPM: added RPM_MAX parameter
attempt to avoid noise in the pulses
2015-11-03 17:01:10 +09:00
Fredrik Hedberg
014e90ec85 AP_MotorsHeli: Add min and max collective to manual servo modes 2015-11-03 17:01:09 +09:00
Robert Lefebvre
739d87a15b AP_MotorsHeli: Change servo manual #defines into enum 2015-11-03 17:01:08 +09:00
Robert Lefebvre
d11e5d4ae4 AP_MotorsHeli_Single: Add motor enable aux output functionality 2015-11-03 17:01:07 +09:00
Robert Lefebvre
5ce386b98d RC_Channel: Add motor_run_enable aux function 2015-11-03 17:01:06 +09:00
Robert Lefebvre
bf8001cb88 AP_MotorsHeli: Change rotor control state into Enum. 2015-11-03 17:01:05 +09:00
Robert Lefebvre
6922f7a2b1 AC_AttitudeControl: Add Hover Roll Trim functionality for helicopters. 2015-11-03 17:01:04 +09:00
Fredrik Hedberg
3aeed8173b AP_Motors: Add manual servo override to center swash-plate for set-up in AP_MotorsHeli. 2015-11-03 17:01:03 +09:00
Jolyon Saunders
0df3af4e42 AP_Motors: Circular swash-plate limits for AP_MotorsHeli 2015-11-03 17:01:02 +09:00
Robert Lefebvre
ab8db97b4d AC_InputManager: Initial class creation 2015-11-03 17:00:59 +09:00
Robert Lefebvre
6cc40f9760 AC_HELI_PID: Add Leak-Min param and functionality. 2015-11-03 17:00:58 +09:00
Robert Lefebvre
b487d66d9e AC_AttitudeControl_Heli: Remove commented out Cyclic Cross-Coupling code. Will resurrect in future. 2015-11-03 17:00:57 +09:00
Robert Lefebvre
f2397e2f68 AC_AttitudeControl_Heli: Implement Pirouette Compensation 2015-11-03 17:00:56 +09:00
Robert Lefebvre
69ab06fb5e AC_AttitudeControl_Heli: Add initialization of _flags_heli members 2015-11-03 17:00:55 +09:00
Randy Mackay
25c5c167f7 Mission: sanity check command altitudes 2015-10-20 15:52:51 +09:00
Randy Mackay
d1d778652b Common: add location alt max definition 2015-10-20 15:52:48 +09:00
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