Commit Graph

16938 Commits

Author SHA1 Message Date
Andrew Tridgell 4e3d18bee4 Replay: added ARM message to logs, and auto ARM/DISARM 2015-05-15 14:25:43 +10:00
Andrew Tridgell 11f70da8b4 DataFlash: fixed incorrect change to GPS message 2015-05-15 14:25:43 +10:00
Randy Mackay ade4f81c77 Compass: fix example sketch 2015-05-15 11:53:28 +09:00
Paul Riseborough bd91b9727f AP_NavEKF: Add pre-arm check for horizontal inertial errors
This check will declare the EKF as unhealthy if the horizontal position innovations exceed a threshold  before motors are armed.
This will help to prevent a takeoff with bad inertial data caused by bad accel or gyro offsets.
2015-05-15 10:35:25 +09:00
Randy Mackay 1b13250fd8 RC_Channel: small parameter description change 2015-05-14 10:33:08 +09:00
Andrew Tridgell 7f488c1c9c Plane: removed duplicate rangefinder instance 2015-05-14 08:51:59 +10:00
Randy Mackay 61c851885f AC_WPNav: remove unused set_spline_dest_and_vel 2015-05-13 22:40:08 +09:00
Randy Mackay 7056484ef0 Copter: fix spline overshoot 2015-05-13 22:40:06 +09:00
Randy Mackay c86a396ca0 SITL: allow easier slowing of copter test 2015-05-13 22:40:03 +09:00
Lucas De Marchi 35b550f03d autotest: fix usage of tabs instead of space
Python 3 is stricter with regard to using tabs instead of space (PEP8):
	Spaces are the preferred indentation method.

	Tabs should be used solely to remain consistent with code that
	is already indented with tabs.

	Python 3 disallows mixing the use of tabs and spaces for
	indentation.

	Python 2 code indented with a mixture of tabs and spaces should
	be converted to using spaces exclusively.
2015-05-13 20:51:37 +09:00
Tom Pittenger c89530a97c Copter: Write new mission to log without telling GCS 2015-05-13 20:26:04 +09:00
Tom Pittenger 9de10f271a Rover: Write new mission to log without telling GCS 2015-05-13 20:25:59 +09:00
Tom Pittenger 76f448e512 Plane: Write new mission to log without telling GCS 2015-05-13 20:25:57 +09:00
Randy Mackay 484bf628e1 Copter: fix comments related to home-alt set in-flight 2015-05-13 18:00:34 +09:00
Randy Mackay 56b92e7d8c AC_PID: fix example sketch 2015-05-13 17:55:39 +09:00
Paul Riseborough c2ac80cc63 AP_AHRS: Prevent copter from switching to DCM unless EKF has severe errors 2015-05-13 16:11:13 +09:00
Randy Mackay 9dbef1c6ee Copter: check fence alt without home being set
Alt limit is based on EKF origin if home-alt is not set.  This is
generally the same but could be different if there's a lot of baro drift
before take-off or the vehicle is carried to a different altitude after
power-on.
2015-05-13 16:10:48 +09:00
Randy Mackay 1f96cbd015 Copter: home-alt set to EKF-origin if captured in flight 2015-05-13 16:10:45 +09:00
Randy Mackay 2a1a105462 Copter: current alt is alt above-ekf-origin until home set 2015-05-13 16:10:43 +09:00
Randy Mackay 3f8b832075 InertialSensor: fix example sketch 2015-05-13 10:13:51 +09:00
Randy Mackay 7d9ed6f03d Copter: update version back to AC3.3-dev 2015-05-12 22:14:31 +09:00
Randy Mackay 3bcd97fcd1 Parachute: increase deployment duration to 2sec 2015-05-12 22:08:20 +09:00
Randy Mackay 41077be4ad Copter: parachute failure message if landed 2015-05-12 22:03:58 +09:00
Randy Mackay 3269cd63cb Copter: parachute check uses alt-above-home
Baro alt is tied to the alt above EKF origin which isn't correct
2015-05-12 22:03:56 +09:00
Randy Mackay 5560d3dba1 BattMonitor: fix example sketch 2015-05-12 21:34:24 +09:00
Randy Mackay 2ac30a53ad SITL: remove copters 3rd accel scaling from params 2015-05-12 16:43:02 +09:00
Randy Mackay e080b2acce AP_Arming: use accel_calibrated_ok_all 2015-05-12 16:32:22 +09:00
Randy Mackay 0db25426c0 Plane: use accel_calibrated_ok_all 2015-05-12 16:32:20 +09:00
Randy Mackay ae87f9be6e Copter: use accel_calibrated_ok_all 2015-05-12 16:32:18 +09:00
Randy Mackay 1f14eec4ea InertialSensor: accel_calibrated_all_ok replaces calibrated
This checks that the current number of accelerometers matches the number
of calibrated accels in order to catch accel failures at boot
2015-05-12 16:32:16 +09:00
Randy Mackay 2ad5011177 SITL: slow down autotest for slow VMs 2015-05-12 16:31:32 +09:00
Randy Mackay 0d72f3ac29 AP_HAL: fix example sketches 2015-05-12 14:42:15 +09:00
Andrew Tridgell fb245cd77b autotest: removed unmaintained jenkins autotest code
this can be revived later if there is interest
2015-05-11 11:27:48 +10:00
Andrew Tridgell 68515d0324 autotest: fixed CopterAVC test 2015-05-11 11:26:54 +10:00
Andrew Tridgell 8bf2baef70 AP_InertialSensor: fixed primary accel/gyro in replay 2015-05-11 11:19:11 +10:00
Andrew Tridgell 64a55c908f Replay: fixed trailing nul and don't wait for EKF to init 2015-05-11 11:19:11 +10:00
Randy Mackay 6e97f2e1fb Tracker: clarify SYSID_MAV parameter description 2015-05-11 09:23:08 +09:00
Randy Mackay a3271e4584 Plane: clarify SYSID_MAV parameter description 2015-05-11 09:23:06 +09:00
Randy Mackay ab70cb13af Rover: clarify SYSID_MAV parameter description 2015-05-11 09:23:04 +09:00
Randy Mackay d20a7deee1 Copter: clarify SYSID_MAV parameter description 2015-05-11 09:23:02 +09:00
Andrew Tridgell 460489e2dc Replay: fixed cast of AP_AHRS_DCM 2015-05-11 09:41:43 +10:00
Andrew Tridgell 044a09425b autotest: cope with environments with no $DISPLAY 2015-05-11 09:19:54 +10:00
Andrew Tridgell f40c96de9d SITL: add 'quad' and 'copter' as aliases for quadcopter 2015-05-11 09:19:53 +10:00
Andrew Tridgell 2a47cc3c81 HAL_SITL: cleanup command line handling 2015-05-11 08:48:42 +10:00
Andrew Tridgell 068b862888 autotest: use buildlogs directory consistently 2015-05-11 08:37:49 +10:00
Andrew Tridgell aaff670ec4 autotest: use builtin JSBSim support for plane testing 2015-05-11 08:06:31 +10:00
Andrew Tridgell bab94c8a04 SITL: close high fds before launching JSBSIM 2015-05-11 08:06:10 +10:00
Andrew Tridgell 414f4125de AP_HAL: use FD_CLOEXEC to prevent sockets being inherited in SITL 2015-05-11 08:05:51 +10:00
Andrew Tridgell ebf358138f autotest: use internal sim code for JSBSim 2015-05-10 21:58:05 +10:00
Andrew Tridgell 7692889248 SIM_JSBSim: added elevon and vtail support 2015-05-10 21:57:39 +10:00