Commit Graph

10253 Commits

Author SHA1 Message Date
Andrew Chapman b7eab7ea22 Copter: Added GCS feedback for save_trim()
Trim save gives no feedback, so I've added a gcs_send_text() call to
print "Trim saved" so the user knows to re-center trims again
2014-01-16 14:23:19 +09:00
Randy Mackay 1f76ada9dd INS: shortened gyro calibration
Removed delays before calibration, reduced number of samples taken,
widened convergence criteria
2014-01-16 13:40:49 +09:00
Andrew Tridgell 792667e311 PX4: test MTD device on boot
full rwtest on FMUv2, read test on FMUv1
2014-01-16 13:11:14 +11:00
Andrew Tridgell e1f06c532a HAL_PX4: more checking of IO results in eeprom driver 2014-01-16 13:11:14 +11:00
Andrew Tridgell 3ae6f03761 HAL_PX4: be less verbose about disarmed PWM setup 2014-01-16 13:11:13 +11:00
Randy Mackay 8a29d63d89 Copter: faster baro calibration when arming
using update_calibration() instead of the full calibrate() cuts
1.5seconds of the arming time
2014-01-15 23:28:24 +09:00
Andrew Tridgell 30a210cfa6 Plane: setup PWM to be used on throttle when safety is safe on PX4 2014-01-15 22:28:00 +11:00
Andrew Tridgell db1d438e97 HAL_PX4: implement set_safety_pwm() API
used to set PWM on motors when disarmed
2014-01-15 22:25:50 +11:00
Andrew Tridgell 5e39b6fb11 AP_HAL: added set_safety_pwm() API 2014-01-15 22:25:22 +11:00
Andrew Tridgell 950bb09735 PX4: enable MTD on FMUv1 as well 2014-01-15 19:33:14 +11:00
Andrew Tridgell 64fbadcc21 HAL_PX4: use eeprom on PX4 FMUv1 as well
this means we no longer store params on SD at all
2014-01-15 19:33:13 +11:00
Randy Mackay ae4f368f16 Copter: allow ch6 tuning of loiter speed 2014-01-15 15:22:52 +09:00
Randy Mackay 0a3559813a AC_WPNav: accessor for loiter speed 2014-01-15 15:22:30 +09:00
Randy Mackay 6d55895d30 Copter: simplify do-set-servo mission command
This potentially changes the servo number that must be supplied if using
an APM1 but it now shares the same logic as arduplane and also adds
protection that the servo is not attached to the motor.
removed debug message from previous commit.
2014-01-15 14:36:50 +09:00
Randy Mackay 67c2bc7d0b Copter: add support for MAV_CMD_DO_SET_SERVO 2014-01-15 14:03:04 +09:00
Andrew Tridgell 0749cc1fd9 Tools: we don't have AP_NavEKF.h yet 2014-01-15 13:48:50 +11:00
Randy Mackay a9f1a2ee5e Copter: disarm on land even if pilot throttle not zero
default behaviour remains as before, this is an compile time option only
2014-01-15 11:31:00 +09:00
Randy Mackay ac99d2d19a Copter: update AC3.1.1-rc1 release notes 2014-01-14 21:56:15 +09:00
Randy Mackay a3527ade61 Copter: move EARTH_FRAME definition to defines.h
defines.h is for defining enumerations and other unchanging values while
config.h is for changeable values like parameter defaults, enabling or
disabling sensors.
2014-01-14 21:53:13 +09:00
Randy Mackay 66859686a0 Copter: remove some unused definitions 2014-01-14 21:21:54 +09:00
Randy Mackay dd5521aa06 Copter: update version to AC3.1.1-rc1 2014-01-14 21:01:54 +09:00
Randy Mackay b1525a421b Copter: AC3.1.1-rc1 release notes 2014-01-14 21:01:40 +09:00
Andrew Tridgell 58c66f255c build: added support for board specific tags in build_binaries
make it possible to build an APM2 specific build
2014-01-14 22:37:03 +11:00
Andrew Tridgell 376ab30366 HAL_PX4: disable rename of old parameter file for now
be nice to release candidate users
2014-01-14 22:00:56 +11:00
Andrew Tridgell 461638780b HAL_AVR: fixed warning on memcheck build 2014-01-14 21:27:52 +11:00
Andrew Tridgell 3a5fb46dc2 Plane: fixed integer size problem on APM2 2014-01-14 21:27:39 +11:00
Andrew Tridgell 906c1d18b4 Hello: fixed SITL build 2014-01-14 20:50:37 +11:00
Andrew Tridgell 4d5346be79 CPUInfo: fixed SITL build 2014-01-14 20:50:34 +11:00
Andrew Tridgell 0401e8f914 build: support vehicle-tag tags for PX4 builds 2014-01-14 15:59:02 +11:00
Andrew Tridgell 4f2ce31cb7 Copter: log PX4 and NuttX versions in logs 2014-01-14 15:38:51 +11:00
Andrew Tridgell ef57306311 Rover: log PX4 and NuttX versions in logs 2014-01-14 15:38:42 +11:00
Andrew Tridgell 91cc08a3ef Plane: log PX4Firmware and NuttX git revisions in logs 2014-01-14 15:37:03 +11:00
Andrew Tridgell 7a02c2720b PX4: added defines for PX4 and NuttX version in logs 2014-01-14 15:35:41 +11:00
Andrew Tridgell 72ce7f5827 Rover: only log when armed 2014-01-14 15:10:13 +11:00
Andrew Tridgell 626086063e HAL_PX4: added a signature to FRAM
this makes for more reliable update
2014-01-14 15:06:51 +11:00
Andrew Tridgell 33acce71c8 Rover: prevent log corruption during log creation 2014-01-14 14:40:10 +11:00
Andrew Tridgell e52f8d6598 Copter: prevent log corruption during log creation 2014-01-14 14:37:48 +11:00
Andrew Tridgell cf09fef1db Plane: prevent log corruption when new log started 2014-01-14 14:29:14 +11:00
Andrew Tridgell 921f923c5f DataFlash: reset write log on new log 2014-01-14 14:28:56 +11:00
Andrew Tridgell 9d09a96377 PX4: don't write to BOOT.LOG unless we have errors
this gets us to zero writes to microSD when no errors and not armed
2014-01-14 13:57:59 +11:00
Andrew Tridgell a15336079e Plane: start logging when first needed 2014-01-14 13:51:49 +11:00
Andrew Tridgell b5a16a07d3 GCS_MAVLink: support LOG_REQUEST_END 2014-01-14 13:51:20 +11:00
Andrew Tridgell ef28d087d2 DataFlash: added logging_started() API 2014-01-14 13:51:06 +11:00
Andrew Tridgell 8755747da0 Plane: only log when armed by default
use safety switch if arming not enabled
2014-01-14 13:07:43 +11:00
Andrew Tridgell 874110b29d Plane: make LOG_BITMASK 32 bits 2014-01-14 13:06:52 +11:00
Andrew Tridgell db19c8b410 PX4: start mtd driver on FMUv2 2014-01-14 12:46:27 +11:00
Andrew Tridgell db8b262939 PX4: enable mtd driver in build 2014-01-14 12:46:26 +11:00
Andrew Tridgell f6db03dfb0 DataFlash: don't fsync on SITL
this makes it much faster on virtual machines
2014-01-14 12:46:26 +11:00
Andrew Tridgell b4b66210ff DataFlash: improve reliability of microSD for logs 2014-01-14 12:46:26 +11:00
Andrew Tridgell b88bb0751c HAL_PX4: added support for MTD (FRAM) parameters
this allows us to store parameters and waypoints in FRAM, and
auto-upgrade from microSD
2014-01-14 12:46:26 +11:00