Commit Graph

17985 Commits

Author SHA1 Message Date
Randy Mackay fb5986c4ec Copter: position_ok when optical flow ok
Previously the GPS based absolute position was required
This allows using optical flow in all flight modes
2015-11-19 19:52:51 +09:00
Randy Mackay a69dbcfae7 AC_PosControl: run velocity controller z-axis at 400hz 2015-11-19 19:52:48 +09:00
Randy Mackay 54cc2d884c AC_PosControl: default z-axis controller to 400hz
No functional change as vehicle code always sets it explicitely
2015-11-19 19:52:46 +09:00
Randy Mackay 916d63412e AC_PosControl: velocity controller uses feed-forward althold 2015-11-19 19:52:42 +09:00
Leonard Hall 193bfe839e Copter: feed forward only used for AltHold, Loiter, PosHold
land modes use non-feedforward alt hold
2015-11-19 19:52:40 +09:00
Randy Mackay 2dad15c307 AC_PosControl: minor comment update 2015-11-19 19:52:37 +09:00
Randy Mackay eb817a875f AC_PosControl: use_desvel_ff flag added
This allows turning on/off desired velocity feedforward without setting desired_vel.z to zero.  Setting desired_vel.z to zero has the side effect of disrupting the landing detection which needs to know if we are trying to descend
2015-11-19 19:52:35 +09:00
Leonard Hall 0d878e6fcd AC_PosControl: faster z-axis slowdown when over speed 2015-11-19 19:52:33 +09:00
Leonard Hall a5c3e6ef45 AC_PosControl: allow desired vel z to be above speed limit 2015-11-19 19:52:30 +09:00
Leonard Hall d2dd2d8a50 AC_PosControl: add alt hold without feed forward 2015-11-19 19:52:28 +09:00
Paul Riseborough ea4590c3b8 AP_NavEKF: Prevent flickering bad health status on ground
If the health status is checked after a non-height position or velocity fusion, then the health status will return false.
The height fusion health status has been removed from the check to prevent this.
The height fusion health check cannot be used unless the pre-arm fusion of position and velocity is timed to coincide with the baro fusion.
2015-11-19 19:51:16 +09:00
Paul Riseborough 58e81b7d99 AP_NavEKF: Reduce EKF health pre-arm check false positives 2015-11-18 15:32:16 +09:00
Robert Lefebvre 9e5ebd70b7 Copter: version to 3.3.2-rc1 2015-11-05 11:32:11 +09:00
Robert Lefebvre 6c5cd12a96 Copter: 3.3.2-rc1 release notes 2015-11-05 11:32:09 +09:00
Robert Lefebvre 792e989cd6 AP_MotorsHeli_Single: Move Servo_Test static variables to be class members 2015-11-03 17:01:18 +09:00
Andrew Tridgell 6e93f111c9 Copter: added DISARM_DELAY parameter
this allows automatic disarming to be disabled, or set to a shorter or
longer time as appropriate for the user

Originally committed by Tridge, merged to AC3.3 with conflict.
2015-11-03 17:01:17 +09:00
Robert Lefebvre c0ea1f70ef Copter: Heli to set hover roll trim scalar 2015-11-03 17:01:16 +09:00
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 bdbfd8fd5e Copter: Helicopter: to use new Stab_Col and Acro_Col functions. 2015-11-03 17:01:01 +09:00
Robert Lefebvre 3385d83177 Copter: Utilize Input Manager Class 2015-11-03 17:01:00 +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
Robert Lefebvre 6e815dd45c Copter: Helicopter, fix so servos move after arming in Acro and Stabilize. 2015-11-03 17:00:54 +09:00
Robert Lefebvre 61406a32d2 Copter: Rework arming proceedures for interlock/Estop to fix race condition. 2015-11-03 17:00:53 +09:00
Randy Mackay 45445635d0 Copter: version to 3.3.1 2015-10-26 10:48:46 +09:00
Randy Mackay 943b9d3448 Copter: 3.3.1 release notes 2015-10-26 10:48:10 +09:00
Randy Mackay 5a1bb07804 Copter: version to 3.3.1-rc1 2015-10-20 15:59:17 +09:00
Randy Mackay d5d78d6baa Copter: 3.3.1-rc1 release notes 2015-10-20 15:59:15 +09:00
Randy Mackay 38476b9204 Copter: guided takeoff checks auto-armed status
This resolves an edge case in which the vehicle could takeoff with auto-armed false
2015-10-20 15:52:54 +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 6f153bb03d Copter: Remove Armed check from heli RSC controls 2015-10-10 15:12:19 +09:00