Commit Graph

12904 Commits

Author SHA1 Message Date
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
Randy Mackay b52f8351e8 Copter: rename EKFCHECK_COMPASS to EKFCHECK_THRESH
Renamed because this threshold is now used for both compass and velocity
variance.
Also minor reorganisation of ekfcheck but no functional change.
2014-07-31 22:58:43 +09:00
priseborough d9bb3965ac Copter: prevent false triggering of ekf_check 2014-07-31 22:58:29 +09:00
priseborough d5442fe64e AP_NavEKF : Modified compass fail logic
If the vehicle can fly without a compass (a fly forward vehicle)
then if the compass times out (large errors for more than 10 seconds,
then it will be declared permanently failed and will not be
used until the filter is reset
2014-07-31 21:12:11 +10:00
Randy Mackay 85b4ba6142 Copter: Thr and Batt failsafe disarm when landed
When throttle/radio failsafe or battery failsafe are triggered, the
vehicle will disarm if it is landed even if the throttle is not at zero.
Auto mode will disarm if landed and mission has not started.  This
ensures that the vehicle does not disarm during a mission land command
that appears mid way through a mission.
2014-07-31 15:00:06 +09:00
Randy Mackay 77d5b2171e Copter: rename control_modes.pde to switches.pde 2014-07-31 15:00:04 +09:00
Andrew Tridgell cc735a4200 AP_InertialSensor: some more debug info for VibTest 2014-07-31 12:48:30 +10:00
Randy Mackay b09568ffb5 Copter: use hal.rcout to send servo output to GCS 2014-07-30 17:31:11 +09:00
Andrew Tridgell fcbdcb520a Plane: rename enum for Telem2Protocol 2014-07-30 14:49:20 +10:00
Andrew Tridgell 3ccac6736d Copter: rename TELEM2_PROTOCOL to SERIAL2_PROTOCOL
this matches SERIAL2_BAUD
2014-07-30 14:49:10 +10:00
Andrew Tridgell 30b9c60938 Rover: rename Tele2Protocol to Serial2Protocol 2014-07-30 14:48:41 +10:00
Craig Elder 7d152cbbf2 Frame_params: Added Iris with 3 Positon Mode Switch.param 2014-07-29 17:27:37 -07:00
Matthias Badaire 57253fc2ee Rover: Add SERIAL2_PROTOCOL for GCS and FRSky telemtry
This allows selection of protocol type on telem2. The default is MAVLink, but can be selected as FrSky protocol
2014-07-29 17:08:20 -07:00
Matthias Badaire 874ef65d74 Plane: Add SERIAL2_PROTOCOL for GCS and FRSky telemtry
This allows selection of protocol type on telem2. The default is MAVLink, but can be selected as FrSky protocol
2014-07-29 17:08:20 -07:00
Matthias Badaire 147e91877e Copter: Add SERIAL2_PROTOCOL for GCS and FRsky telemtry
this allows selection of protocol type on telem2. The default is
MAVLink, but can be selected as FrSky protocol
2014-07-29 17:08:19 -07:00
Matthias Badaire c7cd1c9fde AP_Frsky_Telem: added initial Frsky telemetry library
based on work from the PX4Firmware tree, this adds a library which can
create and send Frsky telemetry packets
2014-07-29 17:08:19 -07:00
Randy Mackay 728da12441 BaroGlitch: remove debug 2014-07-29 22:05:09 +09:00
Andrew Tridgell c538cc0665 AP_Baro: fixed example build 2014-07-29 21:04:26 +10:00