Commit Graph

3363 Commits

Author SHA1 Message Date
Randy Mackay a12d9109e0 Copter: remove thr check during init_arm_motors
This check is redundant now that we have a check within the arm_check()
function.
Removing this check does raise a slight danger that someone could raise
the throttle after arming but before the gyro and baro calibration has
completed but the delay has been greatly shortened from what it once was
so there is much less danger that someone could approach the vehicle
during the short arming delay.
2014-09-11 21:13:35 +09:00
Randy Mackay 5720bff29f Copter: AC3.2-rc9 release notes 2014-09-11 20:38:56 +09:00
Randy Mackay 906b3dfbec Copter: AC3.2-rc8 release notes 2014-09-11 16:54:04 +09:00
Randy Mackay 4c6b0bb1cb Copter: format change to flight mode default defined
This also kicks off the build for AC3.2-rc8
2014-09-11 16:52:36 +09:00
Randy Mackay 48bc1456d0 Copter: increase Rate PID param ranges
RATE_RLL_P to 0.25 (was 0.20)
RATE_PIT_P to 0.25 (was 0.20)
RATE_YAW_P to 0.50 (was 0.25)
RATE_YAW_I to 0.05 (was 0.02)
2014-09-10 16:40:36 +09:00
Craig Elder ea82caf7a4 Copter: Parameters.pde
Corrected typo in parameter description
2014-09-09 12:34:59 -07:00
Randy Mackay 0d7a999fc1 Copter: arming check that throttle is low 2014-09-09 23:02:18 +09:00
Randy Mackay 294f836c8c 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:19:20 +09:00
Randy Mackay bf18fb896a Copter: send extended status to GCS only after initialisation 2014-09-09 22:17:46 +09:00
Randy Mackay 21d56735ca Copter: increase EKF_CHECK_THRESH default to 0.8
Also remove unused #define related to inertial nav check (now removed)
2014-09-09 14:59:27 +09:00
Randy Mackay 9c613cd1ec 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-07 22:14:40 +09:00
Randy Mackay db12df2237 Copter: minor ReleaseNotes format change
This also helps to kick off the build of AC3.2-rc7
2014-09-04 16:19:02 +09:00
Randy Mackay 05233fbf02 Cotper: AC3.2-rc7 release notes 2014-09-04 15:41:10 +09:00
Randy Mackay 641c8317a5 Copter: pre-arm consistency check of gyros 2014-09-04 15:21:58 +09:00
Randy Mackay 28f31166b9 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:21:51 +09:00
Randy Mackay 05a37dd54d 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:11:57 +09:00
Randy Mackay 59404c25e3 Copter: pre-arm consistency check of accels 2014-09-03 13:51:44 +09:00
Randy Mackay 4a06941a39 Copter: individual accel and gyro status to GCS 2014-09-03 11:22:51 +09:00
Randy Mackay d7343d5dc7 Copter: check all gyros and accels in pre-arm check 2014-09-03 11:22:49 +09:00
Randy Mackay 818b3b74f6 Copter: sanity check throttle deadzone 2014-09-02 12:40:15 +09:00
Jason Short 82481f30a3 Copter: move drift thr assist to separate function
no changes in functionality.
2014-08-31 14:22:56 +09:00
Randy Mackay 48d143d4ef Copter: minor format change to release notes
This also helps kick off the rebuild so AC3.2-rc6 appears in the mission
planner
2014-08-31 12:29:37 +09:00
Randy Mackay ebfd828087 Copter: update AC3.2-rc6 release notes
forgot compass-not-calibrated bug fix
2014-08-31 12:06:03 +09:00
Randy Mackay d04a4834fa Copter: update AC3.2-rc6 release notes
Forgot to add GPS driver buffer overflow item
2014-08-31 12:02:00 +09:00
Randy Mackay 13f994d3ad Copter: AC3.2-rc6 release notes 2014-08-31 11:55:06 +09:00
Randy Mackay 07420521ab Copter: default LAND_REPOSITION to 1 2014-08-31 10:44:09 +09:00
Jason Short 0dd9797fe6 Copter: restore CLI set parameter feature
Added back the ability to set params from CLI
2014-08-31 10:36:42 +09:00
Randy Mackay cf98cc29b5 Copter: throttle deadzone parameter
Allows increasing or decreasing the deadband size in AltHold, Loiter,
PosHold flight modes
2014-08-29 15:54:34 +09:00
Randy Mackay eb51a8e5da Copter: pre-arm check of internal vs ext compass 2014-08-26 22:34:06 +09:00
Randy Mackay 2b0a7c59bc Copter: remote arming check reference to compass learning 2014-08-26 22:34:04 +09:00
Randy Mackay 63d0cddfa4 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-25 21:12:05 +09:00
Randy Mackay 65ed77e803 Copter: ensure motors don't stop during flip 2014-08-23 23:40:13 +09:00
Randy Mackay e1e010c504 Copter: remove unused flip_stop 2014-08-23 23:40:11 +09:00
Randy Mackay 4184c1d6e5 Copter: flip minor comments and formatting 2014-08-23 23:40:09 +09:00
Jason Short 882edaf787 Copter: add pitch axis flipping
Added Pitch axis flipping. You must be pushing forward or back 3° to make it flip in Pitch axis or it will flip in the default roll axis.
Added some extra throttle control to maintain altitude
removed the CH7 ability to exit Flip mode. It will exit only if completing flip or user aborts with control sticks.
2014-08-23 23:40:07 +09:00
Randy Mackay a83a47682d 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:56:21 +09:00
Andrew Tridgell 7618ffde63 Copter: show firmware version on param fetch
fixes pull #1320

thanks Arthur!
2014-08-22 21:13:11 +10:00
Randy Mackay 7d350735df TradHeli: update AttControlHeli constructor
reference to rc_1, rc2 are replaced with constant updates during
acro_run
2014-08-22 16:29:02 +09:00
Randy Mackay 2cd6d986d5 TradHeli: call passthrough_bf_roll_pitch_rate_yaw 2014-08-22 16:29:00 +09:00
Robert Lefebvre 968f1d64ae Logging: Fix comment error. 2014-08-22 16:28:54 +09:00
Robert Lefebvre a4f710a363 TradHeli: Add yaw-only rate request function for flybar acro mode. 2014-08-22 16:28:52 +09:00
Robert Lefebvre 3316fe8f63 TradHeli: Reset flybar passthrough to false when exiting Acro mode. 2014-08-22 16:28:50 +09:00
Robert Lefebvre f5ddaab35b TradHeli: Set Flybar passthrough mode in Acro Initialization function. 2014-08-22 16:28:47 +09:00
Robert Lefebvre 82061bc65d TradHeli: Add pointer for pilot roll/pitch inputs to attitude_control constructor. To be used for flybar passthrough. 2014-08-22 16:28:40 +09:00
Randy Mackay c87283af98 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:39:56 +09:00
Andrew Tridgell a627cd2af2 Copter: run Linux boards at 100Hz for now
we should be able to do 400Hz in future
2014-08-19 20:03:33 +10:00
Randy Mackay a693907429 Copter: add ACRO_EXPO param values 2014-08-19 12:51:27 +09:00
Andrew Tridgell 90f306cd3c Copter: set GPS non-blocking
the new GPS driver only ever needs a non-blocking port
2014-08-19 10:08:17 +10:00
NullVoxPopuli e578fb1615 Copter: add A-Tail to FRAME parameter description 2014-08-18 14:31:03 +09:00
priseborough 162b824424 Copter : Distinguish between EKF and INAV errors 2014-08-18 14:17:50 +09:00