Commit Graph

16724 Commits

Author SHA1 Message Date
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
Andrew Tridgell aa9853179c SITL: fixed startup yaw 2015-05-10 21:57:19 +10:00
Andrew Tridgell 5687adbdba HAL_SITL: support JSBSim backend 2015-05-10 21:02:20 +10:00
Andrew Tridgell 692fc18698 AP_HAL: protect Socket.h from double include 2015-05-10 21:02:04 +10:00
Andrew Tridgell c136d65c25 SITL: added initial JSBSim simulator backend 2015-05-10 21:01:49 +10:00
Andrew Tridgell 5241c66b57 build: added SKETCHBOOK to defines for native build
used by SITL to find JSBSim aircraft
2015-05-10 21:01:30 +10:00
Andrew Tridgell 8ec98a5ec9 SITL: make it possible to connect two SITL instances together
this adds --client to set uartC as a tcp client rather than a TCP
server
2015-05-10 15:36:18 +10:00
Andrew Tridgell ff126db1d3 Plane: make GUIDED behaviour match copter
we now have to be in GUIDED mode to accept a new GUIDED WP. When
entering GUIDED mode start loitering about the current position
2015-05-10 14:28:02 +10:00
Andrew Tridgell 3991e0c476 DataFlash: fixed sign of sv in GRAW message 2015-05-10 12:15:04 +10:00
Peter Barker 32beaea48c Replay: use column labels rather than IDs in Replay.pde 2015-05-10 08:33:32 +10:00
Andrew Tridgell 6b668c08dc autotest: use internal rover sim in sim_vehicle.sh 2015-05-09 21:22:02 +10:00
Andrew Tridgell 3529e02675 AP_AHRS: if we have 3 gyros then only use first two
the 3rd gyro on a PH2 has a lot more noise as it is not vibration
isolated
2015-05-09 21:00:49 +10:00
Peter Barker f3d1242d60 Replay: update Attitude on ATT rather than AHRS2 2015-05-09 20:54:07 +10:00
Paul Riseborough cb59570938 AP_NavEKF: Remove bug preventing external selection of optical flow mode 2015-05-09 18:31:18 +10:00
Andrew Tridgell d61848817b Copter: double the threshold for accel inconsistency on IMU3
IMU3 varies in temperature a lot compared to IMU1/IMU2, so needs a
higher threshold to prevent false positives
2015-05-09 18:28:59 +10:00