Commit Graph

13197 Commits

Author SHA1 Message Date
Randy Mackay cdc4038f27 Copter: pre-arm consistency check of gyros 2014-09-04 15:23:56 +09:00
Randy Mackay dbb0283dba Copter: land check gets overall throttle and rotation rate check
add check that overall throttle level is below the non-takeoff throttle
instead of just checking that it's motors have hit their lower limits
because low limits can also be caused by high yaw rotation requests.
Absolute climb rate requirement reduced to 30cm/s
2014-09-04 15:23:53 +09:00
Randy Mackay b214b8ba15 Copter: add short delay to arming to allow RC input
The short delay gives time for the RC inputs to be processed which
removes the chance of a false-positive on the "late frame" radio check.
A false positive could lead to an immediate disarm right after arming.
2014-09-04 15:23:51 +09:00
Randy Mackay 8e7b93d1b7 Copter: pre-arm consistency check of accels 2014-09-03 13:52:58 +09:00
Randy Mackay 8b91900b74 Copter: individual accel and gyro status to GCS 2014-09-03 11:38:47 +09:00
Randy Mackay 6c0b9a2cfc Copter: check all gyros and accels in pre-arm check 2014-09-03 11:38:45 +09:00
Randy Mackay 7fc5d693c2 INS: add get_accel_health_all and get_gyro_health_all
Returns true only if all available accels or gyros are healthy
2014-09-03 11:38:42 +09:00
Randy Mackay 5ead80994e InertialSensor: reorder .cpp file to match .h
No functional changes
2014-09-03 11:38:40 +09:00
Randy Mackay 1ee6481517 Copter: sanity check throttle deadzone 2014-09-02 12:40:55 +09:00
Emile Castelnuovo 0f2083a9b8 AP_HAL: added missing CONFIG_HAL_BOARD_SUBTYPE #define for HAL_BOARD_VRBRAIN 2014-09-01 10:48:14 +09:00
Randy Mackay 162d421e5d Copter: update AC3.2-rc6 release notes
forgot compass-not-calibrated bug fix
2014-08-31 12:05:33 +09:00
Randy Mackay 7236d0621a Copter: update AC3.2-rc6 release notes
Forgot to add GPS driver buffer overflow item
2014-08-31 12:02:33 +09:00
Randy Mackay acecc78454 Copter: version to AC3.2-rc6 2014-08-31 11:56:58 +09:00
Randy Mackay be2dabe58e Copter: AC3.2-rc6 release notes 2014-08-31 11:56:15 +09:00
Emile Castelnuovo 938f6f2c47 Build: VRBRAIN corrected order of MAG startup for 4.5 board 2014-08-31 11:40:22 +09:00
Emile Castelnuovo 4fa8f82c59 Build: VRBRAIN corrected order of MAG startup 2014-08-31 11:40:20 +09:00
Emile Castelnuovo e995641e48 AP_HAL_VRBRAIN: enable 2nd GPS for VRBRAIN 5 2014-08-31 11:40:17 +09:00
Emile Castelnuovo ada7be6ae1 AP_HAL: VRBRAIN corrected EEPROM size and added terrain folder on MicroSD 2014-08-31 11:40:15 +09:00
LukeMike f6fada2d49 VRBRAIN: added startup of internal mag's driver for VR Brain Standard 5 2014-08-31 11:40:13 +09:00
Emile Castelnuovo 781f15ba59 AP_relay: added default relay pin for VRBRAIN 2014-08-31 11:40:11 +09:00
Emile Castelnuovo 5d7a2726e2 AP_HAL_VRBRAIN: added management for external relay 1 and 2 2014-08-31 11:40:09 +09:00
Randy Mackay 15508c49ef Copter: default LAND_REPOSITION to 1 2014-08-31 11:40:06 +09:00
Jason Short 515c0d8630 Copter: restore CLI set parameter feature
Added back the ability to set params from CLI
2014-08-31 11:40:04 +09:00
Randy Mackay 68df421484 Copter: throttle deadzone parameter
Allows increasing or decreasing the deadband size in AltHold, Loiter,
PosHold flight modes
2014-08-31 10:19:03 +09:00
Randy Mackay ff94120fbd AC_WPNav: resolve twitch when passing spline waypoints
The target positions target velocity was being reset to zero as we
passed through a spline waypoint.
2014-08-28 17:03:14 +09:00
Randy Mackay 5759a69992 Mission: start next nav cmd immediately after prev completes 2014-08-28 17:03:11 +09:00
Randy Mackay 7802c85b5f Copter: pre-arm check of internal vs ext compass 2014-08-26 22:44:20 +09:00
Randy Mackay 4038cd2fbd Copter: remote arming check reference to compass learning 2014-08-26 22:44:18 +09:00
Randy Mackay f78aff67c2 Copter: make landing detector more strict
Made more strict by requiring 50 consecutive iterations where the climb
rate is below +- 40cm/s.  Previously it was 50 cumulative.

Removed check of failsafe.radio when clearing the land flag because it
could result in the vehicle taking off if the user picked it up.
2014-08-26 11:23:18 +09:00
Andrew Tridgell 62d526a50d AP_AHRS: use EKF use_compass() if EKF enabled
this allows magfailed status to show on console via SYS_STATUS health
bits
2014-08-26 11:23:10 +09:00
Andrew Tridgell 6a654ff461 AP_NavEKF: make use_compass() public 2014-08-26 11:23:07 +09:00
Randy Mackay ec2308bcd2 AC_AttControl: bug fix for ef target during acro 2014-08-23 22:22:03 +09:00
Randy Mackay d7d90b4ff8 AC_AttControl: remove debug message 2014-08-22 22:59:53 +09:00
Randy Mackay d242fcaae5 Copter: remove get_angle_targets_for_reporting fn
this saves a tiny amount of time by removing the memory copy of a
Vector3f
2014-08-22 22:59:50 +09:00
Randy Mackay 06e06438b3 AC_AttControlHeli: integrate div-by-zero check for bf-to-ef conversion 2014-08-22 22:59:47 +09:00
Randy Mackay 91817b0884 AC_AttControl: div-by-zero check for bf-to-ef conversion 2014-08-22 22:59:43 +09:00
Andrew Tridgell f86de61d82 Copter: show firmware version on param fetch
fixes pull #1320

thanks Arthur!
2014-08-22 21:38:16 +09:00
Andrew Tridgell f4483203ea Rover: show firmware version on param list 2014-08-22 21:37:30 +09:00
Randy Mackay 06880f5cfa TradHeli: update AttControlHeli constructor
reference to rc_1, rc2 are replaced with constant updates during
acro_run
2014-08-22 21:37:25 +09:00
Randy Mackay c7d6b026b5 TradHeli: call passthrough_bf_roll_pitch_rate_yaw 2014-08-22 21:37:22 +09:00
Randy Mackay 440f4ebb95 AC_AttControlHeli: add passthrough_bf_roll_pitch_rate_yaw 2014-08-22 21:37:19 +09:00
Robert Lefebvre 8ac36892ee Logging: Fix comment error. 2014-08-22 21:37:17 +09:00
Robert Lefebvre 32cb2bbce1 TradHeli: Add yaw-only rate request function for flybar acro mode. 2014-08-22 21:37:15 +09:00
Robert Lefebvre 1becab3eed TradHeli: Reset flybar passthrough to false when exiting Acro mode. 2014-08-22 21:37:12 +09:00
Robert Lefebvre 184be135cd TradHeli: Set Flybar passthrough mode in Acro Initialization function. 2014-08-22 21:37:10 +09:00
Robert Lefebvre 9326d36e54 AC_AttitudeControl_Heli: Add use_flybar_passthrough accessor function. 2014-08-22 21:37:08 +09:00
Robert Lefebvre 244d38138e AC_AttitudeControl_Heli: Add passthrough_to_motor_roll_pitch function. 2014-08-22 21:37:06 +09:00
Robert Lefebvre ede4b567f2 TradHeli: Add pointer for pilot roll/pitch inputs to attitude_control constructor. To be used for flybar passthrough. 2014-08-22 21:37:01 +09:00
Robert Lefebvre deaffecbf5 AC_AttitudeControl_Heli: Create Flybar Passthrough flag which will be used for control pass-through. 2014-08-22 21:36:57 +09:00
Randy Mackay 2d02d8d15f Copter: remove inav check
the EKF check works reliably but attempts to check the inertial nav for
errors has not been successful.  I could not find a way to reliably
catch flyaways without also introducing false positives (and thus
unwanted LANDings)
2014-08-20 14:49:58 +09:00