Commit Graph

13121 Commits

Author SHA1 Message Date
Andrew Tridgell 2a288824c0 Plane: make STAB_PITCH_DOWN in degrees
try to avoid new centi-degrees parameters
2014-08-06 17:59:18 +10:00
Andrew Tridgell 7c4d31c481 AP_TECS: added TECS_PITCH_MAX and TECS_PITCH_MIN
this allows the TECS controlled pitch limits to be smaller than the
FBWA limits. It is common for a human pilot to want a bit more
discretion over pitch than you want the automatic controller to use
2014-08-06 17:59:18 +10:00
Andrew Tridgell 781c5bc5dd Plane: use terrain extrapolation
use best effort extrapolation if we run out of terrain data
2014-08-06 17:59:18 +10:00
Andrew Tridgell 147a7b8b69 AP_Terrain: added extrapolation based on last available data
if we run out of terrain data then extrapolate using the last
available terrain height at the AHRS position. This can be used to
cope with GCS outages over long distances where the terrain data isn't
preloaded
2014-08-06 17:59:18 +10:00
Randy Mackay e5f89baab0 Copter: increase RATE IMAX param desc ranges
Also remove unused STB_RLL_I and STB_RLL_IMAX descriptions because these
parameters no longer exist
2014-08-06 13:24:10 +09:00
ggregory8 013b1333b1 Copter: Add guided_takeoff_start and guided_takeoff_run functions 2014-08-05 10:25:33 +09:00
ggregory8 e8b0c7a7e7 Copter: Handle MAV_CMD_NAV_TAKEOFF command to takeoff in guided mode only 2014-08-05 10:25:31 +09:00
ggregory8 3832c46998 Copter: Add takeoff enum for guided_mode 2014-08-05 10:25:29 +09:00
Randy Mackay e0fc2dd50e AC_PosControl: remove 20cm on takeoff 2014-08-05 09:11:57 +09:00
akdslr a404404806 AP_RangeFinder: Added a call to sonar.update in RFIND_test 2014-08-04 22:13:16 +10:00
Randy Mackay 610e747f27 Copter: minor formatting fix 2014-08-04 21:04:10 +09:00
Randy Mackay 1362bdc338 AC_PosControl: smooth take-off with accel PID's I term
This avoids an instantaneous jump in throttle during take-off by loading
the accel PID's I term with the expected change in throttle level
2014-08-04 21:04:09 +09:00
Randy Mackay 5596001d39 AC_Motors: make get_throttle_out const 2014-08-04 21:04:09 +09:00
Andrew Tridgell d54bb68270 Plane: prevent cross-track on some WP types
when finishing a takeoff or when a user forces a WP change don't do
any cross-tracking. This avoids a problem where the plane tries to
line up with a track completely unrelated to the track currently being
flown
2014-08-04 21:02:13 +10:00
Andrew Tridgell 09a679368b Plane: use bitfields in auto_state 2014-08-04 21:02:13 +10:00
Andrew Tridgell 16f1c6867f Plane: remved int cast
not portable
2014-08-04 21:02:13 +10:00
Andrew Tridgell 28facc220d Plane: change threshold for no glide slope to 20m
40m is quite high for most planes
2014-08-04 21:02:13 +10:00
Andrew Tridgell 8610d9a8ea Plane: added GLIDE_SLOPE_MIN parameter
this is used to prevent slow glide slopes being used for small
altitude changes in missions. This allows more accurate tracking of
altitude with terrain changes
2014-08-04 21:02:13 +10:00
Andrew Tridgell 9536124300 Plane: more accurate altitude tracking close to waypoints
don't use a glide slope if the altitude change is less than 15 meters
2014-08-04 21:02:13 +10:00
Andrew Tridgell f983040401 Plane: more fixes for glide slope calculations 2014-08-04 21:02:13 +10:00
Randy Mackay 52a3dc2bde Copter: reset target alt to current alt when landed 2014-08-04 16:56:03 +09:00
Randy Mackay e550c1e9a3 AC_PosControl: add set_alt_target_to_current_alt method 2014-08-04 16:54:04 +09:00
Randy Mackay 279aff87f2 Copter: bug fix to land-detector
vehicle should become un-landed only when throttle out is above the
get-non-throttle-takeoff value
2014-08-04 16:53:39 +09:00
Randy Mackay c7ba44db2d Copter: increase ekf check threshold for inav
This increases the accel correction from 60cm/s to 80cm/s before the ekf
check will trigger a land
2014-08-04 15:06:37 +09:00
Randy Mackay 009f42b2e1 InertialNav: do not reset velocity after glitch clears 2014-08-04 11:31:46 +09:00
Randy Mackay 7b9fa1ea79 Copter: rate IMAX increase to 1000 2014-08-04 11:31:02 +09:00
Randy Mackay b8f98aba8f Copter: fix baro glitch resolved message in dataflash
Caught by Julien Dubois, thanks!
2014-08-04 09:11:21 +09:00
Andrew Tridgell 06c3a0e96c autotest: fixed tracker sim for non-onoff mode 2014-08-03 18:16:50 +10:00
Andrew Tridgell 671708d11d AntennaTracker: added YAW_TRIM and PITCH_TRIM 2014-08-03 18:16:37 +10:00
Andrew Tridgell 02e173b094 AntennaTracker: do an initial pressure calibration on startup 2014-08-03 17:38:19 +10:00
Andrew Tridgell b64ab07ca4 Plane: added STAB_PITCH_DN_CD parameter
this adds some down trim when at throttle levels below the trim
throttle in FBWA mode.

defaults to 200 centi-degrees. I may adjust based on flight tests
2014-08-03 17:17:20 +10:00
Andrew Tridgell 6ebff35fe2 AP_Baro: don't include I2C MS5611 on APM1 either 2014-08-03 17:17:20 +10:00
Randy Mackay b29f8968ce Copter: clarify EKF check msg to GCS
remove "compass" from the error message because the failure can also be
caused by GPS glitches
2014-08-02 16:14:20 +09:00
Randy Mackay fe24721218 BaroGlitch: increase default ok distance to 5m
When taking off some copters hove a sudden baro altitude dip of 4m
2014-08-02 11:43:06 +09:00
Randy Mackay f12d06d76b DataFlash: typo fix in ListAvailableLogs 2014-08-01 15:14:44 +09:00
Randy Mackay 538372c02c InertialNav: remove accessor to set time_constants 2014-08-01 15:14:43 +09:00
Randy Mackay 8a07701d07 Copter: remove ch6 tuning of INAV_TC
Users normally never change these parameters and if by chance they do want
to, they can set them before flying
2014-08-01 15:14:42 +09:00
Randy Mackay d386ac6f85 Copter: remove unused local var from Flip 2014-08-01 15:14:42 +09:00
Randy Mackay e17da607b1 Copter: remove empty Telemetry.pde 2014-08-01 15:14:41 +09:00
Randy Mackay 4e2683421c Copter: disable parachute and rally on APM1 2014-08-01 15:14:40 +09:00
Randy Mackay 3e6e776360 Copter: of-loiter unavailable if OPTFLOW not enabled
of-loiter was small but still present even when optflow was disabled
2014-08-01 15:14:32 +09:00
Randy Mackay 004eb168fb Copter: remove unused var from ekf check 2014-08-01 15:06:19 +09:00
Andrew Tridgell 81230ab518 Copter: disable dump_log when no APM2 2014-08-01 15:57:28 +10:00
Andrew Tridgell 3fa30f91db DataFlash: avoid CLI functions on APM2 for copter 2014-08-01 15:57:15 +10:00
Andrew Tridgell a49d133d2a Copter: disable Log_Read if no CLI 2014-08-01 15:46:28 +10:00
Randy Mackay c68d4fdfcb BaroGlitch: init members to resolve compiler warning 2014-08-01 14:07:34 +09:00
Randy Mackay 7a2288523e Copter: version and release notes for AC3.2-rc4 2014-08-01 13:56:09 +09:00
Randy Mackay 621cc2b953 Mission: bug fix to condition-change-alt
Fix contributed by oniondream, thanks!
2014-08-01 12:51:50 +09:00
Andrew Tridgell 24b481ac0d build: fixed dependency on frame type in make target 2014-08-01 06:54:03 +10:00
Randy Mackay 2c0699c9ed Copter: auto-disarm in Drift, Sport, OF_Loiter 2014-07-31 22:58:43 +09:00