Commit Graph

13628 Commits

Author SHA1 Message Date
Jason Short b57539a9ad AP_Motors: throttle_pass_through accepts pwm 2014-09-19 22:21:45 +09:00
Randy Mackay 1c11a91ec2 Copter: rename land_maybe_complete function 2014-09-19 16:43:17 +09:00
Randy Mackay b9977a1115 Copter: add land_complete_maybe flag 2014-09-19 16:43:15 +09:00
Randy Mackay 6951a20fb0 Copter: soften loiter target when maybe landed
Applies to auto's land, land, loiter, pos hold and rtl flight modes
2014-09-19 16:43:12 +09:00
Randy Mackay 765420ee04 AC_WPNav: add loiter_soften_for_landing method
This resets the position target to the current location.
2014-09-19 16:43:10 +09:00
Randy Mackay b552479e31 Copter: typo fix for baro vs inav alt disparity definition 2014-09-18 17:32:03 +09:00
Randy Mackay 18e3db0011 Copter: define limit for baro vs inav alt disparity 2014-09-18 17:24:40 +09:00
Andre Kjellstrup b4c6d6395e Copter: reset battery_fs after dis/rearming 2014-09-18 11:17:03 +09:00
Craig Elder 3f687733e6 Frame_params: added 3DR_AERO_M.param 2014-09-17 18:48:48 -07:00
Craig Elder da66c7df36 Frame_params: 3DR_Aero_RTF.param Changed tuning 2014-09-17 18:46:52 -07:00
Randy Mackay ad37fc0408 AC_WPNav: WP_SPEED_DN parameter range to 0~500
Previous permissible descent speed of 10m/s was unnecessarily lenient.
Users can still bypass the suggested range through the MP's full
parameter list if they really want a very high descent speed.
2014-09-18 10:44:33 +09:00
Randy Mackay 6da1420541 HAL_VRBrain: implement force_safety_on 2014-09-18 09:58:48 +09:00
Randy Mackay ffcd259b4e HAL_PX4: implement force_safety_on 2014-09-18 09:58:46 +09:00
Randy Mackay 033b14db16 AP_HAL: add force_safety_on method 2014-09-18 09:58:44 +09:00
Randy Mackay 2efeb768e0 Copter: allow GCS to turn safety switch on/off 2014-09-17 21:51:25 +09:00
Randy Mackay 9bcf9a31ed Copter: set sys_status motor outputs bit from safety switch 2014-09-17 21:51:23 +09:00
Randy Mackay 9f3803052f Copter: add support for DO_PARACHUTE from GCS
Mission command support was already included but this adds support for
DO_PARACHUTE received as a COMMAND_LONG message which are sent from the
GCS when the command should be executed immediately
2014-09-17 21:14:26 +09:00
Randy Mackay adf00a207b Copter: enable EPM by default on Pixhawk 2014-09-17 21:14:22 +09:00
Randy Mackay bbe4438a6b Copter: add support for DO_GRIPPER command 2014-09-17 21:14:19 +09:00
Randy Mackay 1ce8e453c2 Mission: add support for DO_GRIPPER 2014-09-17 21:14:17 +09:00
Randy Mackay 1de89804e5 GCS_MAVLink: version update after adding DO_GRIPPER 2014-09-17 21:14:14 +09:00
Randy Mackay 064e214992 GCS_MAVLink: generate after adding DO_GRIPPER 2014-09-17 21:14:12 +09:00
Randy Mackay b3bce13bdf GCS_MAVLink: add MAV_CMD_DO_GRIPPER 2014-09-17 21:14:09 +09:00
Randy Mackay cffc904671 GCS_MAVLink: version update after generate 2014-09-17 21:14:06 +09:00
Randy Mackay 6b38547fc2 GCS_MAVLink: generate after move of PARACHUTE_ACTION 2014-09-17 21:13:54 +09:00
Randy Mackay 868f1a777d GCS_MAVLink: version updates after generate 2014-09-17 21:13:52 +09:00
Randy Mackay 69fd7b80aa GCS_MAVLink: generate run on master 2014-09-17 21:13:50 +09:00
Randy Mackay 3fa3cb6d65 Copter: remove EPM neutral from ch7/ch8 switch
The EPM library returns the pwm output sent to the EPM to the neutral
position automatically meaning an explicit ch7/ch8 setting is not
required
2014-09-17 21:13:45 +09:00
Randy Mackay d09bbd1d91 EPM: add params for pwm levels add re-grab feature
Also include some minor commenting changes
2014-09-17 21:13:37 +09:00
Randy Mackay 14d80910ec Copter: integrate EPM ver2 2014-09-17 21:13:35 +09:00
Randy Mackay 1401ee4077 EPM: add support for ver2, remove support ver 1 2014-09-17 21:13:32 +09:00
Randy Mackay 79f95efb71 RC_Channel_aux: add epm to servo function enum 2014-09-17 21:13:30 +09:00
priseborough f71aeea61d AP_NavEKF : Reduce sensitivity on filter divergence check
Flying aerobatics with Trad Heli has shown that the divergence check can be false triggered when large magnetometer errors and GPS dropouts are present.
This can also happen with multi rotors if large yaw rates are present.
This was an unintended consequence of the ekfsmoothing patch which improved filter stability during high rate manoeuvres, but made the divergence test more sensitive.
2014-09-17 10:22:55 +09:00
priseborough 36bf304f29 AP_NavEKF : Reduce ripple in estimates that can cause copter motor 'pulsing'
This patch reduces the level of 5Hz and 10Hz 'pulsing' heard in motors due to GPS and altimeter fusion which cause a small 5Hz and 10Hz ripple on the output under some conditions. Attitude, velocity and position state corrections from GPS, altimeter and magnetometer measurements are applied incrementally in the interval from receiving the measurement to the predicted time of receipt of the next measurement. Averaging of attitude state corrections is not performed during periods of rapid rotation.
2014-09-17 10:22:49 +09:00
priseborough 5b72cb7610 AP_NavEKF : Clean up time stamps
Time stamps are now explicitly initialised to the current IMU time to avoid unwanted activation of timeout logic on filter start and various calls to the hal.scheduler->millis() object have been consolidated.
2014-09-17 10:22:45 +09:00
Craig Elder 4c38f51337 Frame_Parameters: 3DR_Iris+ changed mode switch configuration 2014-09-16 00:12:40 -07:00
Jonathan Challinger 8ca4795ffb Copter: Log NTUN while in LAND mode with GPS 2014-09-16 10:19:33 +09:00
Randy Mackay 345d4353e5 Copter: adjust EKF_CHECK parameter description
Default has been changed to 0.8 for -rc9 so we need to update the
description values so they match
2014-09-12 21:28:41 +09:00
Randy Mackay d15a5f9dcb Copter: THR_ACCEL_IMAX default to 800 2014-09-12 15:11:48 +09:00
Craig Elder f9f6f39d61 Merge branch 'master' of https://github.com/diydrones/ardupilot 2014-09-11 23:06:10 -07:00
Craig Elder d26173bf81 Frame_params: Updated 3DR Iris+ 2014-09-11 23:05:28 -07:00
Randy Mackay 224122958c Copter: reduce throttle to min once landed in RTL
This catches the case where the vehicle lands but the user doesn't
immediately put the throttle to zero.  Before this check it would
continue to attempt to hold it's
2014-09-12 14:16:05 +09:00
Randy Mackay eac26cdd0f Copter: THR_ACCEL_IMAX param range increased 2014-09-12 14:16:04 +09:00
Andrew Tridgell e555b9a855 Plane: improved WP_RADIUS docs 2014-09-12 11:57:43 +10:00
Andrew Tridgell 7b4181dc14 Plane: prepare for 3.1.1 release 2014-09-12 11:07:26 +10:00
Randy Mackay a12d9109e0 Copter: remove thr check during init_arm_motors
This check is redundant now that we have a check within the arm_check()
function.
Removing this check does raise a slight danger that someone could raise
the throttle after arming but before the gyro and baro calibration has
completed but the delay has been greatly shortened from what it once was
so there is much less danger that someone could approach the vehicle
during the short arming delay.
2014-09-11 21:13:35 +09:00
Randy Mackay 5720bff29f Copter: AC3.2-rc9 release notes 2014-09-11 20:38:56 +09:00
Andrew Tridgell b69262b054 GCS_MAVLink: rebuild MAVLink headers 2014-09-11 20:16:27 +10:00
Andrew Tridgell 25f6dc2549 GCS_MAVLink: mavlink XML updates from upstream 2014-09-11 20:15:44 +10:00
Kristian Klausen 7b0046e75e Tools/autotest/sim_vehicle.sh: Added option to run the sim_vehicle framework with an external simulator 2014-09-11 20:09:06 +10:00