Commit Graph

6433 Commits

Author SHA1 Message Date
Paul Riseborough 36031c01a9 ArduCopter: rework ekf check to use separate yaw reset request
ArduCopter: Request lane or yaw reset switch sooner

ArduCopter: rework ekf check to use separate yaw reset request

ArduCopter: Rework EKF failsafe

During flight operations it is the deviation in position of the vehicle that matters during most scenarios.
t patch ensures that an EKF fail-safe will be triggered when the position inconsistency exceeds check limits in addition to either a bad mag or velocity innovation.
This will stop velocity noise triggering an early fail-safe when electromagnetic interference is present.
2020-04-24 09:43:23 +10:00
Randy Mackay dcbbd047b4 Copter: simplify guided mode takeoff using rangefinder 2020-04-23 15:01:46 +09:00
Tatsuya Yamaguchi 29dcbd1398 Copter: use rangefinder to takeoff altitude in guided mode 2020-04-23 15:01:46 +09:00
Randy Mackay c4b5d47e1f Copter: white space fixes 2020-04-23 13:17:11 +09:00
Randy Mackay b32c5a840b Copter: do not send ahrs3 mavlink message 2020-04-22 14:11:17 +09:00
Randy Mackay f3989cae4c Copter: remove unused Ch6 EKF tuning options 2020-04-22 10:34:18 +09:00
Rishabh 1edf1d265c Copter: Set correct yaw for circle in Mode Auto 2020-04-21 20:12:38 +09:00
Andrew Tridgell 4c2cf2139e Copter: fixed use of timestamps in autorotate
fixes wrap handling
2020-04-20 07:10:21 +10:00
Andrew Tridgell ffd601aca4 Copter: fixed build warnings in autorotate
unused code, and incorrect use of abs()
2020-04-20 07:10:21 +10:00
Randy Mackay c0ac4bb51c Copter: loiter-turn obeys wpnav-rfnd-use 2020-04-16 17:30:29 +09:00
Randy Mackay 71cbedb178 Copter: support circle with terrain altitude 2020-04-16 17:30:29 +09:00
Peter Barker bf79c49c23 ArduCopter: remove comment for already-removed in-delay-callback function
These are now attached to completely unrelated functions, which is
pretty bad.
2020-04-16 15:11:35 +09:00
murata 04b0a8a62a Copter: Add expected value to message 2020-04-14 10:09:05 +09:00
murata 2822fa68fc Copter: Adding flight mode to flight mode unchangeable messages 2020-04-14 09:53:17 +09:00
Randy Mackay 04c3f040a8 Copter: visual odometry moved to AP_Vehicle 2020-04-09 19:41:08 +09:00
Randy Mackay 05a37db07c Copter: remove call to visual_odom.update 2020-04-09 19:41:08 +09:00
Leonard Hall c29aa4077d Copter: Acro expo typo fix 2020-04-08 08:58:47 +09:00
murata f70ab73a1f Copter: Change arming messages 2020-04-08 08:55:17 +09:00
Michael du Breuil 132fe82ad2 Copter: Report what channel is used for rudder arming 2020-04-07 14:01:12 -07:00
Rishabh 7c4b195488 Copter:Logger documentation TimeUS fix 2020-04-07 18:57:01 +10:00
Peter Barker 2670192c41 Copter: add D16, D32, DFLT and DU32 LogMessage documentation 2020-04-07 10:41:22 +10:00
Rishabh 62ec6540ec Copter: Added logger documentation 2020-04-07 09:09:45 +10:00
Rishabh 3b077ec612 Copter: Added FlowHold logger documentation 2020-04-07 08:05:10 +09:00
Rishabh 41590916d5 Copter: Added Throw Mode logger documentation 2020-04-07 08:05:10 +09:00
Rishabh 4995a9b274 Copter: Added Toy Mode logger documentation 2020-04-07 08:05:10 +09:00
Andrew Tridgell 1222aa2c43 Copter: make EKF mag variance check use max
this makes it consistent with logged value
2020-04-06 17:30:29 +10:00
Leonard Hall 1a4e96b4ba Copter: Fix Rate expo calculation
This fixes a bug in the yaw rate expo and makes these changes consistent with roll and pitch rate expo.
2020-04-06 09:41:39 +09:00
Tatsuya Yamaguchi 735498e160 Copter: move zigzag exit into mode_zigzag.cpp 2020-03-26 14:56:40 +09:00
Peter Barker c9f810e924 Copter: add missing ABst to CTUN logmessage documentation 2020-03-22 18:35:14 +11:00
Henry Wurzburg 408b2b1e8d ArduCopter: fix typos in logger message meta-data 2020-03-22 10:04:53 +11:00
Peter Barker 1fbace608d Copter: add CTUN log information 2020-03-21 09:34:43 +11:00
Randy Mackay e2469d29bc Copter: implement start_takeoff and set_target_velocity_NED for use in scripting 2020-03-19 15:17:11 -07:00
Randy Mackay db2229f684 Copter: ModeGuided::do_user_takeoff_start arg rename
this makes it more consistent with the method it is overriding
2020-03-19 15:17:11 -07:00
Andrew Tridgell 375c08f39c Copter: convert to new get_rpm() API 2020-03-12 08:36:40 +11:00
Randy Mackay 90883624bc Copter: fix use of wp-navmin-alt 2020-03-11 10:39:18 +09:00
Peter Barker 3802ca217e ArduCopter: move AP_PARM_KEY_DUMP function up to AP_Vehicle base class
Common to all vehicles now, including Tracker
2020-03-10 11:00:14 +11:00
Randy Mackay a9630d67d1 Copter: implement set_target_location method 2020-03-03 10:06:38 -07:00
Peter Barker 9f87962cf4 Copter: correct toymode compilation for recent compass changes 2020-03-03 21:56:33 +09:00
Peter Barker 136d0cce0b Copter: rewrite_get_alt_above_ground_cm for clarity
It's not entirely clear at a glance that we don't return an
uninitialised value off the stack here.
2020-03-03 21:38:03 +09:00
Randy Mackay b2a298fa5f Copter: update vibration failsafe comments 2020-03-02 15:12:57 +09:00
Randy Mackay 255c5d4126 Copter: set-pos-target-global-int fails sooner if accel given
same change for set-position-target-local-ned processing
2020-03-02 14:26:33 +09:00
Randy Mackay b21ecda76f Copter: fix guided mode handling of terrain altitudes 2020-03-02 14:26:33 +09:00
Randy Mackay 10e367cacb Copter: 4.0.3 release notes 2020-02-29 09:40:23 +09:00
Randy Mackay 8d99f204b0 Copter: integrate landing gear option and make edge based
also guided mode now retracts landing gear after takeoff
previously landing gear deployment was "level based" meaning the pilot could not override the gear's position
2020-02-26 08:01:00 +09:00
Randy Mackay 7565e9d75d Copter: update_throttle_mix uses filtered accelerations 2020-02-25 16:52:40 +09:00
Randy Mackay 9a32b3bdd9 Copter: rename update_throttle_mix
was called update_throttle_thr_mix
also minor formatting fixes
2020-02-25 16:52:40 +09:00
Peter Barker ae2578e5c9 ArduCopter: move initialisation of serial and gcs to AP_Vehicle 2020-02-25 11:50:55 +11:00
Andrew Tridgell dd5fafe30e Copter: added rangefinder height interpolated using inertial alt
this smooths rangefinder heights and allows for good estimated for
precision landing even with loss of some rangefinder samples during landing
2020-02-25 09:10:30 +09:00
Peter Barker ce5f23810b ArduCopter: log disarm method 2020-02-22 12:16:29 +11:00
Andy Piper 4c1816a983 Copter: port betaflight in-flight fft analysis to arducopter and expose as a log message
add harmonic notch tracking mode
call AP_GyroFFT::update_freq_hover() from update_throttle_hover()
move gyrofft configuration and control to AP_Vehicle
move fft logging to fft library
2020-02-22 11:15:37 +11:00