Commit Graph

8706 Commits

Author SHA1 Message Date
Andrew Tridgell 339d49d34a GCS_MAVLink: fixed corner case in MAVLink routing
when a GCS sends a command to a system ID that isn't our system ID,
the GCS may use a non-advertised component ID such as
MAV_COMP_ID_SYSTEM_CONTROL. Those packets should be fowarded to the
target system even though the target system has not specifically
advertised that target sysid/compid tuple.
2016-01-27 19:44:49 +09:00
Randy Mackay 5b765ef0d9 AC_AttControl: bug fix to angle_boost reporting
Thanks to OXINARF for finding this
2016-01-08 11:42:41 +09:00
Randy Mackay 01518ad1ab AC_AttControl: add ANGLE_BOOST param 2016-01-07 14:19:58 +09:00
Andrew Tridgell 99b7972794 AP_SerialManager: added enum for serial lidar 2015-12-09 14:45:38 +09:00
Andrew Tridgell f506ffee23 AP_RangeFinder: added Lightware Lidar support 2015-12-09 14:45:36 +09:00
Robert Lefebvre 2c612e5f8e AP_MotorsHeli: Add parameter checks to Single class 2015-12-07 15:01:44 +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
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 792e989cd6 AP_MotorsHeli_Single: Move Servo_Test static variables to be class members 2015-11-03 17:01:18 +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 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