Commit Graph

4281 Commits

Author SHA1 Message Date
Andrew Tridgell
a37a6d68f3 DataFlash: zero-fill FMT packet before logging
this prevents uninitialised data appearing at the end of strings in
logs
2013-12-21 13:56:54 +11:00
Andrew Tridgell
f12dd85e1b AP_Arming: make enum values clearer 2013-12-20 11:59:05 +11:00
Andrew Tridgell
f6d888e0da RC_Channel: added disable_out() method 2013-12-20 11:58:53 +11:00
Andrew Tridgell
765bfbfe43 HAL_SITL: use SIM_RC_FAIL 2013-12-20 09:43:04 +11:00
Andrew Tridgell
5eac5fb26f SITL: added SIM_RC_FAIL
simulate RC failure with no signal
2013-12-20 09:43:04 +11:00
Paul Riseborough
585d61b960 AP_TECS : Reduce tendency to overspeed during climbout
The old code relies on the action of the integrator to raise the nose above the minimum pitch angle which depending on the model and the tuning can be too slow to correct. Biasing the pitch angle to climbout minimum will reduce the taken before an overspeed condition is corrected.
2013-12-20 09:43:04 +11:00
ctech4285
c8aff81c48 AP_EPM: EPM cargo gripper library 2013-12-17 15:36:39 +09:00
John Boiles
d8cdb57efa HAL_SITL: Attempting to avoid SIGPIPE on all platforms 2013-12-17 14:51:27 +11:00
Paul Riseborough
779e32d79f AP_Control : Add true airspeed compensation to pitch controller
turn rate to pitch rate calculation should use true airspeed
2013-12-17 14:17:43 +11:00
Andrew Tridgell
599edeeafb DataFlash: removed debug code for creating logs with no headers 2013-12-17 12:15:41 +11:00
Andrew Tridgell
6d356efa22 GCS_MAVLink: moved some more functions into GCS_Common.cpp 2013-12-17 12:00:44 +11:00
Andrew Tridgell
0641159660 DataFlash: fixed example build 2013-12-17 11:51:37 +11:00
Andrew Tridgell
81fc11cab7 AP_Notify: fixed example build 2013-12-17 11:51:37 +11:00
Andrew Tridgell
9b5b4ced60 AP_Math: fixed example build 2013-12-17 11:51:37 +11:00
Andrew Tridgell
8dd34f8bc4 AP_InertialSensor: fixed example build 2013-12-17 11:51:37 +11:00
Andrew Tridgell
4671aaa367 AP_InertialNav: fixed example build 2013-12-17 11:51:37 +11:00
Andrew Tridgell
e321ad65f4 AP_HAL: fixed example build 2013-12-17 11:51:37 +11:00
Andrew Tridgell
42eba615b4 AP_Baro: fixed example build 2013-12-17 11:51:37 +11:00
Andrew Tridgell
29b37b72e4 AC_WPNAV: fixed example build 2013-12-17 11:51:37 +11:00
Andrew Tridgell
305c6e4b56 AC_Sprayer: fixed example build 2013-12-17 11:51:37 +11:00
Andrew Tridgell
137137d4e1 GCS_MAVLink: remove unused header 2013-12-17 11:51:36 +11:00
Andrew Tridgell
ec584de0c2 GCS_MAVLink: prevent valgrind warnings on unfilled data 2013-12-17 11:51:36 +11:00
Andrew Tridgell
93140bd956 DataFlash: auto-add FMT headers to binary logs if needed
this copes with dataflash wrapping
2013-12-17 11:51:36 +11:00
Andrew Tridgell
e6bafa2d8f DataFlash: added structures to Init() of dataflash
this will allow the get_log_data() call to add FMT headers if a log
has wrapped
2013-12-17 11:51:36 +11:00
Andrew Tridgell
0a9e2d332a GCS_MAVLink: support erase and faster downloads 2013-12-17 11:51:35 +11:00
Andrew Tridgell
9d46f893e6 GCS_MAVLink: new headers for log download 2013-12-17 11:51:35 +11:00
Andrew Tridgell
5d53b780ba DataFlash: added functions for load download support 2013-12-17 11:51:35 +11:00
Andrew Tridgell
d034a4108b GCS_MAVLink: started adding MAVLink log download 2013-12-17 11:51:35 +11:00
Andrew Tridgell
e8f48af1b5 GCS_MAVLink: re-generate MAVLink headers 2013-12-17 11:51:35 +11:00
Andrew Tridgell
028eceefc4 GCS_MAVLink: import new mavlink XML 2013-12-17 11:51:35 +11:00
Andrew Tridgell
eb2cb0abe0 Copter: moved GCS.h to common library 2013-12-17 11:51:34 +11:00
Andrew Tridgell
e245bb07c2 RC_Channel: improved docs for RCn_FUNCTION=0 2013-12-16 11:17:26 +11:00
Robert Lefebvre
782ce54a5c TradHeli: Fix for yaw offset switching. Yaw Offset should switch on and off with the main motor, not waiting until the rotor has reached full speed. 2013-12-15 11:24:09 +09:00
Andrew Tridgell
6d39cf5e49 AP_InertialSensor: another attempt at fixing the spurious bad gyro health warnings
cope with _get_sample() not being called for a while
2013-12-14 15:47:49 +11:00
Andrew Tridgell
4ce2555a65 DataFlash: don't try to create a directory that exists
this is an attempt to avoid microSD card corruption. The most common
corruption is two 'logs' directories, which may indicate an issue with
trying to create it a 2nd time.
2013-12-14 15:47:49 +11:00
Randy Mackay
5767aa47d9 AC_WPNav: reduce leash length for stopping
We now limit the target stopping point to 1x the xy leash length while
previously it was 2x.  This is justified because this limit is only used
when the copter is travelling at higher speeds but at higher speeds air
drag tends to make the copter stop more quickly naturally.
2013-12-13 22:12:30 +09:00
Andrew Tridgell
99e2dc87c9 AP_InertialSensor: prevent INS healthy errors while initialising
during gyro cal we shouldn't mark the gyro unhealthy
2013-12-13 20:47:24 +11:00
Randy Mackay
343ea66cd1 Copter: add OctaQuad V frame 2013-12-12 21:17:49 +09:00
Randy Mackay
952afd296e Copter: initialise waypoint leash length
Without this initialisation the first RTL could be too aggressive as it
tries to stop too suddenly
2013-12-12 16:23:37 +09:00
Randy Mackay
279d515e59 Copter: Y6 new motor factor fix 2013-12-12 11:57:04 +09:00
Andrew Tridgell
23a112c5d5 AP_InertialSensor: reduce the number of format string warnings 2013-12-11 17:29:27 +11:00
Andrew Tridgell
7a12f44a41 AP_GPS: GPS week is unsigned 2013-12-11 17:29:27 +11:00
Andrew Tridgell
c649e4b06f AP_Airspeed: avoid a warning 2013-12-11 17:29:27 +11:00
Andrew Tridgell
4a77a944fa AP_Arming: make it possible to change ARMING_REQUIRED without a reboot 2013-12-11 17:29:27 +11:00
Andrew Tridgell
89bbf5de3a AP_Arming: fixed public/private split 2013-12-11 17:29:26 +11:00
Andrew Tridgell
24658197ff AP_Arming: fixed build 2013-12-11 17:29:26 +11:00
Michael Day
ebf1d9c136 AP_Arming: First commit of AP_Arming library.
Intended to prevent unintentional motor startups.
2013-12-11 17:29:18 +11:00
Michael Day
e5addf86c1 AP_AHRS: Added getters for compass and GPS. 2013-12-11 17:29:14 +11:00
Andrew Tridgell
433ad19335 AP_InertialSensor: fixed loop limits
stops pointless operations
2013-12-11 14:57:13 +11:00
Andrew Tridgell
e54fc6b8e3 AP_InertialSensor: make sure we wait for a sample before update() 2013-12-11 13:50:50 +11:00