Commit Graph

13206 Commits

Author SHA1 Message Date
priseborough
01536e0c80 AP_NavEKF : Clean up time stamps
Time stamps are now explicitly initialised to the current IMU time to avoid unwanted activation of timeout logic on filter start and various calls to the hal.scheduler->millis() object have been consolidated.
2014-09-11 16:35:25 +09:00
Randy Mackay
cac10a3041 Copter: never send unhealthy terrain status
Copter does not yet rely on the terrain data (it's for informational
purposes only) so we will temporarily disable the failure flags to the
GCS to avoid support calls
2014-09-09 22:20:33 +09:00
Randy Mackay
e706c24542 Copter: send extended status to GCS only after initialisation 2014-09-09 22:20:31 +09:00
Andrew Tridgell
c8e652432d DataFlash: allow use of a smaller writebuf for PX4v1
this fixes logging on PX4v1
2014-09-09 16:45:13 +09:00
Randy Mackay
0aab3a024e TradHeli: update AttControl params to match multicopters 2014-09-09 16:45:12 +09:00
Randy Mackay
4b47a618a4 Copter: reduce alt hold defaults
Throttle Rate P to 5.0 (was 6.0)
Throttle Accel P to 0.5 (was 0.75)
Throttle Accel I to 1.0 (was 1.5)
2014-09-09 16:45:11 +09:00
Randy Mackay
62a4e66481 Copter: increase EKF_CHECK_THRESH default to 0.8
Also remove unused #define related to inertial nav check (now removed)
2014-09-09 15:18:15 +09:00
Randy Mackay
faf124771a Copter: version to AC3.2-rc7 2014-09-04 15:44:10 +09:00
Randy Mackay
fe07df5562 Cotper: AC3.2-rc7 release notes 2014-09-04 15:43:36 +09:00
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