Commit Graph

77 Commits

Author SHA1 Message Date
Andrew Tridgell 55ad1548e4 Copter: fixed heli rotor speed control from AP_Motors refactor 2016-06-04 16:22:19 +10:00
Randy Mackay 5ac13c0355 Copter: move rangefinder variables into structure
moved in rangefinder_alt, rangefinder_alt_health and rangefinder_enabled
2016-05-21 10:36:53 +09:00
Randy Mackay 7689315ba2 Copter: rename sonar to rangefinder 2016-05-21 10:36:53 +09:00
skyscraper 49d3410896 ArduCopter: fixup RC_Channel data member accesses to function calls 2016-05-10 16:21:16 +10:00
Randy Mackay ef5dbae707 Copter: remove setting of heli_servo_rsc pwm range
This object is not used
2016-04-01 11:59:30 +09:00
Randy Mackay d2a42a7a0e Copter: remove heli_radio_passthrough
Replaced with set_radio_passthrough which can be used for all frames
2016-04-01 11:59:30 +09:00
Randy Mackay 8180fad4b4 Copter: tradheli sends radio passthrough in 0 to 1 range 2016-04-01 11:59:30 +09:00
Randy Mackay 3eaf7a4582 Copter: set tradheli rotor speed using 0 to 1 range 2016-04-01 11:59:30 +09:00
Leonard Hall a0409e4f9e TradHeli: dynamic flight check uses throttle in 0 to 1 range 2016-04-01 11:59:30 +09:00
Randy Mackay 1b29a1af46 Copter: consolidate setting of using-iterlock state 2015-11-17 09:02:31 +09:00
Robert Lefebvre 02b8dd5ffd Copter: Heli to set hover roll trim scalar 2015-11-12 19:37:36 +09:00
Robert Lefebvre 5cc4f41d85 Copter: Helicopter: to use new Stab_Col and Acro_Col functions. 2015-11-12 19:37:23 +09:00
Jonathan Challinger 5486be34b1 Copter: use configured function to determine if heli_servo_rsc has been configured 2015-10-26 11:15:54 +11:00
Andrew Tridgell 94eb23ef56 Copter: consider flight to be dynamic at greater than 2m above ground
use rangefinder to switch to dynamic flight if possible
2015-09-25 12:30:34 +10:00
Andrew Tridgell 64a8e66dd7 Copter: automatically set H_RSC_MIN/MAX from RC8_MIN/MAX on upgrade
this prevents a problem where the disarm throttle will change after
upgrading to 3.4
2015-09-02 10:25:48 +10:00
Randy Mackay e92296a0b7 TradHeli: integrate RotorControlMode enum 2015-08-31 11:44:00 +09:00
Randy Mackay d99bb66f8a TradHeli: remove duplicate code in update_rotor_speed_target 2015-08-31 11:43:56 +09:00
Robert Lefebvre c51b57e71c Copter: Remove Armed check from heli RSC controls 2015-08-31 11:43:53 +09:00
Robert Lefebvre b331799dac Copter: Add handle to control Throttle Curve RSC. 2015-08-31 11:43:46 +09:00
Robert Lefebvre c968ec3a63 Copter: Helicopters to use motor interlock logic.
Also, remove motor interlock pre-arm check to streamline logic.
2015-08-31 11:43:37 +09:00
Robert Lefebvre e3a0f1568d Copter: Tradheli to check rotor speed control input before arming
Also, force rsc_control input to 0 when disarmed.  This prevents condition where AP_MotorsHeli can receive a rotor speed command greater than zero while disarmed, which was causing the ColYaw function to move the rudder servo.  These two changes are somewhat tied together as it required changing the arming_check to check the RSC_Control not desired_speed from AP_MotorsHeli.
2015-07-21 16:25:25 +09:00
Randy Mackay 35dd7322d2 Copter: float constant fix for heli's check_dynamic_flight
No functional change
2015-07-14 20:17:17 +09:00
Robert Lefebvre ee6508d5a7 Copter: Event Log rotor speed going below critical 2015-06-19 15:10:54 +09:00
Robert Lefebvre c6281c772d Copter: add rotor_runup_complete Event Logging 2015-06-19 15:10:48 +09:00
Andrew Tridgell e5e21ddcce Copter: fixed heli SITL build 2015-06-01 08:19:39 +10:00
Andrew Tridgell 278883c521 Copter: finished conversion to .cpp files
Pair-Programmed-With: Randy Mackay <rmackay9@yahoo.com>
2015-05-30 15:21:19 +09:00
Andrew Tridgell 356ece3402 Copter: rename .pde files to .cpp files 2015-05-30 15:21:15 +09:00