Commit Graph

16508 Commits

Author SHA1 Message Date
Peter Barker
91b761cfb0 Replay: merge MessageHandler_* into MsgHandler.h/MsgHandler.cpp
These were trivial classes; having lots of these files around made
it painful to work with.
2015-05-19 20:22:45 +10:00
Randy Mackay
d1808c645d AC_PosControl: recalc leash length on speed or accel change
This resolves an issue in which do-set-speed would not take effect until
one waypoint too late in a mission.
2015-05-19 18:16:39 +09:00
Andrew Tridgell
f08f0ca2f9 Replay: show time of AHRS health change 2015-05-19 15:21:22 +10:00
Andrew Tridgell
5514a9f690 AP_NavEKF: base EKF decisions on vehicle class
using the vehicle class rather than the build macros allows this to
work correctly in replay
2015-05-19 15:21:22 +10:00
Andrew Tridgell
92daa15ccc AP_AHRS: on plane and rover make AHRS unhealthy when EKF not initialised
planes and rovers need full absolute position from the EKF if the EKF
is going to be used. We don't want users to arm without full
capabilities
2015-05-19 15:21:21 +10:00
Randy Mackay
df99d52da3 Copter: adjust scheduler timings 2015-05-19 13:55:55 +09:00
Randy Mackay
09a98b89b7 Copter: add RTL to front of RTLState enum values
This removes the confusing Land enum value which also appears in the
flight mode enum
2015-05-19 13:55:50 +09:00
Andy Piper
c600c1a746 DataFlash: log Gyro and Accel Health for IMUs.
Log the health of the various IMUs under GyHlt and AcHlt.
(Names are shortened to get inside the string array limit).
2015-05-19 13:13:35 +09:00
Andrew Tridgell
ba930f8cf1 Replay: removed the timestamp rounding code
this makes things worse for plane replay
2015-05-19 13:18:02 +10:00
Andrew Tridgell
0619247992 HAL_Linux: don't advance time in delay() and delay_microseconds()
this could cause time to go backwards in Replay. Thanks to Peter for
finding this
2015-05-19 13:17:15 +10:00
Andrew Tridgell
52f6332fa9 Replay: pass through some message types to output log
this gives mode information in output log
2015-05-18 10:08:27 +10:00
Andrew Tridgell
7177d5df7e Replay: removed attempt to interpolate IMU data
it seems to cause more harm than good
2015-05-18 09:51:14 +10:00
Andrew Tridgell
5f963cbf82 build: added XXX-debug option to builds for debug build 2015-05-18 07:13:07 +10:00
Andrew Tridgell
db871cc581 Plane: prevent trim values out of range for PX4 mixer
thanks to Brian Christal for a good bug report!
2015-05-17 21:24:58 +10:00
Andrew Tridgell
29f0561ce4 AP_AHRS: reject EKF for plane when we have GPS and aren't fusing
plane users would prefer to use GPS in this case
2015-05-17 21:24:57 +10:00
Andrew Tridgell
6154db5cf8 AP_NavEKF: added using_gps status bit 2015-05-17 21:24:57 +10:00
Randy Mackay
260e7679dd Copter: add BRAKE to FLTMODE parameter descriptions 2015-05-17 15:58:42 +09:00
Randy Mackay
4681dd2802 Copter: GCS failsafe triggers disarm if landed 2015-05-17 15:47:41 +09:00
Randy Mackay
d467507b88 Tracker: version and release notes for 0.7 2015-05-17 15:30:40 +09:00
Randy Mackay
f4ad23b9f0 Copter: version to AC3.3-rc4 2015-05-17 14:52:20 +09:00
Randy Mackay
214b461c2f Copter: AC3.3-rc3 release notes 2015-05-17 14:52:15 +09:00
Randy Mackay
dd9f271d43 Copter: brake disarms if landed 2015-05-17 14:44:36 +09:00
Randy Mackay
8d05eaae16 Copter: add aux switch for Brake flight mode 2015-05-17 14:44:35 +09:00
Randy Mackay
7acdcd8905 Copter: rename stop to brake 2015-05-17 14:44:34 +09:00
Randy Mackay
0077cac1b7 AC_WPNav: rename stop to brake 2015-05-17 14:44:33 +09:00
Leonard Hall
542e5fb54c Copter: backoff autotune discovered Stab P to 90% 2015-05-17 11:06:09 +09:00
Andrew Tridgell
80c20b5cf2 DataFlash: use L for latitude/longitude in DF messages 2015-05-16 14:04:31 +10:00
Tom Pittenger
e987173ffb AP_NavEKF: float to double promotion via tan instead of tanf 2015-05-16 08:21:49 +10:00
Tom Pittenger
5f677c2b5b AP_Math: float to double promotion via cos instead of cosf 2015-05-16 08:21:49 +10:00
Tom Pittenger
7b95241306 AP_HAL_SITL: float to double promotion via cos instead of cosf 2015-05-16 08:21:37 +10:00
Tom Pittenger
4f1dd2c8a4 AC_AttitudeControl: compiler warning stuff
float to double promotion via cos & sin instead of cosf & sinf
(this code is commented out but in case it ever gets included it would be nice to be correct
2015-05-16 08:21:36 +10:00
Tom Pittenger
b4be1b866a Copter: compiler warning stuff
float to double promotion via cos instead of cosf
2015-05-16 08:21:36 +10:00
Tom Pittenger
44fd72cb1f Copter: compiler warning stuff
float to double promotion via fabs instead of fabsf
float to int via abs instead of fabsf
2015-05-16 08:21:36 +10:00
Andrew Tridgell
aaa35bd1ec AP_InertialSensor: using atan2f() gives more accurate euler corrections
thanks to Jon and Paul!
2015-05-16 08:19:18 +10:00
Andrew Tridgell
9ceee3cea7 Plane: support setting just accel trim with preflight-cal
use param5==2
2015-05-16 07:56:35 +10:00
Andrew Tridgell
aac652a1b4 Copter: support setting just accel trim with preflight-cal
use param5==2
2015-05-16 07:56:34 +10:00
Andrew Tridgell
4a290cd2f1 AntennaTracker: support setting just accel trim with preflight-cal
use param5==2
2015-05-16 07:56:34 +10:00
Andrew Tridgell
fb435fc78e Rover: support setting just accel trim with preflight-cal
use param5==2
2015-05-16 07:56:34 +10:00
Andrew Tridgell
9e723ef907 AP_InertialSensor: added calibrate_trim() function
used for redoing trim calculation
2015-05-16 07:56:34 +10:00
Andrew Tridgell
b564ba0868 AP_InertialSensor: fixed AHRS_TRIM calculation again 2015-05-16 07:56:33 +10:00
Andrew Tridgell
dd7c42be67 autotest: setup offsets for 2 SITL compasses 2015-05-16 07:07:35 +10:00
Andrew Tridgell
2475ee9630 AP_Compass: setup HIL/SITL for two compasses 2015-05-16 07:06:04 +10:00
Andrew Tridgell
ab687ab0f5 DataFlash: added double to list of format strings
thanks to Dario <proyectoire@gmail.com> for noticing this
2015-05-15 21:14:49 +10:00
Jonathan Challinger
159599879f AP_InertialSensor: simplify and correct AHRS_TRIM computation 2015-05-15 21:03:03 +10:00
Andrew Tridgell
be8ebd5802 travis: don't require apm1-nologging to work 2015-05-15 17:55:50 +10:00
Andrew Tridgell
d7e4310df0 DataFlash: Lat can be negative in POS 2015-05-15 17:55:50 +10:00
Randy Mackay
559684b257 GCS_MAVLink: fix flow control check
Thanks to Tridge for spotting is
2015-05-15 15:39:34 +09:00
Randy Mackay
227327c678 FollowMe: removing because no longer supported
Android tablets and phones have replaced the need for this device and we
haven't been maintaining it.
2015-05-15 15:37:08 +09:00
Andrew Tridgell
b0a90df135 DataFlash: fixed double Init of DF object
thanks to Michael De Breuil
2015-05-15 16:33:10 +10:00
Randy Mackay
763c671d0a GCS_Console: fix example sketch after mavlink_comm_port to array 2015-05-15 15:07:32 +09:00