Commit Graph

10202 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 2e9e464c4b PX4: update FMUv1 bootloader to use USBID 0x10 2013-12-21 06:25:43 +11:00
Andrew Tridgell 43a56151d7 Plane: reset mission on disarm
this makes repeated missions easier
2013-12-20 12:04:23 +11:00
Andrew Tridgell 89366a1ee1 Plane: fixed ARMING_REQUIRED=2 on APM2 to disable rc output on throttle 2013-12-20 11:59:45 +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 ce773f085a Plane: make the defaut for FS_GCS_ENABL clearer 2013-12-20 11:44:44 +11:00
Andrew Tridgell 263f3b116b Plane: added FS_GCS_ENABL==2 option
this allows GCS failsafe when the GCS isn't getting updates from the
aircraft
2013-12-20 11:39:00 +11:00
Andrew Tridgell b72ea5435b Rover: check for failed RC input
loss of RC for 2s is considered a throttle failsafe
2013-12-20 09:48:36 +11:00
Andrew Tridgell a4af83d454 Plane: only allow right rudder for arming
copter users may try to use left rudder to ensure aircraft is
disarmed. Making left rudder arm could be dangerous
2013-12-20 09:43:04 +11:00
Andrew Tridgell 77c6e51887 Plane: allow throttle failsafe on no RC input
on PX4 we just stop getting input on loss of RC - we need to consider
this to be "throttle failsafe"
2013-12-20 09:43:04 +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
Randy Mackay ab1bb6886c Copter: remove reference to COPTER_LEDS 2013-12-19 16:19:48 +09:00
Randy Mackay d362bb45fd Copter: move sensor init from setup(to init_ardupilot
This fixes a bug in which the external led was not being disabled if the
EPM was enabled (they share pins).  The cause of the problem was the EPM
was being initialised before it's parameters had been loaded
2013-12-19 14:12:19 +09:00
Lukasz cb17a5bdb6 Copter: Add RSSI_RANGE parameter
Added ability to rescale rssi input voltage. Useful for receivers like
FrSky which have 3.3V output.
2013-12-17 22:38:39 +09:00
Randy Mackay 21cda96f67 Copter: EPM enable/disable to APM_Config.h 2013-12-17 15:36:44 +09:00
ctech4285 2b5d8aa5b7 Copter: integrate EPM library 2013-12-17 15:36:42 +09:00
ctech4285 c8aff81c48 AP_EPM: EPM cargo gripper library 2013-12-17 15:36:39 +09:00
Macrauder 62fcfd8d9b build: Use generic app descriptior for mac spotlight search
kMDItemKinde is a localized string, only in EN OSX versions the value
is Application, changed to generic ContentType metafild
2013-12-17 14:55:31 +11: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 4f242aedec Plane: fixed a bug where mode would not revert on geo-fence disable
the mode would not revert if the switch was in position 0
2013-12-17 14:14:13 +11:00
Michael Day dcfed13c87 Plane: Fence breach now sends to correct return point in Guided Mode. 2013-12-17 14:14:13 +11:00
John Arne Birkeland e4498b7bd1 ArduPPM V2.3.17
- Disabled fail-safe output when signal is missing in PPM pass-trough (PPMSUM) mode (feature depreciated by addition of missing signal detection in APM code)
- ppm_encoder_init() will now make sure PPM output always starts with fail-safe (900us) value on throttle after a brown-out reset
2013-12-17 11:26:04 +09:00
Andrew Tridgell 599edeeafb DataFlash: removed debug code for creating logs with no headers 2013-12-17 12:15:41 +11:00
Andrew Tridgell daa0a7346e Rover: removed common functions 2013-12-17 12:00:46 +11:00
Andrew Tridgell 7f100ebe31 Copter: removed common functions 2013-12-17 12:00:46 +11:00
Andrew Tridgell ca67c24eef Plane: removed common functions 2013-12-17 12:00:46 +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 bdbf9a8935 CPUInfo: fixed build 2013-12-17 11:51:36 +11:00
Andrew Tridgell edda76623f Copter: updates for DataFlash API changes 2013-12-17 11:51:36 +11:00
Andrew Tridgell 8054843e73 Rover: updates for DataFlash API changes 2013-12-17 11:51:36 +11:00
Andrew Tridgell dd749c1de3 Copter: when using file logs use "logs" directory 2013-12-17 11:51:36 +11:00
Andrew Tridgell d93b95186d Plane: prevent a build warning 2013-12-17 11:51:36 +11:00
Andrew Tridgell 8b7fe3cf50 Plane: changes for new DataFlash API 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